79775228

Date: 2025-09-25 19:16:09
Score: 5.5
Natty: 5
Report link

Not an answer but an extension of the question.

If I want to copy the contents of say File1 to a new File2 while only being able to have one file open at a time in SD.

It seems that I can open File1 and read to a buffer until say a line end, and then close File1, open File2 and write to File2. Close File2 and reopen File1.

Then I have a problem, having reopened File1 I need to read from where I had got to when I last closed it. Read the next until say line end, close File1, reopen File2 as append and write to File2.

The append means that File 2 gradually accumulates the information so no problem but I am unclear as to how in File1 I return to the last read location.

Do I need to loop through the file each time I open it for the number of, until line end, reads previously done?

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): Not an answer
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Harry J Crowley

79775220

Date: 2025-09-25 19:08:07
Score: 4.5
Natty: 6
Report link

This thread looks too old but I came across to similar issue.

I am trying to copy millions of files from 1 server to another over network.

When I use the robocopy code without /mt, it looks working fine. But when I add /mt, /mt:2 etc. it stuck on same screen as above. Ram usage increasing. I have waited 20 minutes but nothing happened. It just copied the folders but not the files inside. This happens in win server 2016.

Anyone may suggest something ?

Reasons:
  • Blacklisted phrase (1): I am trying to
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Emrah BAYSAN

79775216

Date: 2025-09-25 19:00:04
Score: 1.5
Natty:
Report link

To target a specific file size (worked for jpeg), say 300kb:

convert input.jpg -define jpeg:extent=300kb output.jpg

Forces output file to be about 300 KB

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

79775204

Date: 2025-09-25 18:46:01
Score: 1
Natty:
Report link

It seems the issue was within Flutter's code and my IDE was trying to debug it.

My VS Code debugging configuration was set to "Debug my code + packages" so it was also trying to debug Flutter's code and that's why it would open up binding.dart because there was an error in that code.

Setting debugging config to just "Debug my code" should fix this problem!

You can do this from the bottom left in VS Code, just next to the error count and warning counts.

Edit: You can only change this when you're running a debug session. Launch a debug instance and the toggle to change this should appear in the bottom left corner.

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

79775203

Date: 2025-09-25 18:46:01
Score: 0.5
Natty:
Report link

Kafka is a steam not a format.

df = spark \
    .readStream \
    .format("kafka") \
    .option("kafka.bootstrap.servers", "localhost:9092") \
    .option("subscribe", "sparktest") \
    .option("startingOffsets", "earliest") \
    .load()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Frank

79775201

Date: 2025-09-25 18:42:00
Score: 3
Natty:
Report link

It's Python 3.12 issue, try downgrading to 3.11

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

79775200

Date: 2025-09-25 18:42:00
Score: 0.5
Natty:
Report link

In your nuxt.config.ts do:

// https://nuxt.com/docs/api/configuration/nuxt-config

