79727276

Date: 2025-08-06 12:34:06
Score: 1
Natty:
Report link

There is no way to do that. With ExpressionsBasedModel you do not model constant parts of any expression (constraint or objective).

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

79727271

Date: 2025-08-06 12:32:05
Score: 4
Natty:
Report link

The text of this answer was originally written by khmarbaise in a comment.

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

79727270

Date: 2025-08-06 12:31:04
Score: 2
Natty:
Report link

Here is the issue .

Tldr, LineageOS builds its ROM as userdebug. However, Android Studio assumes that devices with non-user build type have su executable when using APP Inspector and Layout Inspector.

So I make a simple Magisk module to workaround it. Use at your own risk.

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

79727269

Date: 2025-08-06 12:30:04
Score: 1.5
Natty:
Report link

You can directly apply the html header tags is blazor component like "<h1>hello, buddy</h1>".

I hope it will help you.

Reasons:
  • Whitelisted phrase (-1): hope it will help
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Balkrishna panda

79727259

Date: 2025-08-06 12:21:02
Score: 1.5
Natty:
Report link

Acknowledging the warnings in the other answer, if you have git and want to apply a template over the top of an existing project, simply run cookiecutter with the -f flag. Make sure the output directory matches your target directory. Once that's done, run a git diff and decide what you want to keep.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Dave Potts

79727258

Date: 2025-08-06 12:20:01
Score: 0.5
Natty:
Report link

Building from commandline, add -ubtargs"-MyArgument"
In Target.cs, read them like so, for example :

[CommandLine(Prefix = "-MyArgument")] 
public bool MyArgument = false;

and then make it a definition like this:

ProjectDefinitions.Add(MyArgument ? "MYARG=1" : "MYARG=0");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: karmington

79727255

Date: 2025-08-06 12:17:00
Score: 11
Natty: 7
Report link

Did you manage to fix this Agora error? I'm stuck on the same one

Reasons:
  • RegEx Blacklisted phrase (1.5): I'm stuck
  • RegEx Blacklisted phrase (3): Did you manage to fix this
  • RegEx Blacklisted phrase (1.5): fix this Agora error?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: nitish

79727251

Date: 2025-08-06 12:12:59
Score: 0.5
Natty:
Report link

You will also need to set the disabledField property of the HierarchyBindingDirective. For example:

    <kendo-contextmenu
      [target]="target"
      [kendoMenuHierarchyBinding]="data"
      [textField]="['text']"
      childrenField="Products"
      [disabledField]="'disabled'"

    >
 public data = [
    {
      menuKey: 'Edit',
      text: 'Edit',
      Products: [
        { menuKey: 'Cut', text: 'Cut' },
        { menuKey: 'Copy', text: 'Copy' },
        { menuKey: 'Paste', text: 'Paste' }
      ]
    },
    {
      menuKey: 'Delete',
      text: 'Delete',
      disabled: true,
      Products: [
        { menuKey: 'SoftDelete', text: 'Soft Delete' },
        { menuKey: 'HardDelete', text: 'Hard Delete', disabled: true }
      ]
    }
  ];

Runnable example that demonstrates the disabled item state of the Kendo UI for Angular ContextMenu - https://stackblitz.com/edit/angular-ve5ygmqx?file=src%2Fapp%2Fapp.component.ts

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Yan-dev

79727250

Date: 2025-08-06 12:11:58
Score: 1
Natty:
Report link

There are two APIs from YouTube

  1. YouTube External API (v3 now)
  2. Youtube Internal API (aka InnerTube API)

The External API is for Developers and people while the Internal API is made for the web apps and other official YouTube clients. So, Those clients use the API Key you provided. The API key you created by linking your account is for the external API.

Using the External API key on the Internal API is not good, bruh!! The InnerTube API does not need any account linking or anything but is not properly documented anywhere... so, use it wisely...

More Details

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

79727242

Date: 2025-08-06 12:02:56
Score: 2.5
Natty:
Report link

You’re on the right track! Try assigning each item a value and use a loop or condition to add them up. It’s like building a kids menu with prices each choice adds to the total, and clear structure makes it easier to sum up. Keep it simple and test one menu at a time.

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

79727239

Date: 2025-08-06 11:57:55
Score: 0.5
Natty:
Report link

None of the above worked, so I removed the C:\Program FIles\Docker directory, the C:\ProgramData\Docker directory, the uninstall registry mentioned above and also the hkey_local_machine\software\docker. Rebooted and installed the latest version, that worked.
Note that this will erase any configuration or stored data.

Reasons:
  • No code block (0.5):
Posted by: nivs1978

79727238

Date: 2025-08-06 11:57:55
Score: 0.5
Natty:
Report link

The way this is done depends on your DBMS, however generally speaking there are the following steps:

  1. Create a Dump File out of your SQL-Database. A dump file contains all sql-statements needed to recreate that same SQL-Database on another machine.
  2. Check if your source DBMS does contain Syntax not supported in SQLite. The documentation for SQLite https://sqlite.org/lang.html is the main source for this task.
  3. Craft the SQL-Dump so that it only contains SQL-Statements supported by SQLite. Note that you might loose some functions compared to the source database.
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Bending Rodriguez

79727229

Date: 2025-08-06 11:52:53
Score: 5
Natty:
Report link

Alternatives might be:

Db2 Ingest Command:
https://www.ibm.com/docs/en/db2/12.1.0?topic=commands-ingest

IBM Data Movement Tool:
https://datageek.blog/2015/01/13/the-ibm-data-movement-tool/

Your own written or any data loader like:
https://dlthub.com/product/dlt

more...?

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: matz3

79727227

Date: 2025-08-06 11:51:53
Score: 3.5
Natty:
Report link

Use the method suggested here: https://nwgat.ninja/quick-easy-mount-ssh-server-as-a-network-drive-in-windows-10-11/
to mount a ssh folder as a mapped local device
Point pycharm community to the newly mapped device.

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

79727221

Date: 2025-08-06 11:45:51
Score: 1.5
Natty:
Report link

Tired of Googling stuff row by row? You can make your sheet do the heavy lifting! Pop this into a new column:
=HYPERLINK("https://www.google.com/search?q=" & ENCODEURL(A2), "🔍 Search")
That way, each line gets its little search shortcut. Click and go! Total time-saver. If you’re hoping to actually scrape search results, though… Google doesn’t like that much, and it gets messy fast.”
Just drag the formula down to apply it to all your rows — instant search links, no manual Googling needed.
And if your terms have symbols or spaces, wrap them with ENCODEURL() so Google doesn’t get confused.

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

79727207

Date: 2025-08-06 11:28:47
Score: 4.5
Natty:
Report link

