79431047

Date: 2025-02-11 18:54:25
Score: 1
Natty:
Report link

I have a solution.

Earlier, in the midst of coding, I realized that the code was pointing to a newer version.

I proceeded to the project properties and changed the TargetServerVersion to 2019. I corrected the issue and rebuilt waiting for errors, but none came.

Later after finishing the code and deploying, it was silently failing to execute the script task which other components are dependent on.

This was because that script task was completed before I changed the target version, and it caused it to break somehow.

I (copied the contents) and then deleted and rebuilt the script task.

I then rebuilt and deployed the package.

The deployed job now works correctly.

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

79431044

Date: 2025-02-11 18:53:25
Score: 3.5
Natty:
Report link

Você pode usar um SilverAppBar

Segue um exemplo de UI que pode exemplificar a lógica.

import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: CustomScrollView(
          slivers: <Widget>[
            // SliverAppBar é o header expansível
            SliverAppBar(
              expandedHeight: 200.0, // Altura máxima do header
              floating: false, // Não flutua ao rolar
              pinned: true, // Fixa o header ao rolar
              snap: false, // Não "encaixa" ao rolar
              flexibleSpace: FlexibleSpaceBar(
                title: Text('Header Expansível'),
                background: Image.network(
                  'https://via.placeholder.com/400x200', // Imagem de fundo
                  fit: BoxFit.cover,
                ),
              ),
            ),
            // Conteúdo abaixo do header
            SliverList(
              delegate: SliverChildBuilderDelegate(
                (BuildContext context, int index) {
                  return ListTile(
                    title: Text('Item $index'),
                  );
                },
                childCount: 50, // Número de itens na lista
              ),
            ),
          ],
        ),
      ),
    );
  }
}
Reasons:
  • Blacklisted phrase (3): Você
  • Blacklisted phrase (1): Não
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Marcony Monteiro

79431041

Date: 2025-02-11 18:53:25
Score: 1.5
Natty:
Report link

I encountered the same problem. For me, when I entered the (correctly formatted) raw json and tried to submit the post request, I got the 400 error. It was fixed by changing the submitted data format: To the far right of the body types, where you see the radio buttons "raw" then "binary" and "GraphSQL", you'll see "Text" - I just needed to select "JSON" from that drop down and it submitted without the error.

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

79431032

Date: 2025-02-11 18:51:24
Score: 1
Natty:
Report link

This is slightly more detailed than the comment by m.raynal.
First, to simplify the solution, divide the constraint by 2, i.e., you have 8X1 + 3X2 + 2X3 <= 12. Then for each weight W, W = 0 to 12, item i, i = 1 to 3, determine the maximum objective value f(i,W). This is the maximum of (a) if item i is not increased by 1 and (b) if i is increased by 1, at stage W. Then determine f(W) = max( f(1,W), f(2,W), f(3,W) ). The formula for f(i,W) = max( f(W-1), Vi + f(W-Wi) ), where Vi is value of item i and Wi is the weight of item i.

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

79431027

Date: 2025-02-11 18:47:23
Score: 4.5
Natty:
Report link

The answer by @KWV still applies to net8.0.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @KWV
  • Single line (0.5):
  • Low reputation (1):
Posted by: HTK

79431010

Date: 2025-02-11 18:40:21
Score: 4
Natty:
Report link

Figured it out, the macie job was in a different region than the S3 bucket.

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

79431003

Date: 2025-02-11 18:36:20
Score: 3.5
Natty:
Report link

maybe I am late but for follow up readers Microsoft recommends for Blazor Server Apps the AuthenticationStateProvider. You can inject it in your services as you want.

Best regards

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: RoXTar

79430999

Date: 2025-02-11 18:32:20
Score: 3.5
Natty:
Report link

Bug is fixed from RSP-42074 in Delphi 12.1 Alexandria

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

79430996

Date: 2025-02-11 18:31:18
Score: 12.5 🚩
Natty: 5
Report link

i have the same issue right now with buildozer apk conversion. could you tell how you solved it if incase u did solve it?

im getting error even tho i have tried everything i could: ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation.

Reasons:
  • Blacklisted phrase (1): ve tried everything
  • Blacklisted phrase (1.5): m getting error
  • Blacklisted phrase (1): i have the same issue
  • RegEx Blacklisted phrase (2.5): could you tell how you
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mohammad Qasimi

79430985

Date: 2025-02-11 18:28:16
Score: 2
Natty:
Report link

Problem was not the Rect. Problem is because of the way iOS handles files and Apps in sandboxes.

https://github.com/emozgun/delphi-ios-file-storage-sharing

emozgun give a great explanation for that Problem and a Solution. Kastri and the ShareItems sample was my way to to go.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: fisi-pjm

79430982

Date: 2025-02-11 18:27:16
Score: 2.5
Natty:
Report link

Wicket answered the why of your issue and how to solve it Google has outlined here: https://developers.google.com/workspace/add-ons/guides/debug

Essentially you have to setup a proxy so that the add on can make requests to and then those get directed to your local machine. Allowing you to develop/test much faster.

Reasons:
  • Blacklisted phrase (1): how to solve
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: toinhao

79430981

Date: 2025-02-11 18:26:16
Score: 0.5
Natty:
Report link
Add-Type @'
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Security.Principal;
using LSA_HANDLE = System.IntPtr;

public class UserRightsLsa
{
    private const int POLICY_CREATE_ACCOUNT = 0x00000010;
    private const int POLICY_LOOKUP_NAMES = 0x00000800;

    private const int STATUS_SUCCESS = 0x00000000;
    private const int STATUS_ACCESS_DENIED = unchecked((int)0xC0000022);
    private const int STATUS_INSUFFICIENT_RESOURCES = unchecked((int)0xC000009A);
    private const int STATUS_NO_MEMORY = unchecked((int)0xC0000017);

    [DllImport("advapi32.dll")]
    private static extern uint LsaNtStatusToWinError(int Status);

    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
    private struct LSA_UNICODE_STRING
    {
        internal ushort Length;
        internal ushort MaximumLength;
        internal string Buffer;
    }

    [StructLayout(LayoutKind.Sequential)]
    private struct LSA_OBJECT_ATTRIBUTES
    {
        internal uint Length;
        internal IntPtr RootDirectory;
        internal IntPtr ObjectName;
        internal uint Attributes;
        internal IntPtr SecurityDescriptor;
        internal IntPtr SecurityQualityOfService;
    }

    [DllImport("advapi32.dll")]
    private static extern int LsaOpenPolicy(
        LSA_UNICODE_STRING[] SystemName,
        ref LSA_OBJECT_ATTRIBUTES ObjectAttributes,
        uint DesiredAccessMask,
        out LSA_HANDLE PolicyHandle
    );

