79533848

Date: 2025-03-25 13:41:38
Score: 0.5
Natty:
Report link
$env:COMPUTERNAME -match '\d+(\D+)\d+'

will perform a regex on the hostname.

\d+(\D+)\d+

looks for non digit characters encapsulated by one or more digits.

$Matches

will give you a hashtable containing your matches

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

79533847

Date: 2025-03-25 13:41:38
Score: 1
Natty:
Report link

For me in VS2022, I had to:

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Peter PitLock

79533841

Date: 2025-03-25 13:39:37
Score: 4
Natty:
Report link

@Heavy Mask
Wanted to thank you for this. I don't know if you ever found a solution, but your script inspired me to create the below script. Might be able to use it yourself?

;;∙============================================================∙
#NoEnv
#Persistent
#SingleInstance, Force
SetBatchLines, -1
SetTitleMatchMode 2
SetWinDelay, 0

^!LButton::    ;;∙------∙🔥∙(Ctrl + Alt + Left Click)  

;;∙------------∙• RUN SCRIPT AS ADMIN •∙----------------------------------------------------∙
if !A_IsAdmin
{
    MsgBox, 4, Admin Required, This Script Needs To`nRun As Administrator To`nTerminate Certain Processes...`n`n`tRestart With Admin Privileges?
    IfMsgBox, Yes
    {
        Run *RunAs "%A_ScriptFullPath%"
        ExitApp
    }
    else
    {
        MsgBox, 16, Error, !  !  !  A T T E N T I O N  !  !  !`n`n Script Will Not Continue`nWithout Admin Privileges!!,5
        ExitApp
    }
}

MouseGetPos,,, id
WinGet, pid, PID, ahk_id %id%

if (!pid) {
    MsgBox, 16, Error, Failed To Retrieve Process ID.,2
    Return
}

WinGetTitle, winTitle, ahk_id %id%
if (winTitle = "") 
    winTitle := "Unknown Window"

WinGet, exeName, ProcessName, ahk_id %id%

;;∙------------∙• PREVENT TERMINATION OF CRITICAL SYSTEM PROCESSES •∙-------∙
criticalProcesses := "explorer.exe, csrss.exe, wininit.exe, winlogon.exe, smss.exe, services.exe, lsass.exe, svchost.exe"
if exeName in %criticalProcesses%
{
    MsgBox, 16, Warning, Termination Of %exeName%`nIs Blocked To Prevent System Instability.,5
    Return
}

MsgBox, 4, Confirm Termination, Terminate Process %pid% ("%winTitle%", %exeName%)?  
IfMsgBox, No
    Return

hProcess := DllCall("OpenProcess", "UInt", 1, "Int", 0, "UInt", pid, "Ptr")
if (!hProcess) {
    MsgBox, 16, Error, Failed To Open Process.`nIt May Require Admin Privileges.,5
    Return
}

result := DllCall("ntdll\NtTerminateProcess", "ptr", hProcess, "UInt", 0)
DllCall("CloseHandle", "ptr", hProcess)

if (result != 0) {
    MsgBox, 16, Error, Failed To Terminate Process.,5
} else {
    MsgBox, 64, Success, Process %pid% ("%winTitle%", %exeName%) Terminated.,3

;;∙------------∙• LOG TERMINATED PROCESSES WITH TIMESTAMP •∙------------------∙
FormatTime, timeStamp, , H:mm:ss tt  -  MMMM dd, yyyy

;;∙------------∙___EXAMPLE 1___∙---------------------------------------------------------------∙
/*    ;;∙------∙SAVE LOG FILE WITH DIRECT PATH.
logFilePath := "C:\Users\username\Full\File\Path\ProcessKillLog.txt"    ;;∙------∙Example Path.
*/

;;∙------------∙___EXAMPLE 2___∙---------------------------------------------------------------∙
/*    ;;∙------∙SAVE LOG FILE IN DOCUMENTS FOLDER.
documentsDir := A_MyDocuments    ;;∙------∙Get the user's Documents folder.
logFilePath := documentsDir . "\ProcessKillLog.txt"    ;;∙------∙Define the Log File path (Documents folder).
if !FileExist(documentsDir)    ;;∙------∙Create directory if it doesn't exist.
{
    FileCreateDir, %documentsDir%
}
*/

;;∙------------∙___EXAMPLE 3___∙---------------------------------------------------------------∙
;;∙------∙SAVE LOG FILE IN SCRIPTS FOLDER.  <∙------ Currently In Use ---∙<<
    scriptDir := A_ScriptDir    ;;∙------∙Get the script's directory.
    logFilePath := scriptDir . "\ProcessKillLog.txt"    ;;∙------∙Define the Log File path (Script folder).
    if !FileExist(scriptDir)    ;;∙------∙Create directory if it doesn't exist.
    {
        FileCreateDir, %scriptDir%
    }

file := FileOpen(logFilePath, "a")    ;;∙------∙Append log details.
if (file) {
    file.WriteLine("____________________________________________")
    file.WriteLine("* Process Killed *  [ " . timeStamp . " ]`nProcess:`t"  . exeName . "`nPID:`t" . pid . "`nTitle:`t" . winTitle)
    file.WriteLine("____________________________________________`n")
    file.Close()
    MsgBox, 64, Success, Log File Successfully Updated.,5
} else {
    MsgBox, 16, Error, Failed To Open Log File For Writing.,5
}

}
Return
;;∙============================================================∙
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Heavy
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: SturgeonGeneral

79533836

Date: 2025-03-25 13:36:36
Score: 3
Natty:
Report link

What you should be doing is serializing event payload and storing it together with event class metadata like class name and namespace.
When reading events from db table you read all aggregate records and restore event class instances using metadata and serialized event payload.

Take a look how it's done in Microsoft patterns & pratices CQRS Journey sample application

https://github.com/microsoftarchive/cqrs-journey/blob/master/source/Infrastructure/Sql/Infrastructure.Sql/EventSourcing/SqlEventSourcedRepository.cs

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): What you
  • Low reputation (0.5):
Posted by: Zeljko Vujaklija

79533834

Date: 2025-03-25 13:36:35
Score: 10 🚩
Natty: 4.5
Report link

Did you find a solution to this? I'm having the same issue.

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution to this
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution to this
  • Low reputation (1):
Posted by: B C

79533831

Date: 2025-03-25 13:35:35
Score: 2.5
Natty:
Report link

first check the type of dataframe by using type(df)

and if showing series convert to da

df = df.to_frame()

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

79533828

Date: 2025-03-25 13:34:35
Score: 0.5
Natty:
Report link

Yes, you can use order history for that.

# must be sorted ascending
# (datetime, size, prize, data)

ORDER_HISTORY = (('2012-04-11', 10, 100, 'AAPL'),)