asdasdasdhttps://bitly.cx/kMlL

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Butller

79727199

Date: 2025-08-06 11:21:45
Score: 2.5
Natty:
Report link

select * from tests where tests.id = '3' and tests.deleted_at is null limit 1

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Habib ul Rehman

79727188

Date: 2025-08-06 11:12:43
Score: 2.5
Natty:
Report link
  1. sudo apt install git

  2. ssh-keygen -t ed25519 -C "[email protected]"

  3. la ~/.ssh

  4. cat ~/.ssh/id_ed25519.pub

  5. ssh -T [email protected]

  6. git config --global user.name "rudrapurohit"

  7. git config --global user.email [email protected]

  8. cat ~/.gitconfig

  9. mkdir ~/git

  10. cd ~/git

  11. git clone [email protected]:rudra-purohit/backend.git

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

79727177

Date: 2025-08-06 11:02:40
Score: 2.5
Natty:
Report link

Since the error message is related to ExceededLength I would assume that one of the fields in your guard config exceeds the lengths that can be stored on chain. E.g. the guard label has a limit of 5(?) characters.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mark Sackerberg

79727168

Date: 2025-08-06 10:57:38
Score: 2.5
Natty:
Report link

Standard(ish) accessor method syntax is

public str parmComplaintType(str _complaintType = complaintType)
{
    complaintType = _complaintType;
    return complaintType;
}

"Get" and "set" in the same method. Would this work for you better?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: mrsalonen

79727165

Date: 2025-08-06 10:54:38
Score: 0.5
Natty:
Report link

In trading, one smart approach to identifying potential price zones is this: When a 30-minute candle closes, you create a new line at every $50 high and low level from that point. These $50 intervals (e.g., $4050, $4100, $4150) act as psychological levels where price often reacts—either reversing or breaking through with momentum.

This technique helps traders visualize structure and maintain discipline, especially in volatile markets. The idea is to simplify complex price movements into clean zones that can guide entries, exits, and stop-loss placement.

Just like how our Fun Candle or Birthday Candle brings structure and mood to a chaotic day, this trading method adds calm and clarity to your chart. Whether you're focused like a Study Candle, feeling playful like a Weed Candle, or setting the vibe with an Intimacy Candle, smart strategies and good energy go hand-in-hand.

Light up your routine, both in life and in trading, with a scent that matches your mindset.
Explore the full vibe range at My Amazing Candle — from the bold Blunt Candle to the relaxing Amazing Candle.amazingcandle

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

79727163

Date: 2025-08-06 10:51:37
Score: 1.5
Natty:
Report link

With Excel365 and flexibility to add formulas to each sheet at a specific location, I have managed this by adding

=TEXTAFTER(CELL("filename",A1),"]")

to A1 to get the sheetname and then using the TOCOL formula in my summary sheet to pull through all the A1 cells: something like

=TOCOL('[FirstSheetName]:[LastSheetName]'!A1)

Seems to manage adding/deleting/renaming sheets, but I haven't tested it very robustly.

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

79727154

Date: 2025-08-06 10:43:35
Score: 1.5
Natty:
Report link

I finally found a solution for this. You need to go to VSCodium Settings and disable "Editor: Copy with Syntax Highlighting".

  1. Launch VSCoidum

  2. Go to File->Preferences->Settings

  3. In the search box along the top, search for "Editor: Copy with Syntax Highlighting"

  4. Unselect the "Editor: Copy with Syntax Highlighting" checkbox.

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

79727150

Date: 2025-08-06 10:31:32
Score: 0.5
Natty:
Report link

No, the "DAG Dependencies" page from Airflow 2.x is not available in Airflow 3.0. It was removed and there’s currently no built-in alternative in the UI to view DAG-to-DAG dependencies.

If you need that info, you'd have to extract it manually from your DAG code (e.g., checking for TriggerDagRunOperator).

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

79727148

Date: 2025-08-06 10:26:30
Score: 2.5
Natty:
Report link

Posting an answer here, if someone else might find it useful:

Thanks to @NickODell I learned that different CPUs will not generally yield the same results (see his comment on the question regarding AVX).

Hence I decided to limit the number of significant digits that are being stored in the snapshots. This is a pragmatic solution allowing for snapshot-reprodicibility.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • User mentioned (1): @NickODell
  • Self-answer (0.5):
Posted by: thomasfermi

79727144

Date: 2025-08-06 10:23:29
Score: 2
Natty:
Report link
@media print {
    ins.adsbygoogle {display: none !important;}
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Amadeus

79727142

Date: 2025-08-06 10:20:29
Score: 1
Natty:
Report link

I've solved the issue by removing packages that I've manually added to resolve vulnerabilities.
These 2 packages (System.Net.Http and System.Text.RegularExpressions) are referenced by a root package for which there's no update yet. I've added the packages directly to resolve the vulnerabilities which it did but then I've hit the "function can't be invoked"

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

79727120

Date: 2025-08-06 10:00:24
Score: 1
Natty:
Report link

In this case:

If parameter_m is not defined, then NASM throws an error like:
error: symbol parameter_m undefined.

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

79727118

Date: 2025-08-06 09:59:24
Score: 4.5
Natty:
Report link

i like it so much. This post gave me so much fun and changed my life. I really appriciate that. Sorry for my bad English but i suck as hard as Sasha Grey. Cheers.

Reasons:
  • Blacklisted phrase (1): Cheers
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: boabalboa

79727109

Date: 2025-08-06 09:47:20
Score: 2.5
Natty:
Report link

Version info is py generated, and now in upstream/emscripten/cache/sysroot/include/emscripten/version.h in my 4.0.11 EMSDK.

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

79727102

Date: 2025-08-06 09:44:20
Score: 0.5
Natty:
Report link

In column A, I have a list of sheet names in YYMM format

YYMM
2506
2507
2508

In column B, I want a lookup against those sheets to find the string Total days and take the value. The full formula is

= iferror(
  byrow(
    A2:A,
    LAMBDA(
      YYMM,
      VLOOKUP("Total days", INDIRECT(YYMM&"!A:D"), 4, 0)
    )
  ),
""
)

Inspired by Saturnine comment but a slight variant

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

79727100

Date: 2025-08-06 09:43:19
Score: 0.5
Natty:
Report link

When using event handlers in server components, you cannot directly invoke a server action with props. Instead, you need to bind the server action to the props first. This ensures the props are prehydrated.

So instead of doing this

import { serverFunction } from "@/actions";

return(
  <button onClick={() => serverFunction(props)}>
    Action
  </button>
)

You would do this

import { serverAction } from "@/actions";

const serverFunctionAction = serverFunction.bind(null, props);

return(
  <button onClick={serverFunctionAction}>
    Action
  </button>
)

This creates a new function that can safely be used as an event handler without directly invoking the server action during render.

Read more about this: Docs

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Paul Pietzko

79727099

Date: 2025-08-06 09:40:19
Score: 1
Natty:
Report link

So it turns out "sqlparse.token.Keyword" only recognizes DDL and DML keywords and not DQL keywords. so it wasn't even recognizing TOP to be a keyword. I just added another condition for making flag false (I'm also checking for char "@" there)

