79659598

Date: 2025-06-09 22:42:31
Score: 1.5
Natty:
Report link

Working off @kaedonkers and @knapply's examples above, as well as @Bryan Shalloway's comment that these didn't work when specifying a base color for edges, I backed into the solution over here, with the key being the algorithm and bidirectional degree specifications within highlightNearest

library(igraph)
g <- graph("Zachary")

library(visNetwork)
vis_g <- toVisNetworkData(g)

visNetwork(vis_g$nodes, vis_g$edges) %>%
  visIgraphLayout(layout = "layout_with_fr") %>%
  visNodes(color = "blue") %>%
  visEdges(color="blue") %>% # this causes prior solutions to not work
  visOptions(highlightNearest = list(enabled = TRUE,
                                     labelOnly = FALSE, hover = TRUE,
                                     # but these two options fix it
                                     algorithm="hierarchical",
                                     degree=list(from=1, to=1)
                                     ),
             nodesIdSelection = list(selected = 6))

Giving us this:

Network with subset of nodes highlighted

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @and
  • User mentioned (0): @Bryan
  • Low reputation (0.5):
Posted by: bcarothers

79659596

Date: 2025-06-09 22:42:30
Score: 4
Natty: 4
Report link

That happened to me too but pythonista doesn’t let me use def

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

79659591

Date: 2025-06-09 22:33:28
Score: 1
Natty:
Report link

By inspecting the source code of the npm package, I understood what exactly is that inputString parameter. Essentially, every schema method returns a Type instance which has two properties: inputString & isPrimitive. What I tried (and worked out) is storing a struct definition in a separate variable and pass it to the array method like

glue.Schema.array(input_string=my_struct.input_string, is_primitive=my_struct.is_primitive
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: sheva

79659585

Date: 2025-06-09 22:14:24
Score: 1
Natty:
Report link

I believe that AGP 8.2.1 has some compatibility issues with Kotlin 1.9.20.
Also BaseVariant API was deprecated and basically removed in newer AGP versions.
To fix your build you should align your Kotlin version with your AGP version, all the info can be found via this link: AGP, D8, and R8 versions required for Kotlin versions

To further fix your build you should update your Gradle Wrapper to 8.6
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip

and also update your android/build.gradle to the right version:

buildscript {
    ext.kotlin_version = '1.9.22'
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:8.6.0'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}
Reasons:
  • Blacklisted phrase (1): this link
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: KXNVRA

79659580

Date: 2025-06-09 22:07:22
Score: 1
Natty:
Report link

To set up a Scheduled Task to run for all members of the group ‘Users’, use these parameters:

ExecuteAsCredential = Users
LogonType = Group
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Minkus

79659576

Date: 2025-06-09 22:04:21
Score: 1
Natty:
Report link

To force the compiler to parse the filters correctly, add an additional set of parentheses around filter conditions. E.g.

(df
    .filter('(A=1 or B=3)')
    .filter('A=0')
    .show()
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Cody Dance

79659574

Date: 2025-06-09 22:04:21
Score: 2.5
Natty:
Report link

The DSC LCM runs under the ‘Windows Management Instrumentation’ service (winmgmt). Restarting this should force a DSC LCM operation to stop.

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

79659569

Date: 2025-06-09 21:56:19
Score: 5
Natty: 5.5
Report link

the easier and more customizable way SEART GitHub Search Engine

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

79659565

Date: 2025-06-09 21:52:18
Score: 4
Natty: 6
Report link

Thanks! Been looking for the hotkey for a while! The ctrl+space worked!!! (I actually just signed up just to say thanks!

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

79659552

Date: 2025-06-09 21:36:13
Score: 1.5
Natty:
Report link

Is this what you are looking for?

How to run rust in Jupyter notebook

To run Rust code in a Jupyter notebook, you need to install a Rust kernel for Jupyter. The most popular option is the evcxr_jupyter kernel, which allows you to write and execute Rust code in notebook cells, just like Python.

Here’s how you can set it up:

1. Install Rust (if you haven’t already)
If you don’t have Rust installed, you can install it with:

\> curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Follow the prompts, then restart your terminal.

2. Install Jupyter (if you haven’t already)
You already have Jupyter in your Python environment, but if you need to install it:

\> pip install jupyterlab

3. Install the Rust Jupyter kernel (evcxr_jupyter)
Run the following command in your terminal:

\> cargo install evcxr_jupyter
\> evcxr_jupyter --install

- cargo install evcxr_jupyter installs the kernel.
- evcxr_jupyter --install registers the kernel with Jupyter.

4. Launch Jupyter Lab/Notebook
Start Jupyter as usual:

\> jupyter lab

or

\> jupyter notebook

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is this
  • Low reputation (1):
Posted by: Sebastian C.

79659546

Date: 2025-06-09 21:20:10
Score: 0.5
Natty:
Report link

[This is a guess]
As "you" (i.e. not as root)

Uname=`id -nu`
Uno=`id -u`
echo "the id command says I am:   $Uname $Uno"

ls -l /run/user/$Uno
Reasons:
  • Blacklisted phrase (1): ???
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: sroush

79659536

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

I had the same issue today, it seems like it is deprecated, use HuggingFaceEndpointEmbeddings instead.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: patriot110

79659532

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

✅ Best Fix:
In many cases, the issue is due to missing essential EKS add-ons. The first thing to try:

💡 Install these EKS add-ons via AWS Console or CLI:

This resolves common causes like NetworkPluginNotReady or nodes stuck in NotReady state.


🧪 Still facing issues? Here's a structured troubleshooting guide:

1. Check Node Status

Run:

kubectl get nodes

Look for nodes in states like NotReady.


2. Inspect Node Conditions

For detailed info on an unhealthy node:

kubectl describe node <node-name>

Check for messages like CNI plugin failures, disk pressure, or kubelet issues.


3. Investigate Pod Status on That Node

kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=<node-name>

This helps pinpoint pods causing resource issues or crashes.


4. Review Node Logs

If needed, SSH into the EC2 instance and check logs:


5. Check Resource Utilization

High CPU, memory, or disk usage can make nodes unhealthy:

kubectl top nodes

6. Common Root Causes

a) Resource Pressure

b) CNI/Networking Issues

c) Kubelet or Runtime Failures

d) IAM Role Misconfigurations

Ensure your NodeGroup has:


7. Consider Node Replacement

If the node doesn't recover:


8. Update Node Group AMI

If you're using a newer EKS version (e.g., v1.30), use the compatible Amazon Linux 2 AMI. Amazon Linux 2023 often causes issues with CNI and kubelet.


9. Enable Auto Repair (Optional)

Enable Node Auto Repair in your EKS settings for future automatic recovery.