cerebro = bt.Cerebro()
cerebro.adddata(data=bt.feeds.PandasData(dataname=aapl,),name='AAPL')
cerebro.add_order_history(ORDER_HISTORY)
cerebro.addstrategy(Strat)
cerebro.run()

for more information check this post out:

https://www.backtrader.com/blog/posts/2017-07-05-order-history/order-history/

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: guest123

79533808

Date: 2025-03-25 13:26:33
Score: 1.5
Natty:
Report link

downgrade the bytemuck_derive package from version 1.9.2 to version 1.8.4

cargo update -p [email protected] --precise 1.8.4

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dastageer Sayed

79533806

Date: 2025-03-25 13:24:33
Score: 1.5
Natty:
Report link
<?xml version="1.0" encoding="UTF-8"?>
<accessControl>
    <admins>
        <admin>
            <name>name</name>
            <password>pasword</password>
        </admin>
        <admin>
            <name>admin2</name>
            <password>password456</password>
        </admin>
    </admins>
</accessControl>





I have this code for a rage mp server and the same error how can I solve it
Reasons:
  • Blacklisted phrase (0.5): how can I
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30056502

79533802

Date: 2025-03-25 13:24:33
Score: 0.5
Natty:
Report link

I had the same problem. I followed the suggested workaround on Poetry's github:

poetry config virtualenvs.use-poetry-python true

After that, it started working for me.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Franklin Sousa

79533798

Date: 2025-03-25 13:22:32
Score: 1
Natty:
Report link

It looks like the issue is caused by the --harmony-proxies flag in your test script. This flag was used to enable experimental features in older versions of Node.js, but it's no longer necessary in modern Node versions.

Steps to Fix the Issue:

  1. Check Your Node.js Version

You’re using Node.js v7.1.0, which is outdated. The latest stable LTS version is recommended (e.g., Node.js 18 or 20).

Upgrade Node.js via nvm:

nvm install --lts nvm use --lts Alternatively, download the latest version from nodejs.org.

  1. Modify the Test Script

Open your package.json file and locate the test script.

Remove --harmony-proxies from the command:

"test": "cross-env NODE_ENV=test PORT=8080 MONGO_URL=mongodb://localhost:27017/mern-test node_modules/.bin/nyc node node_modules/.bin/ava"

  1. Reinstall Dependencies

After upgrading Node.js, remove and reinstall dependencies:

rm -rf node_modules package-lock.json npm install

  1. Run Tests Again

Execute:

npm run test If errors persist, check the ava and nyc versions in package.json and update them.

If you're still facing issues, you might consider switching to a more actively maintained starter template or configuring a fresh MERN setup from scratch.

Need Help with MERN Stack Development? At GraffersID, we provide expert MERN Stack developers to help you build, optimize, and scale your applications seamlessly. Hire pre-vetted remote developers to accelerate your project today! 🚀

Explore MERN Developers Now

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

79533780

Date: 2025-03-25 13:13:30
Score: 12.5
Natty: 7.5
Report link

hey did you find any solution to this?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): did you find any solution to this
  • RegEx Blacklisted phrase (2): any solution to this?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Estefanía Gallo

79533760

Date: 2025-03-25 13:07:28
Score: 1.5
Natty:
Report link

I solved my problem.

firstly, I unistalled my current mingw compiler and use this compiler instead:

https://github.com/niXman/mingw-builds-binaries/releases/tag/13.2.0-rt_v11-rev1

from this page I downloaded x86_64-13.2.0-release-posix-seh-ucrt-rt_v11-rev1.7z this one. In this release of mingw in sec_api folder there is stdio_s header file in which freopen_s is defined.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Nurullah Ozturk

79533758

Date: 2025-03-25 13:06:28
Score: 1.5
Natty:
Report link

You need to set triggerLineEvent to true.

Example

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

79533757

Date: 2025-03-25 13:06:28
Score: 1
Natty:
Report link
   .dnd-scroll-container {
     overscroll-behavior: none;
     scroll-snap-type: both mandatory;
   }

   .dnd-scroll-container > * {
     scroll-snap-align: start;
   }

Add this classes to your scrollable container

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: احمد طارق النونو

79533755

Date: 2025-03-25 13:06:28
Score: 1.5
Natty:
Report link

Citus with PG17 support was officially released on Feb 6, 2025.

So, you can now run the following on Ubuntu/Debian:

sudo apt-get -y install postgresql-17-citus-13.0
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Naisila

79533752

Date: 2025-03-25 13:04:28
Score: 2
Natty:
Report link

I wrote a FIX Engine that can process order execution with a round-trip time of 5.5µs.

So to answer your question, that means the processing time client -> server including parsing, serialising and network code is only RTT/2 = 2.25µs

Given parsing and serialisation can be massively optimised thanks to SIMD, most of the time will be spent in the network code. This is where Linux kernel tuning and/or TCP Kernel bypass technologies (OpenOnLoad) really help.

more details on www.fixisoft.com

Reasons:
  • Blacklisted phrase (0.5): thanks
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pierre-Yves P

79533749

Date: 2025-03-25 13:04:28
Score: 3
Natty:
Report link

I've started to work on basic coloring netbeans plugin for vue.js files.
It could be another alternative.

https://github.com/haidubogdan/nb-js-vue-editor/releases/tag/nv_rel1.0.4

enter image description here

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

79533748

Date: 2025-03-25 13:03:27
Score: 3
Natty:
Report link

It's been a long time since I had to do this, and as others have said, ideally avoid WindowsXP. However, if you have no choice and wish to enable TLS1.2 you need to add the following enum value:

System.Net.ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;

If the enum value does not exist in SecurityProtocolType it is possible to add them in as an extension method as described here:
https://learn.microsoft.com/en-us/dotnet/framework/network-programming/tls#if-you-must-explicitly-set-a-security-protocol

If you have done all of that and it still doesn't work - try adding tracing as described in this answer here: https://stackoverflow.com/a/5985497/30012070 it will hopefully show more detail on the cypher suites supported by the key exchange as well as why it's failing... HTH, Nick

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • RegEx Blacklisted phrase (2): it still doesn't work
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nick Pattman

79533747

Date: 2025-03-25 13:03:27
Score: 9
Natty: 7
Report link

How did you solve the doesn't exist on the resource '00000003-0000-0000-c000-000000000000' issue?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve the
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How did you solve the
  • Filler text (0.5): 000000000000
  • Low reputation (1):
Posted by: Yang Feng

79533746

Date: 2025-03-25 13:03:26
Score: 6 🚩
Natty:
Report link