for i in sql_query:
        if "TOP" in i or "@" in i:
            flag=False

I'll leave a GitHub link which has list of all word, functions and character's recognized by "sqlparse.token.Keyword" https://github.com/andialbrecht/sqlparse/blob/master/sqlparse/keywords.py

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

79727068

Date: 2025-08-06 09:21:14
Score: 2
Natty:
Report link

Suffering of the employee is morally unacceptable and it the ethical duty of the employer to ensure the safety of their people.Moral reasons comes from a sense of what is right and what is wrong. There should be respect for each lives. An injury not only impacts the victim directly but also affects the people around them that may be friends, family or co-workers. There are severe consequences for neglecting health and safety that may result to life-long illness or death. A strong health and safety culture promotes trust, reduces anxiety and improves overall work place morale. Every worker expects to make a living and return home in the same state without any illness or injury and this is considered as a fundamental right. If moral reasons are not considered, the employers may prioritize the company’s profit over people’s safety.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user31221913

79727064

Date: 2025-08-06 09:20:13
Score: 0.5
Natty:
Report link

so, my experience is this:
01. i had the import statement (well formed, properly cased)
02. i had it identically referenced in a function that i was calling
03. and i was alling that function in my main
04. i had the Go extension enabled for Visual Studio Code
05. every time i would save - it would erase the import and then the .go file wouldn't build

cause:
i mis-cased the method that was part of the import
in my case, importing "strconv" and was wrongly-calling strconv.parseFloat
it should have been strconv.ParseFloat
it's a useful feature when it works - but it's unforviging.

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

79727054

Date: 2025-08-06 09:13:12
Score: 3.5
Natty:
Report link

if uncheck bounce Vertically attribute from storyboard or by code. TableView will automatically do it for you

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

79727052

Date: 2025-08-06 09:11:11
Score: 2.5
Natty:
Report link

Refer to this https://github.com/ckeditor/ckeditor4/blob/c7e59ec199298b6b23f4aa7a7668f18572385bac/plugins/templates/dialogs/templates.js#L137C3-L138C98

var plugin = CKEDITOR.plugins.get( 'templates' );
CKEDITOR.document.appendStyleSheet( CKEDITOR.getUrl( plugin.path + 'dialogs/templates.css' ) );
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: chaegumi

79727049

Date: 2025-08-06 09:10:11
Score: 1
Natty:
Report link
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
<Select IconComponent={ExpandMoreIcon}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mihai Zanfir

79727043

Date: 2025-08-06 09:06:09
Score: 1
Natty:
Report link

Ok, I found out that its because I used test.pypi and not the official pypi.

This helped:

pip install -i https://test.pypi.org/pypi/ --extra-index-url https://pypi.org/simple <your_package_in_testpypi>

As answered here.

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

79727041

Date: 2025-08-06 09:06:09
Score: 2.5
Natty:
Report link

This is much easier with IntelliJ setting the trigger File:

https://www.jetbrains.com/help/idea/spring-boot.html#application-update-policies

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

79727036

Date: 2025-08-06 09:04:08
Score: 2
Natty:
Report link

For me, to fix this problem just make sure upgrade one of dependency to the latest which compatible to AGP 8.x. and sdk 34 for example following this link https://pub.dev/packages/package_info_plus
which the latest sdk is 34.

here is my solution
from device_info_plus: 7.*.*
change to
device_info_plus: ^10.1.2

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ai developer

79727028

Date: 2025-08-06 08:49:05
Score: 4
Natty: 4
Report link

When group is "None", the function retrieves information for all users and not a specific group

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Tom

79727025

Date: 2025-08-06 08:44:04
Score: 1.5
Natty:
Report link

Simply check this command

    git push --set-upstream origin branch
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kamal A. SIddiqui

79727023

Date: 2025-08-06 08:41:03
Score: 3.5
Natty:
Report link

Any way to make it work for higher target sdk too?

    <item name="android:windowOptOutEdgeToEdgeEnforcement" tools:ignore="NewApi">true</item>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dev Panwar

79727021

Date: 2025-08-06 08:40:03
Score: 0.5
Natty:
Report link

One of you - is not the character you expect but an unicode char which will probably be ignored by the Java interpreter, according to hexed.it it is the one before

com.sun.management.jmxremote.authenticate
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Raul Lapeira Herrero

79727020