📌 Bonus: What helps most is context.

If you’re still stuck, please share:


🔗 References:

Reasons:
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Tariq's Hacks

79659529

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

I'm using Vercel Hobby plan and worried about hitting the serverless function limit. My blog uses a server component that fetches posts via getBlogPosts() based on URL params. I'm also calling it in generateMetadata, [slug] page, and for sitemap/rss.

Even though I use generateStaticParams, it feels inefficient. Any way to reduce these invocations?

My thoughts so far:

Cache getBlogPosts() and reuse it across functions

Pre-generate sitemap/rss at build time

Move filtering to client side (if post count is small)

Use revalidate: false for static builds

Would love input from others who’ve optimized for similar c

ases on Vercel.

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

79659525

Date: 2025-06-09 21:04:05
Score: 1.5
Natty:
Report link

I look for a script that when you run it, backup an actual system image of the Coral Dev Board. Because I didn't find it I develop one that copy the actual image of the Coral into an SD card.

When you want to restore the system to "factory reset" state, you produce an SD card with the system (mendel) image (enterprise-eagle-flashcard-20211117215217.zip) and with BalenaEtcher you bootable. Then you with the board off, change switches, put the factory reset SD and start. After that the board is in factory reset state.

The backup SD card works the same: after created by the script, you put it in SD reader, change switches, power on, and after that the Coral is in the same state that was backup created.

If somebody is interested in it I can send it or publish it.

Or maybe somebody have another solution.

Thanks

Roberto

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Roberto Manfredi

79659523

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

Adding this for visibility and in case this is a widespread issue. I have a server that runs Google OAuth and at some point in the last 4 hours (since this was posted), this error has started occurring when a code exchange happens (OAuthClient.getToken(code)). The code was previously working - hoping more developers here can confirm this is an external bug or provide some solution.

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

79659507

Date: 2025-06-09 20:38:59
Score: 3
Natty:
Report link

You may check out this library that does all that, validate the South African ID and can also extract a lot of information from it. Like age, gender and citizenship: https://www.nuget.org/packages/SAIDValidator

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

79659498

Date: 2025-06-09 20:31:57
Score: 3
Natty:
Report link

I get exactly the same errors when I try to compile LLaMA.cpp with MSYS2.

ld.exe: cannot find -lC:/msys64/ucrt64/lib/libgomp.dll.a: Invalid argument
ld.exe: cannot find -lC:/msys64/ucrt64/lib/libmingwthrd.a: Invalid argument

I found this workaround: Before to run the compilation (cmake --build build ...), I edit the file build/CmakeCache.txt generated by cmake and replace the absolute Windows path C:/msys64/ucrt64/lib/libmingwthrd.a  by the absolute path of the same file when you run the msys console :  /ucrt64/lib/libmingwthrd.a   And the same for C:/msys64/ucrt64/lib/libgomp.dll.a --> /ucrt64/lib/libgomp.dll.a

Reasons:
  • Blacklisted phrase (0.5): exactly the same error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I get exactly the same error
  • Low reputation (1):
Posted by: Jean Yne

79659496

Date: 2025-06-09 20:28:56
Score: 1.5
Natty:
Report link

I found an alternative solution that does not directly answer my question but still provides the same behavior I needed. Perhaps this is also me not fully understanding how authorization and custom domains works earlier.

I came across this video from a few years ago that explicitly mentioned making a second site in your Firebase project and linking a custom auth domain to it. This is what I did:

  1. Inside my-project-staging Firebase project, I created a new site on the Hosting page and called it my-project-staging-auth. There is no code or custom app deployed to this project.
  2. I added a custom domain to my-project-staging-auth called auth.staging.my-custom-domain.app
  3. Added DNS config recommended by Firebase when going through the domain connection wizard.
  4. Added https://auth.staging.my-custom-domain/__/auth/handlers to my Google client ID
  5. Updated Firebase config on my app to use auth.staging.my-custom-domain for its authDomain property

This resolved the popup being handled by my main app. I'm still open to other alternatives if anyone has any, but this setup works well for my needs. Perhaps another way is to exclude certain routes in my React app so that Firebase handles them...

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): this video
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Aamir Husain

79659489

Date: 2025-06-09 20:24:55
Score: 1
Natty:
Report link

The answers are close. The jar file is failing because the Vendor field (or fields) are not in the Manifest.

These two values should be filled in in the MANIFEST.MF.

Specification-Vendor: Sun Microsystems, Inc.
Implementation-Vendor: Sun Microsystems, Inc.

Any values can be entered.

You can add these via the maven-assembly-plug in,

<configuration>
    <archive>
        <manifest>
            <mainClass>PROJECT.MAIN</mainClass>
            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
        </manifest>
        <manifestEntries>
            <Implementation-Vendor>Your name</Implementation-Vendor>
            <Specification-Vendor>Your name</Specification-Vendor>
        </manifestEntries>
    </archive>
    <descriptorRefs>
        <descriptorRef>jar-with-dependencies</descriptorRef>
    </descriptorRefs>
</configuration>

This works fine in some cases, but if you use Shade, it will not add these Manifest entries . However, you can hard code the MANIFEST.MF - I found the answer elsewhere on StackOverflow How can I specify a custom MANIFEST.MF file while using the Maven Shade plugin? I think this is better than editing the build.xml