I am having the same issue with Nitrosense not opening at all, it happened all of a sudden and has been months now without any sort of resolution. I have a Acer Nitro 5 AN518-58 operating Windows 11 Home 12th Gen Intel core i5 - 12500H..Intel UHD Graphics and NVIDIA GeForce RTX 3050.

I have done the uninstall reinstall many times I have the latest BIOS and have tired several online repairs all of which failed to bring back Nitrosense. I have written to ACER and Microsoft and have the latest updates available still nothing has fixed the issue.As so many have the same issue why can't ACER offer a repair update as it is when working a great asset to be able to use the fans at max when required as well as operate the RGB lighting.

Hope sone can help us who have this issue

Robert

Reasons:
  • RegEx Blacklisted phrase (1): help us
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same issue
  • Me too answer (0): have the same issue
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Robert

79533743

Date: 2025-03-25 13:02:26
Score: 2.5
Natty:
Report link

Running expo prebuild generates the ios/ and android/ files, and from there I was able to edit the Podfile and rerun the build command

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

79533736

Date: 2025-03-25 13:00:26
Score: 2.5
Natty:
Report link

In my case, changing the "Derived Data" to the "Custom Location" value did not help.

But, I could solve it by setting the "Derived Data" to the "Relative" item. And the project started.

enter image description here

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

79533735

Date: 2025-03-25 13:00:26
Score: 1.5
Natty:
Report link

You may want to consider using minutes as well rather than use hours to be more precise...

where
   DateDiff( minute, ReturnDT, getdate() ) > 60
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: James B

79533734

Date: 2025-03-25 12:59:25
Score: 2
Natty:
Report link

In my case, the launch.json and tasks.json files were not in the /.vscode directory. They were in the root with the other files. Moving them solved all of my issues.

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

79533733

Date: 2025-03-25 12:58:25
Score: 2
Natty:
Report link

In my case I needed to disable default focus animation of UITableViewCell for me worked:

let view = UIView()
view.backgroundColor = .clear
backgroundView = view

do it in init

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

79533732

Date: 2025-03-25 12:58:25
Score: 1.5
Natty:
Report link

The solution to this problem was to confirm the expected EOL character for my SSH server. In my case it was LF ('\n'). Once I appended LF to the end of my command strings and used ShellStream with the simple Write function (as opposed to WriteLine), it worked and I now receive the responses from the server that I expect.

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: JimJamFlimFlam

79533730

Date: 2025-03-25 12:57:25
Score: 1
Natty:
Report link

mode should be tcp in frontend and in backend too, and to check fqdn use this:

tcp-request inspect-delay 5s
tcp-request content accept if { req.ssl_sni -m end hub.mydomain }
use_backend be_registry_443 if { req.ssl_sni -m end hub.mydomain }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Imre Nagy

79533729

Date: 2025-03-25 12:56:25
Score: 1
Natty:
Report link

First of all, the question too generic and vague to be answered in a proper manner.

However, as a general question, it depends on the use case. Here, I presume you want to execute the 'specific code' basis some trigger.

In terms of Android, this can be a Broadcast event. You might want to implement background tasks, etc. There are a bunch of options you can choose from, you may start reading this: https://developer.android.com/develop/background-work/background-tasks

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

79533723

Date: 2025-03-25 12:53:24
Score: 2.5
Natty:
Report link

You need to configure your User Pool to reference your Pinpoint project.

See the doc here.

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

79533718

Date: 2025-03-25 12:50:23
Score: 1
Natty:
Report link

Yes, its atomically in the sense that the file accessed via the new filename at any time is as consistent as any of the two files is.

If the old file is open for reading, the old data will be obtained as long as its file descriptor is not closed. And writing will change the old file and never the new file. Unless there is another open file descriptor or a hard link to the old file, the contents is finally lost once the file descriptor is closed.

In other words, reading via the new filename is always ok; but to avoid data loss, the old file must be write locked before the rename.

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

79533700

Date: 2025-03-25 12:44:22
Score: 1.5
Natty:
Report link

You can do:

from importlib import import_module

defs = import_module("mymod.definitions").defs
new_users = defs.load_asset_value(asset_key='new_users')

Which assumes a folder structure like

example folder structure

and example contents of definitions.py like

from dagster import Definitions

defs = Definitions(
    assets=[...],
)
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ParisSI

79533699

Date: 2025-03-25 12:44:22
Score: 1.5
Natty:
Report link

Not defined by default until the current version (2024.3). You can set it manually in Preferences > Keymap > Move Line Up or Move Line Down.

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

79533695

Date: 2025-03-25 12:43:22
Score: 0.5
Natty:
Report link

I recently encountered this problem.
The issue is that in the personal_access_token table, the tokenable_type column has the value App\Models\User stored, which is causing this problem.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Amir Reza Tavakolian

79533689

Date: 2025-03-25 12:40:21
Score: 2
Natty:
Report link

I am not sure, I understand your answer right, madhead.

How to you run your app? Do you use Tomcat or Jetty embedded server or deploy it in those servers? They all have their own session storage implementation. Tomcat uses file-bases session storage by default.

Would you agree on:

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

79533688

Date: 2025-03-25 12:40:21
Score: 2.5
Natty:
Report link

here is my code