Date: 2025-08-06 08:39:03
Score: 0.5
Natty:
Report link
  1. Move SVGs into src (e.g., src/assets/icons) and reference them from there.

  2. Or tell Tailwind to scan that folder by adding it in tailwind.config.js:

    content: [ "./src/**/*.{html,ts}", "./public/svgs/**/*.svg" // add this line ]

  3. After this, run ng serve again so Tailwind rebuilds.

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

79727015

Date: 2025-08-06 08:30:01
Score: 1
Natty:
Report link

#keywords has priority over #func_declre since it's higher in the patterns array.
should move { "include": "#func_declre" } higher up in the array.

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

79727010

Date: 2025-08-06 08:26:59
Score: 3
Natty:
Report link
use TextStreamer instead of TextIteratorStreamer
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: sai

79727007

Date: 2025-08-06 08:25:59
Score: 1
Natty:
Report link

I am answering this on the assumption that you are not writing a financial application, but just want something for personal use and you have data in a certain form, which it is not worth reworking.

Essentially what you want to do, is to get a "best match". Tesco and Tesco Pet Insurance matches your current query, but you want the best fit. One way to do this is to select a third column, which replaces the Payee inside the Description with nothing. The resultant column with the shortest length (i.e. the one where Payee has replaced the most) is the best fit.

Using this technique, something like the following should do the trick:

declare @tbltxns table ([Description] nvarchar(100), Amount decimal(10,2));
declare @tblPayee table (Payee nvarchar(100));

INSERT INTO @tbltxns VALUES
('Tesco Pet Insurance Dog Health Care Year Premium', 250.0),
('MyFitness Gym Monthly fee', 30.0);

INSERT INTO @tblPayee VALUES
('Tesco'),
('Tesco Pet Insurance'),
('MyFitness');

WITH CTE AS
(SELECT
    tx.[Description], py.Payee, REPLACE(tx.[Description], py.Payee, '') AS NoPayee
FROM @tblTxns TX
INNER JOIN @tblPayee py
    ON CHARINDEX(py.Payee, tx.Description, 1) > 0),
CTE2 AS 
(SELECT c.[Description], c.Payee, ROW_NUMBER() OVER(PARTITION BY c.[Description] ORDER BY LEN(c.NoPayee)) rn
FROM CTE c)
SELECT c2.[Description], c2.Payee
FROM CTE2 c2
WHERE rn = 1;

For future reference, when asking a database question, please provide table definitions and sample data along the lines that I have used. Just as an illustration, I am using table variables, as they don't have to be deleted, but CREATE TABLE would be quite acceptable. Sample data in the form of INSERT statements is desirable. Why? Simply so that people here are spared a bit of time and effort, in trying to provide you with a workable answer.

Reasons:
  • Blacklisted phrase (0.5): Why?
  • RegEx Blacklisted phrase (2.5): please provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Jonathan Willcock

79727003

Date: 2025-08-06 08:23:59
Score: 0.5
Natty:
Report link

You can replicate the pillowed CRT screen shape by using a CustomPainter and defining the geometry with a Path. Using quadratic Bézier curves for the corners and gentle bulges on each side gives you the slightly bowed edges and rounded corners typical of CRT displays.

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

79727001

Date: 2025-08-06 08:21:58
Score: 1
Natty:
Report link

Came across this exact issue yesterday. Turns out I needed to add the project to the python path. In my main callable python file I put the following before the other imports:

import sys, os
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ciaran haines

79726998

Date: 2025-08-06 08:19:57
Score: 2.5
Natty:
Report link

In my case I just needed to update firebase-tools cli npm package. I think it was fixed by https://github.com/firebase/firebase-tools/pull/8760

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

79726984

Date: 2025-08-06 08:05:54
Score: 1
Natty:
Report link

As @Thomas Delrue pointed out, the issue was caused by using an emptyDir volume. However, instead of switching to a PersistentVolume (PV), I initially intended to use artifacts .

Here's my updated Argo Workflow file:

apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: build-image
  namespace: argo-workflows
spec:
  serviceAccountName: argo-workflow
  entrypoint: build-and-deploy-env
  arguments:
    parameters:
      - name: env_name
        value: test
      - name: aws_region
        value: eu-west-1
      - name: expiration_date
        value: "2024-12-31T23:59:59Z"
      - name: values_path
        value: ./demo-app/helm/values.yaml
      - name: configurations
      - name: configurations
        value: '[{"keyPath": "global.app.main.name", "value": "updated-app"}, {"keyPath": "global.service.backend.port", "value": 8080}]'
      - name: application_list
        value: '[{"name": "backend", "repo_url": "org/project-demo-app.git", "branch": "demo-app", "ecr_repo": "demo-app/backend", "path_inside_repo": "backend"}, {"name": "frontend", "repo_url": "org/project-demo-app.git", "branch": "demo-app", "ecr_repo": "demo-app/frontend", "path_inside_repo": "frontend"}]'

  templates:
    - name: build-and-deploy-env
      dag:
        tasks:
          - name: build-push-app
            template: build-push-template
            arguments:
              parameters:
                - name: app
                  value: "{{item}}"
            withParam: "{{workflow.parameters.application_list}}"

    - name: build-push-template
      inputs:
        parameters:
          - name: app
      dag:
        tasks:
          - name: clone-and-check
            template: clone-and-check-template
            arguments:
              parameters:
                - name: app
                  value: "{{inputs.parameters.app}}"

          - name: build-and-push
            template: kaniko-build-template
            arguments:
              parameters:
                - name: name
                  value: "{{tasks.clone-and-check.outputs.parameters.name}}"
                - name: image_tag
                  value: "{{tasks.clone-and-check.outputs.parameters.image_tag}}"
                - name: ecr_url
                  value: "{{tasks.clone-and-check.outputs.parameters.ecr_url}}"
                - name: ecr_repo
                  value: "{{tasks.clone-and-check.outputs.parameters.ecr_repo}}"
              artifacts:
                - name: source-code
                  from: "{{tasks.clone-and-check.outputs.artifacts.source-code}}"
            when: "{{tasks.clone-and-check.outputs.parameters.build_needed}} == true"
            dependencies: [clone-and-check]

          - name: debug-list-files
            template: debug-list-files
            arguments:
              parameters:
                - name: name
                  value: "{{tasks.clone-and-check.outputs.parameters.name}}"
              artifacts:
                - name: source-code
                  from: "{{tasks.clone-and-check.outputs.artifacts.source-code}}"
            dependencies: [clone-and-check]

    - name: clone-and-check-template
      inputs:
        parameters:
          - name: app
      outputs:
        parameters:
          - name: name
            valueFrom:
              path: /tmp/name
          - name: image_tag
            valueFrom:
              path: /tmp/image_tag
          - name: ecr_url
            valueFrom:
              path: /tmp/ecr_url
          - name: ecr_repo
            valueFrom:
              path: /tmp/ecr_repo
          - name: path_inside_repo
            valueFrom:
              path: /tmp/path_inside_repo
          - name: build_needed
            valueFrom:
              path: /tmp/build_needed
        artifacts:
          - name: source-code
            path: /workspace/source
      container:
        image: bitnami/git:latest
        command: [bash, -c]
        args:
          - |
            set -e
            apt-get update && apt-get install -y jq awscli

            APP=$(echo '{{inputs.parameters.app}}' | jq -r '.name')
            REPO_URL=$(echo '{{inputs.parameters.app}}' | jq -r '.repo_url')
            BRANCH=$(echo '{{inputs.parameters.app}}' | jq -r '.branch')
            ECR_REPO=$(echo '{{inputs.parameters.app}}' | jq -r '.ecr_repo')
            PATH_INSIDE_REPO=$(echo '{{inputs.parameters.app}}' | jq -r '.path_inside_repo')

            # Clone to the artifact path
            git clone --branch $BRANCH https://x-access-token:[email protected]/$REPO_URL /workspace/source
            cd /workspace/source/$PATH_INSIDE_REPO
            
            if [[ ! -f "Dockerfile" ]]; then
              echo "Dockerfile not found in $PATH_INSIDE_REPO"
              exit 1
            fi

            COMMIT_HASH=$(git rev-parse --short HEAD)
            IMAGE_TAG="${APP}-${BRANCH}-${COMMIT_HASH}-{{workflow.parameters.env_name}}"

            ECR_URL="$AWS_ACCOUNT_ID.dkr.ecr.{{workflow.parameters.aws_region}}.amazonaws.com"
            EXISTS=$(aws ecr describe-images --repository-name $ECR_REPO --image-ids imageTag=$IMAGE_TAG 2>/dev/null || echo "not-found")

            if [[ "$EXISTS" != "not-found" ]]; then
              echo "false" > /tmp/build_needed
            else
              echo "true" > /tmp/build_needed
            fi

            echo "$APP" > /tmp/name
            echo "$IMAGE_TAG" > /tmp/image_tag
            echo "$ECR_URL" > /tmp/ecr_url
            echo "$ECR_REPO" > /tmp/ecr_repo
            echo "$PATH_INSIDE_REPO" > /tmp/path_inside_repo
            
        env:
          - name: ALL_REPO_ORG_ACCESS
            valueFrom:
              secretKeyRef:
                name: github-creds
                key: ALL_REPO_ORG_ACCESS
          - name: AWS_ACCOUNT_ID
            valueFrom:
              secretKeyRef:
                name: registry-creds
                key: AWS_ACCOUNT_ID
          - name: AWS_REGION
            value: "{{workflow.parameters.aws_region}}"

    - name: debug-list-files
      inputs:
        parameters:
          - name: name
        artifacts:
          - name: source-code
            path: /workspace/source
      container:
        image: alpine:latest
        command: [sh, -c]
        args:
          - |
            echo "=== Listing /workspace/source ==="
            ls -la /workspace/source
            echo "=== Listing application directory ==="
            ls -la /workspace/source/*/
            echo "=== Finding Dockerfiles ==="
            find /workspace/source -name "Dockerfile" -type f

    - name: kaniko-build-template
      inputs:
        parameters:
          - name: name
          - name: image_tag
          - name: ecr_url
          - name: ecr_repo
        artifacts:
          - name: source-code
            path: /workspace/source
      container:
        image: gcr.io/kaniko-project/executor:latest
        command:
          - /kaniko/executor
        args:
          - --context=dir:///workspace/source/{{inputs.parameters.name}}
          - --dockerfile=Dockerfile
          - --destination={{inputs.parameters.ecr_url}}/{{inputs.parameters.ecr_repo}}:{{inputs.parameters.image_tag}}
          - --cache=true
          - --verbosity=debug
        env:
          - name: AWS_REGION
            value: "{{workflow.parameters.aws_region}}"
          - name: AWS_ACCESS_KEY_ID
            valueFrom:
              secretKeyRef:
                name: registry-creds
                key: AWS_ACCESS_KEY_ID
          - name: AWS_SECRET_ACCESS_KEY
            valueFrom:
              secretKeyRef:
                name: registry-creds
                key: AWS_SECRET_ACCESS_KEY
          - name: AWS_SESSION_TOKEN
            valueFrom:
              secretKeyRef:
                name: registry-creds
                key: AWS_SESSION_TOKEN
          - name: AWS_SDK_LOAD_CONFIG
            value: "true"
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @pointed
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: rewa

79726983

Date: 2025-08-06 07:58:52
Score: 3.5
Natty:
Report link

TFDQuery is a descendant of TDataSet from which the Append method is from. Like the Embarcadero Documentation says, Append will also try to add a new blank dataset on a Table (single one not joined ones).

But the 'problem' itself lays much deeper. In SQL Syntax there is no way to insert into multiple tables at once. It is simply not intended. So TFDQuery has no way to do this.

For more detail have a look at this question: Is it possible to insert into two tables at the same time?

Reasons:
  • Blacklisted phrase (1): Is it possible to
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): is a
  • Low reputation (0.5):
Posted by: fisi-pjm

79726975

Date: 2025-08-06 07:48:50
Score: 3
Natty:
Report link

Yes, this works by default.

I am assuming you have two independent services or processes needed to consume the message from the same topic and process it.

You just have to subscribe to the same topic and should do the job.

References:

https://learn.conduktor.io/kafka/complete-kafka-consumer-with-java/

https://developer.confluent.io/get-started/java/#build-consumer

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

79726972

Date: 2025-08-06 07:44:49
Score: 2
Natty:
Report link

Fixed in iOS 26.0 beta 5

According to WebKit ticket https://bugs.webkit.org/show_bug.cgi?id=296698 this was a duplicate of known already fixed issue https://bugs.webkit.org/show_bug.cgi?id=295946 And this fix was included to recent beta 5.

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

79726971

Date: 2025-08-06 07:43:49
Score: 0.5
Natty:
Report link

Language doesn't prevent you from introducing such a check, but self-assignment falls into category of programmer mistakes. I.e. you will have to pay for the checking in every operation, while this should not be done in the first place.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Aleksandr Medvedev

79726970

Date: 2025-08-06 07:43:49
Score: 1.5
Natty:
Report link

From your given text, it seems that bw2calc depends on a module called fsspec. Try installing it using pip install fsspec . Even if the version is not specified, the module still needs to be there. It'll install the latest version of said module

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

79726966

Date: 2025-08-06 07:41:48
Score: 3
Natty:
Report link

I tried optimizing the time zone conversion by saving the offset between UTC and local time at startup of my program (which is good enough for my use). This seems to be very fast (as expected).

Unfortunately the MS compiler/runtime lib does not seem to have a good implementation of std::format since it is consistently slower than put_time (at least twice the cost).

I did a little experiment in QuickBench (here if anyone is interested) Here the fixed offset + std::format version is a bit faster. Unfortunately (for me) this cannot be replicated in Visual Studio where std::format is too slow to compete.

I think I will have to stick with the current implementation using put_time :(

But thanks for all you input!

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

79726962

Date: 2025-08-06 07:35:46
Score: 0.5
Natty:
Report link
const [firstHalf, secondHalf] = arr.reduce((a, c, i, n) => {

    a[+(i > n.length * 0.5)].push(c)

    return a
}, [[], []])
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: mtx

79726960

Date: 2025-08-06 07:32:45
Score: 1.5
Natty:
Report link

This is exactly why I made a deep-dive video — LangChain changed massively since v0.0.x. All the old tutorials break because:

- Imports like `ConversationalRetrievalChain` moved or were deprecated

- Chains like `LLMChain` are gone

- You now use `.invoke()` instead of `.run()`

- New versions rely on Pydantic v2 and modular packages (like `langchain_core`, `langchain_openai`, etc.)

🎥 LangChain v0.3 Upgrade Fixes (YouTube)

💻 GitHub

Still learning myself, but this covers what broke and how to fix it in current LangChain.

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

79726959

Date: 2025-08-06 07:32:45
Score: 0.5
Natty:
Report link

As @Vegard mentioned, we need more information to give a complete answer. However, based on my understanding, it sounds like you want to make your Auth service act as an OIDC provider and mirror users in App1, App2, and App3.

In that case, you can use the id_token issued by your OIDC provider to authenticate users across your various applications.

I've implemented a similar setup in this repository: django-oidc-provider – it might help as a reference.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • No code block (0.5):
  • User mentioned (1): @Vegard
  • Low reputation (0.5):
Posted by: Dakshesh Jain

79726953

Date: 2025-08-06 07:30:45
Score: 1
Natty:
Report link

<html>
<div class="custom-select" style="width:200px;">
  <select>
    <option value="http:///search">Google</option>
    <option value="http://www.bing.com/search">Bing</option>
    <option value="https://duckduckgo.com/?q=">Duckduckgo</option>
  </select>
</div>
<div class="search-bar">
  <form method="get" action="???">
    <div style="border:1px solid black;padding:4px;width:20em;">
      <table border="0" cellpadding="0">
        <tr>
          <td>
            <input type="text" name="q" size="25" maxlength="255" value="" />
            <input type="submit" value="Search" />
          </td>
        </tr>
      </table>
    </div>
  </form>
</div>
</html>

Reasons:
  • Blacklisted phrase (1): ???
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shimul Kumar

79726951

Date: 2025-08-06 07:28:43
Score: 10
Natty: 5.5
Report link

Have you found a way to fix it?

Reasons:
  • RegEx Blacklisted phrase (1.5): fix it?
  • RegEx Blacklisted phrase (2.5): Have you found a way to fix it
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pascal Achard

79726942

Date: 2025-08-06 07:16:40
Score: 1.5
Natty:
Report link

There is also a https://learn.microsoft.com/en-us/iis/get-started/whats-new-in-iis-8/iis-80-application-initialization IIS Application Initialization module for auto warm-up, check if you installed it. Note as it uses HTTP request, you might need to disable force https redirection? Just a guess, if you got no problem after enabling it then it's ok.

Though I'd recommend either:

  1. move to docker. (no more wicked IIS issue)

  2. change the infinite loop into a scheduled job, for instance let Hangfire initiate it every minute. (still need to warm up by a first request)

Or, if the queue is an external queue like an MQ, I'd made another service outside IIS that watches the MQ and dispatches to your API on IIS.

If it's an in memory queue then you better think again, as even if everything set, IIS still has a max lifetime for services. After recycle the queue will be lost.

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

79726933

Date: 2025-08-06 07:10:38
Score: 1
Natty:
Report link

Encourage you to explore version control and deployment experience with SenseOps Code Management.

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

79726925

Date: 2025-08-06 07:03:36
Score: 2
Natty:
Report link

Unfortunately this solution creates a focusable view around the TextView. When you tab through the focusable views it will first land on the custom modifier around the TextField and with another tab you will arrive in the TextField.

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

79726914

Date: 2025-08-06 06:53:34
Score: 1
Natty:
Report link

https://developers.google.com/identity/gsi/web/guides/features#exponential_cooldown
It's due to google Exponential cooldown feature.

To show it again:
For chrome you can navigate to chrome://settings/content/federatedIdentityApi and remove the sites from "Not allowed to show third-party sign-in prompts" where you need to show again even after close(X) icon is clicked.

Reference:
https://support.google.com/chrome/answer/14264742

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Gnanasekar S

79726904

Date: 2025-08-06 06:41:31
Score: 0.5
Natty:
Report link

You can use the following this command:

series.interpolationDuration = 0;
Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Saber

79726896

Date: 2025-08-06 06:33:29
Score: 5.5
Natty: 5
Report link

Is there a possibility to catch crash for free?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is there a
  • Low reputation (0.5):
Posted by: Ilya

79726891

Date: 2025-08-06 06:19:25
Score: 2
Natty:
Report link

you can try writing

if "__name__" ="__main__":
    app.run(debug = true) 
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sandip Behera

79726871

Date: 2025-08-06 05:52:19
Score: 2
Natty:
Report link

A minimalist tweak to Ho Yin Cheng's answer, in the instance when there's nothing pertinent to comment:

if (case1) {
  ...
} //
else if (case2) {
  ...
} //
else {
  ...
}
Reasons:
  • Blacklisted phrase (1): to comment
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: dannypernik

79726867

Date: 2025-08-06 05:48:18
Score: 3.5
Natty:
Report link

We had an issue with connecting to a 5.18.6 broker that offers only TLSv1.2 and TLSv1.3. The working solution was described in this article.

Change Broker URI to activemq:ssl://servername:port?transport.SslProtocol=Tls12

Reasons:
  • Blacklisted phrase (1): this article
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: ittamoipat

79726862

Date: 2025-08-06 05:43:16
Score: 0.5
Natty:
Report link
isDense: true, // Helps reduce vertical spacing
errorStyle: TextStyle(
  fontSize: 0,
  height: 0,
  color: Colors.transparent,
),

You can try this in my case it is working.

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ashutosh Gaur

79726858

Date: 2025-08-06 05:31:14
Score: 3
Natty:
Report link

Install the excelreader plugin and then apply it i tried this and i got the data in the table format

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

79726853

Date: 2025-08-06 05:25:12
Score: 1
Natty:
Report link

I tried all the top solutions, but they didn't work. Although the error message was the same, the issue might have been different.

My solution was to change the Gradle version in the build tools (Settings -> Build, Execution, Deployment -> Build Tools -> Gradle), as the previous one (Gradle JDK Version) was likely causing the error due to potential JDK permission issues that I hadn't granted. After switching the Gradle JDK to a different version, I rebuilt the project, and it successfully compiled and ran again.

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

79726852

Date: 2025-08-06 05:24:12
Score: 0.5
Natty:
Report link

Just add in body:

<script>
        esFeatureDetect = function () {
            console.log('Feature detection function has been called!');
        };
            
        esFeatureDetect();
</script>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Artem

79726849

Date: 2025-08-06 05:19:11
Score: 1
Natty:
Report link

For me, I was using a react component in the app using react-native-react-bridge. And adding use-dom on the top of the react file as explained in the official docs here https://docs.expo.dev/guides/dom-components/, I was able to resolve this issue.

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

79726815

Date: 2025-08-06 04:23:59
Score: 2
Natty:
Report link

Thank you all in the comments for your help. The issue actually stemmed from my misunderstanding of VS Code's play button, and I apologize for the confusion and trouble this may have caused.

The "Run Python File" option in this button is not part of the Code Runner extension—it’s a feature of the VS Code Python extension. This problem has already been reported on GitHub: https://github.com/microsoft/vscode-python/issues/18634

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Zhang Xuan

79726812

Date: 2025-08-06 04:15:57
Score: 1.5
Natty:
Report link

I've made activeadmin audit log implementation that doesn't use paper_trail, but works on controller level instead, creating 1 record per action, it also store resource record changes: https://gist.github.com/Envek/c82dac248f97338a4c4c9e28529c94af

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Envek

79726811

Date: 2025-08-06 04:14:57
Score: 1
Natty:
Report link
SELECT
    tx.Description,
    bestMatch.Payee
FROM tblTxns tx
CROSS APPLY (
    SELECT TOP 1 py.Payee
    FROM vwPayeeNames py
    WHERE CHARINDEX(py.Payee, tx.Description) > 0
    ORDER BY LEN(py.Payee) DESC
) AS bestMatch
WHERE tx.Description LIKE 'Tesco%'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user31219954

79726797

Date: 2025-08-06 03:50:52
Score: 0.5
Natty:
Report link

I need to explain and Clarifying the Confusion first.

man 2 brk documents the C library wrapper, not the raw syscall interface.
The raw syscall interface (via syscacll(SYS_brk,..)) differs subtly:

  1. It always returns the new program break (on success), rather than 0 or -1.

  2. This makes it much more similar in behavior to sbrk().

So, if you do:
uintptr_t brk = syscall(SYS_brk, 0);

You get the current program break, exactly like sbrk(0).

NOW WHAT SYS_brk ACTUALLY RETURNS ?

From the Linux Source, especially in MUSL and glibc. The raw syscall behaves like this comment that I write:

// Sets the program break to `addr`.
// If `addr` == 0, it just returns the current break.
// On success: returns the new program break (same as `addr` if successful)
// On failure: returns the old program break (unchanged), which is != requested

NOW, WE NEED TO GET THE syscall-specific behavior

You will not find this clarified in man 2 brk, but you can find the low-level syscall behavior desciribed in these places:

I also have an example of using syscall(SYS_brk,...) in C directly:

Here's a minimal example in C that directly uses the raw syscall(SYS_brk, ...) to Get the current program break, Attempt to increase it by 1 MB, and then reset it back to the original value.

#define _GNU_SOURCE
#include <stdio.h>
#include <unistd.h>
#include <sys/syscall.h>
#include <stdint.h>

int main() {
    // Get current break (same as sbrk(0))
    uintptr_t curr_brk = (uintptr_t) syscall(SYS_brk, 0);
    printf("Current program break: %p\n", (void *)curr_brk);

    // Try to increase the break by 1 MB
    uintptr_t new_brk = curr_brk + 1024 * 1024;
    uintptr_t result = (uintptr_t) syscall(SYS_brk, new_brk);

    if (result == new_brk) {
        printf("Successfully increased break to: %p\n", (void *)result);
    } else {
        printf("Failed to increase break, still at: %p\n", (void *)result);
    }

    // Restore the original break
    syscall(SYS_brk, curr_brk);
    printf("Restored program break to: %p\n", (void *)curr_brk);

    return 0;
}

You can read more documentation on :

https://man7.org/linux/man-pages/man2/syscall.2.html
https://elixir.bootlin.com/linux/v6.16/source/mm/mmap.c

https://git.musl-libc.org/cgit/musl/tree/src/malloc

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: LArchitetto_

79726790

Date: 2025-08-06 03:41:41
Score: 9
Natty:
Report link

🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🐀🐀🐀🐀

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Filler text (0.5): 🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
  • Low entropy (1):
  • Low reputation (1):
Posted by: Pascual Mateo

79726789

Date: 2025-08-06 03:41:41
Score: 4
Natty:
Report link

I have tried everything too but seem like findDelete() doesn't behave properly but using findWithDelete({deleted:true}) works just fine

Reasons:
  • Blacklisted phrase (1): ve tried everything
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30979930

79726786

Date: 2025-08-06 03:38:40
Score: 2.5
Natty:
Report link

if you're looking to not use jfrog here:

      - name: Fetch Auth token 
        id: generate-artifactory-auth-token
        # Fetch the _authToken from Artifactory by doing a legacy login  
        run: |
          AUTH_TOKEN=$(curl -s -u "${ARTIFACTORY_USER}:${ARTIFACTORY_PASSWORD}" \
            -X PUT "${ARTIFACTORY_REGISTRY}/-/user/org.couchdb.user:${ARTIFACTORY_USER}" \
            -H "Content-Type: application/json" \
            -d "{\"name\": \"${ARTIFACTORY_USER}\", \"password\": \"${ARTIFACTORY_PASSWORD}\", \"email\": \"${ARTIFACTORY_EMAIL}\"}" \
            | jq -r '.token')
          
          echo "AUTH_TOKEN=${AUTH_TOKEN}" >> $GITHUB_OUTPUT
          echo "✅ Auth token generated successfully"
       - name: Create .npmrc a ci 
         run: |
          cat > .npmrc <<EOF
          ... register your registry scopes
          //your-registry-here/:_authToken=${{ steps.generate-artifactory-auth-token.outputs.AUTH_TOKEN }}

See this post
cc: How to set npm credentials using `npm login` without reading from stdin?

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

79726762

Date: 2025-08-06 02:48:27
Score: 2
Natty:
Report link

This is now solved. I did more tests in the process of trying to create a publicly accessible dataset, but in the meantime I've found the solution.

In the data blend, I was importing some extra dimensions in both GA4 and Google Search Console sources (E.g: Date or Query). This generated the discrepancy in the metrics I was seeing.

By only keeping the primary key (Landing Page) as imported dimension and the metrics I needed the numbers match

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: lsgbusiness

79726751

Date: 2025-08-06 02:13:21
Score: 1
Natty:
Report link

using jotai is quite easy: https://codepen.io/geordanisb/pen/EaVmBXV

import React from "https://esm.sh/react";
import ReactDOM,{createRoot} from "https://esm.sh/react-dom/client";
import * as jotai from "https://esm.sh/jotai";

const list = [1,2,3];
const state = jotai.atom(list);

const el = document.querySelector('#app');
const root = createRoot(el);

const useJotaiState = ()=>{
  const[data,setdata]=jotai.useAtom(state);
  
  const add = (n)=>{
    setdata(p=>[...p,n])
  }
  return {data,add};
}

const List = ()=>{
  const{data}=useJotaiState();
  return <ul>
      {
        data.map(d=><li>{d}</li>)
      }
    </ul>
}

const Add = ()=>{
  const{add}=useJotaiState();
  const addCb = ()=>{
    add(Math.random());
  }
  return <button onClick={addCb}>add</button>
}

const App = ()=>{
  
  return <>
    <Add/>
    <List/>
  </>
}
root.render(<App/>)

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Geordanis Baño Vega

79726750

Date: 2025-08-06 02:07:20
Score: 3
Natty:
Report link

Set full site URL, Add specific redirect paths to "Additional Redirect URLs", Make sure your frontend has a matching route. Thank me later.

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

79726749

Date: 2025-08-06 02:02:19
Score: 2.5
Natty:
Report link

in my case, when I run `yarn start` then select i to run ios, the error occurs, but when I open another terminal and run `yarn ios`, the error disappears

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

79726747

Date: 2025-08-06 02:00:18
Score: 1
Natty:
Report link

🔑 1. Device Token Registration Make sure the real device is successfully registering with Pusher Beams. This involves:

Calling start with instanceId.

Registering the user (for Authenticated Users).

Calling addDeviceInterest() or setDeviceInterests().

📲 2. Firebase Cloud Messaging (FCM) Setup Pusher Beams uses FCM under the hood on Android. Make sure:

You have the correct google-services.json in android/app/.

FCM is set up correctly in Firebase Console.

Firebase project has Cloud Messaging enabled.

FCM key is linked to your Pusher Beams instance (in Pusher Dashboard).

✅ Go to Pusher Beams Dashboard → Instance Settings → Android → Check that your FCM API Key is configured.

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

79726716

Date: 2025-08-06 01:22:11
Score: 3.5
Natty:
Report link

What ended up working for me was instead of using a rendertexture I just used a world space canvas. This works fine for me since I'm using a flat screen for my UI, but I can see where any curve would need to use some sort of fix of this script.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: StratosDerg

79726714

Date: 2025-08-06 01:11:09
Score: 0.5
Natty:
Report link

Replace {agpVersion} and {kotlinVersion} with the actual version numbers, for example:

plugins {
    id "dev.flutter.flutter-plugin-loader" version "1.0.0"
    id "com.android.application" version "7.2.0" apply false
    id "org.jetbrains.kotlin.android" version "1.7.10" apply false
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ricardo Alexis Huerta Salazar

79726712

Date: 2025-08-06 01:06:06
Score: 8.5
Natty: 6.5
Report link

Interesting to see that a solution has been found. However, I fear that another problem arises. It's about how to cache all downloaded remote pages to speed up their rendering on the next visit. Were you able to find a solution to configure the cache of the capacitor webview ?

Reasons:
  • RegEx Blacklisted phrase (1): Were you able to find a solution
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: meilleureVie

79726690

Date: 2025-08-06 00:19:56
Score: 2.5
Natty:
Report link

You should give Virtual TreeView a try. Compared to Windows’ SysListView32/64 (wrapped as TListView), it makes custom drawing and various controls much easier to implement. It also avoids the flickering that often occurs with SysListView during scrolling, and adding large numbers of items is extremely fast.

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

79726689

Date: 2025-08-06 00:18:56
Score: 2
Natty:
Report link

Is this the correct approach to accept dynamic fields in Gin?

It is a way of handling JSON objects with unknown names, but not necessarily the correct way. For example, if the know the the object's values all map to Go type T, then you should use var data map[string]T or var data map[string]*T.

Are there any limitations or best practices I should be aware of when binding to a map[string]interface{}?

The limitation is that you must access the map values using type assertions or reflection. This can be tedious.

How can I validate fields or types if I don’t know the keys in advance?

If you know that the object's values correspond to some type Go type T, then see part one of this answer.

If you don't know the object's names or the type of the object's values, then you have no information to validate.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Is this the
  • Low reputation (1):
Posted by: Morton Saltman

79726687

Date: 2025-08-06 00:05:52
Score: 14
Natty: 6.5
Report link

were you able to fix this? can you help me here? I'm stuck with these colors when I switch to dark theme

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (1.5): I'm stuck
  • RegEx Blacklisted phrase (1.5): fix this?
  • RegEx Blacklisted phrase (3): can you help me
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chan

79726679

Date: 2025-08-05 23:50:49
Score: 1
Natty:
Report link

SOLUTION

The biggest hurdle here was SQL Server's encoding of nvarchar utf16le. The following SQL statements retrieve the record:

Original in SQL Server

SELECT * FROM mytable
WHERE (IDField = 'myID') AND (PasswordField = HASHBYTES('SHA2_512', 'myPass' + CAST(SaltField AS nvarchar(36))))

Equivalent in MYSQL

SELECT * FROM mydatabase.mytable
WHERE (IDField = 'myID') AND HEX(PasswordField) = SHA2(CONCAT('myPass', CAST(SaltField AS Char(36) CHARACTER SET utf16le)),512)

Thank you to those who helped me get this over the line. I really appreciate your time and expertise.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user31207162

79726678

Date: 2025-08-05 23:50:49
Score: 0.5
Natty:
Report link

This was easier than I thought 🤦‍♂️

I needed a route to hit with the Filepond load method that I could pass the signed_id to.

Add to routes.rb

get 'attachments/uploaded/:signed_id', to: 'attachments#uploaded_by_signed_id', as: :attachment_uploaded_by_signed_id

In your attachments controller (or wherever you want)

class AttachmentsController < ApplicationController
    def uploaded_by_signed_id
        blob = ActiveStorage::Blob.find_signed(params[:signed_id])
        send_data blob.download, filename: blob.filename.to_s, content_type: blob.content_type
  end
end

Then change the load method to hit this URL with the signed_id from source.

load: (source, load, error, progress, abort, headers) => {
    const myRequest = new Request(`/attachments/uploaded/${source}`);
    fetch(myRequest).then((res) => {
        return res.blob();
    }).then(load);
}
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: olliekav

79726667

Date: 2025-08-05 23:24:43
Score: 1
Natty:
Report link

I had different solution. I tried removing node_modules, .expo and nothing worked. But I had modules directory in my project that contained subproject with separate package.json and somehow it was affecting expo even though it wasn't imported in package.json nor app.config.js I know that is some kind of edge case but I hope I will help somebody - I wasted 3h fixing that :)

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

79726643

Date: 2025-08-05 22:23:30
Score: 1
Natty:
Report link

This is not an answer, but has been removed from the question, and I consider this information important enough to include.

If you have parameter sensitivity (parameter sniffing problem), which is what I had, starting from SQL Server 2016, it is possible to disable Parameter Sniffing via ALTER DATABASE SCOPED CONFIGURATION (Transact-SQL)

The command is

ALTER DATABASE SCOPED CONFIGURATION SET PARAMETER_SNIFFING = OFF;

Be aware that this setting will disable parameter sniffing for ALL queries in the database, not a particular set. This would solve my problem if it did not affect other unrelated queries.

Reasons:
  • Blacklisted phrase (1): not an answer
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mykola