<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <version>3.4.1</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                        <configuration>
                            <transformers>
                                <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
                                <!-- Add a transformer to exclude any other manifest files (possibly from dependencies). -->
                                <transformer implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
                                    <resource>MANIFEST.MF</resource>
                                </transformer>

                                <!-- Add a transformer to include your custom manifest file. -->
                                <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
                                    <resource>META-INF/MANIFEST.MF</resource>
                                    <file>src/main/resources/META-INF/MANIFEST.MF</file>
                                </transformer>

                            </transformers>

                            <filters>
                                <filter>
                                    <artifact>*:*</artifact>
                                    <excludes>
                                        <exclude>META-INF/*.SF</exclude>
                                        <exclude>META-INF/*.DSA</exclude>
                                        <exclude>META-INF/*.RSA</exclude>
                                    </excludes>
                                </filter>
                            </filters>

                        </configuration>
                    </execution>
                </executions>
            </plugin>
Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ted Carroll

79659462

Date: 2025-06-09 20:04:49
Score: 1.5
Natty:
Report link

Unfortunately, you need to add them manually by clicking on the plus sign -> MCP Server -> Prompt/References. Maybe in a later version, this will be included so that it's aware of available prompts and resources and not just tools

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

79659458

Date: 2025-06-09 20:00:47
Score: 0.5
Natty:
Report link

You can go to your go.mod file and institute a replace directive.

replace example.com/some/module v1.2.3 => ../local/module

You can target your local repository as opposed to using the remote module.

See the following for more information:

Go Dev Documentation to replace directive

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

79659455

Date: 2025-06-09 19:52:45
Score: 1.5
Natty:
Report link

from PIL import Image

from fpdf import FPDF

# Load the image

image_path = "/mnt/data/A_mind_map_in_the_image_titled_\"GIAPPONE\"_(Japan)_.png"

image = Image.open(image_path)

# Save the image as a PDF

pdf_path = "/mnt/data/Giappone_Mappa_Concettuale_Mohamed_Allach.pdf"

pdf = FPDF()

pdf.add_page()

pdf.image(image_path, x=10, y=10, w=190) # Adjust size and position as needed

pdf.output(pdf_path)

pdf_path

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

79659446

Date: 2025-06-09 19:46:44
Score: 1
Natty:
Report link

I would like to add that using $CI_COMMIT_SHA (latest GIT commit) can be a good idea to track/detect a new application version. However, $CI_COMMIT_SHA is only reliable if every new/latest code change is a new commit that replaces the previous latest commit.

Developer might "reconstruct" a git branch history enough, that it will be effectively a new app version (based on actual code difference), but your pipeline or version detection logic will not detect that, because the latest commit SHA remained the same. Thus, your app may not notify the user of the change, for example, or some desired CI workflow won't happen because despite a change, CI_COMMIT_SHA has not changed. Or even if your app might still deploy with a new code version, not all deployment workflow steps will execute due to the latest commit SHA remaining the same.

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

79659437

Date: 2025-06-09 19:42:43
Score: 1
Natty:
Report link

I used to face this problem in other libraries as well. One solution is this :

"cabal install --lib QuickCheck".

Replace quickcheck with any library of your choice. This allows you to use it as you wish.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lucas

79659419

Date: 2025-06-09 19:26:38
Score: 0.5
Natty:
Report link

try change in file vendor/magento/module-page-builder/view/adminhtml/web/template/page-builder.html tag iframe in sandbox attribute: if you have only allow-scripts add just allow-same-origin by patch. Works for me in 2.4.6-p10

<iframe attr="id: 'render_frame_' + id" sandbox="allow-scripts allow-same-origin" style="position: absolute; width:0; height:0; border: none;"></iframe>

If for some reasons it doesn't work try apply this whole patch https://drive.google.com/file/d/1NCOaxO7sKc7wkIEWtrWCx-uJlnAvzw2P/view proposed in this question https://magento.stackexchange.com/questions/373475/magento-2-4-7-page-builder-was-rendering-for-5-seconds-without-releasing-locks

Reasons:
  • Whitelisted phrase (-1): Works for me
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Anton Mikhaylenko

79659405

Date: 2025-06-09 19:15:35
Score: 2.5
Natty:
Report link

I've found out that Windows 11 automatically disabled VBSCRIPT. So, if you go to Settings > Optional Features > Add Feature > VBSCRIPT

After that installation, reopen CMD / Powershell as admin and rerun the DLL again.

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

79659403

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

Let me steal the idea of no incessant lookups from https://stackoverflow.com/a/79658213/7976758 by @jthill:

#! /bin/sh

git rev-list --no-commit-header --format="%H %ae" HEAD |
    while read commit_ID _email; do
        if [ -z "$first_email" ]; then
            first_email=$_email
        fi
        if [ "$first_email" = "$_email" ]; then
            echo $commit_ID
        else
            exit
        fi
    done
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Has code block (-0.5):
  • User mentioned (1): @jthill
  • High reputation (-2):
Posted by: phd

79659400

Date: 2025-06-09 19:07:34
Score: 1.5
Natty:
Report link

We use the TEXT macro for the formatString for printf functions where code can be shared between windows UNICODE and UEFI ascii so the GCC warning is something I really want to bypass for UEFI ARM64. Trying to copy or something seems crazy and inefficient for this. GCC does not have <tchar.h> but I still need a way to make these printf's portable and seems reasonable to expect.

fMsg(TEXT("Device cnt: %d"), cnt);

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

79659394

Date: 2025-06-09 19:00:32
Score: 2.5
Natty:
Report link
nhgnnjmjo jkikillkjhbvvff nbgtfddcghjk mkklkmn nnbgbhvl.xxxvbxbiaoasbnkaijanalk sm xiisnx/Anijdij'poqwq 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: The CP

79659387

Date: 2025-06-09 18:52:30
Score: 3.5
Natty:
Report link

I built a project below that will help you with this :

https://github.com/developervineetjoshi/excelify

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

79659385

Date: 2025-06-09 18:51:29
Score: 2.5
Natty:
Report link

TL;DR

Your browser/OS might not support Object.hasOwn() if you haven't updated it in a while. It received wide support only about 2 years ago.

General Information

If you came here from a google search and you have the same error but it's unrelated to discord.js: Check your browser and OS.

For example, my job requires us to support all iOS devices that can run iOS 15+ (~4 years old at the time of writing). That's not unreasonable; but trying to run some external libraries crashed the app because Object.hasOwn() got support in iOS 15.4 (~2 years ago at the time of writing).=

Mozilla Compatibility Table

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwn#browser_compatibility

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same error
  • Low reputation (1):
Posted by: Kameron Freitag

79659382

Date: 2025-06-09 18:50:29
Score: 0.5
Natty:
Report link

Python3Android is a nuget package specifically designed to run python code in a MAUI environment targeting android devices.

Since it's full python, it works well with 'complex scripts'

(I use it to run mercurial on android so it certainly handles non trivial python code)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): is a
  • High reputation (-1):
Posted by: Tom

79659376

Date: 2025-06-09 18:46:28
Score: 2.5
Natty:
Report link
মুক্ত জীবন 
header 1 header 2
cell 1 cell 2
cell 3 cell 4

ভালো থাইকেন আমার কাছে টাকা থাকবে মূল কারণ হলো না আমি

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • No latin characters (1):
  • Low reputation (1):
Posted by: A Alauddin

79659373

Date: 2025-06-09 18:44:27
Score: 1.5
Natty:
Report link

I was never able to solve the problem. I had the company hardware people replace my computer with a new one and I was able to install VS2022 and the bug was gone. A few days later, after a security update to her computer, a third co-worker got the bug. She had the inspiration at one point to go over the ZScaler logs on her computer and found that VS was trying to communicate with the internet in a way that ZScaler blocked. I don't have the dirty details, but it seems the problem is a security issue.

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

79659371

Date: 2025-06-09 18:42:26
Score: 4
Natty:
Report link

I've had success with Pywinauto.

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

79659363

Date: 2025-06-09 18:35:23
Score: 1
Natty:
Report link

First, you should have clarified where you are using such a block of statements (referred to as a "compound statement") and what you mean by "outside of" the block?

I ask, because generally, when you have such a block of statements, you use them as or inside of an SQL stored procedure or user-defined function (triggers, too, but that is a larger topic). Each of these have a means of returning a value or result set from the block.

Stored procedures can have parameters for output, "RETURN" a value or "data structure" (a data structure would be a concatenation of two or more columns into a single returned value that can be parsed and utilized by the caller), or pass back one or more "dynamic" result set(s).

User-defined functions can do much the same thing--the major difference being that calling a stored procedure is done as a separate SQL statement; whereas, calling a user-defined function is done inside of another SQL statement just as if it were a built-in function.

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

79659361

Date: 2025-06-09 18:34:23
Score: 2
Natty:
Report link

Tap on a clip to paste it in the text box.Tap on a clip to paste it in the teTap on a clip to paste it in the text box.Tap on a clip to paste it in the text box.xt Tap on a clip to paste it in tTap on a clip to paste it in the text box.Tap on a clip to paste it in the text box.he text box.Tap on a clip to pasI Ii of France and sleepwell te it in kitchen text box.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ralph Andrei Carmelo E Tolenti

79659360

Date: 2025-06-09 18:33:23
Score: 0.5
Natty:
Report link

If sent within the Outlook user's account you need to send from their email address. Spoofing is not advised. If you want to route an ics file from a different email address you will need to set up smtp and send custom emails with an ics file attached. Alternatively, you can use Salepager to send Outlook calendar invites from a different email address.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: calshare

79659359

Date: 2025-06-09 18:33:22
Score: 5
Natty: 5.5
Report link

i need back my old account reality please and discord can be working too

Reasons:
  • Blacklisted phrase (0.5): i need
  • RegEx Blacklisted phrase (1): i need back my old account reality please
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Maria Jimenez Cruz

79659355

Date: 2025-06-09 18:32:22
Score: 2.5
Natty:
Report link
Hello,
Thank you for your reply. I made the changes and it still doesn't work. Below is my code:

Html
<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Grau d'Agde ☂️</title>

    <!-- =================================================================== -->
    <!--         LA MÉTHODE SIMPLE ET DIRECTE - SANS JAVASCRIPT          -->
    <!-- =================================================================== -->
    <!-- Le serveur va directement insérer les URLs ici, dans les balises. -->
    
    <link rel="manifest" href="<?= manifestUrlForJs ?>">
    <link rel="apple-touch-icon" href="<?= appleIconUrlForJs ?>">


    <!-- =================================================================== -->

    <style>
        body, html { margin: 0; padding: 0; height: 100%; overflow: hidden; display: flex; flex-direction: column; font-family: Arial, sans-serif; background-color: #FFFFFF; }
        #header { background-color: #4A6B82; color: white; padding: 18px; text-align: center; font-size: 1.4em; font-weight: bold; border-bottom: 2px solid #374E60; }
        #iframe-container { flex: 1; border: none; }
        .spinner-container { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background-color: #FFFFFF; }
        .spinner { border: 8px solid #f3f3f3; border-top: 8px solid #3498db; border-radius: 50%; width: 60px; height: 60px; animation: spin 1.2s linear infinite; margin-bottom: 20px; }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
        #loading-text { font-size: 2em; color: #333; }
    </style>
</head>
<body>
    <div id="header">Grau d'Agde ☂️</div>
    <div id="loading-message-container" class="spinner-container">
        <div class="spinner"></div>
        <div id="loading-text">Chargement...</div>
    </div>
    <iframe id="iframe-container" src="about:blank" style="display:none;"></iframe>

    <!-- Le script pour gérer l'iframe reste ici, car il a besoin que le body existe. -->
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            const targetUrl = <?!= JSON.stringify(targetUrl) ?>;
            const iframeContainer = document.getElementById('iframe-container');
            const loadingContainer = document.getElementById('loading-message-container');
            const loadingText = document.getElementById('loading-text');

            if (targetUrl) {
                iframeContainer.src = targetUrl;
            } else {
                const spinnerElement = loadingContainer.querySelector('.spinner');
                if(spinnerElement) spinnerElement.style.display = 'none';
                loadingText.textContent = "Erreur: URL cible non configurée.";
                loadingText.style.color = 'red';
                loadingContainer.style.display = "flex";
                iframeContainer.style.display = "none";
                return;
            }
            iframeContainer.onload = function() {
                loadingContainer.style.display = "none";
                iframeContainer.style.display = "block";
            };
            iframeContainer.onerror = function() {
                const spinnerElement = loadingContainer.querySelector('.spinner');
                if(spinnerElement) spinnerElement.style.display = 'none';
                loadingText.textContent = "Erreur de chargement de la page.";
                loadingText.style.color = 'red';
                loadingContainer.style.display = "flex";
                iframeContainer.style.display = "none";
            };
        });
    </script>
</body>
</html>

doGet:
function doGet(e) {
  try {

    return serveManifest(); // POINT DE SORTIE 1
  }
  var ss = SpreadsheetApp.getActiveSpreadsheet();
  var sheet = ss.getSheetByName('Feuille 1');

  const IFRAME_TARGET_URL  = getValeurDepuisAutreFeuille()

  const appUrl = PropertiesService.getScriptProperties().getProperty('APP_URL');

 
  if (!appUrl || !IFRAME_TARGET_URL) {
    return HtmlService.createHtmlOutput( // POINT DE SORTIE 2
      '<h1>Erreur de Configuration</h1><p>Les URLs ne sont pas sauvegardées. Veuillez exécuter la fonction "saveDataToProperties" depuis l\'éditeur de script.</p>'
    );
  }


  const APPLE_ICON_ID = "1d3YFdHEncn3-_kUsw3rPMvRQDwF9YKmE";
  const FAVICON_ID = "1uLI9a2krUi6HlDnRIYXj7EXQIEW_juz6";


  let htmlTemplate = HtmlService.createTemplateFromFile('lanceur');
  
  // 6. PASSER LES VARIABLES AU TEMPLATE
  htmlTemplate.targetUrl = IFRAME_TARGET_URL;
  htmlTemplate.manifestUrlForJs = `${appUrl}?page=manifest`;
  htmlTemplate.appleIconUrlForJs = `https://drive.google.com/uc?export=view&id=${APPLE_ICON_ID}`;


  return htmlTemplate.evaluate()
      .setFaviconUrl(`https://drive.google.com/uc?id=${FAVICON_ID}&export=view&format=png`)  
      .setTitle("Grau d'Agde ☂️");

  

  } catch (e) {

    return HtmlService.createHtmlOutput(
      '<pre style="font-family: monospace; font-size: 1.2em; color: red;">' +
      'UNE ERREUR FATALE EST SURVENUE :\n\n' +
      'MESSAGE : ' + e.message + '\n\n' +
      'LIGNE   : ' + e.lineNumber + '\n\n' +
      'FICHIER : ' + e.fileName + '\n\n' +
      'PILE D\'APPELS (STACK) :\n' + e.stack +
      '</pre>'
    );
  }
}
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (2): it still doesn't work
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: stephane golonka

79659345

Date: 2025-06-09 18:27:20
Score: 4
Natty:
Report link

If anyone is still need enum reflection, I created crate for this - enum_reflect

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

79659343

Date: 2025-06-09 18:27:20
Score: 2.5
Natty:
Report link

Python docstrings can be written following several formats as the other posts showed. However the default Sphinx docstring format was not mentioned and is based on reStructuredText (reST)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mahamed Hassan Seid Fanahow

79659330

Date: 2025-06-09 18:14:17
Score: 3
Natty:
Report link

The same error was happening to me, but I found out, the error is in the styled-components library which is not compatible with Expo 53, I uninstalled the library and the app worked normally.

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

79659321

Date: 2025-06-09 18:06:14
Score: 6 🚩
Natty: 5.5
Report link

@magicxor, how to use your software? I install it, but only one windows scroll, other one doesnt scroll, Need help, Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @magicxor
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: dan alex

79659314

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

In my case, I had custom build variants and multiple modules, and the production build varian was the selected one, just VERIFY THE BUILD VARIANT, in a normal project, the one that should be selected is the debug.

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

79659311

Date: 2025-06-09 17:59:12
Score: 1.5
Natty:
Report link

I pretty much think the problem is in the environment configuration where you have put in the secret key for token verification. Code is not issue as it is working in dev.

Once you have checked code, do check for CORS configuration and database connection.

I dont think architecture is at fault here

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

79659309

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

It is some incompatibility with Chrome, I used DuckDuckGo browser and it worked.

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

79659291

Date: 2025-06-09 17:42:07
Score: 1
Natty:
Report link

Iterate the points on the line calculating the distance between then. This should be quite straighforward using UTM coordinates, but you probably can find some ready-to-go code in a lib.

Once you have a distance that's below a certain threshold, say 5 meters, you have your intersection.

Remember GPS in real world usage often max out the precision within 10m. Using multiple constelations 2-3 meters.

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

79659283

Date: 2025-06-09 17:36:05
Score: 3.5
Natty:
Report link

I was searching for the same thing, and finally found a great reduction from Hamiltonian Cycle to 3-SAT. Enjoy!

https://opendsa-server.cs.vt.edu/ODSA/Books/Everything/html/threeSAT_to_hamiltonianCycle.html#:~:text=This%20slideshow%20explains%20the%20reduction%20%28in%20polynomial%20time%29,NP%20Completeness%20proof%20for%20the%20Hamiltonian%20Cycle%20problem.

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

79659282

Date: 2025-06-09 17:36:05
Score: 3
Natty:
Report link

I am having the exactly some problem here.
I have two servers with Gluster 11 with 6 SSD DC disk as a bricks.

/dev/sdc1         1,8T  1,7T  120G  94% /data1
/dev/sdd1         1,8T  1,7T  123G  94% /data2
/dev/sdb1         1,8T  361G  1,4T  21% /data3
/dev/sdf1         1,8T  358G  1,4T  21% /data4
/dev/sdg1         1,8T  362G  1,4T  21% /data5
/dev/sdh1         1,8T  356G  1,4T  20% /data6

As you can see, the two first bricks are overused.

I have a gluster volume which use this bricks:

gluster vol status
Volume VMS is not started
 Status of volume: stg-vms
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Brick gluster1:/data1/vms                   59976     0          Y       3896 
Brick gluster2:/data1/vms                   52513     0          Y       2565 
Brick gluster1:/data2/vms                   50314     0          Y       3978 
Brick gluster2:/data2/vms                   52867     0          Y       2652 
Brick gluster1:/data3/vms                   51747     0          Y       4071 
Brick gluster2:/data3/vms                   53994     0          Y       2741 
Brick gluster1:/data4/vms                   52358     0          Y       161845
Brick gluster2:/data4/vms                   54324     0          Y       1570340
Brick gluster1:/data5/vms                   54552     0          Y       161878
Brick gluster2:/data5/vms                   54510     0          Y       1570373
Brick gluster1:/data6/vms                   57117     0          Y       161911
Brick gluster2:/data6/vms                   54696     0          Y       1570406
Self-heal Daemon on localhost               N/A       N/A        Y       4106 
Self-heal Daemon on gluster2                N/A       N/A        Y       2775 

My question is:
If I do gluster vol VMS rebalance fix-layout and then gluster vol VMS rebalance start, there will be any impact on the VM disks, during this rebalance process?

Can I do this with safe?

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Can I do
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Gilberto Ferreira

79659281

Date: 2025-06-09 17:35:05
Score: 2
Natty:
Report link

When using pytest and verifying sys.exit() was called, or perhaps a SystemExit was directly raised, e.value.code contains the exit status only in a special case -- not in general.

BTW, we are discussing the "provisional" exit status, because, from https://docs.python.org/3/library/sys.html, trouble during Python cleanup could produce a different exit code.

The special case...
1. if sys.exit or SystemExit was called with a single int argument, like either of these statements
sys.exit(2)
raise SystemExit(2)
then e.value.code will match the exit status.

However, for these other cases, e.value.code WILL NOT match the exit status.
2. These statements, with no args
sys.exit()
raise SystemExit
raise SystemExit()
will produce an exit status of 0, but e.value.code == 0 is false.

3. These statements, with a string arg,
sys.exit('Trouble...')
raise SystemExit('Trouble...')
will produce an exit status of 1, but e.value.code == 1 is false.

Any other usage of sys.exit or raise SystemExit is irregular, but for completeness, for these usages e.value.code WILL NOT match the exit status.
4. passing in a single obj that is neither int or str, or passing
multiple args to the SystemExit call, like
sys.exit((4, 'Tribulation...'))
raise SystemExit(4, 'Tribulation)
will produce an exit status of 1, but e.value.code == 1 is false.

So, if you needed to make an assertion about the exit status, one approach
would be to assert exitstatus(e.value) == ...
and implement python's SystemExit logic in an exitstatus function, like

import re
import sys

import pytest


def exitstatus(value):
    """Determine the exit status based on the SystemExit object's attrs.

    More accurately, this is the *provisional* exit status, because
    trouble during Python cleanup could produce a different exit code.

    Example
        with pytest.raises(SystemExit) as e:
            sys.exit(2)
        assert exitstatus(e.value) == 2

    Example
        with pytest.raises(SystemExit) as e:
            raise SystemExit('Trouble...')
        assert exitstatus(e.value) == 1
    """ 

    if len(value.args) == 0:
        return 0
    elif len(value.args) == 1 and isinstance(value.args[0], int):
        return value.args[0]
    elif len(value.args) == 1 and isinstance(value.args[0], str):
        return 1
    else:
        # Irregular usage of sys.exit() or SystemExit will produce 
        # exit status 1.
        # If you want to trigger on any irregular usage so you can 
        # fix it, you could raise an exception here, to force your
        # unit test to fail.
        # Otherwise, well, the irregular usage does result in exit 
        # status 1, so this is faithful.
        return 1

def test_sysexit_0():
    with pytest.raises(SystemExit) as e:
        sys.exit(0)  # exit status should be 0

    assert exitstatus(e.value) == 0


def test_sysexit_2():
    with pytest.raises(SystemExit) as e:
        sys.exit(2)  # exit status should be 2

    assert exitstatus(e.value) == 2


def test_sysexit_noargs():
    with pytest.raises(SystemExit) as e:
        sys.exit()  # exit status should be 0

    assert exitstatus(e.value) == 0


def test_sysexit_msg():
    with pytest.raises(SystemExit,
            match='cmd: bad usage') as e:
        sys.exit('cmd: bad usage unrecognized option')  # exit status should be 1

    assert exitstatus(e.value) == 1

With Best Regards,
John R.

Reasons:
  • Blacklisted phrase (0.5): Best Regards
  • Blacklisted phrase (1): Regards
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: ruck

79659274

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

You discovered the root cause: your old Hibernate Validator version supports org.hibernate.validator.constraints.NotBlank but not the javax.validation.constraints.NotBlank properly.

Upgrading Hibernate Validator to 6.x fixes the problem, but you're stuck with 5.1.0 due to project constraints.

So your version of Hibernate Validator simply does not recognize or enforce the newer javax.validation.constraints.NotBlank annotation.

suggested solutions:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @NotNull
  • Low reputation (1):
Posted by: sadkeyvanfar

79659264

Date: 2025-06-09 17:14:57
Score: 9.5 🚩
Natty: 5.5
Report link

did you find a solution to this?

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

79659255

Date: 2025-06-09 17:09:56
Score: 3.5
Natty:
Report link

read this docs ,maybe it will help you Firebase

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

79659245

Date: 2025-06-09 17:03:54
Score: 3.5
Natty:
Report link

None of the solution worked plese can anyone prove the solution

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

79659232

Date: 2025-06-09 16:55:52
Score: 0.5
Natty:
Report link

Maybe out of scope, but if we're allowed to use numpy, here's a simple solution.

import numpy  
import pandas as pd  
colsToKeep=np.unique(df.columns,return_index=True)[1]  
df=df.iloc[:,colsToKeep] 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: JRP

79659226

Date: 2025-06-09 16:48:50
Score: 0.5
Natty:
Report link

The issue is coming from the menu still being shown (due to the animation).

One simple fix could be to disable the animation, so the menu is closed ASAP, preventing it from trying to read the Theme from an expired context.

Just put popUpAnimationStyle: AnimationStyle.noAnimation in your PopupMenuButton

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

79659222

Date: 2025-06-09 16:44:49
Score: 0.5
Natty:
Report link

When your data contains quotes, CSV turns them into double quotes ("") and then wraps the whole field in quotes. So yes — CSV turns your input "foo014" into """foo014""" — that’s the correct and expected behavior. "foo014"

Is interpreted as:

Quote → escape as ""
f
o
o
0
1
4
Quote → escape as ""

Then the entire field is wrapped in quotes, resulting in:

"""foo014"""

about your test: Your actual output is correct — the test expectation is wrong. To match Apache Commons CSV output, update your expected string to:

val expected = """
EPPN,FirstName,LastName,Email,ClassStanding,StudentID,Degree,College,Department,SuitableRole
"""foo014""",Foo,Bar,[email protected],,9200#8210,,,,ROLE_TENANT_ADVISOR
""".trimMargin()
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: sadkeyvanfar

79659216

Date: 2025-06-09 16:39:47
Score: 2
Natty:
Report link

This will work

/^(\[\\w-\\.\]+)@@((\\\[\[0-9\]{1,3}\\.\[0-9\]{1,3}\\.\[0-9\]{1,3}\\.)|((\[\\w-\]+\\.)+))(\[a-zA-Z\]{2,4}|\[0-9\]{1,3})(\\\]?)$/

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: 2_0_5_3_2_4_Jegan J

79659215

Date: 2025-06-09 16:39:47
Score: 2.5
Natty:
Report link

SELECT COLUMN_NAME

FROM INFORMATION_SCHEMA.COLUMNS

WHERE

TABLE_SCHEMA = 'PRODUCTION'

AND TABLE_NAME = 'PRODUCT'

AND IS_NULLABLE = 'NO'

AND COLUMN_DEFAULT IS NULL

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

79659210

Date: 2025-06-09 16:36:46
Score: 1.5
Natty:
Report link
            p.MarkerClicked += async (s, args) =>
            {
                //I want to show custom content here
                var p = (pin)sender;
                await DisplayAlert("You clicked the pin", $"Pin was {p.Label}", "Cool");
            };
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Christine

79659207

Date: 2025-06-09 16:33:45
Score: 1.5
Natty:
Report link
Go to the root of the project and just run this command. It will solve the problem.:

flutter create --platforms=android .
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sangon brandon

79659205

Date: 2025-06-09 16:33:45
Score: 3.5
Natty:
Report link

Could be you have too many nested folders. That was the cause for me.

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

79659190

Date: 2025-06-09 16:23:42
Score: 1
Natty:
Report link

The new code is actually better.

1. Is there any fault in the new code? It looks good to me

2. Compared to previous approach and this, which one is overall better and should be recommended over another? Second approach

3. Can I update the new code to make it better? Or any better graceful shutdown approach? This pattern is the idiomatic way to handle graceful shutdown, for most cases this is the best way to handle graceful shutdown

Reasons:
  • Blacklisted phrase (1): Is there any
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Maisam Vahidsafa

79659187

Date: 2025-06-09 16:22:42
Score: 6
Natty: 7
Report link

I need to do this also. I need the next 3 weeks of calendar entries, and a static url to retrieve that with. I can’t use dynamic url’s. Don’t really see what the point is of the calendar/events api if it doesn’t return data in calendarview format. Like OP says, it doesn’t return recurring events. But why would I want a set of calendar event data that doesn’t include certain entries just because they were created some time ago?

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

79659186

Date: 2025-06-09 16:19:41
Score: 2
Natty:
Report link

A querystring, also known as a query string, is a part of a URL that contains parameters and their values. It's used to send data from the client to the server, typically after the base URL and separated by a question mark (?).

This adds query string to the pathname.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Ajay Raja

79659181

Date: 2025-06-09 16:18:40
Score: 1.5
Natty:
Report link

Old thread, but a more modern syntax in GDB is simply
print -pretty -- *pointer

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Olubodun Agbalaya

79659178

Date: 2025-06-09 16:16:39
Score: 3.5
Natty:
Report link

in your saveUser()function there is not return add return user;

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

79659176

Date: 2025-06-09 16:15:39
Score: 2.5
Natty:
Report link

SOLVED.

Error on my part. Not only am I using ANSI 92, but I'm also restricting access to every table. and preventing visibility of the underlying database structure.

It appears that Microsoft.ACE.OLEDB.12.0 requires visibility...

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

79659172

Date: 2025-06-09 16:12:38
Score: 3.5
Natty:
Report link

I believe I figured this out. The Z_Value number I'm working with if I extend the digits out to 18, is actually 0.67450000000000044. Because there are the two 4's at the end, it is rounding up to 0.675.

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

79659170

Date: 2025-06-09 16:12:38
Score: 1.5
Natty:
Report link
try installing the qiskit 1.1.0 package. There are conflicts between qiskit versions that have not yet been resolved in version 2.0.2. Use the following command: "!pip install qiskit==1.1.0" . This version will probably solve your problem.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Angelo Matos

79659163

Date: 2025-06-09 16:05:36
Score: 1.5
Natty:
Report link

What's the range of possible values of these integers? If it's a relatively narrow range, a variation of Radix Sort (I call it Shawn Sort) has close to O(n) speed!

Say you're sorting millions of grades, which range from 1-100.

Sorting a record (database table record, for example), works the same way, but you also store the identities or record numbers in the array, in which each element (which is a tuple) also contains a list of identities / record numbers.

Shawn Sort beats every other sort algorithm decisively, for integers, if the possible values is manageable relative to the size of the dataset.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What's the
  • Low reputation (0.5):
Posted by: bitshftr

79659156

Date: 2025-06-09 15:59:34
Score: 2
Natty:
Report link

You have to set configureCompat({ MODE: 3 }) globally and MODE: 2 in each of your components that you want to run in compatibility mode.
Ref: https://vuetifyjs.com/en/getting-started/frequently-asked-questions/#questions

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

79659149

Date: 2025-06-09 15:56:33
Score: 2
Natty:
Report link

I got the same issue this morning.
Found two ways to handle it:
1. (As a DBA) - added this separator in the query - ',' as ',', between columns. Then pasting was as usual.
2. (as a regular user) - closed all my Excel files and started it again. It fixed the issue.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alex Sh.

79659144

Date: 2025-06-09 15:52:32
Score: 0.5
Natty:
Report link

You can obtain GlanceId by using LocalGlanceId.current, which can then be converted to an Int via GlanceAppWidgetManager.

val context = LocalContext.current
val glanceId: GlanceId = LocalGlanceId.current
val id: Int = GlanceAppWidgetManager(context).getAppWidgetId(glanceId)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Marek Macko

79659138

Date: 2025-06-09 15:48:30
Score: 3
Natty:
Report link

Just, only downgrade your dart and flutter extension in vsc (unmark aut updates for these ext) and this solve the problem, sorry for my english. rgards.

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

79659136

Date: 2025-06-09 15:47:30
Score: 2
Natty:
Report link

2 things (Granted you have a paying Dev Mode subscription or a Professional Plan):

  1. You must press SHIFT+D (or CMD+D) to activate Dev Mode or if that does not work...

  2. Navigate to View and click on "Switch to Dev Mode"

Sadly, to be able to use Dev Mode you need a paying plan.

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

79659132

Date: 2025-06-09 15:43:29
Score: 3
Natty:
Report link

There is an issue with my installation of TortoiseSVN. If I use the command line svn commands it all works fine. Solution = reinstall TortoiseSVN

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

79659131

Date: 2025-06-09 15:43:29
Score: 2
Natty:
Report link

Get the latest RevitAddinUtility.dll

I was using RevitAddinUtility.dll version 26.0.10.8 when I wrote up this question. Before I hit 'post' I realized I did not have the latest version of Revit 2026. I'm now using RevitAddinUtility.dll version 26.1.0.35, and the ManifestSettings save as expected.

The example code above may be useful to others, so I decided to go ahead and post this as a Q&A.

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

79659124

Date: 2025-06-09 15:38:27
Score: 2
Natty:
Report link

Here are two ways:

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

79659121

Date: 2025-06-09 15:34:26
Score: 2
Natty:
Report link

I agree with XQ Hu. You might consider exploring the Bigtable Beam Connector (BigtableIO), which allows you to perform both batch and streaming operations on Bigtable data within a Dataflow pipeline. Additionally, you can create a custom container image using Docker to launch containerized SDK processes.

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

79659117

Date: 2025-06-09 15:33:25
Score: 1.5
Natty:
Report link

Three address code:

func begin fact

if n == 0 got L1

t1 = n-1

param t1 // first parameter required to call recursion

refparam result // another parameter which might not seem in function call but define as reference

call (fact, 2) // (name of function, no.of parameters) , 2 because of addition return parameter

t2 = n * result

return t2

L1: return 1

func end

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

79659111

Date: 2025-06-09 15:27:24
Score: 2
Natty:
Report link

create app password on google accounts - App password Google
name it for ur case and use the password

enter image description here

yag_mail = "[email protected]"
yag_psw = "zgql ocuj lzje mziy"
yag = yagmail.SMTP(yag_mail, yag_psw)
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ömer Cinoğlu

79659106

Date: 2025-06-09 15:24:23
Score: 1
Natty:
Report link

Name: age. Date

ID.N refer. Sex

       Complete blood picture

MPB :

MPV:

Tpc:

VPN:

Hpy:

MPV:

PTC:

MCM:

Lmc:

MCM:

               End
                       Lab incharge
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Baba ajmer

79659088

Date: 2025-06-09 15:16:20
Score: 4
Natty:
Report link

If meta tag is correct. Use jpg image

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

79659083

Date: 2025-06-09 15:13:19
Score: 4
Natty:
Report link

I think the issue here is with the env variables, check if your env is correctly configure in [render](https://render.com/docs/configure-environment-variables)

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

79659072

Date: 2025-06-09 15:04:16
Score: 0.5
Natty:
Report link

For me ~/.zshrc has a strange typo and that's why it didn't load correctly.

You can look that file and ensure everything looks normal

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

79659059

Date: 2025-06-09 14:59:13
Score: 0.5
Natty:
Report link

This is the solution using PHP date-time objects:

<?php
$today = new datetime();
$thursday = $today->modify("last Thursday");

If necessary the date can be formatted:

$thursday->format('Y-m-d');
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ron Piggott

79659055

Date: 2025-06-09 14:56:12
Score: 0.5
Natty:
Report link

From PostgreSQL 13, you can force a database drop using the WITH(FORCE) option, which will not raise an error if the database is being used.

Complete command example:

DROP DATABASE my_db WITH(FORCE);

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

79659047

Date: 2025-06-09 14:46:09
Score: 1.5
Natty:
Report link

Another solution, more streamlined (but N and N-miss are in the same column) :

tbl_summary(data = iris , missing = "no") %>%
  add_n(statistic = "{N_nonmiss} ({p_nonmiss}%) / {N_miss} ({p_miss}%)",
        col_label = "**Non-missing / Missing**")

The output :

enter image description here

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

79659025

Date: 2025-06-09 14:32:05
Score: 2.5
Natty:
Report link

The first thing I notice is that your indexed range is not correct, you should index A2:C7. A quick solution I can think of is if you add an additional column that concatenates column A and column B, the formula would be =CONCATENATE(A2,B2), and then you drag it down up to your last row of data, then use. Let's say you put the CONCATENATE formula at column C, this will move the salary to column D. then you will have to use =INDEX(A2:D7,MATCH("Name",C2:C7,0),4)

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

79659021

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

from datetime import timedelta

## Creating timedelta with different units

days_delta = timedelta(days=5)

hours_delta = timedelta(hours=10)

minutes_delta = timedelta(minutes=30)

seconds_delta = timedelta(seconds=45)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zena Madam zee

79659019

Date: 2025-06-09 14:26:03
Score: 2.5
Natty:
Report link

I encountered the same issue with version 4.3*, but switching to version 4.29 resolved it. However, the local Maven build with version 4.3. runs without this issue, while I consistently face the same error in the Docker image unless version 4.29 is used.

<dependency>
    <groupId>org.liquibase</groupId>
    <artifactId>liquibase-core</artifactId>
    <version>${liquibase.version}</version>
    <exclusions>
        <exclusion>
            <groupId>org.liquibase</groupId>
            <artifactId>liquibase-commercial</artifactId>
        </exclusion>
        <exclusion>
            <groupId>net.snowflake</groupId>
            <artifactId>snowflake-jdbc</artifactId>
        </exclusion>
    </exclusions>
</dependency>
<liquibase.version>4.29.0</liquibase.version>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): face the same error
  • Low reputation (1):
Posted by: Alexandr Daineko

79659011

Date: 2025-06-09 14:19:01
Score: 1
Natty:
Report link

Safari makes this really tricky.

In most browsers, using multiple favicons with media="(prefers-color-scheme: dark)" or even a fancy SVG that changes with CSS works great. But Safari? Not so much.

Here’s what’s going on:

So… is there any way to make it work?

Option 1: Do it on the server (if you can)

If your site is server-rendered, you could try to serve a different favicon based on the user’s system theme. This involves detecting their preference before the page loads (which is tricky but possible in some setups using headers or early JavaScript). But honestly, it’s not super reliable and pretty advanced to pull off cleanly.

Option 2: JavaScript with a little hack

You can try forcing a favicon reload using JavaScript like this:

const dark = window.matchMedia('(prefers-color-scheme: dark)').matches;
const link = document.createElement('link');
link.rel = 'icon';
link.href = dark ? 'dark-icon.png?v=' + Date.now() : 'light-icon.png?v=' + Date.now();
document.head.appendChild(link);

This sometimes works — by adding a timestamp, you trick the browser into thinking it's a fresh file. But again, Safari is stubborn and may ignore this too.

Option 3: One neutral favicon

Honestly, the most reliable thing you can do is pick a single favicon that looks good in both light and dark mode. Something with a little border or contrast so it stands out no matter what.

TL;DR:

Safari just doesn’t play nice with dynamic favicons. You can try some workarounds with JavaScript, but they’re hit-or-miss. If it’s important for your brand, go with a high-contrast favicon that works in both themes.

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

79659004

Date: 2025-06-09 14:15:00
Score: 1.5
Natty:
Report link

HUBHIC:08371156:TCP: sck_complete_send() : Socket buffer is currently full (EWOULDBLOCK)
HUBHIC:08371156:TCP: sck_complete_send() : Not yet complete (bytes sent - 0 out of 555); retrying
HUBHIC:08371158:TCP: sck_complete_send() : Socket buffer is currently full (EWOULDBLOCK)
HUBHIC:08371158:TCP: sck_complete_send() : Not yet complete (bytes sent - 0 out of 555); retrying
HUBHIC:08371160:TCP: sck_complete_send() : Socket buffer is currently full (EWOULDBLOCK)

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

79658997

Date: 2025-06-09 14:07:58
Score: 0.5
Natty:
Report link

I have Visual Studio 2019 and a very large web application - and get this pop-up Extender error almost every time I open a solution and try to build it from a fresh start on the day. i.e. App opened Friday and compiled fine, Monday it fails - no changes...

The error always references remove and recreate the web.config

FIX is simple -

I think the problem is due to the complexity of the application, it cannot process the previously complied web.config for some reason that is cached somewhere - changing it's state to changed even though technically it hasn't been changed causes Visual Studio to rebuild it again and it works.

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

79658996

Date: 2025-06-09 14:05:58
Score: 2
Natty:
Report link

Since you're already using strum, you should be able to derive Display with it: https://docs.rs/strum/latest/strum/derive.Display.html

That should get you the desired result.

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

79658986

Date: 2025-06-09 13:57:56
Score: 3.5
Natty:
Report link

I have solved adding ?allowEncodingChanges=true to the connection url

Reasons:
  • Whitelisted phrase (-2): I have solved
  • RegEx Blacklisted phrase (1.5): solved adding ?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Giorgio Cassetti

79658977

Date: 2025-06-09 13:51:53
Score: 0.5
Natty:
Report link

I know it's been 4 months, but it may help someone else. You need to do 3 main changes,

  1. In your settings.gradle, you should be using a recent version of the workspace plugin.

  2. In your rest-config.yaml file, you should specify a compatibilityVersion. Add / edit a line in the file to read:

    compatibilityVersion: 6
    
  3. Finally, in the -impl folder (where your rest-config.yaml file is), add a gradle.properties file and put the following line in it:

    com.liferay.portal.tools.rest.builder.version=1.0.338
    

This was shamelessly copied from https://liferay.dev/blogs/-/blogs/restbuilder-transformutil-errors

Reasons:
  • Blacklisted phrase (1): I know it's been
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Harsha Kasturi