    [DllImport("advapi32.dll")]
    private static extern int LsaAddAccountRights(
        LSA_HANDLE PolicyHandle,
        byte[] AccountSid,
        LSA_UNICODE_STRING[] UserRights,
        uint CountOfRights
    );

    [DllImport("advapi32.dll")]
    private static extern int LsaClose(LSA_HANDLE ObjectHandle);

    private static Exception HandleLsaError(int ntStatus)
    {
        switch (ntStatus)
        {
            case STATUS_SUCCESS:
                return null;
            case STATUS_ACCESS_DENIED:
                return new UnauthorizedAccessException();
            case STATUS_INSUFFICIENT_RESOURCES:
            case STATUS_NO_MEMORY:
                return new OutOfMemoryException();
            default:
                return new Win32Exception((int)LsaNtStatusToWinError(ntStatus));
        }
    }

    private static LSA_UNICODE_STRING InitLsaString(string szString)
    {
        if (szString.Length > 0x7ffe)
            throw new ArgumentException("szString");

        return new LSA_UNICODE_STRING
        {
            Buffer = szString,
            Length = (ushort)(szString.Length * sizeof(char)),
            MaximumLength = (ushort)((szString.Length + 1) * sizeof(char))
        };
    }

    public static void Add(string username, string[] rights)
    {
        if (rights == null || rights.Length == 0)
            throw new ArgumentNullException("rights");

        SecurityIdentifier user;
        if (string.IsNullOrEmpty(username))
        {
            user = WindowsIdentity.GetCurrent().User;
        }
        else
        {
            try
            {
                user = new SecurityIdentifier(username);
            }
            catch
            {
                user = (SecurityIdentifier) new NTAccount(username).Translate(typeof(SecurityIdentifier));
            }
        }

        var sid = new byte[user.BinaryLength];
        user.GetBinaryForm(sid, 0);

        var userRights = new LSA_UNICODE_STRING[rights.Length];
        for (var i = 0; i < userRights.Length; ++i)
            userRights[i] = InitLsaString(rights[i]);

        var objectAttributes = new LSA_OBJECT_ATTRIBUTES();
        var lsaPolicyHandle = LSA_HANDLE.Zero;
        try
        {
            Exception ex;
            if ((ex = HandleLsaError(LsaOpenPolicy(null, ref objectAttributes,
                    POLICY_CREATE_ACCOUNT | POLICY_LOOKUP_NAMES, out lsaPolicyHandle))) != null)
                throw ex;

            if ((ex = HandleLsaError(LsaAddAccountRights(lsaPolicyHandle, sid, userRights, (uint)userRights.Length))) !=
                null)
                throw ex;
        }
        finally
        {
            if (lsaPolicyHandle != LSA_HANDLE.Zero)
                LsaClose(lsaPolicyHandle);
        }
    }
}
'@

function Add-UserRight {
    param(
        [string]$Username,
        [parameter(Mandatory)][string[]]$Rights
    )

    [UserRightsLsa]::Add($Username, $Rights)
}

I simplified https://stackoverflow.com/a/14469248, whittled down the requested access mask for the LSA handle to the bare minimum that's required to call LsaAddAccountRights, added the ability to assign multiple rights in one call and took the idea of being able to pass a SID (in string form) from UserRights.psm1 (which you might prefer instead if you want something a lot more featureful). C# 5 is targeted to retain PowerShell 5.1 compatibility.

Call it with Add-UserRight -Username username -Right SeUndockPrivilege,SeShutdownPrivilege. Username is a bit of a misnomer - you can specify other accounts, like Groups etc.

A possible pitfall is that if Username is omitted/is null or empty, the rights you specify for adding will be added to the user the script is running as.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 93270

79430977

Date: 2025-02-11 18:25:15
Score: 5.5
Natty:
Report link

hi i also wanted to create such a project. can i contact you and ask a couple of questions about this project

Reasons:
  • Blacklisted phrase (2): can i contact
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: w1n_ker

79430961

Date: 2025-02-11 18:18:13
Score: 1
Natty:
Report link

This will requires knowledge of Doubly Linked List In order to get O(N), you have to use 1.Doubly Linked list (for storing array elements ,cart) You can then perform deletion operation of specific index in O(1) 2. Use array/map to store the index(linked list Node) of first occurrence of element in DLL.

When query comes to delete element, look for Node to be deleted in array/map, go to the Node , delete it, (by linking previous to next node of to be deleted node) When query comes to append element, simply add Node to end;

You have to implement DLL with tail(general implementation says to maintain head) which means traversing DLL starting with tail, that way we you can append data at last (in O(1) rather than traversing whole list from head taking O(N)), you can add node after tail, and update the tail node.

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

79430949

Date: 2025-02-11 18:10:11
Score: 2.5
Natty:
Report link

I've got the same error but in my case the reason was the attempt to try to share "ts-lib" via Module federation (probably in combination with using a Shared worker)

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

79430938

Date: 2025-02-11 18:06:10
Score: 1
Natty:
Report link

Mongoose resolves references (ref) automatically when using .populate(), but if you need to query the referenced model directly, you must import it.

CASE 1 - When You DON'T Need to Import RoleModel If you're only populating the role field inside a UserModel query, Mongoose handles the reference automatically.