```cpp
    #include <bits/stdc++.h>
    using namespace std;

    int n, k, a[100], final = false;

    void ktao(){
        for(int i = 1; i <= k; i++){
            a[i] = i;
        }
    }

    void fuckk(){
        int i = k;
        while(i >= 1 && a[i] == n - k + i){
            --i;
        }
        if(i == 0){
            for(int j = 1; j <= k; j++){
                a[j] = j;
            }
        }else{
            ++a[i];
            for(int j = i + 1; j <= k; j++){
                a[j] = a[j - 1] + 1;
            }
        }
    }

    int main(){
        int test; cin >> test;
        while(test--){
            cin >> n >> k;
            for(int i = 1; i <= k; i++){
                cin >> a[i];
            }
            fuckk();
            for(int i = 1; i <= k; i++){
                cout << a[i] << " ";
            }
            cout << endl;
        }
    }
Reasons:
  • Blacklisted phrase (2): fuck
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Quyền Nguyễn

79533672

Date: 2025-03-25 12:33:19
Score: 5
Natty: 5
Report link

Full outer join with different distribution column types errors out in Citus. Do table1 and table2 have different column distribution types?

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

79533667

Date: 2025-03-25 12:32:19
Score: 4
Natty: 4.5
Report link

Please refer to the blog below to play videos in recycler view.

https://engineering.cred.club/implementing-multi-video-playback-in-recyclerview-56a4bdf99a29

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Arka Mazumder

79533658

Date: 2025-03-25 12:30:18
Score: 2.5
Natty:
Report link

As the issue is only observed on Firefox, it may be imposing a strict same-origin-policy, I think the fix for this will be to enable CORS in the angular application.

you may refer to this thread

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

79533645

Date: 2025-03-25 12:26:17
Score: 1
Natty:
Report link

I'm a bit late to the show, but maybe this will be helpful to others:

Create a method in the action

public boolean isRadioDisabled(boolean disabRgt){
    return disabRgt;
}

And in your JSP:

<s:radio /*...*/ disabled="isRadioDisabled(disabRgt)" />

Works with Struts 7.

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

79533633

Date: 2025-03-25 12:19:16
Score: 1
Natty:
Report link

Simply switch between PHP versions and back to the version you want to use. That will solve the problem. It seems to be a Herd issue.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Alejandro De Castro

79533626

Date: 2025-03-25 12:14:15
Score: 2.5
Natty:
Report link

If the skill isn’t working in other languages, it could be due to locale settings, missing language support, or framework limitations. I faced a similar issue on my site, and managed to resolve it by adjusting some configurations. You might want to check the API documentation or debug the language settings!

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

79533623

Date: 2025-03-25 12:12:14
Score: 2.5
Natty:
Report link

Found the solution. Indeed if you have a look at the question and why I needed ffmpeg for the "external" videos to play, you can figure out that there might be an audio problem somewhere. Well, even though I don't play audio on the device I run my application, the video still has audio.

Now going further with the investigation, I found that Rocky Linux uses PipeWire as its audio driver (together with Alsa, but that didn't matter) and found the environment variables that PipeWire has for my user. Turns out it was XDG_RUNTIME_DIR - from here. Got the variable that my user had with the set command and now it's all up and running.

Thank you for the suggestions, @Alex Crichton and @user1934428. You kinda pointed me in the right direction, because at first I didn't think it could be an env var missing.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @and
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: VicVerevita

79533622

Date: 2025-03-25 12:12:14
Score: 2.5
Natty:
Report link

Deleting ~/.gradle fixed it for me

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

79533621

Date: 2025-03-25 12:11:14
Score: 5.5
Natty:
Report link

I would like to add that there might be an issue caused libraries save attribute with initialization and declaration happening at the same time. We were seeing the same issue on our end. Cmake might handle this in a way that causes unwanted persistence just like the save attribute has.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): seeing the same issue
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Daniel

79533614

Date: 2025-03-25 12:07:12
Score: 2
Natty:
Report link

Opera was being silly. Fixed this by Ctrl+F5

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

79533609

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

There is a Java tutorial to do this that is much simpler than most of the provided answers at https://docs.oracle.com/javase/tutorial/2d/text/drawmulstring.html

AttributedCharacterIterator paragraph = vanGogh.getIterator();
paragraphStart = paragraph.getBeginIndex();
paragraphEnd = paragraph.getEndIndex();
FontRenderContext frc = g2d.getFontRenderContext();
lineMeasurer = new LineBreakMeasurer(paragraph, frc);

// Set break width to width of Component.
float breakWidth = (float)getSize().width;
float drawPosY = 0;
// Set position to the index of the first
// character in the paragraph.
lineMeasurer.setPosition(paragraphStart);

// Get lines from until the entire paragraph
// has been displayed.
while (lineMeasurer.getPosition() < paragraphEnd) {

    TextLayout layout = lineMeasurer.nextLayout(breakWidth);

    // Compute pen x position. If the paragraph
    // is right-to-left we will align the
    // TextLayouts to the right edge of the panel.
    float drawPosX = layout.isLeftToRight()
        ? 0 : breakWidth - layout.getAdvance();

    // Move y-coordinate by the ascent of the
    // layout.
    drawPosY += layout.getAscent();

    // Draw the TextLayout at (drawPosX,drawPosY).
    layout.draw(g2d, drawPosX, drawPosY);

    // Move y-coordinate in preparation for next
    // layout.
    drawPosY += layout.getDescent() + layout.getLeading();
}
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sean Proctor

79533608

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

Hmm, there might be couple of reasons, If after checking that your metrics are set properly, It could be the cooldown period after a scale-out event before scale-in can occur. Check your scaling policy's cooldown settings. And also, it could be that the fluctuation between scaling states is rapid and this is will lead to Thrasing. You can try reducing the datapoints maybe 3 instead of 15 and then test with controlled load, gradually reduce the load to below the scale-in threshold (e.g., 50%) and observe CloudWatch metrics/alarms. Use the AWS CLI to check alarm states: aws cloudwatch describe-alarms --alarm-names <scale-in-alarm-name>

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Marv Ik

79533607

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

You can add transparency to trend_color this way:

fill_color = trend_col(0.2)

The class Color does not give access to the fields (https://takeprofit.com/docs/indie/Library-reference/package-indie#color), usually it is not necessary.

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

79533602

Date: 2025-03-25 12:03:11
Score: 2.5
Natty:
Report link

The list of special-case aggregates in the docs is pre-defined. Other than those, in order to push down the aggregate execution to the worker nodes, the aggregate should be grouped by the table's distribution column.

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

79533593

Date: 2025-03-25 12:00:10
Score: 6.5
Natty: 7
Report link

If my poetry creates a virtual environment as .venv, and I want my WORKDIR to be called apps, how would I need to change the WORKDIR?

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Poorvi

79533591

Date: 2025-03-25 11:59:10
Score: 0.5
Natty:
Report link

The following works for me

const newConfirmation = await auth.signInWithPhoneNumber(phoneNumber, true);

The second argument is a forceResend flag. The offical document.

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user2452660

79533590

Date: 2025-03-25 11:59:10
Score: 1.5
Natty:
Report link

This question was answered by C3roe in the comments. I was incorrectly using the $ behind every capture group. C3roe also helped with the .html extension, an issue I had not realised yet I was having.

My RewriteRule should have been:

RewriteRule ^webshop/(.*)/detail/(.*)/(.*)\.html$ https://newsite.com/shop/$1/$3/ [R=301,NC,L]

Thanks!

(if I could have selected the comment as the answer, I would have.)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Robin R.

79533582

Date: 2025-03-25 11:57:09
Score: 1
Natty:
Report link

var loggedIn = false;

function authenticate() {
  var password = document.getElementById('password').value;
  
  loggedIn = login(password);
  status();
}

function login(password) {
    var storedPassword = '123';

    return password == storedPassword;
}

function status() {
  if(loggedIn) {
    console.log('You are in :)');
  } else {
    console.log('You are not in :(');
  }
}
<input type='password' value='' id='password'>
<input type='button' onclick='authenticate()' value='login'><br/>
<small>Try 123 :D</small>

Reasons:
  • Blacklisted phrase (1): :(
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yra Mhae Moran

79533576

Date: 2025-03-25 11:55:08
Score: 4
Natty:
Report link

Same issue here on Free autonomous database. Database is located in London.

After refresh the page, it works properly

Reasons:
  • RegEx Blacklisted phrase (1): Same issue
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30055533

79533575

Date: 2025-03-25 11:55:08
Score: 2.5
Natty:
Report link

The issue was reproduced when running the tutorial in debug mode for some accounts. The team is working to fix the issue.

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

79533569

Date: 2025-03-25 11:52:08
Score: 1.5
Natty:
Report link

It keeps showing the error on this line

 Colar a primeira tabela
intervaloTabela1.Copy
wordSelection.PasteAndFormat (wdFormatOriginalFormatting) ' Colar a primeira tabela com formatação original
wordSelection.TypeParagraph ' Adicionar uma linha em branco entre as tabelas
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sofia Schramm

79533568

Date: 2025-03-25 11:52:08
Score: 10.5
Natty: 8
Report link

Where did you find the Advanced Access permission options? I have developer access but can't seem to locate them. Could you guide me on where to enable Advanced Access for permissions like email and public_profile?

Reasons:
  • Blacklisted phrase (1): guide me
  • RegEx Blacklisted phrase (2.5): Could you guide me
  • RegEx Blacklisted phrase (3): did you find the
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Where did you find the
  • Low reputation (1):
Posted by: Aman

79533551

Date: 2025-03-25 11:48:06
Score: 3
Natty:
Report link

I don't know how MusixMatch achieve this but you can use PiP with Compose: https://developer.android.com/develop/ui/compose/system/picture-in-picture

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Heddxh

79533546

Date: 2025-03-25 11:45:06
Score: 0.5
Natty:
Report link

Just to point out I have been stumbling to this error when working with virtualenvs. If you're working with scripts, check how your shebang(#!/usr/bin/python3) invokes Python. Scripts run as ./script.py will invoke global Python Interpreter and will likely lead to a Module NoT Found Error because the module isn't installed system-wide. Instead run the script as python3 script.py to invoke the env's Python interpreter.

hope this helps

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: noel-reeds

79533544

Date: 2025-03-25 11:44:05
Score: 1.5
Natty:
Report link

Setting the parameters as part of the constructor made release work the way I expected them to

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

79533541

Date: 2025-03-25 11:42:05
Score: 0.5
Natty:
Report link

So I tested your code @Colab with a smaller group of 20 persons, defined as part of the code instead of loading from an xlsx file:

# 20 People names
people_names = [
    "Alice", "Bob", "Charlie", "David", "Eve", "Frank", "Grace", "Hank", "Ivy", "Jack",
    "Kate", "Leo", "Mia", "Nick", "Olivia", "Paul", "Quinn", "Rachel", "Steve", "Tina"
]

# Generate a symmetric affinity matrix (values 0-5, 0 on the diagonal)
np.random.seed(42)  # For reproducibility
affinity_matrix = np.random.randint(0, 6, (20, 20))
np.fill_diagonal(affinity_matrix, 0)  # No self-affinity
affinity_matrix = (affinity_matrix + affinity_matrix.T) // 2  # Make it symmetric

# Run optimization
groups = optimize_groups(affinity_matrix, min_size=3, max_size=6)

# Print results
if groups:
    for idx, group in enumerate(groups, start=1):
        print(f"Group {idx}: {group}")
else:
    print("No valid grouping found.")

… and got a result after approx. 50s.
Basically, the code works as expected, but not very efficiently.

Going thru your code, I noticed that you make use of .add_multiplication_equality() quite a lot.
While convenient .add_multiplication_equality() is rather costly.

An alternative, linear formulation helps to reduce the solver time by an order of magnitude:

model.add(pair_var <= x[i, g])
model.add(pair_var <= x[j, g])
model.add(pair_var >= x[i, g] + x[j, g] - 1)

… and produces the result after 2-5s (also @Colab).

As mentioned in my previous comments, you may also want to have a closer look at the example of a wedding tables’ seating from ortools for further inspiration and improvement potentials.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • User mentioned (1): @Colab
  • User mentioned (0): @Colab
  • Low reputation (0.5):
Posted by: Anonymous

79533540

Date: 2025-03-25 11:42:05
Score: 1
Natty:
Report link

I have a feeling, that division is not appropriate there. After all, "Time.fixedDeltaTime" is "Fixed Timestep" (located in Project Settings -> Time). And if you change this parameter ("Fixed Timestep"), then "Time.fixedDeltaTime" will also change. So under the same conditions, but with different values ​​of the "Fixed Timestep" parameter, there will be a different force value.

Conclusion: You can simply use "Vector3 collisionForce = col.impulse" which will be much more accurate. The value of "collisionForce" may change slightly when changing "Fixed Timestep", but not significantly than if using "division".

And, I generally do not recommend using "Time.fixedDeltaTime" in "FixedUpdate ()", because it results in a double action multiplication/division.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Сергій Ворошилов

79533529

Date: 2025-03-25 11:39:05
Score: 1
Natty:
Report link

I tried the solution with str but it didn't work (for the values).

But

parser = configparser.ConfigParser()
parser.optionxform = lambda option: option

Worked well

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

79533522

Date: 2025-03-25 11:36:04
Score: 2
Natty:
Report link

I wrote a FIX Engine that can process order execution with a round-trip time of 5.5µs.

So to answer your question, that means the processing time client -> server including parsing, serialising and network code is only RTT/2 = 2.25µs

Given parsing and serialisation can be massively optimised thanks to SIMD, most of the time will be spent in the network code. This is where Linux kernel tuning and/or TCP Kernel bypass technologies (OpenOnLoad) really help.

more details on www.fixisoft.com

Reasons:
  • Blacklisted phrase (0.5): thanks
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pierre-Yves P

79533514

Date: 2025-03-25 11:32:03
Score: 1.5
Natty:
Report link

Change your command to

"scripts": {
  "json-server": "json-server --watch db.json --port 5000"
},

You miss a "-" before -port. It should be --port.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lam Huynh

79533505

Date: 2025-03-25 11:29:02
Score: 1.5
Natty:
Report link

If one need a specific version of protoc compiler they can download it from maven repository. for example i needed protoc 3.19.2 and had the same problem with specific version not available via apt.

So i went to maven and found what i want. specifically here: https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.19.2/

(you can search in maven and click 'view all' in files section to get to your desired files. that's how i got to the above link)

then downloaded the linux-x86.exe file, made it executable by chmod +x, renamed it to 'protoc' and placed it in PATH and i could finally call protoc --version and i got libprotoc 3.19.2

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

79533504

Date: 2025-03-25 11:29:02
Score: 1
Natty:
Report link

I need some help. I have created the Flow below, and while the first screen populates correctly. when sent, the dynamic data on the second screen is not appearing, its coming as empty.

Flow JSON:-

{
    "version": "7.0",
    "screens": [
        {
            "id": "DETAILS",
            "title": "Get help",
            "data": {
                "name": {
                    "type": "string",
                    "__example__": "XXX"
                }
            },
            "layout": {
                "type": "SingleColumnLayout",
                "children": [
                    {
                        "type": "Form",
                        "name": "form",
                        "children": [
                            {
                                "type": "TextInput",
                                "name": "Name",
                                "label": "Name",
                                "input-type": "text",
                                "required": true
                            },
                            {
                                "type": "TextInput",
                                "label": "Order number",
                                "name": "Order_number",
                                "input-type": "number",
                                "required": true
                            },
                            {
                                "type": "TextBody",
                                "text": "${data.name}"
                            },
                            {
                                "type": "RadioButtonsGroup",
                                "label": "Choose a topic",
                                "name": "Choose_a_topic",
                                "data-source": [
                                    {
                                        "id": "0_Orders_and_payments",
                                        "title": "Orders and payments"
                                    },
                                    {
                                        "id": "1_Maintenance",
                                        "title": "Maintenance"
                                    },
                                    {
                                        "id": "2_Delivery",
                                        "title": "Delivery"
                                    },
                                    {
                                        "id": "3_Returns",
                                        "title": "Returns"
                                    },
                                    {
                                        "id": "4_Other",
                                        "title": "Other"
                                    }
                                ],
                                "required": true
                            },
                            {
                                "type": "TextArea",
                                "label": "Description of issue",
                                "required": false,
                                "name": "Description_of_issue"
                            },
                            {
                                "type": "Footer",
                                "label": "Done",
                                "on-click-action": {
                                    "name": "navigate",
                                     "next": {
                                        "type": "screen",
                                        "name": "SCREEN_TWO"
                                    },
                                    "payload": {
                                    }
                                }
                            }
                        ]
                    }
                ]
            }
        },
        {
            "id": "SCREEN_TWO",
            "title": "Feedback 2 of 2",
            "data": {
                "lastName": {
                    "type": "string",
                    "__example__": "Babu"
                }
            },
            "terminal": true,
            "success": true,
            "layout": {
                "type": "SingleColumnLayout",
                "children": [
                    {
                        "type": "Form",
                        "name": "form",
                        "children": [
                            {
                                "type": "TextSubheading",
                                "text": "Rate the following: "
                            },
                            {
                                "type": "TextBody",
                                "text": "${data.lastName}"
                            },
                            {
                                "type": "Footer",
                                "label": "Done",
                                "on-click-action": {
                                    "name": "complete",
                                    "payload": {
                                    }
                                }
                            }
                        ]
                    }
                ]
            }
        }
    ]
}

Send JSON:-

{
  "messaging_product": "whatsapp",
  "recipient_type": "individual",
  "to": "XXXXX",
  "type": "template",
  "template": {
    "name": "order_issue_utility_xx",
    "language": {
      "code": "en"
    },
    "components": [
        {
            "type": "button",
            "sub_type": "flow",
            "index": "0",
            "parameters": [
                {
                    "type": "action",
                    "text": "view flow",
                    "action": {
                        "flow_action_data":
                        {
                                "screen": "SCREEN_ONE",
                                "name":"Lokesh",
                                "lastName":"pattajoshi"
                        }
                    }
                }
            ]
        }
    ]
  }
}
Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I need some help
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lokesh Pattajoshi

79533487

Date: 2025-03-25 11:23:00
Score: 3
Natty:
Report link

So there seems to be interesting bug kinda , because when i pass the

    encrypted_pan

is gives me error of same kind but when i just directly send the parameter as raw credit card number it works

 number

SO conclusion is use raw credit card number in "number" for generating token, But Please also look the PCI compliance

im in talks with clover team about this , haven't recieved any conculsion, will post on update

Reasons:
  • Blacklisted phrase (2): gives me error
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Sai

79533474

Date: 2025-03-25 11:19:00
Score: 0.5
Natty:
Report link

The error you are encountering is related to unresolved dependencies in WSO2 Micro Integrator (MI) 4.2.0, specifically the missing `com.hp.hpl.jena.query` package. This issue can occur if certain files or packages required by MI are deleted or blocked by security software like `SentinelOne` or similar endpoint protection services.

Why This Happens
- Endpoint protection services like `SentinelOne` may mistakenly flag certain files or packages as suspicious and quarantine or delete them during the installation or runtime of MI.
- This can result in missing dependencies, causing errors like the one you are seeing.

Solution
To avoid this issue, follow these steps:

1. Stop `SentinelOne` or Similar Services Before Installation:

2. Install WSO2 Micro Integrator 4.2.0:

3. Verify the Installation:

4. Restart SentinelOne After Installation:

5. Whitelist WSO2 MI Files:

Expected Outcome
After stopping SentinelOne (or similar services) and reinstalling MI, the error should no longer occur. This ensures that all required files and dependencies are intact during the installation process.

Additional Notes
- If the issue persists even after stopping SentinelOne, verify that all required dependencies (e.g., `com.hp.hpl.jena.query`) are present in the MI installation directory.
- You can manually download missing dependencies from trusted sources like Maven Central or the WSO2 repository and place them in the appropriate directory (e.g., `<MI_HOME>/lib`).

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

79533472

Date: 2025-03-25 11:17:59
Score: 1.5
Natty:
Report link

I check your code there is an issue with Image

You mention width is 1; also, the image is not fitted so there's some spacing

So i have added your code on my system with different imageand its working fine

I have attached screenshot Please check

enter image description here

import 'package:flutter/material.dart';

class CardScreen extends StatefulWidget {
  const CardScreen({super.key});

  @override
  State<CardScreen> createState() => _CardScreenState();
}

class _CardScreenState extends State<CardScreen> {
  String selectedCurrency = 'USD';

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.white,
      body: Column(
        mainAxisAlignment: MainAxisAlignment.start,
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          Stack(
            children: [
              Image.network(
                "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ8lF2jbNFBy7X4D6F43tRiCxG2oRWLP9v8LQ&s",
                height: 360,
                width: MediaQuery.of(context).size.width,
                fit: BoxFit.cover,
              ),
              SafeArea(
                child: Padding(
                  padding: EdgeInsets.symmetric(horizontal: 50),
                  child: Column(
                    children: [
                      SizedBox(height: 40),
                      Text(
                        'Your card balance',
                      ),
                      SizedBox(
                        height: 15,
                      ),
                    ],
                  ),
                ),
              )
            ],
          ),
          Text('My Card'),
        ],
      ),
    );
  }
}
Reasons:
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (1): I have attached screenshot Please
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vijay Laheri

79533458

Date: 2025-03-25 11:12:58
Score: 0.5
Natty:
Report link

When you click enter after you have typed in the chat name streamlit generally refreshes the page to load the new input of the text but now the edit_chat_name function is not called you should put the text_input outside and then store it in st.session_state and then use that in edit_chat_name if you want to not show the input_box when you are not editing the chat name you can write an if statement with the button and write the text_input inside the if and then have a nested if for that (which would get called if they enter the text_input) and then finally save the text in st.session_state and call the edit_chat_name function, Example code:-

with st.sidebar:
    ....
    ....
    if st.button('Edit Chat Name'):
        if text := st.text_input('New Chat Name'):
            st.session_state.chat_names[st.session_state.current_chat_id] = text
    ....
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Sanjay Muthu

79533455

Date: 2025-03-25 11:10:57
Score: 4
Natty: 5
Report link

Disable "Auto-generate binding redirects"

Source: https://github.com/tmenier/Flurl/issues/597

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

79533452

Date: 2025-03-25 11:09:57
Score: 1
Natty:
Report link

If you are using poetry do the following:

poetry add psycopg-binary

poetry add psycopg-tool
poetry install

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

79533450

Date: 2025-03-25 11:08:57
Score: 1
Natty:
Report link

I just encountered the situation exactly as described. Assuming a6704f8d is the interested commit hash. This is what worked out for me (with two dashes):

git checkout a6704f8d -- path/to/file
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alexandr Kalabin

79533445

Date: 2025-03-25 11:06:56
Score: 2
Natty:
Report link

Thanks to a hint from @DileepRajNarayanThumula I have an answer to my own question:

There's a hidden column in external tables called _metadata . This is a STRUCT containing several fields, including the file update date. So to get the update date for each row of my table, I can write something like this:

SELECT *,
       _metadata.file_modification_time
FROM my_external_table
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @DileepRajNarayanThumula
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Chris Hunt

79533437

Date: 2025-03-25 11:02:55
Score: 0.5
Natty:
Report link

It looks like the issue is with how setuptools is handling the package discovery. The [tool.setuptools.packages.find] section is only searching inside packages/src and config, but config isn’t structured as a package under packages/src.

Fixes to try:

Explicitly list config as a package

Update pyproject.toml to:

[tool.setuptools.packages.find]

where = ["packages/src"] # Only look in packages/src

include = ["*"] # Find all packages

Then, manually add config in setup.cfg (or switch to setuptools.find_namespace_packages()).

Ensure the config module is correctly recognized

Move config/ inside packages/src/ if it should be part of the installable package.

Check PYTHONPATH

When running scripts, try:

sh

PYTHONPATH=. python services/data_ingestion/ingest_data.py

Or explicitly add sys.path.append(str(Path(_file_).resolve().parent.parent)) in the script.

Use src layout

If restructuring is an option, consider putting all code inside packages/src/dashboard/ and updating imports accordingly.

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

79533435

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

Thank you from me too.. spent a couple of hours wondering if my issue was to do with an Apache configuration problem as it wasn't redirecting the http www in an InPrivate browser session of Chrome or Edge.. turned out to be the same issue with the certificate not generated with the extra -d www. domain

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Eternal-student

79533425

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

Maybe you can try it out. Specify the format you want.

DATE_FORMAT(current_timestamp(), '%m-%d-%Y') AS load_Date
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: StackSurfer

79533417

Date: 2025-03-25 10:56:54
Score: 0.5
Natty:
Report link
create or replace table project.dataset.table
as 
WITH tmp AS (
  SELECT 1 AS id, "abc" AS txt, null AS result
  UNION ALL
  SELECT 1 AS id, "Passed" AS txt, "Passed" AS result
  UNION ALL
  SELECT 1 AS id, "def" AS txt, null AS result
  UNION ALL
  SELECT 2 AS id, "hgi" AS txt, null AS result
  UNION ALL
  SELECT 2 AS id, "jhg" AS txt, null AS result
  UNION ALL
  SELECT 2 AS id, "Failed" AS txt, "Failed" AS result
)
SELECT
*
from tmp

I can post the code here better than in my comment, I created a table (above)

CREATE OR REPLACE MATERIALIZED VIEW project.dataset.table

AS
SELECT
    tmp.id,
    tmp.txt,
    tmp.result,
    tmp2.result AS i_want
FROM project.dataset.table as tmp
    INNER JOIN tmp AS tmp2
        ON tmp.id = tmp2.id
WHERE
    tmp2.result IS NOT NULL

Then tried to run the query as a materialized view but it will not work unfortunately.

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

79533415

Date: 2025-03-25 10:54:53
Score: 3
Natty:
Report link

can update dartsdk by running this in terminal flutter upgrade

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can u
  • Low reputation (1):
Posted by: Curious Programmer

79533412

Date: 2025-03-25 10:54:53
Score: 2
Natty:
Report link

As it seems, it's not necessary to specify the table name with !profiles if self-referencing. When using '*, creator:creator_id(id, first_name, last_name)', it works as expected.

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

79533408

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

On checkboxShape set CircleBorder()

CheckboxListTile(
  value: false,
  onChanged: (value) {},
  checkboxShape: CircleBorder(),
)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Abu Anwar

79533397

Date: 2025-03-25 10:50:52
Score: 2
Natty:
Report link

Microsoft have come up with a solution for this called private DNS fallback.
There is now a check box within the site-link configuration, that allows the private dns resolver or [insert private DNS solution] to fall back to Azure DNS if there is no record in the linked private DNS zone for the requested resource.

https://learn.microsoft.com/en-us/azure/dns/private-dns-fallback

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

79533383

Date: 2025-03-25 10:45:51
Score: 3
Natty:
Report link

Try with the steps mentioned in this link :- https://learn.microsoft.com/en-us/visualstudio/ide/how-to-change-fonts-and-colors-in-visual-studio?view=vs-2022.

It worked for me.

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Munisha Sharma

79533377

Date: 2025-03-25 10:44:51
Score: 2.5
Natty:
Report link

As of today, I don’t think there’s a way to completely turn off caching once you start using the @cache-manager module in NestJS. However, I was able to achieve a similar effect by massively reducing the TTL—setting it to less than a second.

The idea is that the cache expires almost immediately after being set, making it practically unnoticeable.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @cache-manager
  • Low reputation (1):
Posted by: Brown TM

79533360

Date: 2025-03-25 10:35:49
Score: 1.5
Natty:
Report link

In Nuxt 3, if a <p> tag is nested in another <p> tag, then v-html appears to give hydration mismatch error. Try to check if that's what's happening at the rendered HTML in dev tools Elements tab.

Changing outer <p> tag to <div> helped me. I was getting my content from contentful and doing v-html gave me hydration mismatch error.

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

79533358

Date: 2025-03-25 10:34:48
Score: 2
Natty:
Report link

They're not all 8 bits, you can get them in various widths. Most popular widths would be 4, 8, and 16 bits. I doubt there are any 64-bit chips though, as that would require a lot more pins and possibly a larger package, and there's probably not enough demand for that.

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

79533342

Date: 2025-03-25 10:25:47
Score: 0.5
Natty:
Report link
  1. Tabela Stocuri:

    stocuri (
        codprodus (Text),
        coddepozit (Text),
        codfurnizor (Text),
        pret (Currency),
        cantitate (Integer),
        data_intrarii (Date)
    )
    
  2. Se va crea un formular numit Form_Stocuri cu câmpuri legate de tabelul „stocuri”.

    Private Sub Form_Load()
        Dim conn As ADODB.Connection
        Dim rs As ADODB.Recordset
        Set conn = New ADODB.Connection
        Set rs = New ADODB.Recordset
    
        conn.Open "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\calea\catre\test1.accdb"
    
        rs.Open "SELECT * FROM stocuri WHERE cantitate > 0", conn, adOpenKeyset, adLockOptimistic
    
        If Not rs.EOF Then
            Set Me.Recordset = rs
        Else
            MsgBox "Nu există produse în stoc!"
        End If
    End Sub
    
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30054543

79533335

Date: 2025-03-25 10:23:46
Score: 3
Natty:
Report link

If you're using a simulator and trying a test sandbox payment, it won't work you should try from a physical device.

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

79533332

Date: 2025-03-25 10:20:46
Score: 3.5
Natty:
Report link

This is old, but I think the best solution outlined in this blogpost by David Solito outlining conditional dropdown filtering in my opinion is the most elegant solution.. https://www.davidsolito.com/post/conditional-drop-down-in-shiny/

Reasons:
  • Blacklisted phrase (1): this blog
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: David Lucey

79533330

Date: 2025-03-25 10:20:46
Score: 1
Natty:
Report link

My Google foo was not good enough. I've found the answer in the following post.

https://stackoverflow.com/a/74841362/6302131

After running the power shell command I see the direct events in the message log which are blocking the application from running. Frustrated that this essentially blocks me from async FileCopy. I could probably work around this but tbh likely not worth it in this instance.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Sancarn

79533328

Date: 2025-03-25 10:19:46
Score: 3
Natty:
Report link

No, not without switching the whole chip to complex mode.

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

79533320

Date: 2025-03-25 10:15:44
Score: 6.5 🚩
Natty: 5.5
Report link

I know it is allmost 3 years back but worth the try. I have been using the CentroidTracker to track multiple objects in python implementation, but the tracker is not very efficient dealing with occlution so I am trying to use CSRT tracker with MultiTracker function of openCV, but run into the same problem as you that the attribute is not in the module. I have tryed with the leagcy prefix, but that is not present either. now I am using version 4.11.0 of the openCV. Have you guys been using this recently? I have tried all possible ways of reinstalling openCV and using the openCV-contrib- vetc. etc but nothing working. Any suggestions, GitHub Copilot is also exhausted on indeas!

regards Thor

Reasons:
  • Blacklisted phrase (1): regards
  • Blacklisted phrase (1): but nothing work
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (2): Any suggestions
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Thor P

79533318

Date: 2025-03-25 10:15:44
Score: 0.5
Natty:
Report link

If you want to push in the main branch you have to tell that before
like,

git branch -m main

then you can try this

git push -u origin main
Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 5116_ Santhosh Kumar.T

79533313

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

you can refer these links where they suggest using version 1.8.1.

1] https://github.com/coral-xyz/anchor/issues/3614#issuecomment-2745025030
2] https://github.com/coral-xyz/anchor/issues/3606#issuecomment-2738357920

Reasons:
  • Blacklisted phrase (1): these links
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ri dev

79533298

Date: 2025-03-25 10:07:41
Score: 4
Natty:
Report link

Can you please share the VideoCallActivity code also? Also, maybe share some screenshots or a video recording so we can understand the issue better.

You can try removing the Stream code in a step-by-step manner, just to see if the issue is related. Start by removing it from one activity, then from both, then from the Application class, then also remove the dependency from the build.gradle.kts file.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please share
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you please share thecode also
  • Low reputation (1):
Posted by: Liviu Timar

79533278

Date: 2025-03-25 09:58:40
Score: 0.5
Natty:
Report link

The problem seems to be with how you're storing and updating the super_projectiles.
In your code, you are appending tuples to super_projectiles:super_projectiles.append((temp_projectile_rect, direction))And then you're modifying rect inside your loop:rect, direction = projectilerect.x += 10 # or other directionHowever, pygame.Rect is a mutable object, so the position does update, but you're not updating the tuple itself. Even though it seems to work because collisions are using the rect, your rendering logic is likely failing to update because you're storing and updating rects in-place without re-wrapping or tracking the changes properly.But the most likely actual cause is this:You’re reusing the same image (pie_projectile_image) for both normal and super projectiles — which is totally fine — but you're not scaling it before blitting, or the surface might be corrupted in memory if transformations were chained improperly.Here's a clean and safer version of how you could handle this:
Fix
Make sure pie_projectile_image is only loaded and transformed once, and stored properly.Ensure screen.blit() is called after filling or updating the screen
(e.g., after screen.fill()).Use a small class or dictionary to store projectile data for clarity.Example fix using a dict:# Initializationpie_projectile_image = pygame.transform.scale(pygame.image.load('Pie_projectile.png'), (100, 100))# In SuperAttack()super_projectiles.append({'rect': temp_projectile_rect, 'direction': direction})# In main loopfor projectile in super_projectiles[:]:rect = projectile['rect']direction = projectile['direction']# Moveif direction == 'left': rect.x -= 10elif direction == 'right': rect.x += 10elif direction == 'up': rect.y -= 10elif direction == 'down': rect.y += 10# Renderscreen.blit(pie_projectile_image, rect)
Also, double-check that your screen.fill() or background rendering isn't drawing after the blit call, which would overwrite the projectile visuals.
Debug Tips:
Make sure nothing is blitting over your projectiles after rendering.Try temporarily changing the image color or drawing a red rectangle as a placeholder:pygame.draw.rect(screen, (255, 0, 0), rect)If that shows up, the issue is with the image rendering

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

79533268

Date: 2025-03-25 09:55:39
Score: 1.5
Natty:
Report link

Use the sync slicers feature documented here: https://learn.microsoft.com/en-us/power-bi/developer/visuals/enable-sync-slicers

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

79533252

Date: 2025-03-25 09:48:37
Score: 0.5
Natty:
Report link

Your grade may change. My solution is to recreate the Android folder by run flutter create . This will generate a new Android folder and apply the updated format.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Kiều Phong