export default defineNuxtConfig({
  $production: {
   nitro: {
    preset: 'aws-amplify',
    awsAmplify: {
     runtime: "nodejs22.x"
    },
   },
  },
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Emiliano Díaz

79775196

Date: 2025-09-25 18:38:59
Score: 1
Natty:
Report link

I know it is old thread but I still faced this issue on windows and finally get working solution after multiple attempts

$OutputEncoding = [System.Text.Encoding]::UTF8
[System.Console]::OutputEncoding = [System.Text.Encoding]::UTF8
python script.py > output.txt
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: broman

79775187

Date: 2025-09-25 18:24:55
Score: 0.5
Natty:
Report link

I once had to change my CER file from "UTF-16 LE BOM" to "UTF-8". Im not sure how this applies to you directly, but thats basically the error i got from openssl when working with certificates with the wrong text encoding.

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

79775183

Date: 2025-09-25 18:19:53
Score: 0.5
Natty:
Report link

I once had to change my CER file from "UTF-16 LE BOM" to "UTF-8". Im not sure how this applies to you directly, but thats basically the error i got from openssl when working with certificates with the wrong text encoding.

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

79775178

Date: 2025-09-25 18:13:52
Score: 1
Natty:
Report link

I also faced the same issue for so many years. and nothing found on the internet. But after so a long time, I finally got a solution for this. I found a little but excellent working add-on for this, the link I am giving below.

It's very easy, we have to just install the addon, then copy Excel data from Excel, then go to the Thunderbird compose window, and just press key combination CTRL + Q, and you are done.

No need for MS Word or any other kind of word processor. you data will be pasted as it is with rich text formating with colors also.

https://addons.thunderbird.net/en-US/thunderbird/addon/paste-excel-table-into-compose/

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

79775168

Date: 2025-09-25 18:05:49
Score: 0.5
Natty:
Report link

In 2025 I just renamed C:\project\.git\hooks\pre-commit.sample to pre-commit

#!/bin/sh
echo "🚀 Run tests..."
php artisan test
if [ $? -ne 0 ]; then
  echo "❌ Test failed!"
  exit 1
fi
echo "✅ Passed, pushing..."
exit 0
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vit

79775136

Date: 2025-09-25 17:32:36
Score: 2
Natty:
Report link

I believe this has something to do with virtualization but I don't fully understand what's going on, why is this and how do I fix it.

Virtualization is simple: If you have 10000 strings, the UI will only create however many ListViewItem controls are needed to fit the viewport.

When you set CanContentScroll to false, the ScrollViewer will "scroll in terms of physical units", according to the documentation. That means that all 10000 ListViewItems will be created, lagging the UI.

Is there a way to keep it False so it won't show an "empty line" at the end?

By keeping it false, you kill performance. If you want to get rid of the empty line at the bottom and eliminate lag, you should override ListView's VirtualizingStackPanel in order to override it's behavior.

<ListView ScrollViewer.CanContentScroll="True">
    <ListView.ItemsPanel>
        <ItemsPanelTemplate>
            <VirtualizingStackPanel ScrollUnit="Pixel"
                                    IsVirtualizing="True"/>
        </ItemsPanelTemplate>
    </ListView.ItemsPanel>
</ListView> 

ScrollUnit="Pixel" makes the ScrollUnit be measured in terms of pixels, which should eliminate the empty line at the bottom.

Reasons:
  • Blacklisted phrase (1): how do I
  • Blacklisted phrase (1): Is there a way
  • RegEx Blacklisted phrase (0.5): why is this
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: vmHernandes

79775133

Date: 2025-09-25 17:30:36
Score: 3
Natty:
Report link

Same problem with blazor server. The nuget package BootstrapBlazor bundles the necessary bootstrap files in the staticwebassets folder so it should be properly deployed for blazor - and you can reference it as such:

<link href="_content/BootstrapBlazor/css/bootstrap.min.css" rel="stylesheet" />

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Peter Murdoch

79775110

Date: 2025-09-25 16:54:26
Score: 5.5
Natty:
Report link

M facing the same issue while upgrading mu node app to node 18, and using serverless component3.6 nextjs 14 . Tried many ways didnt find any

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rudra das

79775105

Date: 2025-09-25 16:43:23
Score: 4
Natty:
Report link

This is such a non isssue, just get better.

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

79775100

Date: 2025-09-25 16:40:21
Score: 3
Natty:
Report link

public static bool IsNegative(this TimeSpan value) => value.Ticks < 0;

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

79775095

Date: 2025-09-25 16:38:21
Score: 1
Natty:
Report link

The yml:

    - name:  RUN PYTHON ON TARGET
      changed_when: false
      shell: python3 /.../try_python.py {{side_a}}
      become: true
      become_user: xxxx
      register: py_output

The script (adapted to AAP and tested locally):

# name = input()
with open("/.../try_txt.txt", "w") as file:
    file.write(f"{{$1}}")

The survey contains only the "side_a" variable, and it is working already for bash cases.

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

79775093

Date: 2025-09-25 16:37:20
Score: 0.5
Natty:
Report link

Since this question is a bit old and doesn't seem to have a clear answer, here is my proposed approach.

First, I would segment the large dataset into smaller, more manageable chunks based on a time window (for example, creating a separate DataFrame for each month). For each chunk, I would perform exploratory data analysis (EDA) to understand its distribution, using tools like histograms, Shapiro-Wilk/Kolmogorov-Smirnov tests for normality, and QQ-Plots.

In a real-world scenario with high-frequency data, such as a sensor recording at 100 Hz (i.e., one reading every 0.01 seconds), processing the entire dataset at once is impossible if you're working on a local machine. Therefore, I would take a representative sample of the data. I would conduct the EDA on this sample, then calculate the normalization parameters from it. These parameters would then be used as the basis to normalize the rest of the data for that period (e.g., the entire month).

By normalizing the data to a consistent range, such as [0,1], the different segments of data should become directly comparable.

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

79775077

Date: 2025-09-25 16:14:14
Score: 0.5
Natty:
Report link

The documentation is contradictory about what is the difference between volatile keyword and VH.setVolatile
I don't remember the chapter... but the one for VarHandle explicitly states that it resembled a fullFence... which means that at least both setVolatile and getVolatile are ofseq_cst barrier.

Now, I have my doubts that the keyword version is as strong.

The reason they are so obtuse about it is that within chapter 17 they attempt to try to explain both... the lock monitor and the volatile read/writes as if they were similar.

Chapter 17 treats the concept of "Synchronization order" out of nowhere.
It doesn't explain WHAT enforces it or how it even works under the hood.

I know by experience that the keyword is a lock-queue... so it being "totally ordered" is not true for MCS/CLH lock-queues which could very well work perfectly fine with both acquire and release semantics.

But anyways...
Chapter 17.4.3 makes a subtle distinction in my mind...
It states:

"A write to a volatile variable v (§8.3.1.4) synchronizes-with all subsequent reads of v by any thread (where "subsequent" is defined according to the synchronization order)"

Notice the property "synchronization order" is not explicitly granted to the "write to a volatile variable v" action/subject.

This means that the "total order property" that was previously granted to the "synchronization order" concept... is not the same as a volatile read/write as in the paragraph prior, in Chapter 17.4.2 it was implied that both where "synchronization actions"... not order.

17.4.2. Actions

An inter-thread action is an action performed by one thread that can be detected or directly influenced by another thread. There are several kinds of inter-thread action that a program may perform:

  • Read (normal, or non-volatile). Reading a variable.

  • Write (normal, or non-volatile). Writing a variable.

  • Synchronization actions, which are:

    • Volatile read. A volatile read of a variable.

    • Volatile write. A volatile write of a variable.

Then, in the next chapter, the "total order" property is given to the concept of "synchronization order"... but not actions.

17.4.3. Programs and Program Order

Among all the inter-thread actions performed by each thread t, the program order of t is a total order that reflects the order in which these actions would be performed according to the intra-thread semantics of t.

Which makes me guess... that what they are trying to talk about in this paragraph is about the synchronize keyword... aka the monitor/CLH queue.

In which case... YES... it behaves as a seq_cst barrier no doubt about that...

Now... going back to the first quote:

"A write to a volatile variable v (§8.3.1.4) synchronizes-with all subsequent reads of v by any thread (where "subsequent" is defined according to the synchronization order)"

The fact that the documentation uses the word "variable v" implies a monotonic-base sequencing defined by a "per-address sequential consistency", which... as far as I understand... is the BASE Program Order sequencing respected by ALL memory model/processors (bare metal) ... no matter how weak or strong they are.

And if any JIT or compiler disobeys this principle... then I recommend no one should be using that implementation anyways...

Based on the phrase "all subsequent reads of v" strongly implies that the barrier is anchored by the dependency chain of the address v (monotonic dependency chain).

Hence this is explicitly defined as a release since nonrelated ops on other addresses that are not v... are still allowed to be reordered before the release.

(To me) the usage of the word "v" is the hint that the volatile keyword is an acquire/release barrier.

If not... then the documentation needs to provide more explicit wording.
But this is not just a Java issue... even within the Linux Kernel... the concept of barriers/ fences and synchronization gets mixed up... so I don't blame them.

Reasons:
  • RegEx Blacklisted phrase (2): I have my doubt
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: Delark

79775075

Date: 2025-09-25 16:10:13
Score: 3.5
Natty:
Report link

dude, more than 5 years after and you've helped me solve my problem. Thank you very much!!!, be blessed!

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

79775069

Date: 2025-09-25 16:06:12
Score: 2
Natty:
Report link

The command used for broadcasting was wrong.

The correct command is:

am broadcast -n com.ishacker.android.cmdreceiver/.CmdReceiver --es Cmd "whoami"

The -n flag specifies the component name explicitly. Without it, the broadcast may not be delivered correctly to the receiver, and trying to get extras with intent.getStringExtra() will result in it returning null.

Thanks @Maveňツ for posting the suggestion in the comments.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @Maveňツ
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: IsHacker

79775066

Date: 2025-09-25 16:04:12
Score: 0.5
Natty:
Report link

It's been a few years since the question was asked, but since no good answer emerged, here's how I do it:

Overview - use git's global config

I use git's global config to store remote config blocks with fetch and push URLs, fetch and push refspecs, custom branch.<name>.remote routes, merge settings, etc.

The global config contains a config file per project, which gets included into $HOME/.gitconfig conditionally using [Include] and [IncludeIf] blocks.

Example:

[includeIf "gitdir:ia2/website/.git"]
    path=ia2/website.config

[includeIf "onbranch:cf/"]
    path=cloudflare-tests.config

In this example, the file $HOME/.gitconfigs/ia2/website.config is automatically included when I work on files in the $HOME/proj/ia2/website directory, which is the website for the ia2 project.

Also, in any project, I can create a branch named "cf/..." which causes the cloudflare-tests.config file to be included in git's configuration, which routes that branch to a repo I have connected to Cloudflare Pages. This allows any of my project to be pushed to a Cloudflare Pages site by simply creating an appropriate "cf/" branch in that project.

How the .gitconfigs scheme works

The local config (ie, the .git/config file present in each clone) doesn't contain any repo configuration, other than things that accidentally end up there. Any settings I want to keep and duplicate on other machines are moved from the local .git/config to the global $HOME/.gitconfigs/$PROJECT.config file.

Since all configs for all my projects live under the same $HOME/.gitconfigs directory, this directory is itself a git repository, which I push to github, and fetch on all machines where I need it.

Keeping all cloned repos on synchronized git config

I have a repository named .gitconfigs at github, and I clone this in the $HOME directory of every machine I develop on.

Each one of the projects I'm working on has its corresponding $project.config file maintained in a branch with the same name as the project, and there are some config files that are included in all projects, like the cloudflare example I gave above.

Configs for private projects

The scheme is capable of maintaining a mix of private and public projects. Configs for public projects is pushed to my public .gitconfigs repo, and the private projects get pushed elsewhere. In a company setting, your devteam might maintain a .gitconfigs private repo for.

My implementation of the solution

You're welcome to inspect or fork my .gitconfigs repo at https://github.com/drok/.gitconfigs - give me a click-up if this helps you, and I welcome pull-requests. I currently have public configs for curl, git, transmission, gdb and internet archive. One benefit of sending a PR is that I can give you feedback on the whatever project you're adding. I've been using this technique for a year with huge time savings results. No more losing project-specific repo settings for me.

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

79775049

Date: 2025-09-25 15:44:05
Score: 4
Natty: 5.5
Report link

Why you use Breeze with Backpack?! Backpack have authorization from box. You must remove Breeeze - not needed!

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Why you use
  • Low reputation (1):
Posted by: Alex Cool

79775047

Date: 2025-09-25 15:42:04
Score: 0.5
Natty:
Report link

I faced this problem in wsl2.

Check the permission:

ls -l /var/run/docker.sock

Correct the permission:

sudo chgrp docker /var/run/docker.sock;
sudo chmod 660 /var/run/docker.sock;

And reset to factory default the docker.

Then, In Powershell:

wsl --shutdown

After doing this you can see

docker ps
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: tetthys

79775028

Date: 2025-09-25 15:22:58
Score: 1
Natty:
Report link

I just finally got this to work. I had tried all the documentation that you reference without success. This time around I used the PowerShell script included in this Snowflake quick start to setup the Oauth resource and client app.

https://quickstarts.snowflake.com/guide/power_apps_snowflake/index.html?index=..%2F..index#2

After using the PowerShell script to setup the enterprise apps I was still getting the bad gateway error. In my case it turns out that Power Automate was successfully connecting to Snowflake but was failing to run this connection test.

USE ROLE "MYROLE";

USE WAREHOUSE "COMPUTE_WH";

USE DATABASE "SNOWFLAKE_LEARNING_DB";

USE SCHEMA "PUBLIC";SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'PUBLIC'

-- PowerPlatform-Snowflake-Connector v2.2.0 - GET testconnection - GetInformationSchemaValidation

;

I had created a Snowflake trail account to test the Oauth connection and in that account the COMPUTE_WH warehouse was suspended. As a result the test connection query was failing. After discovering that Power Automate was successfully connecting to Snowflake I just do proper setup on the Snowflake side to get the query to run (create running warehouse, database, schema, table all usable by specified user and role).

Here are somethings to check:

  1. If you have access to Entra ID check the sign-in logs under the service principal sign-ins tab. Verify your sign-in shows success.

  2. In Snowflake check the sign-in logs for the user you created.
    SELECT * FROM TABLE(information_schema.login_history()) WHERE user_name = '<Your User>' ORDER BY event_timestamp DESC;

  3. Verify that you created user has default role, warehouse and name space specified.

  4. If Power Automate was able to login check the query history for your user and see if/why the connection test query failed.

  5. If Power Automate is successful in connecting to Snowflake but failing to run the connection test query you could try Preview version of Power Automate Add Connection window. I see it has a check box you can skip the connection test.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Snowflake Tony

79775026

Date: 2025-09-25 15:20:57
Score: 2
Natty:
Report link

As of 2012, WS-SOAPAssertions is a W3C Recommendation. It provides a standardized WS-Policy assertion to indicate what version(s) of SOAP is supported.

For details on how to embed and reference a policy inside a WSDL document, refer to WS-PolicyAttachment.

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

79775025

Date: 2025-09-25 15:19:57
Score: 4
Natty:
Report link

Images and Icons for Visual Studio

https://learn.microsoft.com/en-us/visualstudio/extensibility/ux-guidelines/images-and-icons-for-visual-studio?view=vs-2022

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Alparslan ŞEN

79775017

Date: 2025-09-25 15:14:55
Score: 2.5
Natty:
Report link

Nuxt does not have a memory leak but Vue 3.5 is known to have one. It should be resolved when Vue 3.6 is released, or possibly you can pin to Vue 3.5.13 (see https://github.com/nuxt/nuxt/issues/32240).

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

79775014

Date: 2025-09-25 15:13:54
Score: 0.5
Natty:
Report link

Hi, Why dot_product over cosine?

Dot product is computationally faster for unit vectors since cosine similarity of unit vectors equals their dot product, but Elasticsearch can optimize the calculation. For unit vectors: cosine(A,B) = dot(A,B) since ||A|| = ||B|| = 1.

Updated Elasticsearch Mapping (v8+)

{
  "mappings": {
    "properties": {
      "vector_field": {
        "type": "dense_vector",
        "dims": 384,  // your vector dimensions
        "similarity": "dot_product"
      }
    }
  }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Alex Salgado

79775003

Date: 2025-09-25 14:58:51
Score: 1
Natty:
Report link

Your approach can cause high memory usage with large integers, as it creates a sparse array filled with undefined values. The filter step also adds unnecessary overhead. For large datasets, it's inefficient compared to JavaScript's built-in .sort() or algorithms like Counting Sort or Radix Sort for specialized cases. Stick with .sort() for practicality and performance.

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

79774997

Date: 2025-09-25 14:55:50
Score: 0.5
Natty:
Report link

Based on your setup, the inconsistency on the latency that you're experiencing possibly points toward a routing or proxy behavior difference between the external Application Load Balancer and the Classic version, rather than just a misconfiguration on your end. Though both load balancers function in Premium Tier and utilizes Google's global backbone for low-latency anycast routing through GFEs, their internal architecture are not exactly the same. For an instance, your External Load Balancer's Envoy layer with its dynamic default load balancing algorithm may re-route using alternative GFEs during intercontinental hops (for example, your test of Asia to Europe) when minor congestion occurs, which explains the 260ms-1000ms fluctuations. Meanwhile, the Classic Load Balancer sticks to a simpler, single-optimized path, minimizing fluctuations thus the consistent RTT from Seoul to europe-west2.

It might also be worth getting Google Cloud Support with all your findings to identify if this is related to a larger network problem or internal routing issue.

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

79774996

Date: 2025-09-25 14:55:50
Score: 0.5
Natty:
Report link

Your POST became a GET because of an unhandled HTTP redirect.

Your GKE ingress redirected your insecure http:// request to the secure https:// URL. Following this redirect, your requests client automatically changed the method from POST to GET, which is standard, expected web behavior.

You may try to fix the API_URL in your Cloud Run environment variable to use https:// from the start. This prevents the redirect and ensures your POST arrives as intended.

To reliably trace this, inspect the response.history attribute in your Cloud Run client code. This will show the exact redirect that occurred.

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

79774989

Date: 2025-09-25 14:52:49
Score: 1.5
Natty:
Report link

My polyfills got dropped when I upgraded angular and they needed to get re-added to angular.json (specifically, it was the angular localize line)

"polyfills": [
              "zone.js",
              "@angular/localize/init"
            ],

Source:
https://stackoverflow.com/a/76100353/4172413

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Brian Davis

79774986

Date: 2025-09-25 14:51:48
Score: 0.5
Natty:
Report link

This is now possible with the .slnLaunch file.

Multi-project launch profiles are available in Visual Studio 2022 17.11 and later. To enable or disable the Multi-project Launch Profiles feature, go to Tools > Options > Preview Features and toggle the checkbox for Enable Multi Launch Profiles.

See: https://learn.microsoft.com/en-us/visualstudio/ide/how-to-set-multiple-startup-projects?view=vs-2022

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

79774985

Date: 2025-09-25 14:50:48
Score: 1.5
Natty:
Report link

My polyfills got dropped when I upgraded angular and they needed to get re-added to angular.json (specifically it was the localize line)

"polyfills": [
              "zone.js",
              "@angular/localize/init"
            ],

Source:
https://stackoverflow.com/a/76100353/4172413

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Brian Davis

79774980

Date: 2025-09-25 14:47:46
Score: 7 🚩
Natty: 4
Report link

Pehli Script: Shuruat Aur Mulaqat

SCENE 1: BHAI KI MAUT

(Ek sunsaan gali. Raat ka samay. Arjun ka bhai, AMIT, zameen par gira hua hai. SHERA uske paas aata hai.)

SHERA: Ab bolo, Rana kahan hai? Uska pata ab bhi nahi doge?

AMIT: (mushkil se bolta hai) Main... tumhe uske baare mein kuchh nahi bataunga.

SHERA: (zor se) Tum jaise chote-mote log humse panga nahi lete! Aaj ke baad koi humare raaste mein nahi aayega!

(Shera apne haath uthata hai. Uski aankhon mein gussa hai.)

SHERA: (Bunty se) Khatam karo iska khel.

(Camera Amit ke chehre par focus karta hai. Screen kaali ho jati hai, aur goli chalne ki awaaz sunai deti hai.)

SCENE 2: BADLE KA FAISLA

(Arjun ka ghar. Subah ka samay. Arjun phone par baat kar raha hai. Uska chehra sunn hai. RAJ, SAMEER, aur DEEPAK uske paas aate hain.)

SAMEER: Bhai, kya hua? Bol!

(Arjun tezi se mudta hai. Uski aankhon mein laal rang dikhta hai.)

ARJUN: (gusse se) Shera... usne mere bhai ko maar diya. Woh sochta hai ki woh bach jayega? Nahi! Main usse zinda nahi chhodunga!

DEEPAK: Bhai, wo bahut khatarnak aadmi hai.

ARJUN: (Deepak ki taraf dekhte hue) Tabhi toh hum use marne se pehle uski takat ko khatam karenge. Raj, uske har ek location ka pata lagao. Deepak, uske saare dhandhon ki khabar lao. Sameer, tum mere saath rahoge. Aaj ke baad, hum sirf ek hi cheez ke liye kaam karenge... badle ke liye!

(Screen kaale rang mein dhal jaati hai.)

SCENE 3: RANA SE MULAQAT

(Ek purani warehouse. Raat ka samay. ARJUN aur SAMEER darwaze par khade hain. Andar se ROHIT bahar aata hai.)

ROHIT: Kaun ho tum log?

ARJUN: Mera naam Arjun hai. Mujhe Rana se milna hai.

(Rohit unhe andar aane deta hai. RANA apni kursi par baitha hai.)

RANA: Tum yahan kya kar rahe ho? Tum jaiso ko main aam taur par apne ilake mein nahi aane deta.

ARJUN: Mujhe tumhari madat chahiye. Hum dono ka dushman ek hi hai, Shera.

RANA: (dheere se haskar) Tum usse ladna chahte ho? Tumhe lagta hai ki tum usko hara sakte ho?

ARJUN: Par main akela nahi hoon. Aur tum bhi nahi ho. Hum dono milkar usse hara sakte hain.

RANA: Toh tum kya chahte ho?

ARJUN: Badla. Tumhe apna ilaka wapas milega, aur mujhe mere bhai ki maut ka badla.

RANA: (aahista se) Agar hum mile, toh uske liye ek hi shart hai. Ladai sirf hamare tarike se hogi.

ARJUN: (has kar) Mujhe manzoor hai.

(Dono haath milate hain. Dono ke chehre par ek nayi aur khatarnak muskaan aati hai.)

Doosri Script: Pehla Hamla Aur Ant

SCENE 4: TAQDEER KI JUNG

(Ek chhota sa factory. Raat ka samay. Arjun aur Sameer chhipe hue hain. Raj phone par unse baat kar raha hai.)

RAJ (PHONE PAR): Location confirm hai bhai. Shera ke do bade truck yahan se nikalne wale hain.

ARJUN: (Sameer se aahista se) Ready rehna, hume unhe rokna hai.

(Rana aur Rohit ek taraf se factory ke andar aate hain. Rana shotgun se darwaze ko tod deta hai. Alarm bajne lagta hai.)

RANA: Yahi toh hum chahte hain. Ab Shera ke aane ka intezar karte hain.

(Andar se goonde nikalte hain. Sameer unse ladne lagta hai, aur Arjun dur se use bachata hai. Dono milkar goondo ko harate hain.)

ARJUN: (Rana se) Yeh humara pehla mission hai. Hum isse haath se jaane nahi de sakte.

SCENE 5: DHOKHA AUR JAAL

(Shera ka gupt office. Din ka samay. Shera gusse mein baitha hai.)

SHERA: Yeh kaise ho sakta hai? Rana aur woh ladka, milkar hamare trucks ko kaise rok sakte hain?

RAVI: (darrte hue) Boss, maine suna hai ki woh dono ab saath hain.

SHERA: (zor se) Woh donon? Akele Rana ko toh maine kab ka khatam kar diya hota.

BUNTY: Boss, hum unhe pakadne ka ek plan banate hain.

(Shera apne dimag mein ek plan banata hai. Uska chehra bilkul shaant ho jata hai.)

SHERA: Ab hum unhe ek aisi jagah bulayenge jahan se woh zinda wapas nahi ja payenge.

SCENE 6: BADLE KA ANTT (CLIMAX)

(Ek bada, purana godown. Raat ka samay. Arjun aur Rana andar aate hain.)

SHERA: (unhe dekhkar) Toh, aakhirkar tum aa hi gaye. Mujhe laga tha ki tum dar jaoge.

ARJUN: Hum darne walo mein se nahi hain. Tumhe jo karna hai, kar lo. Hum bhi taiyaar hain.

(Achanak godown ki lights band ho jati hain aur goli chalne ki awaaz aati hai.)

RANA: (chilakar) Yahi hai uska jaal!

(Andhere mein ladai shuru ho jati hai. Aakhir mein, Rana aur Arjun milkar Shera ko pakad lete hain.)

ARJUN: (Shera ke paas aata hai) Tumne socha tha ki tumne mere bhai ko maar diya toh tum jeet gaye. Par tum galat the. Badle ki aag kabhi shant nahi hoti.

(Arjun Shera ko dekhkar muskurata hai. Uski aankhon mein jeet hai. Screen kaali ho jati hai.)

Reasons:
  • RegEx Blacklisted phrase (2): BHAI
  • RegEx Blacklisted phrase (2): bhai
  • RegEx Blacklisted phrase (2): Bhai
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ali Khan

79774978

Date: 2025-09-25 14:47:46
Score: 1
Natty:
Report link

I encountered the same issue using amazoncorretto:21-alpine. In my case, the fix was simply forcing the version of io.grpc:grpc-netty-shaded from 1.70.0 to 1.71.0. No changes were needed to the Docker image itself.

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

79774973

Date: 2025-09-25 14:40:44
Score: 1
Natty:
Report link

Check current setup

which -a python3

python3 --version

You'll probably find /usr/local/bin/python3 (3.9) ahead of /usr/bin/python3 (3.13).

Option 1: Use the system Python directly

/usr/bin/python3 --version

Option 2: Fix PATH so 3.13 is default

Edit ~/.zshrc (or ~/.bashrc) and add:

export PATH="/usr/bin:$PATH"

Then restart your shell.

Now python3 points to macOS's default (3.13).

Option 3: Use pyenv to manage multiple versions

If you need both 3.9 and 3.13:

brew install pyenv

pyenv install 3.9

pyenv install 3.13

pyenv global 3.13 # default everywhere

pyenv local 3.9 # per-project

✅ TL;DR: Don't remove or tamper with system Python.

To get back to 3.13 → repair your PATH.

To toggle between versions easily → use pyenv.

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

79774972

Date: 2025-09-25 14:39:44
Score: 1
Natty:
Report link

It's 2025 and Sublime Text 4 still has no option to disable history changes after closing the app. I sometimes hit undo (CTRL+Z) by mistake and don't know which was the last state of the file.

Luckily, I use Github and I can discard the changes of that file. Closing the file also helps, but is just tiring to close the files every time in a big project. Sublime 3 did not have this issue, as you mentioned above.

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

79774969

Date: 2025-09-25 14:38:43
Score: 3
Natty:
Report link

The new Freename.com platform started offering traditional domains (.com etc) too now. So they offer both and you can mirror a .com or any traditional gTLD or ccTLD on chain. Called Name Your Wallet

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

79774953

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

I am a bit late, but if you are using vite for react, make sure to modify your vite.config.js such as

server:{
 host: true
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user23176144

79774949

Date: 2025-09-25 14:21:38
Score: 0.5
Natty:
Report link

You can fix this by adding an isset check in your TPL file. The error occurs because $cart.subtotals.tax is null but the template tries to access its properties. In your themes/your_theme/templates/checkout/_partials/cart-summary-totals.tpl file, find the line causing the error (around line 77) and wrap the tax-related code with isset(): This prevents the template from trying to access properties of a null value. Clear your cache afterward. The issue typically happens when tax rules aren't properly configured in International > Taxes > Tax Rules.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Knowband Plugins

79774942

Date: 2025-09-25 14:13:31
Score: 7 🚩
Natty:
Report link
from docx import Document
from docx.shared import Pt

doc = Document()

def add_section_title(text):
    p = doc.add_paragraph()
    run = p.add_run(text)
    run.bold = True
    run.font.size = Pt(12)
    p.space_after = Pt(6)

doc.add_heading('Questionário para Entrevista de Descrição de Cargos', level=1)

# Seção 1
add_section_title('1. Informações Gerais')
doc.add_paragraph('• Nome do empregado: ______________________________________________________________')
doc.add_paragraph('• Cargo atual: ________________________________________________________________________')
doc.add_paragraph('• Departamento/Setor: _______________________________________________________________')
doc.add_paragraph('• Nome do gestor imediato: __________________________________________________________')
doc.add_paragraph('• Tempo no cargo: ____________________________________________________________________')

# Seção 2
add_section_title('2. Objetivo do Cargo')
doc.add_paragraph('Como você descreveria, em poucas palavras, o principal objetivo do seu cargo?')
for _ in range(3):
    doc.add_paragraph('________________________________________________________________________________')

# Seção 3
add_section_title('3. Principais Atividades')
doc.add_paragraph('Liste as principais atividades e tarefas que você realiza no dia a dia:')
for i in range(1, 6):
    doc.add_paragraph(f'{i}. ________________________________________')
doc.add_paragraph('Quais atividades são realizadas com mais frequência (diárias/semanalmente)?')
for _ in range(2):
    doc.add_paragraph('________________________________________________________________________________')
doc.add_paragraph('Quais atividades são esporádicas (mensais, trimestrais ou eventuais)?')
for _ in range(2):
    doc.add_paragraph('________________________________________________________________________________')

# Seção 4
add_section_title('4. Responsabilidades e Autoridade')
doc.add_paragraph('• Quais decisões você pode tomar sem necessidade de aprovação do superior?')
for _ in range(3):
    doc.add_paragraph('________________________________________________________________________________')
doc.add_paragraph('• Você é responsável por supervisionar outras pessoas? ( ) Sim ( ) Não')
doc.add_paragraph('Se sim, quantas e quais cargos? ______________________________________________________')
doc.add_paragraph('• Há responsabilidade financeira? (ex: orçamento, compras, contratos)')
for _ in range(2):
    doc.add_paragraph('________________________________________________________________________________')

# Seção 5
add_section_title('5. Relacionamentos de Trabalho')
doc.add_paragraph('• Com quais áreas/departamentos você interage com frequência?')
doc.add_paragraph('________________________________________________________________________________')
doc.add_paragraph('• Existe interação com terceiros, fornecedores ou usuários? Descreva:')
for _ in range(2):
    doc.add_paragraph('________________________________________________________________________________')

# Seção 6
add_section_title('6. Requisitos do Cargo')
doc.add_paragraph('• Conhecimentos técnicos essenciais:')
for _ in range(4):
    doc.add_paragraph('________________________________________________________________________________')
doc.add_paragraph('• Ferramentas, sistemas ou softwares utilizados:')
for _ in range(3):
    doc.add_paragraph('________________________________________________________________________________')
doc.add_paragraph('• Escolaridade mínima necessária:')
doc.add_paragraph('________________________________________________________________________________')
doc.add_paragraph('• Certificações ou cursos obrigatórios:')
for _ in range(5):
    doc.add_paragraph('________________________________________________________________________________')

# Seção 7
add_section_title('7. Competências Comportamentais')
doc.add_paragraph('Quais habilidades comportamentais são mais importantes para este cargo?')
for _ in range(5):
    doc.add_paragraph('________________________________________________________________________________')

# Seção 8
add_section_title('8. Indicadores de Desempenho')
doc.add_paragraph('Como o desempenho neste cargo é avaliado? Quais indicadores são usados?')
for _ in range(4):
    doc.add_paragraph('________________________________________________________________________________')

# Seção 9
add_section_title('9. Desafios do Cargo')
doc.add_paragraph('Quais são os maiores desafios ou dificuldades que você enfrenta neste cargo?')
for _ in range(4):
    doc.add_paragraph('________________________________________________________________________________')

# Seção 10
add_section_title('10. Sugestões para Melhorar o Cargo')
doc.add_paragraph('Você tem sugestões para melhorar a descrição ou a execução do seu cargo?')
for _ in range(5):
    doc.add_paragraph('________________________________________________________________________________')

# Observações Finais
add_section_title('✅ Observações Finais')
for _ in range(3):
    doc.add_paragraph('________________________________________________________________________________')

# Salvar o arquivo
doc.save("Questionario_Descricao_de_Cargos.docx")
print("Arquivo salvo como 'Questionario_Descricao_de_Cargos.docx'")
Reasons:
  • Blacklisted phrase (3): você
  • Blacklisted phrase (3): Você
  • Blacklisted phrase (1): Não
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Daniela

79774934

Date: 2025-09-25 14:09:29
Score: 2.5
Natty:
Report link

Use :
npm i cloudinary@"^1.21.0"
npm i cloudinary@"^2.7.0"

After that try npm i multer-storage-cloudinary

Hope it also works for you.

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

79774929

Date: 2025-09-25 14:04:28
Score: 2.5
Natty:
Report link

Android devices support StrongBox and iOS supports Keychain with optional biometric authentication, making these options more secure. I believe this is updated information that could benefit others. Here’s the Stack Overflow link for reference.

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

79774922

Date: 2025-09-25 13:59:27
Score: 2.5
Natty:
Report link

The official documentation states that: "Many applications use one database and would never need to close it (it will be closed when the application is terminated). If you want to release resources, you can close the database."

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

79774907

Date: 2025-09-25 13:49:23
Score: 3.5
Natty:
Report link

So the problem was that my bind_user didn't have the permission to read my directory. Using my root account, I managed to perform the authentication process.

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

79774900

Date: 2025-09-25 13:39:20
Score: 1.5
Natty:
Report link

1. Export height map into photoshop
2. In photoshop open 2nd alpha channel
3. Image > Correction > brightness and contrast > increase brightness (enable "using previous" checkbox)
4. Export heightmap as a copy
5. Import height map and lower the terrain object
6. Now since your "0" is lower you can paint lower

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

79774899

Date: 2025-09-25 13:39:20
Score: 0.5
Natty:
Report link

1.Add debug flags when creating RawKernel:

compute_systemG_kernel = cp.RawKernel(
    lines, "compute_systemG_kernel",
    options=("-G", "--generate-line-info")
)

2.Launch with:

cuda-gdb --args python train.py
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Odilkhon

79774893

Date: 2025-09-25 13:33:19
Score: 3
Natty:
Report link

sounds like a weird use case but I should have more detail to understand deeper.

Anyway, my suggestion is using the right combination of the resolution modifiers

https://angular.dev/guide/di/hierarchical-dependency-injection#resolution-modifiers

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

79774886

Date: 2025-09-25 13:27:17
Score: 1
Natty:
Report link

imo if you are a smaller organization and strict on security neither is a good idea because you make your system vulnerable to probing attacks, i.e. when a malicious actor tries to find out if a user with a given email address already exists. While 409 is semantically correct for the state of the resource, exposing that information creates a vulnerability. The secure way to handle this is to make your API's response ambiguous. The sign-up endpoint should always return the same generic, success-like response, regardless of whether the email already exists. E.g. a 200 or 202 will do. I am aware this is rather bad from a UX perspective but unless you have some advanced probing identification like Google, I suggest against sharing if an email exists.

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

79774882

Date: 2025-09-25 13:26:17
Score: 3
Natty:
Report link

I find the solution, the original project was installed with django 4.3, but i have django 5.0 in this moment, so the solution was delete the admin folder from static and run the project again creating the new style files, that fix the css issues.

Thanks for the help.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Santiago Santos isma

79774878

Date: 2025-09-25 13:24:15
Score: 4
Natty:
Report link

Thanks for taking the time to contribute an answer. It’s because of helpful peers like yourself that we’re able to learn together as a community.

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

79774877

Date: 2025-09-25 13:24:15
Score: 1
Natty:
Report link

As far as I can tell, a general purpose solution to the original question cannot exist. C3roe brought up a good point in the comments: for any solution to the original question to exist, applyCardBorders() would need to run not only when the user opens the print dialogue, but also any time they changed the paper size, margins, scale, etc. within the print dialogue. No such hook exists.

Even using max-width: 6in; doesn't work when the screen is narrower than 6 inches. It only works when the screen size at least as wide as 6 inches. In general, the drawn borders will render correctly in the print preview if the card on screen is already at its maximum width and that maximum width not wider than it would be in the paper. However, using width: 6in; would be better if you want a specific size.

Printing layouts are tricky, but if you know you will be printing to a specific size, you could do the following:

<div id="print-area">
  <div class="card">
    <p>lorem ipsum</p>
    <p>lorem ipsum</p>
  </div>
</div>
const printWidth = '10.5in';
const printArea = document.getElementById('print-area');
window.addEventListener('beforeprint', () => {
  printArea.style.width = printWidth;
  applyCardBorders();
});
window.addEventListener('afterprint', () => {
  printArea.style.removeProperty('width');
  applyCardBorders();
});

You could even make a dropdown for paper sizes on the screen and give the dropdown a class of screen-only:

@media print {
  .screen-only {
    display: none !important;
  }
}
Reasons:
  • Blacklisted phrase (1.5): any solution
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: redmoncoreyl

79774876

Date: 2025-09-25 13:23:15
Score: 0.5
Natty:
Report link

I think the cleanest way to do this is with Docker containers. You can run Linux docker containers with WSL2. Simply mount your Windows project directory in the Docker container and then run your node script. Everything will work as you expect it without all the spawnSync hocus pocus.

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

79774874

Date: 2025-09-25 13:20:14
Score: 1
Natty:
Report link

UPDATE:
By now with the code below, I do get a list of the letters in the alphabet, and when clicking on one of those, the place names starting with that letter do appear, and are correctly clickable. But I still get the error about the Column aliases when I click on 'show counts'...

class PlaceFilter(admin.SimpleListFilter):
    title = 'first letter of place name'
    parameter_name = 'letter'

    def lookups(self, request, model_admin):
        qs = model_admin.get_queryset(request)
        letters = list(string.ascii_uppercase)
        options = [(letter, letter) for letter in letters]
        if val := self.value():
            print(val)
            if len(val) == 1:
                sub_options = list(qs.values_list('place__name', 'place__name').distinct() \
                            .filter(place__name__iregex=rf"^('s-|'s )?{val}") \
                            .order_by('place__name'))
                val_index = options.index((val, val))

                index = val_index + 1
                for option in sub_options:
                    options.insert(index, option)
                    index += 1
                        
        return list(options)
    
    def queryset(self, request, queryset):
        if self.value() and len(self.value()) > 1:
            return queryset.filter(place__name=self.value())

Reasons:
  • RegEx Blacklisted phrase (1): I still get the error
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Vincent Stoop

79774869

Date: 2025-09-25 13:19:13
Score: 2
Natty:
Report link

Issue relies here : regexp_extract_all will return a list, use regexp_extract instead

regexp_extract_all :

Finds non-overlapping occurrences of regex in string and returns the corresponding values of group.

regexp_extract :

If string contains the regexp pattern, returns the capturing group specified by optional parameter group

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

79774866

Date: 2025-09-25 13:14:12
Score: 2
Natty:
Report link

I ran into the same error on an Azure Virtual Machine configured as a self-hosted Linux build agent for Azure DevOps. In our case, the problem was caused by insufficient memory. After increasing the VM size from 2 GB to 8 GB of RAM, the error was resolved.

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

79774855

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

Make sure Standard Architecture is selected in Your Target -> Build Settings -> Architectures -> Standard Architectures

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

79774846

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

This will work:

this.audio = document.createElement('audio');
document.body.appendChild(this.audio);
this.audio.onplay = (ev) => this.audio.setSinkId(this.deviceId)
this.audio.src =... and .play()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Augusto

79774841

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

Tested on Xcode 26

Shortcut: cmd + cntrl + T

OR

On top right click on "+" Add icon and select "Editor pane on right".

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

79774837

Date: 2025-09-25 12:52:06
Score: 0.5
Natty:
Report link

Pretty much the same result as the other answers but maybe put in simpler words instead of citing the specification.

The short answer is: You get a char array which has a zero inside.

The longer answer:
The C language has no real strings. Instead C only has char arrays which are interpreted in a defined manner.
The way to initialize a char array via quotation marks is just syntactic sugar and identical to define an array with numbers (except that the last character is filled with a 0)

What does that mean?
The compiler only sees an array of values and it has no real idea if the array represents an array of numeric values or something string-like which is passed to any string related functions.
Only we know whether a char array is a real string or an array of numeric values.

Thus it would be very dangerous if a compiler would be allowed to do any implicit string optimizations.

That also fits to the other too common problem of C:
If a char array misses the zero terminator then the (unsafe) string functions continue to read until a zero is found somewhere. The compilers may report warnings and give hints to use the safer string functions but the compilers are not able to fix this problem by themselves. Any attempt to let the compiler fix this will probably result in many more problems.

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

79774834

Date: 2025-09-25 12:49:06
Score: 0.5
Natty:
Report link

thanks it works on my page https://lal-c.blogspot.com/p/darelm_3.html#

<style>
.grid-container {
  column-count: 4;
  column-gap: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-block {
  break-inside: avoid;
  padding: 10px;
  box-sizing: border-box;
  width: 100%;
  display: inline-block;
}

.grid-block h3 {
  margin: 0 0 8px 0;
  font-size: 1.1em;
}

.grid-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.grid-block li {
  margin: 0;
  padding: 2px 0;
}

.grid-block a {
  text-decoration: none;
  color: inherit;
  display: block;
}
</style>

Created with your code + the help of AI / Copilot

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: Saleh Abdulaziz

79774828

Date: 2025-09-25 12:44:04
Score: 3
Natty:
Report link

Both are correct, keyword 'as' is recommended to make the renaming and makes your query more readable

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

79774819

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

After downgrading ojdbc11.version to 21.11.0.0 resolved the issue. seems latest version have conn leakage.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Prasobh.Kollattu

79774783

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

in SolrCloud you can’t load a 120 MB file into ZooKeeper (even with -Djute.maxbuffer), and absolute paths fail because Solr treats them as ZK configset resources unless you explicitly allow external paths. the way to fix this is to mount the file on a filesystem accessible to all Solr pods (e.g via a Kubernetes PersistentVolume or by embedding it in the image) at a stable location such as /solr-extra/keepwords.txt, then start Solr with -Dsolr.allowPaths=/solr-extra -Dkeepwords.file.path=/solr-extra/keepwords.txt (in the Bitnami chart this can be passed through extraEnvVars or solrOpts). in your schema you can then reference the file either with ${keepwords.file.path} or directly as an absolute path (words="/solr-extra/keepwords.txt"), and Solr will load it from disk rather than from ZooKeeper. This will avoid the path mangling you had seen (/configs/coreName/...) and is the only reliable way to use a large keepwords list in SolrCloud; ZooKeeper and managed resources are unsuitable for files of that size

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

79774770

Date: 2025-09-25 11:50:52
Score: 1.5
Natty:
Report link

This is a common issue in Fabric/PBI.

Debugging direct in PBI can be tricky; the easiest way to connect your Semantic Model to the sepatate tool - Tabular Editor and fix the sorting there.

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

79774766

Date: 2025-09-25 11:45:51
Score: 1.5
Natty:
Report link

In my case, the folder name and the file name were the same, leading to this error.

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

79774736

Date: 2025-09-25 11:19:44
Score: 2.5
Natty:
Report link

Fast-track your career in construction! Join a 6-month MEP with BIM Diploma and learn Revit MEP, clash detection & coordination. Roles: BIM Modeler, Designer, Coordinator. Practical skills, global opportunities, AI-ready https://arrowwingsacademy.com/

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

79774728

Date: 2025-09-25 11:13:42
Score: 1
Natty:
Report link

Duplicate count metric hota hai jab ek hi scheduler multiple pods me parallel run karta hai, aur har pod same kaam ko duplicate tarike se report kar deta hai.

    • Pod = ek chhota container group jo Kubernetes (ya orchestration system) me chal raha hota hai.

    • Agar aapka scheduler service multiple pods me chal raha hai, matlab ek hi kaam karne wale multiple copies chal rahe hain.

    • Scheduler ek service hai jo tasks ko time pe chalata hai (jaise cron jobs).

    • Har pod apne hisaab se same task ko chalane ki koshish karega.

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

79774715

Date: 2025-09-25 11:01:39
Score: 2.5
Natty:
Report link

Service account keys makes your google account vulnerable, they need to be managed.

https://cloud.google.com/iam/docs/best-practices-for-managing-service-account-keys

You need to have a procedure in place to manage their lifecycle with key rotation.

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

79774705

Date: 2025-09-25 10:51:37
Score: 2.5
Natty:
Report link

It turns out it was a bug on the tile cutter. The order in witch it cropped the tiles was incorrect and i didn't notice while giving a look at them "manually".
I encourage you to double check the tiles if something like this happens to you.
The code works fine as is.

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

79774703

Date: 2025-09-25 10:50:36
Score: 2
Natty:
Report link
brew tap real420og/stdout-browser

brew install stdout-browser

ls -la | stdout-browser
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: StillOG

79774696

Date: 2025-09-25 10:44:35
Score: 1.5
Natty:
Report link

Import the Leaflet CSS with

import 'leaflet/dist/leaflet.css';
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gibson

79774694

Date: 2025-09-25 10:42:34
Score: 1
Natty:
Report link

You have three commands here:

  1. checkout scm # This is the basic jenkins clone which you often don't even need to explicitly call

  2. dir() # Make a work dir and run some commands insideit

  3. checkout( .. # Checkout using the git plugin https://plugins.jenkins.io/git/ with a lot more control over the checkout behavior

In this case, the you are making two checkouts, one inside a subdir and with more detailed options (potentially overriding the branch or upstream URL).

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

79774692

Date: 2025-09-25 10:40:34
Score: 1.5
Natty:
Report link

the error happens because jupyter always runs an asyncio event loop, which conflicts with Playwright’s Sync API. to fix it, the cleanest approach is to switch to Playwright’s Async API (from playwright.async_api import async_playwright) and call your function with await in the notebook. If you want keep the Sync API version, you can instead run it inside a separate thread (so it’s outside Jupyter’s loop). In vs code, the “module not found” issue comes from using a different Python environment than your notebook: make sure both point to the same interpreter and install Playwright with python -m pip install playwright followed by python -m playwright install.

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

79774683

Date: 2025-09-25 10:29:30
Score: 0.5
Natty:
Report link

Go to the file and change the permissions:

  1. Locate the file in Finder

  2. Select File -> Get Info

  3. Scroll down to Sharing and Permission

  4. Change the permission accrodingly

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Cedric Ipkiss

79774675

Date: 2025-09-25 10:21:28
Score: 0.5
Natty:
Report link

According to ?withVisible (which informs about visibility), it is used by source and indeed, I have not found a way to circumvent that.

I would therefore suggest to wrap source in an anonymous function, keeping only its value:

lapply(list_of_scripts,
       function(file) { source(file)$value } )
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: DriesB

79774674

Date: 2025-09-25 10:19:28
Score: 1
Natty:
Report link

use ReplaceItemAsync + _etag

ItemRequestOptions options = new ItemRequestOptions
{
    IfMatchEtag = doc._etag
};

await container.ReplaceItemAsync(
    item: updatedDoc,
    id: updatedDoc.id,
    partitionKey: new PartitionKey(updatedDoc.pk),
    requestOptions: options);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Алексей Делобоско

79774673

Date: 2025-09-25 10:15:27
Score: 3.5
Natty:
Report link

young-ink-verse

A

📚 Nome do Micro SaaS (provisório)

Luz das Palavras

Portal Literário

Jovem Escritor

Entrelinhas

InspiraBooks

---

🖥️ Estrutura básica do app

1. Tela inicial (Home)

Destaques de livros e autores jovens.

Botão: “Quero publicar” / “Quero ler”.

2. Cadastro / Login

Usuário escolhe se é leitor, escritor ou ambos.

3. Área do Escritor

Criar livro (título, sinopse, gênero).

Editor de texto integrado.

Ferramenta simples de criação de capa (desenho ou upload).

Publicar livro (grátis ou pago).

4. Área do Leitor

Biblioteca com categorias.

Ler online dentro do app.

Curtir, comentar, seguir autores.

5. Interação & Comunidade

Chat entre leitores e escritores.

Espaço de desafios de escrita (ex: concurso de redações).

6. Gamificação (pra engajar jovens)

Medalhas por escrever/ler mais.

Ranking de autores e leitores ativos.

🔹 Fluxo de Telas do App Literário

1. Tela de Boas-vindas

Logo + nome do app.

Frase de impacto: “Escreva. Compartilhe. Inspire.”

Botões: Entrar | Criar conta

---

2. Cadastro / Login

Nome, e-mail, senha.

Pergunta: “Você é…” → Leitor / Escritor / Ambos

Confirmação → vai para a Home.

---

3. Home (Tela Principal)

Menu em cima: Livros | Escrever | Comunidade | Perfil

Destaques: livros populares, autores novos, novidades.

Botão: Publicar meu livro (se for escritor).

---

4. Área do Escritor

Criar novo livro → formulário:

Título, gênero, sinopse.

Editor de texto (pra escrever capítulos).

Criador de capa (desenhar ou enviar imagem).

Botão: Publicar (pode ser grátis ou pago).

---

5. Área do Leitor

Biblioteca → com filtros: Gênero, Autor, Mais lidos, Novos.

Tela do livro:

Capa + título + autor.

Botões: Ler agora | Curtir | Comentar.

Leitura no app → tipo wattpad, deslizando capítulos.

---

6. Comunidade

Feed de posts (autores podem compartilhar novidades).

Desafios literários: concurso de redação, mini-contos.

Chat simples (escritor ↔ leitor).

---

7. Perfil do Usuário

Foto, nome, bio.

Estatísticas: livros lidos, livros publicados, medalhas.

Configurações da conta.

---

8. Gamificação (opcional para a primeira versão)

Medalhas: “Leitor ativo”, “Primeiro livro publicado”, etc.

Ranking mensal de escritores e leitores

Lovable

7:02 AM on Sep 25

Thought for 18 seconds

Vou criar o Entrelinhas - uma plataforma literária vibrante para jovens escritores! Inspirado no Wattpad mas com identidade brasileira moderna.

Design que vou implementar:

Cores: Gradientes de roxo/violeta (criatividade) com toques dourados (inspiração)

Estilo: Moderno, jovem, clean mas vibrante

Typography: Elegante para literatura

Animações suaves para engajamento

Primeira versão incluirá:

Home com hero inspirador e destaques

Navegação entre Ler/Escrever/Comunidade

Área do escritor (criar livros, editor básico)

Biblioteca de livros com categorias

Design responsivo e moderno

Vou criar o Entrelinhas - uma plataforma literária vibrante para jovens escritores! Inspirado no Wattpad mas com identidade brasileira moderna.

Design que vou implementar:

Cores: Gradientes de roxo/violeta (criatividade) com toques dourados (inspiração)

Estilo: Moderno, jovem, clean mas vibrante

Typography: Elegante para literatura

Animações suaves para engajamento

Primeira versão incluirá:

Home com hero inspirador e destaques

Navegação entre Ler/Escrever/Comunidade

Área do escritor (criar livros, editor básico)

Biblioteca de livros com categorias

Design responsivo e moderno

Vou criar o Entrelinhas - uma plataforma literária vibrante para jovens escritores! Inspirado no Wattpad mas com identidade brasileira moderna.

Design que vou implementar:

Cores: Gradientes de roxo/violeta (criatividade) com toques dourados (inspiração)

Estilo: Moderno, jovem, clean mas vibrante

Typography: Elegante para literatura

Animações suaves para engajamento

Primeira versão incluirá:

Home com hero inspirador e destaques

Navegação entre Ler/Escrever/Comunidade

Área do escritor (criar livros, editor básico)

Biblioteca de livros com categorias

Design responsivo e moderno

Reasons:
  • Blacklisted phrase (3): Você
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Angélica Silva

79774665

Date: 2025-09-25 10:09:25
Score: 3.5
Natty:
Report link

There is a script for that, works nicely:

https://github.com/mrmike/fix-android-emulator-audio

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

79774660

Date: 2025-09-25 10:04:24
Score: 0.5
Natty:
Report link

Try the new python package available in pypi
https://pypi.org/project/AutoCAD/

import os
from AutoCAD import AutoCAD, CADException, is_autocad_running

def extract_drawing_info(file_path: str):
    """
    Connects to AutoCAD, opens a drawing, and extracts key information.

    Args:
        file_path (str): The absolute path to the DWG or DXF file.
    """
    if not os.path.exists(file_path):
        print(f"Error: The file '{file_path}' does not exist.")
        return

    acad = None
    try:
        # Check if AutoCAD is running, if not, it will be started by the AutoCAD() constructor
        if not is_autocad_running():
            print("AutoCAD is not running. The library will attempt to start it...")
        
        # 1. Connect to AutoCAD
        acad = AutoCAD()
        print("✅ Successfully connected to AutoCAD.")

        # 2. Open the specified DWG file
        print(f"\nOpening file: {file_path}")
        acad.open_file(file_path)
        print(f"✅ Successfully opened '{acad.doc.Name}'.")

        # --- Information Extraction ---

        # 3. Extract Layer Information
        print("\n" + "="*25)
        print("🎨 Extracting Layer Information")
        print("="*25)
        try:
            for layer in acad.doc.Layers:
                print(f"  - Layer Name: {layer.Name}, Color: {layer.Color}, Visible: {layer.LayerOn}")
        except Exception as e:
            print(f"Could not read layers: {e}")


        # 4. Extract Block Definitions
        print("\n" + "="*25)
        print("🧩 Extracting Block Definitions")
        print("="*25)
        try:
            user_blocks = acad.get_user_defined_blocks()
            if user_blocks:
                for block_name in user_blocks:
                    print(f"  - Found block definition: '{block_name}'")
            else:
                print("  - No user-defined blocks found in this drawing.")
        except CADException as e:
            print(f"Could not get block definitions: {e}")


        # 5. Extract Information about Specific Entities
        print("\n" + "="*25)
        print("✒️ Extracting Entity Information")
        print("="*25)
        
        # Find all LINE entities and print their start and end points
        print("\n--- Lines ---")
        lines = list(acad.iter_objects('AcDbLine'))
        if not lines:
            print("  - No lines found.")
        else:
            for i, line in enumerate(lines, 1):
                start = line.StartPoint
                end = line.EndPoint
                print(f"  Line {i}: Start=({start[0]:.2f}, {start[1]:.2f}), End=({end[0]:.2f}, {end[1]:.2f}), Layer: {line.Layer}")

        # Find all CIRCLE entities and print their center and radius
        print("\n--- Circles ---")
        circles = list(acad.iter_objects('AcDbCircle'))
        if not circles:
            print("  - No circles found.")
        else:
            for i, circle in enumerate(circles, 1):
                center = circle.Center
                print(f"  Circle {i}: Center=({center[0]:.2f}, {center[1]:.2f}), Radius={circle.Radius:.2f}, Layer: {circle.Layer}")
        
        # Find all TEXT and MTEXT entities and print their content
        print("\n--- Text & MText ---")
        text_items = list(acad.iter_objects('AcDbText')) + list(acad.iter_objects('AcDbMText'))
        if not text_items:
            print("  - No text or mtext found.")
        else:
            for i, text in enumerate(text_items, 1):
                ip = text.InsertionPoint
                print(f"  Text {i}: Content='{text.TextString}', Position=({ip[0]:.2f}, {ip[1]:.2f}), Layer: {text.Layer}")


        # 6. Find all instances of a specific block
        # IMPORTANT: Change this to a block name that actually exists in your drawing!
        target_block_name = "YOUR_BLOCK_NAME_HERE" 
        print(f"\n--- Finding coordinates for block: '{target_block_name}' ---")
        try:
            block_coords = acad.get_block_coordinates(target_block_name)
            if not block_coords:
                print(f"  - No instances of block '{target_block_name}' found.")
            else:
                for i, point in enumerate(block_coords, 1):
                    print(f"  Instance {i} found at: ({point.x:.2f}, {point.y:.2f})")
        except CADException as e:
            print(e)


    except CADException as e:
        print(f"A library error occurred: {e}")
    except Exception as e:
        # This catches errors if COM dispatch fails (e.g., AutoCAD not installed)
        print(f"An unexpected error occurred: {e}")
    finally:
        print("\nExtraction script finished.")
        if acad:
            # You can uncomment the line below if you want the script to automatically close the file
            # acad.close(save_changes=False) 
            pass


if __name__ == "__main__":
    # --- IMPORTANT ---
    # Change this path to your DWG or DXF file.
    # Use an absolute path (r"C:\...") to avoid issues.
    dwg_file_path = r"C:\Users\demo\Documents\MyProject\drawing1.dwg"
    
    extract_drawing_info(dwg_file_path)
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JOnes Peter

79774657

Date: 2025-09-25 10:03:23
Score: 0.5
Natty:
Report link

I took these steps to fix the problem:

  1. Open the ios folder of your flutter project in Xcode

  2. In Xcode click on "Runner" ( Ensure that the "Runner PROJECT" and not the "Runner TARGET." ).

  3. Duplicate a "Release-Production" Configuration :

    • In the Xcode menu bar, click on Editor.

    • Hover over Add Configuration.

    • Select Duplicate "Release" Configuration.

  4. Rename the Duplicated Configuration:

    A new configuration named "Release-Production Copy" will be created. Rename this new configuration to simply "Release."

  5. Now you can retry building the IPA, the command should work just fine now.

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

79774641

Date: 2025-09-25 09:47:19
Score: 2.5
Natty:
Report link

The retry count does not increase on an exception if the retry logic is not properly catching that specific exception type. Ensure the exception thrown is included in the retry policy so each failure increments the count.

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

79774638

Date: 2025-09-25 09:43:18
Score: 0.5
Natty:
Report link

You can't "delete" or "modify" an entry in the archive without creating a new one.

The typical way to "update" a ZIP file in Java is to create a new, temporary ZIP file. You read the old ZIP file entry by entry, writing all the entries you want to keep to the new ZIP file. When you encounter the file you want to replace, you simply write the new version of that file to the new ZIP. Finally, you delete the original ZIP file and rename the new one to the original name.

Even if you find any other alternative third party tools which can do this. please avoid as it is technically highly risky

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

79774631

Date: 2025-09-25 09:35:16
Score: 2.5
Natty:
Report link

Okay. To disable copilot chat.

  1. Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
  2. Search Preferences: Open Settings (UI).
  3. In the search bar, type copilot
  4. Chat: Disable AI Features
  5. Turn on "Chat: Disable AI Features"

enter image description here

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

79774621

Date: 2025-09-25 09:22:13
Score: 2
Natty:
Report link

Try using bullseye pcg, if you are using python:slim

bullseye
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arslan Saif

79774619

Date: 2025-09-25 09:21:12
Score: 4.5
Natty: 4
Report link

yo make ts simpler whats a directory ✌️

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: fbouhrwpi'hgrw

79774607

Date: 2025-09-25 09:11:08
Score: 3
Natty:
Report link

I found solution. It is some difficult but works. In function setup I included code $this->crud->query->with(['orders']); Or with('chats') etc. In function setuplistoperation included orders.name Or chats.name etc. Selection on $_GET['select']. It's works!

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

79774601

Date: 2025-09-25 09:06:07
Score: 2.5
Natty:
Report link

If you want to put a table to comment, you can create it as code below; the most important thing is the second row, which makes it a table.

Sadly, I never found documentation for it.

| A   | B  | C  | D  |
| --- | --- | --- | --- | 
|  1  |    |    |    |
|  2  |    |    |    |
|  3  |    |    |    |
|  4  |    |    |    |

enter image description here

Reasons:
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (1): enter image description here
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Martin Maiksnar

79774597

Date: 2025-09-25 09:02:06
Score: 1
Natty:
Report link

To center an absolutely positioned element in Tailwind, give the parent relative and use
absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 (for both axis)
or absolute inset-0 m-auto if it has a fixed width/height.

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

79774595

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

For everyone who has the same problem with Bootstrap Dropdowns inside the events of FullCalendar, here is the full solution based on @Noxx last comment. Maybe it will be useful for someone:

const bodyAppendForBootstrapDropdown = (dropdownSelector) => {
  const dropdowns = document.querySelectorAll(dropdownSelector);

  if (!dropdowns.length) return;

  dropdowns.forEach(dropdown => {
    const menu = dropdown.querySelector(':scope > .dropdown-menu');
    if (!menu) return;

    const originalParent = dropdown;

    dropdown.addEventListener('show.bs.dropdown', () => {
      document.body.appendChild(menu);
    });

    dropdown.addEventListener('hidden.bs.dropdown', () => {
      originalParent.appendChild(menu);
    });
  });
}

and in your FullCalendar:

eventDidMount: () => {     
  bodyAppendForBootstrapDropdown('.fc .fc-event .dropdown');
},
datesSet: () => {
  bodyAppendForBootstrapDropdown('.fc .fc-event .dropdown');
},
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Noxx
  • Low reputation (0.5):
Posted by: Evgeniy Vashchuk

79774592

Date: 2025-09-25 08:59:05
Score: 0.5
Natty:
Report link

Use the HTML-based exporters, not LaTeX. LaTeX (--to pdf) requires pdflatex and won’t preserve CSS/DataFrame styling. Instead do:

# Or export to HTML and print to PDF
jupyter nbconvert --to html MyNotebook.ipynb

Open the HTML in a browser → Print to PDF. This way plots and DataFrame styles are preserved.

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

79774576

Date: 2025-09-25 08:48:02
Score: 2.5
Natty:
Report link

I am sure X25519 public inputs are 32-byte little-endian field elements where the top bit is ignored. if you can supply a spec that takes the raw 32-byte public value (little-endian) and lets the provider decode (mask) it, that might also work.

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

79774575

Date: 2025-09-25 08:48:02
Score: 5
Natty: 5
Report link

This is now possible via Gitlab UI. See https://docs.gitlab.com/user/project/repository/branches/#as-a-diff

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Amandeep Singh

79774554

Date: 2025-09-25 08:28:56
Score: 1
Natty:
Report link

Important note if left-click events don’t fire, but right-click & onHover do.

In most cases this happens when HammerJS isn’t loaded. Kendo Charts historically rely on Hammer for pointer handling; when it’s missing, some mouse interactions (notably left-click) may be swallowed, while right-click still bubbles via the context-menu path.

Kendo chart seriesClick event left click not firing but right click is

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

79774553

Date: 2025-09-25 08:28:56
Score: 3
Natty:
Report link

In Visual Studio, right click on your project then select the "Manage User Secrets" option. This will allow you to enter the new/updated client secret into the secrets.json file.

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

79774550

Date: 2025-09-25 08:26:55
Score: 1.5
Natty:
Report link

Use InstalledAppFlow.run_console() instead of google.auth.default() to authenticate in Colab. Upload your credentials.json, run the flow, and paste the code from the browser to access your personal Google Calendar.

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

79774542

Date: 2025-09-25 08:19:53
Score: 0.5
Natty:
Report link

Ah, I’ve been in the same situation before—this is a really common confusion when using auth.authenticate_user() in Colab. The key thing is that auth.authenticate_user() only authenticates you for Google Cloud services, like BigQuery or Drive if you’re using Colab in “service mode,” but it does not automatically give access to your personal Google account for all APIs. When you call google.auth.default(), it grabs the application default credentials, which is why you’re seeing "default" instead of your Gmail and why you get the 403 insufficientPermissions error. Basically, the Calendar API needs OAuth credentials tied to your personal Google account, not the default Colab service credentials. Since Colab doesn’t have a regular browser for flow.run_local_server(), the usual workaround is to use InstalledAppFlow with flow.run_console() instead. That way, Colab will print a URL you can open manually, log into your personal account, and then paste the code back into Colab. That approach actually gives you proper credentials linked to your Gmail and allows you to access your personal calendar.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: prithvisyam