import UserModel from "@_models/user"; async function getUsersWithRoles() { const users = await UserModel.find().populate("role"); // No need to import RoleModel return users; }

Here, Mongoose knows role references Role and fetches the related data.

CASE 2 - When You NEED to Import RoleModel If you're performing a direct query on the RoleModel, you must import it.

import RoleModel from "@_models/role"; async function findAdminRole() { const adminRole = await RoleModel.findOne({ name: "Admin" }); // Direct query on RoleModel return adminRole; }

Since this query only involves the Role collection, Mongoose needs RoleModel explicitly.

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

79430934

Date: 2025-02-11 18:03:10
Score: 1
Natty:
Report link

Based on the yaml file you shared you're using shell /bin/sh but in the command you run you use /bin/bash. Try to run the :

kubectl alpha debug <biz_pod> -i -t --image=busybox -- /bin/sh

For additional workaround confirm that the ephemeral container was successfully injected. Look for the injected ephemeral container if it’s running or falling :

kubectl describe pod <biz_pod> 

You can also check the logs that will help you understand if the debug container is running or failing.

kubectl logs <biz_pod> -c debugger-<name> 

Is there a way to delete the ephemeral container without affecting the pod?

You cannot able to delete the ephemeral container after you have added it to a pod.

For additional information see the documentation below :

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

79430933

Date: 2025-02-11 18:03:09
Score: 4
Natty:
Report link

Same problem here. It is 2025 (and no one should use ckeditor anymore but we stuck on it through a third pary app).

I tried a bunch of different docTypes's, in both the top-level config.js and in core/config.js .

See that the docs are still there and the default value of this config is already html5.

https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-docType

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: readonly.zone

79430930

Date: 2025-02-11 18:02:09
Score: 2
Natty:
Report link

The problem was that the 'key' part of appsettings.json needs to be inside the 'IdentityServer' part.

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

79430929

Date: 2025-02-11 18:02:09
Score: 2
Natty:
Report link

First at all, you missing the left brackets( in your default value of property rowContent. Secondly, You can't add @ViewBuilder to your stored property, @ViewBuilder is a @resultBuilder, check this: Result builders in Swift explained with code examples

I tried to achieve your goal, and here is my code:

struct MenuList<T: MenuListItem, RowContent: View>: View
{
    var body: some View { ... }

    private let rowContent: (T) -> RowContent
    
    init(@ViewBuilder rowContent: @escaping (T) -> RowContent = { (_: T) in EmptyView() })
    {
        self.rowContent = rowContent
    }
    
}

But it could be wrong since there not enough details about your code and what you actually want to do. Like what is MenuListItem and do you expect the generic T always the same type in one single MenuList? And why you want to save the closure to your property?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Tyler

79430928

Date: 2025-02-11 18:02:09
Score: 0.5
Natty:
Report link

pymodbus doesn't have a method for communicating with these function codes. (are they manufacturer specific?)

You can implement your own messages by inheriting ModbusPDU, see examples/custom_msg.py in the pymodbus codebase.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: idanp

79430923

Date: 2025-02-11 17:58:08
Score: 1
Natty:
Report link

You joined powershell and R terminal, so the command was sent to powershell. (See the link between R and powershell.) Delete all existed terminals and call a new R terminal can redirect target terminal.

However, even if you do, the triangle (Run Source button) executes Ctrl+Shift+S, which will call the source function and run the entire script. Does default Ctrl+Enter bother you?

If it is necessary to use the mouse and click to run code, locate the Run Selected Text option in the ... button of the terminal (upper right corner).

Reasons:
  • RegEx Blacklisted phrase (1): See the link
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Near Lin

79430921

Date: 2025-02-11 17:58:08
Score: 2.5
Natty:
Report link

Not every detail for createAsyncThunk is placed under the same documentation page, specific information regarding typescript usage can be found under usage with typescript. Specifically about the createAsyncThunk function can be found further down the page.

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

79430920

Date: 2025-02-11 17:58:08
Score: 1
Natty:
Report link

So to answer OPs question: "How is this modeled in the buildspec "... its not... this can be modeled however using a JSON Configuration file for the Pipeline.

You cannot configure a build step with multiple actions with one or more buildspec files in a single codebuild project, nor can you use multiple codebuild projects in a build step when configuring an initial codepipeline from the GUI.

You will need:

You will deploy your codepipeline with the JSON configuration file to accomplish what you need.

See here for more information on this configuration file

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

79430896

Date: 2025-02-11 17:50:05
Score: 2
Natty:
Report link

Merci

Je n'arrive pas tout à fait à redémarrer le site malgré le fait que j'arrive à installer les différentes commandes

J'ai essayé le script, mais j'obtiens l'erreur suivante : sappel@ssh2:~$ python get-pip.py Segmentation fault

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

79430892

Date: 2025-02-11 17:48:05
Score: 1
Natty:
Report link

Updated 2025

IDEA(2024.3.2.2) now has a dedicated setting for this. (This may have been available since a previous version too)

Screenshot of IntelliJ IDEA settings for scroll speed

How to get there

  1. Open IDE settings
  2. Search for "scroll"
  3. You'll see the setting as in the Screenshot

scroll jump: quoting google -

a feature that allows you to quickly navigate through a code file by rapidly scrolling a large distance with a single mouse wheel action

scroll offset: Simply refers to how many lines to scroll by a single wheel scroll/scroll key

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Hasintha Abeykoon

79430890

Date: 2025-02-11 17:46:04
Score: 1
Natty:
Report link

I'm not aware of and could not find a setting to prevent Visual Studio Code from collapsing deeply nested collections in Debug Console and Variables panel other than the things you already suggest. However, consider using memory_graph for a better representations of your data that shows references and what data is shared:

enter image description here

Full disclosure: I am the developer of memory_graph.

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

79430876

Date: 2025-02-11 17:42:03
Score: 2
Natty:
Report link

As others have said, this is a known issue that isn't planned on being implemented currently: https://github.com/spring-projects/spring-framework/issues/33934

However, they did implement type level mocking in spring framework 6.2.2, and are considering doing the same for @MockitoSpyBean. So if that gets implemented then you could consider switching to doing type level mocks on the class, if you don't care too much about what they return.

If you do need that when(...) though then you'll probably need to just stick with putting that @MockitoBean and when(...) in each class where it's used.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @MockitoBean
  • Low reputation (0.5):
Posted by: Parker H Gordon

79430873

Date: 2025-02-11 17:41:03
Score: 2
Natty:
Report link

Below pipeline works to dump caption in timed text format:

gst-launch-1.0 filesrc location=input.ts ! tsdemux ! queue ! h264parse ! ccextractor ! ccconverter ! cea608tott ! filesink location=test.cc

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

79430856

Date: 2025-02-11 17:35:02
Score: 1.5
Natty:
Report link

You have one error that I can see on line 7. You are using the assignment operator instead of the equality operator in your if statement. You probably know this but if you want to compare two values you use either == or ===. This is an easy mistake to make.

if (vals[a][i] = today) {

should be:

if (vals[a][i] === today) {

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Assignment

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Strict_equality

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

79430854

Date: 2025-02-11 17:35:02
Score: 4
Natty: 5
Report link

thank you for this help man, this fixed my tests

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

79430850

Date: 2025-02-11 17:33:01
Score: 3.5
Natty:
Report link

rm -f ./.git/index.lock Thanks for this its works

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Aliaksandr Maksimchuk

79430847

Date: 2025-02-11 17:32:01
Score: 3
Natty:
Report link

Firstly, according to the st.dataframe documentation, st.dataframe does not return a dataframe but a dataframe placeholder unless you specify an 'on_select' event. The most effective usage of st.dataframe's return value is to get the event data from the displayed dataframe.

Here is an example, taken from the documentation, on how to use the return value of st.dataframe:

import streamlit as st
import pandas as pd
import numpy as np

if "df" not in st.session_state:
    st.session_state.df = pd.DataFrame(
        np.random.randn(12, 5), columns=["a", "b", "c", "d", "e"]
    )

event = st.dataframe(
    st.session_state.df,
    key="data",
    on_select="rerun",
    selection_mode=["multi-row", "multi-column"],
)

event.selection

Secondly, I see that you're not manipulating the original dataframe 'df' - maybe it would be more help if you explain what are you trying to accomplish with 'ddd2'?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: user29434717

79430844

Date: 2025-02-11 17:31:00
Score: 2
Natty:
Report link

I am from 2025, and using

https://github.com/googleapis/google-auth-library-ruby

because "google-id-token" has been deprecated.

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

79430842

Date: 2025-02-11 17:30:00
Score: 1.5
Natty:
Report link

The router is treating each of those as layouts rather than individual routes/files. If you don't want them to affect each other, you need to add ".index":

$year.$month.$day.index.tsx
$year.$month.index.tsx
$year.index.tsx

This will then treat each file as its own distinct route.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29602280

79430840

Date: 2025-02-11 17:29:00
Score: 0.5
Natty:
Report link

If using unified audit trail there's a solution by adding custom attributes to the column 'application_contexts'.

Execute AUDIT CONTEXT NAMESPACE USERENV ATTRIBUTES SID; to add the SID from V$Session to the unified audit trail.

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

79430837

Date: 2025-02-11 17:27:59
Score: 9.5 🚩
Natty: 4
Report link

Did you ever find a solution for this? I am having the same problem trying to migrate from page router to app router

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever find a solution
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Jitendra Purohit

79430832

Date: 2025-02-11 17:24:58
Score: 1
Natty:
Report link

Thanks to all the comments,

The problem was browser still needs to access it as localhost because it does not know about the docker service name, and the socket is being formed using the browser and not the container.

// Changes in the backend 
CORS(app, origins=["*","http://localhost:5173"])
socketio = SocketIO(app, cors_allowed_origins=["*", "http://localhost:5173"], logger=True, engineio_logger=True)
// Changes in the frontend 
const socket = io('http://localhost:7784', {transports: ['websocket', 'polling', 'flashsocket']});
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Shivam

79430829

Date: 2025-02-11 17:24:58
Score: 1.5
Natty:
Report link

Thanks for those responses, and links to examples. I went back and re-created the data grid and found that I had previously includes an CSS class element:

.dt-buttons.ui-buttonset    
       {
           display : inline-block;  
           width: 60%;   
        }    
  

Removing the 60% width statement rendered the buttons correctly on line. Sloppy cut-n-paste on my side, so thanks again.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): thanks
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Trn

79430819

Date: 2025-02-11 17:21:57
Score: 2
Natty:
Report link

I think I accomplished what the original poster was looking for by incorporating an IF statement into the sumproduct. In the example below, I am looking to sum individual cash flows discontinuously stacked in a column, only when they are positive.

=SUMPRODUCT(IF(CHOOSE({1,2,3,4,5,6,7,8},D25,D41,D50,D66,D96,D108,D116,D123)>0,1,0),CHOOSE({1,2,3,4,5,6,7,8},D25,D41,D50,D66,D96,D108,D116,D123))

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: jordan

79430817

Date: 2025-02-11 17:20:57
Score: 1
Natty:
Report link
        interface Message {
      user_id: number;
      username: string;
      content: string;
      timestamp: Date;
      animationValue?: Animated.Value;
    }
    
      useEffect(() => {
        if (!token || !eventId) return; // Add eventId check
        fetchEventDetails();
        console.log("Fetching messages for event:", eventId);
        fetchMessages();
        
      }, [token, eventId]); const fetchMessages = async () => {
        if (!user) return;
    
        const messagesRef = collection(db, "events", "4", "chats", "default", "messages");
        const messagesQuery = query(messagesRef, orderBy("timestamp", "desc"));
    
        const unsubscribe = onSnapshot(messagesQuery, querySnapshot => {
          // Add a log at the start of the callback to verify it runs.
          console.log("onSnapshot callback triggered");
          // Check if the snapshot is empty
          if (querySnapshot.empty) {
            console.log("No documents found in messages");
          } else {
            console.log("Snapshot data:", querySnapshot.docs.map(doc => doc.data())); // Log the data
          }
    
          setMessages(
            querySnapshot.docs.map(doc => ({
              user_id: doc.data().user_id,
              username: doc.data().username,
              content: doc.data().content,
              timestamp: doc.data().timestamp ? doc.data().timestamp.toDate() : new Date(),
              fileUrl: doc.data().fileUrl || "",
            }))
          );
        });
        return () => unsubscribe();
      };

const renderMessage = useCallback(
    ({ item }: { item: Message }) => {
      const isSender = item.user_id === userId;
      const messageDate = item.timestamp;
      
      return (
        <Animated.View
          style={[
            styles.messageContainer,
            isSender ? styles.sender : styles.receiver,
            { opacity: item.animationValue || 1 },
          ]}
        >
          <Text style={styles.messageText}>{item.content}</Text>
          <Text style={styles.messageTime}>
            {messageDate.toLocaleTimeString("en-US", {
              hour: "2-digit",
              minute: "2-digit",
              hour12: false,
            })}
          </Text>
        </Animated.View>
      );
    },
    [userId]
  );

I am taking this one when open the chat page. @FrankvanPuffelen also, taking this on the log when I enter chat page. Auth working correctly but. Firestore is not working. Here is my firebaseConfig file:

import { initializeApp } from "firebase/app";
import { initializeAuth, getReactNativePersistence } from "firebase/auth";
import ReactNativeAsyncStorage from '@react-native-async-storage/async-storage';
import { getFirestore } from "firebase/firestore";
import { getStorage } from "firebase/storage";

// Your web app's Firebase configuration
const firebaseConfig = {
  apiKey: **,
  authDomain: **,
  databaseURL: **,
  projectId: **,
  storageBucket: **,
  messagingSenderId: **,
  appId: **
};

// Initialize Firebase
export const app = initializeApp(firebaseConfig);
export const auth = initializeAuth(app, {
  persistence: getReactNativePersistence(ReactNativeAsyncStorage)
}
);
export const db = getFirestore(app);
export const storage = getStorage(app);

Here is a logs:

>(NOBRIDGE) LOG  onSnapshot callback triggered  
>(NOBRIDGE) LOG  No documents found in messages  
>(NOBRIDGE) LOG  onSnapshot callback triggered  
>(NOBRIDGE) LOG  No documents found in messages  
>(NOBRIDGE)WARN  [2025-02-11T17:00:55.993Z]  @firebase/firestore: Firestore
> (11.3.0): WebChannelConnection RPC 'Listen' stream 0x512e1a58
> transport errored: {"defaultPrevented": false, "g": {"C": undefined,
> "F": null, "M": [Circular], "g": {"A": null, "Aa": 12, "B": 0, "C":
> null, "Ca": false, "D": "gsessionid", "Da": [Hc], "F": true, "G": 0,
> "H": [Object], "I": [T], "J": true, "K": "WFmJfthL_EMD2lhjW-y5bg",
> "L": 45000, "M": false, "O": true, "P": false, "R": 92, "S": [Object],
> "T": 0, "Ta": 5000, "U": 88681, "Ua": false, "Va": false, "W":
> "https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel",
> "Wa": 2, "X": true, "Xa": undefined, "Y": 1, "Ya": 1, "ba": true,
> "ca": undefined, "cb": 10000, "g": null, "h": [ic], "i": [Array],
> "ia": "", "j": [vb], "ja": undefined, "ka": null, "l": [Z], "la": 8,
> "m": null, "o": null, "pa": undefined, "qa": [T], "s": null, "u":
> null, "v": 0, "wa": 600000, "ya":
> "NlrUn6684y0jRyF-4aKII75hLaZwcrHBjwXwZhL3uy4", "za": -1}, "h":
> {"database": "projects/socius-0/databases/(default)"}, "i": {"g":
> [Object], "h": 4, "src": [Circular]}, "j": {"g": [Circular]}, "l":
> "https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel",
> "s": false, "u": true, "v": true}, "status": 1, "target": {"C":
> undefined, "F": null, "M": [Circular], "g": {"A": null, "Aa": 12, "B":
> 0, "C": null, "Ca": false, "D": "gsessionid", "Da": [Hc], "F": true,
> "G": 0, "H": [Object], "I": [T], "J": true, "K":
> "WFmJfthL_EMD2lhjW-y5bg", "L": 45000, "M": false, "O": true, "P":
> false, "R": 92, "S": [Object], "T": 0, "Ta": 5000, "U": 88681, "Ua":
> false, "Va": false, "W":
> "https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel",
> "Wa": 2, "X": true, "Xa": undefined, "Y": 1, "Ya": 1, "ba": true,
> "ca": undefined, "cb": 10000, "g": null, "h": [ic], "i": [Array],
> "ia": "", "j": [vb], "ja": undefined, "ka": null, "l": [Z], "la": 8,
> "m": null, "o": null, "pa": undefined, "qa": [T], "s": null, "u":
> null, "v": 0, "wa": 600000, "ya":
> "NlrUn6684y0jRyF-4aKII75hLaZwcrHBjwXwZhL3uy4", "za": -1}, "h":
> {"database": "projects/socius-0/databases/(default)"}, "i": {"g":
> [Object], "h": 4, "src": [Circular]}, "j": {"g": [Circular]}, "l":
> "https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel",
> "s": false, "u": true, "v": true}, "type": "c"}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @FrankvanPuffelen
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bilgehan Demirkaya

79430814

Date: 2025-02-11 17:19:57
Score: 0.5
Natty:
Report link

I've found the following to be a simple, successful mix of the previous answers. I've added additional instructions for those unfamiliar with keyboard shortcuts:

  1. Open "Preferences: Open Keyboard Shortcuts (JSON)".

  2. Add these entries to the JSON:

     {
         "key": "alt+[ArrowLeft]",
         "command": "workbench.action.increaseViewSize"
     },
     {
         "key": "alt+[ArrowRight]",
         "command": "workbench.action.decreaseViewSize"
     },
    
  3. Save changes.

  4. Click alt/option key (⎇) and left arrow (←).
    Verify sidebar decreases in size.

  5. Click alt/option key (⎇) and right arrow (→)
    Verify sidebar increases in size.

If your sidebar is on the right, consider swapping the commands in the shortcuts you add.

Benefits:

  1. Allows editing via "Keyboard Shortcuts" interface.
    (cuz it does not require runCommands)
  2. Uses intuitive ← and → keys.
    (from https://stackoverflow.com/a/77051498/11817077)
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Wesley B

79430813

Date: 2025-02-11 17:19:56
Score: 5
Natty: 4.5
Report link

[enter image description here][1]

[1]: https://i.sstatic.net/pBoDlaqf.jpg problem solved

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hanshram Gurjar

79430809

Date: 2025-02-11 17:17:55
Score: 3
Natty:
Report link

In 2025, please check the NX paths in your manifest.json file.

check this answer - https://stackoverflow.com/a/79430803/9026103

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Igor Kurkov

79430806

Date: 2025-02-11 17:16:55
Score: 1.5
Natty:
Report link

adjust your re_path that should exclude /admin/ URLs

    urlpatterns += [
    re_path(r"^(?!admin/).*", views.RedirectView.as_view(), name="my-view"),
]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: daj

79430805

Date: 2025-02-11 17:16:55
Score: 3
Natty:
Report link

An easy way to get the value is writing debugPrint() in your debug console when it is at a breakpoint:

debugPrint(jsonEncode(yourVariable));

However, if the map is too long, it might displayed incompletely.enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Fernando Enrique Lpez Martnez

79430804

Date: 2025-02-11 17:16:54
Score: 8.5 🚩
Natty: 5.5
Report link

Were you able to get the solution to this?

Reasons:
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Divyen Deep

79430802

Date: 2025-02-11 17:15:53
Score: 3.5
Natty:
Report link

https://greasyfork.org/en/scripts/519578-youtube-auto-commenter

Here is the code to run just paste it on tampermonkey extension or in console it ask the how much comments you need

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yashu Pro

79430789

Date: 2025-02-11 17:12:53
Score: 2.5
Natty:
Report link

I solved the problem by just adding nodejs_compat

enter image description here

Reasons:
  • Whitelisted phrase (-2): I solved
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: riteshreg

79430783

Date: 2025-02-11 17:09:52
Score: 3
Natty:
Report link

According to the documentation (https://docs.telegram-mini-apps.com/packages/telegram-apps-sdk/3-x/initializing) @telegram-apps/sdk can be installed as a package, in which case there is no need to use the external script telegram-web-app.js.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Konstantin Volkov

79430761

Date: 2025-02-11 17:03:51
Score: 2
Natty:
Report link

for shared memory segments loaded via mmap() we found asserting fcntl() read lock at known address allowed for reading through /proc/locks to identify what processes had the memory mapped

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

79430759

Date: 2025-02-11 17:00:50
Score: 1.5
Natty:
Report link

Use "Find" (Ctrl + F) to search for "Error" or "Traceback" after jumping.

Enable "Collapsed Tracebacks" in VS Code Jupyter settings to make errors easier to locate.

use %%capture magic to redirect long tracebacks to variables for easier inspection.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Thogaruchesti Hemanth

79430755

Date: 2025-02-11 16:58:50
Score: 1
Natty:
Report link

Check the message at bottom, it said: The operation couldn’t be completed. Unable to locate a Java Runtime. Please visit http://www.java.com for information on installing Java. Generally, it means your Xcode can't find your JAVA correctly. Try install JAVA in your mac and set the JAVA_HOME to your path. Follow details in this post: Java Runtime not found

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

79430733

Date: 2025-02-11 16:51:47
Score: 4
Natty:
Report link

I'm a beginner learner, so please take my post with a few spoons of salt. But I have a better idea ( which includes printing a list with string+ integers)

D2List=[[1,2,3],[4,"Bingo",5],[6,7,8]]

for x,y,z in D2List:
    print ("x,y,z")

I got it working: https://github.com/Bahaa2468/Python/blob/22e6cfc9b478f9336ef0be283e2693c40f13d538/Bingo%20Game.Generator.py

Reasons:
  • RegEx Blacklisted phrase (2): I'm a beginner
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bahaa.2468

79430724

Date: 2025-02-11 16:46:46
Score: 2
Natty:
Report link

The difference is that when you specify "libssl.so", Frida looks for SSL_CTX_set_keylog_callback specifically within that library. When you pass null, Frida searches across all loaded modules. If the function is not exported globally or is only available within libssl.so, findExportByName(null, "...") will return null. You can try Module.findExportByName("libssl.so", "SSL_CTX_set_keylog_callback") first to confirm the function exists in that module.

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

79430722

Date: 2025-02-11 16:46:46
Score: 3.5
Natty:
Report link

Late answer, for posterity...

Look here, it seems to be made for all multiple examples, so much more code than necessary but functional.

https://github.com/clauderic/dnd-kit/blob/master/stories/2%20-%20Presets/Sortable/MultipleContainers.tsx

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alexis G

79430714

Date: 2025-02-11 16:45:46
Score: 0.5
Natty:
Report link

The error message tells you exactly what's causing the problem: "Unable to delete 'PROD_ETL' because it is being referenced by 'BI - Update Definition Change Tracking'.
In the ADF UI, navigate to the pipeline "BI - Update Definition Change Tracking." and carefully inspect every single activity within this pipeline looking for any reference to the deleted linked service "PROD_ETL."
Remove all the references then go to the "Manage" hub, Git configuration, and commit the changes. Now try publishing.

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

79430713

Date: 2025-02-11 16:45:46
Score: 1.5
Natty:
Report link

This was solved by changing the history param from the router to:

history: createWebHistory()

Couldn't find documentation on the difference for this, just started trying different stuff.

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

79430711

Date: 2025-02-11 16:43:46
Score: 1
Natty:
Report link

to use the windows version of curl I suggest first to create a pfx file:

  openssl pkcs12 -export -in client.crt -out client.pfx -key client.key

you will prompted for a password. use it in the curl command:

  curl --cacert ca.crt --cert client.pfx:password "https://myurl"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: tneiva

79430705

Date: 2025-02-11 16:42:45
Score: 2
Natty:
Report link

2025 Update. In PyCharm CE 2024.3 on an ARM-based M3 MacBook, I find this location in:

(PyCharm Folder)/options/other.xml

on the line:

"PYCHARM_CONDA_FULL_LOCAL_PATH": "/path/to/conda"

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

79430696

Date: 2025-02-11 16:39:44
Score: 4
Natty: 4
Report link

my proxy d us not work it ses I am in Portland when I'm in washington

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: owen

79430682

Date: 2025-02-11 16:35:43
Score: 3.5
Natty:
Report link

$ create-expo-app test -t expo-template-blank-typescript

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

79430677

Date: 2025-02-11 16:33:43
Score: 3
Natty:
Report link

We're in 2025, and the service is still named kube-dns, which is backed by coredns pods:

CoreDNS pod

kube-dns service

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Chengbin XIA

79430663

Date: 2025-02-11 16:28:42
Score: 2
Natty:
Report link

I added forwardRef in my auth service.

@Inject(forwardRef(() => UserService))
private readonly userService: UserService,

Now it works. Didn't find any other fix.

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

79430652

Date: 2025-02-11 16:24:41
Score: 3.5
Natty:
Report link

Thanks for your responses. I researched a little bit more and I think it is a flutter bug introduced by 3.27.3 and its already fixed in the master brach on version 3.29.X as i tested.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andreas Hofmann

79430645

Date: 2025-02-11 16:22:40
Score: 1.5
Natty:
Report link

As far as I got your requirement it would be something like this:

def payload = []

1.upto(vars.get('foo_matchNr') as int, { roomId ->
    def startValue = 9173
    1.upto(300, block -> {
        def entry = [roomId: vars.get('foo_' + roomId), daysCount: startValue as String, a: "F", x: "0", t: "0", y: "-", l: "0"]
        startValue = startValue + 1
        payload.add(entry)
    })

})

vars.put('payload', new groovy.json.JsonBuilder(payload).toPrettyString())

More information:

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Ivan G

79430643

Date: 2025-02-11 16:22:40
Score: 2.5
Natty:
Report link

i got this error because my Mac's storage was full. i cleared the storage and app launches fine now :)

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

79430628

Date: 2025-02-11 16:18:39
Score: 3.5
Natty:
Report link

I understand your point to some extent, but I still have a few questions. Suppose the virtual address is 40 bits and the TLB has 16 sets. If the TLB I design needs to support 4KB, 2MB, and 1GB mixed page sizes, then we need to store [39:16] as the tag in the TLB. And every time we update and replace a valid cache line, we store the corresponding page size to calculate the tag mask. Finally, we use vld, tag, and tag_mask together to check if the cache line hits. Is my understanding correct? My questions are as follows: How should the set index be designed? If the set index includes the bits [29:13] of the 1GB offset and below, then it may cause the virtual address of the same 1GB page to be indexed into different sets. In the worst case, this would mean that the 1GB page needs to be missed and cached in each set. If we don't include [29:13], for example, using [33:30] as the set index, then a large number of consecutive 4KB and 2MB small pages will be indexed into the same set, resulting in frequent replacement conflicts. Is there any way to solve these two problems simultaneously? I would really appreciate it if you could provide some insights or suggestions on this issue. Looking forward to your reply.

Reasons:
  • Blacklisted phrase (1.5): Looking forward to your
  • Blacklisted phrase (1): Is there any
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Jay Liao

79430607

Date: 2025-02-11 16:09:37
Score: 6.5 🚩
Natty: 5.5
Report link

I just experienced this. How did you solve yours

Reasons:
  • RegEx Blacklisted phrase (3): did you solve your
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: joan okereke

79430605

Date: 2025-02-11 16:09:37
Score: 3.5
Natty:
Report link

Give some padding in HorizontalPager, it will work fine

@Thracian answer also not working without padding, and same result we get if i only give padding in HorizontalPager

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Thracian
  • Low reputation (1):
Posted by: Deepesh kumar

79430590

Date: 2025-02-11 16:03:35
Score: 2
Natty:
Report link

I learnt from these docs: https://vega.github.io/vega-lite/docs/timeunit.html

that you have the option utcweek to display weeks starting on Monday

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Luis Chaves Rodriguez

79430575

Date: 2025-02-11 16:00:34
Score: 2.5
Natty:
Report link

@Andereoo, commented saying Do you know of any ways to keep the cursor updated without showing the label?

Use frame.itemconfigure

Snippet:

def on_mouse_motion(event):
    p = frame.create_text((event.x, event.y))
    if event.x > 200:
        frame2.config(cursor="xterm")         
        frame.itemconfigure(p, text=(event.x, event.y)) #<== Add this        
    else:
        frame2.config(cursor="crosshair")

Screenshot:

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Andereoo
  • High reputation (-1):
Posted by: toyota Supra

79430572

Date: 2025-02-11 15:58:33
Score: 1.5
Natty:
Report link

It looks like the issue is with how $derived works in Svelte 5. Since splitItems is derived from items.splice(0, 5), it won't update reactively because splice mutates the array instead of returning a new one. Try using slice instead:

let splitItems = $derived(() => items.slice(0, 5));

This ensures splitItems updates when items changes. Also, make sure you're passing a reactive store or using $state correctly in the child. Let me know if this helps!

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

79430569

Date: 2025-02-11 15:57:33
Score: 3
Natty:
Report link

Check the FastAPI Service to understand what's happening during the scraping process cuz there can be several problems behind it

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

79430561

Date: 2025-02-11 15:55:33
Score: 1
Natty:
Report link

How about if you wrap each row in a div with display: content and give it a class name like "table-row". Set the background color the gray you want and add this CSS: .table-row:nth-of-type(even)>article{ background-color: white; }
The child can be any tag you want and you can duplicate this if there is more than one type of tag in the child rows. I use this regularly.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: mike traveller

79430547

Date: 2025-02-11 15:48:31
Score: 0.5
Natty:
Report link

For me this article helped a lot: https://erthalion.info/2014/03/08/django-with-schemas/

Basically it suggest setting search_path not via DATABASES...OPTIONS, but using connection_created signal.

In my case, I created signal.py in my core app an put this code inside. This work both for migrations and basic usage.

from django.conf import settings
from django.db.backends.signals import connection_created
from django.dispatch import receiver

@receiver(connection_created)
def setup_connection(sender, connection, **kwargs):
    # Чтобы грузить данные приложения в конкретную схему.
    if connection.alias == "default":
        cursor = connection.cursor()
        cursor.execute(f'SET search_path="{settings.SEARCH_PATH}"')
Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: agas0077

79430540

Date: 2025-02-11 15:46:31
Score: 2
Natty:
Report link

I tried Petr answer from this topic and it works for me. I create HTML objects and drag them in viewer scene. Just need to create custom clientToWorld transform function.

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Evhenii

79430523

Date: 2025-02-11 15:42:30
Score: 1
Natty:
Report link

Hint if you are in need like me to store multiline private key (Open SSH conversion in Putty as only that azure accept) and then use it in Logic App Standard. You must upload it using Azure CLI,but it makes difference if you upload .txt or .pem file. Latter worked.

az keyvault secret set --name "name-Sftp-sshPrivateKey" --vault-name "kv-name" --file "secretfile.txt" uploaded file ok, but Logic App not connected with it to ssh

file extension changed and voila! az keyvault secret set --name "name-Sftp-sshPrivateKey" --vault-name "kv-name" --file "secretfile.pem"

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

79430508

Date: 2025-02-11 15:38:28
Score: 1.5
Natty:
Report link

To have alignment with dashes on a single line:

\pset format wrapped

Documentation: pset format

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Yanaël

79430501

Date: 2025-02-11 15:35:28
Score: 3.5
Natty:
Report link

thanks for the quick answer! This what I have now: Collecting dcm-pics in a pydicom-fileset and write it down

    from os.path import isdir, join
    from pydicom.fileset import FileSet
    
    path2dcm = r"D:\Eigene Dokumente\DICOM-Bench\WenigerScans\vDICOM"
    instanceList =[]
    
    def ListFolderEntries (path):
        for entry in listdir(path):
            npath = (join(path,entry))
            if isdir(npath):
                ListFolderEntries(npath)
                
            else:
                instanceList.append(npath)  
            
    #walk through folders recursively
    #and collect the dcm-pics
    ListFolderEntries (path2dcm)
    
    for Inst in instanceList:
        myFS.add(Inst)
    #perhaps add her the series Desicription?
    
    myFS.write() #creates the file structure and a DICOMDIR

this is what i get in Micro-Dicom

How to modify the DICOMDIR that series description will be displayed? Thanks!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: HackJack

79430496

Date: 2025-02-11 15:33:27
Score: 1
Natty:
Report link

Could be useful:

this.gridApi?.getRenderedNodes().filter(node => node.isSelected()).map(node => node.data)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nick Shulzhenko

79430492

Date: 2025-02-11 15:33:27
Score: 3.5
Natty:
Report link

You can try using caddy server, which will create a reverse proxy and handles tls automatically.

https://medium.com/@dileepa.mabulage/setting-up-https-for-a-local-nestjs-server-using-caddy-5dc7ce4ec317

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: DMabulage

79430484

Date: 2025-02-11 15:30:26
Score: 0.5
Natty:
Report link

Please note that lately there have been problems with the feature:install instruction. You should try running a single instruction for all the features you need to install. Before that, delete the data directory, then run:

feature:install <feature1> <feature2> ... <featureN>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: D Arjona

79430468

Date: 2025-02-11 15:24:25
Score: 1.5
Natty:
Report link

All packages in a pub workspace must agree on the setting for uses-material-design. Even though your root pubspec sets it to true, some of your other package pubspecs may have set it to false (or omitted, thereby defaulting to false)? :)

Setting all occurrences to true should solve the issue. Good luck!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: DeltaMike

79430467

Date: 2025-02-11 15:23:24
Score: 5
Natty:
Report link

Have you tried making a custom URL dispatcher to return a view depending on the language?

https://docs.djangoproject.com/en/5.1/topics/http/urls/#registering-custom-path-converters

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Kevin Mac-Ginty

79430466

Date: 2025-02-11 15:23:24
Score: 1
Natty:
Report link

Using org.simpleflatmapper.csv :

List<Map<String, Object>> listOfLine = new ArrayList<>(); //Your table
listOfLine.add(new HashMap<>()); //Your line

try (Writer writer = createFile(filename)) {
    CsvWriter<Map> csv = CsvWriter.from(Map.class)
            .separator(';')
            .columns(listOfLine.get(0).keySet().toArray(new String[0]))
            .to(writer);
    
    for (Map<String, Object> line : listOfLine) {
        csv.append(line);
    }
    
    writer.flush();
}
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Nim

79430451

Date: 2025-02-11 15:18:22
Score: 4
Natty:
Report link

Maybe it is out of date, but i will try to ask. I am trying to install SSL for my Tomcat server, and i faced with proble: "trustAnchors parameter must be non-empty". I am not very well in Java, but i guess i have it happens because i have only PrivateKeyEntry in my JKS and no one TrustEntry. I followed by manual from official website and used this command (below) and after restart my Tomcat there is still exception. Could you point me what am i doing wrong?

keytool -genkey -alias server -keyalg RSA -keysize 2048 -sigalg SHA256withRSA -storetype JKS \
      -keystore     my.server.com.jks -storepass mypwd -keypass mypwd \
      -dname    "CN=my.server.com, OU=EastCoast, O=MyComp Ltd, L=New York, ST=, C=US" \
      -ext "SAN=dns:my.server.com,dns:www.my.server.com,ip:11.22.33.44" \
      -validity 7200
Reasons:
  • Blacklisted phrase (1): what am i doing wrong?
  • Blacklisted phrase (1): I am trying to
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: bycha.

79430447

Date: 2025-02-11 15:17:22
Score: 0.5
Natty:
Report link

The former one is the right /better choice as you can add the values dynamically without concatenating explicitly to achieve your result.

SearchParams sp1 = new SearchParams();
sp1.Add("patient", "Patient/40a7788611946f04");
sp1.Add("patient", "Patient/113798");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mari

79430440

Date: 2025-02-11 15:16:22
Score: 1
Natty:
Report link

This error can occur if you are not login-in into Google Play Services.

This can be the case when you use an emulator. To solve your issue, login-in into Google Play Store, after that the (web)apk can be installed normally.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: David DIVERRES

79430439

Date: 2025-02-11 15:15:21
Score: 1
Natty:
Report link

I needed headless Chrome running website with WebGPU enabled and meet same problem as you and seems solved it.

Tested on openSUSE Tumbleweed

google-chrome-stable http://localhost:3000  --enable-unsafe-webgpu --enable-features=Vulkan,VulkanFromANGLE --headless --remote-debugging-port=2500 --use-angle=enable

Beta, Unstable and Canary channels doesn't need --enable-features=Vulkan,VulkanFromANGLE.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: NYBACHOK

79430434

Date: 2025-02-11 15:12:20
Score: 6.5 🚩
Natty: 5
Report link

this issue is solved in this video: https://www.youtube.com/watch?v=u9I54N80oBo

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Esteban Villarreal

79430431

Date: 2025-02-11 15:11:19
Score: 4
Natty:
Report link

The easiest method to pull this off is to use the "componentID" with that api call.

For help figuring out what your component id is, use this link: https://jfrog.com/help/r/xray-rest-apis/component-identifiers

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Matt

79430423

Date: 2025-02-11 15:08:18
Score: 1.5
Natty:
Report link
<style name="Theme.App" parent="android:Theme.Material.Light.NoActionBar">
    <item name="android:backgroundDimAmount">0.32</item>
</style>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Manabu Nakamura

79430414

Date: 2025-02-11 15:06:18
Score: 0.5
Natty:
Report link

Tenant A will need to provision an identity for Power BI to use. That can be a SQL Login/Password (Power BI calls this "Basic"), an Entra ID Service Principal, or an Entra ID Guest User.

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: David Browne - Microsoft

79430413

Date: 2025-02-11 15:06:18
Score: 2.5
Natty:
Report link

I was using http with vercel base URL. I changed it to HTTPS and it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abdul Muiz

79430409

Date: 2025-02-11 15:04:17
Score: 3
Natty:
Report link

Because the password contains special symbols, PHP uses the rawurlencode() function to escape the password and then sends it, so you can log in normally.

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

79430403

Date: 2025-02-11 15:01:16
Score: 1.5
Natty:
Report link

To close the question, and for anyone it could help, i'll answer what i found.

The reason why I wanted to "disable dollars in name" is that, when Binding with the Android Binding Library, warnings were issued and binds were skipped.

The fact is that, thoses binds were useless. Because even if they were skipped, the android library itself still had access to the components (for example, the composable Greeting). And importants things like the activity were binded anyways, and so, was useable with C#.

So the problem was a non problem.

If you are trying to bind an Android Library and face the same warnings, they probably aren't important, and the best manner is to take care of everything in the metadata.xml of your Android Binding Library.

See https://learn.microsoft.com/en-us/dotnet/android/binding-libs/customizing-bindings/java-bindings-metadata
and most importantly

https://saratsin.medium.com/how-to-bind-a-complex-android-library-for-xamarin-with-sba-9a4a8ec0c65f
basically removing everything in the package, then only adding manually what is important to expose from your android library

That is for the case where all warnings are about non important components. If your important components are skipped, you should understand that binding components from your android library, in java or kotlin, that have java specific things like for example parameters types, is not possible (afaik). You should try to wrap them into less specific and more bindable components.

For example, it's not possible to bind and expose a Composable, because of the auto generated lambda with a dollar in the name. That's why I wrapped it in a ComponentActivity, that is bindable for C#.

Hope that'll help

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Foxan

79430387

Date: 2025-02-11 14:56:15
Score: 3.5
Natty:
Report link

This doesn't work properly with TabControl and multiple tabs

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

79430383

Date: 2025-02-11 14:55:15
Score: 2
Natty:
Report link

You don't use an "=" sign to assign a value to a variable in SQL scripting. Try having another look at the documentation: https://docs.snowflake.com/en/developer-guide/snowflake-scripting/variables#assigning-a-value-to-a-declared-variable

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: NickW

79430361

Date: 2025-02-11 14:47:13
Score: 0.5
Natty:
Report link

It depends what you need. You may have simple or multiple classification, which means you may have one/several classes per predicted sample. I may say, for the beginning, try to have one class per sample, that would get a better result. If you can have several labels per entity, just start by building one binary model per label.

Reasons:
  • No code block (0.5):
Posted by: Catalina Chircu