79750058

Date: 2025-08-29 09:16:02
Score: 2.5
Natty:
Report link

Make make world  better place Unlock stop the updates I am not part of your team Motorola unlock block private policy unblock make the world happy place  for everybody  please  disconnected from all devices  phone all iPhones everything remove disconnected form  encrypt on all Android  all does  of my bring apps  Europenetwork system VPN shut down https://www.unlock-urban.org.uk/support/unlock unlock  please donations/ disencrypt access an standard please disencrypt unlock date shutdown  bring let me take control back from all online that's includes iPhone phones all systems North event firewall from access and us backLondon England stop them remove all businesses ignore all accounts  there are scamm people that work stop them all  on computers yes disencrypt  disconnected  cyber security stop them all encryptedcyber crime all phones all devices  ignore  pleasepayment method yes shutdown do yes with idle  for everybody  do without Make make world  better place Unlock stop the updates Motorola yes unlock ignore block private policy unblock make the world happy place  for everybody  please  disconnected from all devices  phone all iPhones everything remove encrypt on all Android  all does  of my bring apps  Europenetwork system VPN shut down disencrypt access an standard please disencrypt unlock date shutdown  bring let me take control back from all that's includes iPhone phones all systems North event firewall from access and us backLondon England stop them remove all businesses ignore all accounts  there are scamm people that work stop them all  on computers yes disencrypt  disconnected  cyber security stop them all encryptedcyber crime all phones all devices  ignore  pleasepayment method yes shutdown do yes with idle  for everybody  do without

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

79750055

Date: 2025-08-29 09:15:02
Score: 0.5
Natty:
Report link

The answer, as @Weijun Zhou indicated, is that you need to run Python 3.8 for the := assignment operator ("walrus" operator) to be supported. The flask-Humanify pypi project incorrectly reports a minimum python version of 3.6. Please submit a github issue to that project (at https://github.com/tn3w/flask-Humanify) about this issue.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Weijun
  • Single line (0.5):
  • High reputation (-1):
Posted by: J Earls

79750051

Date: 2025-08-29 09:12:01
Score: 2
Natty:
Report link

I recently had this problem. Turns out that I had two VirtualHost with "incompatible ssl setup", i.e. one was accepting TLS client certificates while the other doesn't. Aligning the two configuration makes the problem disappear. By chance, I did not need client certificates anymore.

Don't know if it can help, as I'm not sure whether you also have a two VirtualHost configuration.

Regards,

Reasons:
  • Blacklisted phrase (1): Regards
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Denis Valdenaire aka Joe Linux

79750045

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

Do this:

data_excel = data_excel.dropna(subset=['Budget Betrag'])
print(data_excel)

otherwise the .dropna() isn't stored on your dataframe.

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

79750042

Date: 2025-08-29 09:02:58
Score: 0.5
Natty:
Report link

It looks like your approach isn’t correct. Since your view already has HTML elements with the same names as the model properties, Razor Pages’ model binder will automatically map those values to the view model. Because of this, you don’t need to use updateModel. I recommend removing your custom $.ajax call and instead using jquery-ajax-unobtrusive, which will make your code cleaner, more maintainable, and aligned with the Razor Pages binding conventions.

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

79750018

Date: 2025-08-29 08:41:53
Score: 3
Natty:
Report link

Further testing revealed that there is nothing wrong with what i posted here.

looks like my issue is the viewmodel itself bot being properly shared.

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

79750017

Date: 2025-08-29 08:40:53
Score: 1
Natty:
Report link

Restricting access by DB number is indeed not possible with ACL. Options are:

Here is a great explanation of why Redis doesn't support restriction by DB number and why using DB numbers in production is highly discouraged: https://github.com/redis/redis/issues/8099#issuecomment-741868975

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Raphael De Lio

79750015

Date: 2025-08-29 08:38:52
Score: 1.5
Natty:
Report link

For anyone still looking for a library with examples, there is a library written in Kotlin which can be used in Java projects:

https://github.com/bitfireAT/dav4jvm

I've created a sample Java project available at

https://github.com/richteas75/DavExample

to demonstrate obtaining calendars from a CalDav server using server url, username and password.
The code is basically adapted from the Kotlin code of the DAVx5 app, mainly DavResourceFinder.kt.

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

79750013

Date: 2025-08-29 08:36:52
Score: 2
Natty:
Report link

It's frankly, one of the worst interfaces I've ever had the displeasure of using! I'm trying to sort out the same problem now.

You'd have thought in 7 years they may have bothered to make it a little easier.

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

79750010

Date: 2025-08-29 08:34:51
Score: 3
Natty:
Report link

The reason is that SDWebImage loaded a network image with an excessively high resolution, causing a crash due to insufficient memory.

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

79750005

Date: 2025-08-29 08:30:50
Score: 3.5
Natty:
Report link

There is info about changing icons here: https://docs.banuba.com/ve-pe-sdk/docs/android/ve-faq#i-want-to-change-icons-and-name-for-effects

If this doesn't work, contact their support: https://www.banuba.com/support

They should write more extensive docs, tbh.

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

79750001

Date: 2025-08-29 08:27:49
Score: 2.5
Natty:
Report link

There is a Custom Functions Manager plugin that uses eval() to execute the custom functions directly from WordPress without having to directly edit theme functions.php. But the only issue is if there are syntax errors or fatal errors in your code may cause issues.

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

79749996

Date: 2025-08-29 08:24:48
Score: 4
Natty: 4
Report link

Check the dependencies may it possible because of verison issue.

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

79749993

Date: 2025-08-29 08:21:47
Score: 1
Natty:
Report link

This seems to be a bug in PrimeNG 16.6.0 that has been fixed somewhen around 16.7.1, I think. Upgrading to 16.9.1, the latest version for Angular 16, fixes that.

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

79749991

Date: 2025-08-29 08:19:46
Score: 1.5
Natty:
Report link

TFile.Exists is an inlined function that simply calls FileExists, so it is up to you what you use.

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

79749988

Date: 2025-08-29 08:16:46
Score: 2.5
Natty:
Report link

You should check in cmd if the port 3306 its open . you can google for the command or try to login via cmd command if its working or try running your idle in to administrator best of luck

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

79749986

Date: 2025-08-29 08:16:46
Score: 2
Natty:
Report link

Answer based on what I read somewhere, can't recall the source. Adds to previous answers:

Two tasks:

  1. Restore icons_metadata file:

    1. Within Android Studio click on the Tools >> SDK Manager option.

    2. Copy the SDK location and open it in file explorer.

    3. Go to Icons >> Material

    4. Delete icons_metadata.txt

    5. In Android Studio - Right click on drawable (app >> res >> drawable) >> new >> vector asset >> select clipart >> cancel.

    6. This should restore the icons_metadata.txt file in the folder we opened earlier. Go to next step.

  2. Make icons_metadata read-only to prevent unintended changes in the future.

PS: I'm not sure if making the file read-only would interfere with future updates. Maybe someone who's on an older version can try and add to comments - I'll update accordingly.

Reasons:
  • Blacklisted phrase (1): to comment
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mohanjeet Singh

79749979

Date: 2025-08-29 08:10:44
Score: 0.5
Natty:
Report link

Transprops is a generic type

interface CustomTransProps extends TransProps<string> {
   className?: string;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Nermin

79749977

Date: 2025-08-29 08:09:44
Score: 1
Natty:
Report link

I think from "react-i18next" <Trans> will not allow className instaead of it use <div> or <span> or any pther elements

example :

export function CustomTrans({ className, ...restProps }: CustomTransProps) {
  return (
    <span className={className}>
      <Trans {...restProps} />
    </span>
  );
}
    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: prasanna kumar

79749965

Date: 2025-08-29 07:53:40
Score: 0.5
Natty:
Report link

When writing client WebSocket code, if the client needs to initiate shutdown, call CloseOutputAsync. This sends a Close frame and moves the socket into the CloseSent state. The socket won’t actually reach the Closed state until the server responds, so you should continue monitoring the socket state until the handshake completes.

When writing server WebSocket code, if the server needs to initiate shutdown, call CloseAsync. This method manages the entire closing handshake for you, ensuring the connection transitions cleanly to the Closed state.

Reference: https://mcguirev10.com/2019/08/17/how-to-close-websocket-correctly.html

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

79749946

Date: 2025-08-29 07:32:34
Score: 2.5
Natty:
Report link

Dear Sir/Mam,

Kindly note that I have error in my transaction. my order no. 109178, Date of Tansaction attempt is 29-08-2025.

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

79749942

Date: 2025-08-29 07:30:33
Score: 0.5
Natty:
Report link

Imagine having a big "products" table (id,name,...) with massive data, in number of columns and quantity of data (few billion rows). Now, the users want to upload a list of (existing) product IDs and mark a few hundred/thousands of these items as "discounted" and set a discount for them in specific date range, and also give them new discount names. So you would just make a new table called "discount_products" (id, name, discount, date_from, date_to) and in main query just add: LEFT JOIN discount_products dp ON (products.id=dp.id AND NOW() >= dp.date_from AND NOW() <= dp.date_to) and add new select fields, and use COALESCE(discount_products.name, products.name) to get the proper name column.

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

79749939

Date: 2025-08-29 07:26:32
Score: 9
Natty: 5
Report link

Did this issue resolved for you? Im also facing the same issue

Reasons:
  • RegEx Blacklisted phrase (1.5): resolved for you?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): also facing the same issue
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did this is
  • Low reputation (1):
Posted by: Girish

79749934

Date: 2025-08-29 07:18:30
Score: 2.5
Natty:
Report link

Try setting set enable_insert_strict = false; in the session before the INSERT, to see if that changes NULL handling.

You can refer: https://doris.apache.org/docs/2.1/data-operate/import/handling-messy-data#strict-mode

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

79749932

Date: 2025-08-29 07:18:30
Score: 1
Natty:
Report link

There could be a problem with express-async-handler. In case of exception in calling the protect function, it will move to the execution of next function (middleware or actual route function).

So, I would suggest to once try it without the library and see if your code starts working.

COde for library is at the page -->https://github.com/Abazhenov/express-async-handler/blob/master/index.js

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

79749926

Date: 2025-08-29 07:11:28
Score: 1
Natty:
Report link

Problem solved for me after updating dependencies in gradle as and set the compilesdk and targetsdk to 34

implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Uday kumar Gs

79749921

Date: 2025-08-29 07:05:26
Score: 4.5
Natty:
Report link

Thanks to @Learn N Spread, that was the point, just it needs a bit of further work (see comment), this is the correct way to solve the issue:

ptrLikeStuff = cppyy.ll.reinterpret_cast['Parser_Conf *'](cppyy.addressof(extract))
print("=> Type of the 'ptrLikeStuff' global:", type(ptrLikeStuff).__name__)
cppyy.gbl.print_conf_fromPtr(ptrLikeStuff)

I tried to edit your answer but moderators say it does not make sense, so I am posting a new answer.

Best regards,

Lorenzo

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Contains signature (1):
  • Has code block (-0.5):
  • User mentioned (1): @Learn
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Lorenzo

79749916

Date: 2025-08-29 07:00:24
Score: 4.5
Natty: 5
Report link

Had the same issue while making my own ninjatrader 8 free indicators and found this thread. Thanks a lot!

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

79749909

Date: 2025-08-29 06:55:22
Score: 0.5
Natty:
Report link

Add the @rendermode directive

@inject NavigationManager Navigation

@rendermode InteractiveServer

<EditForm Model="@searchModel" OnValidSubmit="Submit" FormName="BookingForm" class="book_now">
    <ValidationSummary />
    <div class="row">
        <div class="col-md-12">
            <span>Arrival</span>
            <img class="date_cua" src="/template/images/date.png">
            <InputDate class="online_book" @bind-Value="searchModel.CheckIn" />
            <div class="mb-3">Entered date: @searchModel.CheckIn</div>
        </div>
        <div class="col-md-12">
            <span>Departure</span>
            <img class="date_cua" src="/template/images/date.png">
            <InputDate class="online_book" @bind-Value="searchModel.CheckOut" />
            <div class="mb-3">Entered date: @searchModel.CheckOut</div>
        </div>
        <div class="col-md-12">
            <button type="submit" class="book_btn">Book Now</button>
        </div>
    </div>
</EditForm>

Without the @rendermode directive the page is rendered statically (SSR only), so the model won’t be updated on submit.

By adding @rendermode InteractiveServer (or another interactive mode), the binding works as expected.

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

79749905

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

Spent 20 hours troubleshooting the same error.

It turned out our problem was that we had added a row to our entitlements, "<key>com.apple.developer.associated-domains</key>" in our case.

When doing so, the app id capabilities have to be updated. Once that was done, everything worked.

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

79749903

Date: 2025-08-29 06:50:21
Score: 0.5
Natty:
Report link

In my case, the DTPlatformName key and value (iphoneos) are missing in one of the framework Info.plist files.

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

79749902

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

Spent 20 hours troubleshooting the same error.

It turned out our problem was that we had added a row to our entitlements, "<key>com.apple.developer.associated-domains</key>" in our case.

When doing so, the app id capabilities have to be updated. Once that was done, everything worked.

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

79749901

Date: 2025-08-29 06:47:20
Score: 1.5
Natty:
Report link

# Copilot prompt:

# Write a Python script that connects to a Confluence space (cloud or server) using username/API token authentication.

# The script should:

# 1. Fetch the content of one or more Confluence pages (title and body).

# 2. Clean and preprocess the page data (strip HTML, handle newlines, remove extra formatting).

# 3. Convert the text into documents that can be used as context for an LLM using LangChain.

# 4. Use LangChain's Document and TextSplitter classes to chunk the page data into manageable pieces.

# 5. Optionally, demonstrate inserting embeddings into a vector database (like FAISS or Chroma).

# 6. Keep the code modular (functions for fetch_confluence_page, clean_text, prepare_langchain_docs).

#

# Dependencies: atlassian-python-api (or requests if not available), langchain, beautifulsoup4

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

79749900

Date: 2025-08-29 06:46:17
Score: 7
Natty:
Report link

Hi did you find solution to this

Reasons:
  • RegEx Blacklisted phrase (3): did you find solution to this
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rohit Pachar

79749898

Date: 2025-08-29 06:44:16
Score: 10.5
Natty: 6.5
Report link

how did you solve this sir, i am also facing the same issue. it would be nice if you could provide me with a solution. thanks.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): i am also facing the same issue
  • RegEx Blacklisted phrase (3): did you solve this
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i am also facing the same issue
  • Single line (0.5):
  • Starts with a question (0.5): how did you solve this
  • Low reputation (1):
Posted by: Priyanuj Bora

79749896

Date: 2025-08-29 06:41:15
Score: 3
Natty:
Report link

Best Search Engine Marketing Company in India - SEM Company

Looking for the best search engine marketing company? We offer top SEO marketing services with expert SEM strategies tailored to your growth. At Vaani Live, we offer expert Google Ads Management services to help your business appear at the top of search results. And reach the right audience at the right time. From keyword targeting to ad copy and performance tracking. We manage every aspect of your campaign to ensure optimal results and return on investment.

Read more: https://www.vaanilive.com/services/search-engine-marketing/

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Vaani Live

79749894

Date: 2025-08-29 06:40:14
Score: 2
Natty:
Report link

If Python 3, try https://docs.python.org/3/library/pty.html#pty.spawn:

import pty

pty.spawn(
    ["rsync", "--rsh=ssh", "-rv", "--files-from=-", "thisdir/", "servername:folder/"]
)
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Daanturo

79749893

Date: 2025-08-29 06:37:14
Score: 1
Natty:
Report link

I have solved my issue. Stupid error. When I copied the files to the Linux machine the permissions/access were automatically set to "None". I changed it to read only and now it works

Reasons:
  • Whitelisted phrase (-2): I have solved
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: LMORSE

79749890

Date: 2025-08-29 06:36:13
Score: 1.5
Natty:
Report link

For mac users

  1. Navigate to settings

  2. Navigate to accessibility

  3. Click display

  4. From the bottom of page, enable color filters

  5. Choose a filter type suited for your needs

  6. You can change intensity

You can access accessibility shortcuts by using option + command + f5

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

79749884

Date: 2025-08-29 06:27:10
Score: 0.5
Natty:
Report link

this worked for me!

manually open the file in the location given. in my case, it was

C:\Users\me\AppData\Roaming\jupyter\runtime

Reasons:
  • Whitelisted phrase (-1): this worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mohammad Hossein Akbari

79749879

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

Make sure your activity extends from AppCompatActivity. If you have an old project, it is probably using Activity.

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

79749871

Date: 2025-08-29 06:14:07
Score: 8.5
Natty: 5
Report link

how to fix this issue? i found this issue same you but i can't fix. So you can fixed this issue please help share.

Reasons:
  • RegEx Blacklisted phrase (3): please help
  • RegEx Blacklisted phrase (1.5): how to fix this issue?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): how to fix this is
  • Low reputation (1):
Posted by: GAPG4P

79749865

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

use print(x), not print(y). (or set y=x after defining x, then print(y) should work.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: JB-007

79749864

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

You assigned the number 5 to the variable x. But then you told Python to print y — and nowhere in your code has y ever been given a value. Python’s error message:

NameError: name 'y' is not defined

is its way of saying “I’ve never heard of y.”

To fix it, you need to make sure you print the same variable you defined:

x = 5
print(x)   # prints 5

Think of variables like labels on boxes. You wrote the number 5 on a sticky note labeled “x” and stuck it on a box. Then you asked Python, “What’s in the box called y?” But there is no box labeled y, so it complained. The cure is simply: use the same label consistently.

If you want both x and y to exist, you’d have to assign both:

x = 5
y = 5
print(y)   # also prints 5
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Xsu

79749863

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

You forgot to define y 😒

For an OK ANSWER!

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

79749860

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

It has to be inside the folder of the cargo you have created.
Example:

$cargo new discord_bot

discord_bot/.env

You can also add this in the ~/.bashrc or ~/.zshrc as an export.

export DISCORD_TOKEN=mytoken

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: John Mark Roco

79749858

Date: 2025-08-29 05:57:03
Score: 1.5
Natty:
Report link

AWS Step Functions can't natively pause for user input via a web form. The recommended approach is to use a Task state with a callback token: your workflow pauses and sends a token to your app, the user enters data on your web form, and your backend resumes the workflow by calling SendTaskSuccess with the token. So yes, hosting a web app or backend to collect input and trigger continuation is the standard solution—AWS doesn't provide a built-in feature for user data entry beyond simple approvals or waiting for a fixed time.

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

79749855

Date: 2025-08-29 05:53:02
Score: 2.5
Natty:
Report link

Check this stack overflow post out. The answer is that you need to when you instantiate your stateful widget, you should also pass a key in it's constructor. This way, each instance of your widget will mantain it's own state, and not share one state across multiple instances.

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

79749854

Date: 2025-08-29 05:48:01
Score: 1
Natty:
Report link

As discussed in the comments you are expecting different what-if results but unfortunately what-if can produce a lot of noise (false positives) so it cannot be trusted blindly. You can try the deployment on another storage to see if all will be configured accordingly before applying to your production storage account. Additionally Bicep team is working on a new what-if implementation that will reduce what-if noise significantly. That new implementation will be available for deployment stack deployments and not for regular deployments.

Please upvote and select as answer.

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Stanislav Zhelyazkov

79749850

Date: 2025-08-29 05:37:58
Score: 3
Natty:
Report link

Run mvn clean compile in terminal and try to run script

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Smit

79749842

Date: 2025-08-29 05:27:56
Score: 1.5
Natty:
Report link

In my case, I had created the hardware profile, and it showed up in the "Add Device" list, but I did not realize I then had to select it from that list and click "Next". Once I completed those steps (selected the Android image, etc) and got to "Finish", it then automatically set it as the device. It's in the list too, as a "Virtual Device", near the bottom.

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

79749832

Date: 2025-08-29 05:13:53
Score: 2
Natty:
Report link

Yes, Google offers international payment solutions that allow businesses to accept payments from abroad, including the UK. This is especially useful for service providers dealing with students and clients across different countries. For example, Overseas education consultants in Hyderabad can use such secure payment options to simplify transactions for students paying consultation or application fees from the UK. This ensures fast, reliable, and transparent payment processing for both students and consultants.

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

79749831

Date: 2025-08-29 05:13:53
Score: 0.5
Natty:
Report link

The best solution I have found so far is adding

<ItemGroup>
    <ProjectReference Include="..\CustomBuildStep\CustomBuildStep.csproj" PrivateAssets="all" ReferenceOutputAssembly="false" />
</ItemGroup>

to FinalOutput.csproj, and

find PublishFolder -name "CustomBuildStep*" -print0 | xargs -0 rm

to the build script. It seems like it ought to be possible to put the latter into a post-build or post-publish step of FinalOutput.csproj, but I wasn't able to figure that out.

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

79749818

Date: 2025-08-29 04:31:45
Score: 2.5
Natty:
Report link

Refer to https://github.com/google/adk-java/issues/262 for the latest information on this topic.

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

79749815

Date: 2025-08-29 04:21:43
Score: 0.5
Natty:
Report link

I think you're wanting to use "injections".
It will inject rules into your own grammar.
Heres the schema for it "$schema": "https://raw.githubusercontent.com/RedCMD/TmLanguage-Syntax-Highlighter/main/vscode.tmLanguage.schema.json"
Injections documentation

"injections": {
    "L:source.phpf -comment -string": {
        "patterns": [
            {
                "name": "phpf.a",
                "match": "___[A-Z]+___"
            }
        ]
    }
}

"injectionSelector" & "injectTo" is used when you want to inject your language into an existing language.
currently "injectTo": ["source.php"] is injecting your phpf into the existing php language.
making "include": "source.php" redundant.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: RedCMD

79749813

Date: 2025-08-29 04:19:42
Score: 1.5
Natty:
Report link

//since it returns array, get the first ip since it is the client ip - others are proxy ip....

const clientip = req.headers['x-forwarded-for'][0] || req.socket.remoteAddress;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fredrick

79749802

Date: 2025-08-29 03:48:35
Score: 1
Natty:
Report link

Google has had a bug for a long time that no one is bothering to fix. It's like this:

If you, before putting your app into production, used the closed or open testing options, etc., Google checks whether ALL the apps you used for testing and are no longer interested in meet the requirements of the app you want to put into production.

So the error message doesn't refer to the app you're trying to put into production; it refers to the old ones.

So, you just need to go to those old ones and delta, deactivate, or stop the track.

Then, with that done, you don't even need to upload another version; just try releasing it again and it will work.

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

79749793

Date: 2025-08-29 03:34:32
Score: 1.5
Natty:
Report link

This does placement new and initializes all PODs inside the class (the parenthesis after A at the end):

A* pa = new(malloc(sizeof(A)), 10) A();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: wbahnassi

79749774

Date: 2025-08-29 02:44:20
Score: 1.5
Natty:
Report link

The answer is no longer valid. Bloomberg has moved BQNT to the cloud.

You can now easily install it with polars-bloomberg and run bql queries directly. Enjoy!

pip install polars-bloomberg

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Beast Legend Tank

79749773

Date: 2025-08-29 02:39:20
Score: 0.5
Natty:
Report link

Even though list comprehension is the most Pythonic and best way to achieve this, the map() function can also be used:

before = [0, -1, 4, 5, 8]
after = [*map(lambda x: x+2 if x != -1 else x, m_list)] # [2, -1, 6, 7, 10]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aadvik

79749772

Date: 2025-08-29 02:36:19
Score: 1.5
Natty:
Report link

What does the following assembly code do? int 0x80

The code line (string) "

 int 0x80

"

instructs the assembler to produce the two machine code bytes CD 80 (in hexadecimal) [I didn't look up that now, I remember some intel x86 machine code by heart even if I'm not using much that since long], then the assembler will move to the next line, without the need (for the assembler) to do anything else in that regard, that's a pretty simple instruction from the assembler point of view.

What Intel says its processor does is written in Intel® 64 and IA-32 Architectures Software Developer’s Manual Combined Volumes: 1, 2A, 2B, 2C, 2D, 3A, 3B, 3C, 3D, and 4

Other answers focused on what the processor is assumed to do after, but in regard to int 80h nowadays it likely depends on how the OS/distribution chose to support 32bit in 64bit (AMD64) architecture, the instruction (0f 05)syscall should be used instead to interact with 64bit unix OSs (For example for an overview of syscall in OpenBSD see the files that were generated by makesyscalls.sh syscalls.master handled by https://github.com/openbsd/src/blob/master/sys/sys/syscall_mi.h#L132, mostly reached by the syscall instruction (in x86 not opcode cd 80 but 0f 05) in syscall function in the c library

$ objdump-sub /usr/lib/libc.so.84.2 syscall
objdump -d --start-address=0x0000000000090430 --stop-address=$((0x0000000000090430+0x000000000000000d)) /usr/lib/libc.so.84.2

/usr/lib/libc.so.96.0:     file format elf64-x86-64

Disassembly of section .text:

00000000000b26e0 <_thread_sys___syscall>:
   b26e0:       b8 c6 00 00 00          mov    $0xc6,%eax
   b26e5:       49 89 ca                mov    %rcx,%r10
   b26e8:       0f 05                   syscall   ; Look THIS line
   b26ea:       72 01                   jb     b26ed <_thread_sys___syscall+0xd>
   b26ec:       c3                      retq   
   b26ed:       64 89 04 25 20 00 00    mov    %eax,%fs:0x20
   b26f4:       00 
   b26f5:       48 c7 c0 ff ff ff ff    mov    $0xffffffffffffffff,%rax
   b26fc:       c3                      retq   
Disassembly of section .plt:

Interrupts above 20h communicate with the operating system or firmware [e.g. BIOS(Basic Input Output System present in ~ROM) has INT 13h, INT 10h and other.. which now conflict without issues with CPU exceptions, DOS had its interrupt(s) (INT 21h as an API and INT 20h only to terminate a program), linux OS services kind of API to programs named in unix "system call" was originally chosen on int 80h as long as processors operated in 32bit mode, as well did other unices for x86 architecture as 386/BSD. Such way to interface with the OS has a short opcode (no need to call far address... even though it can in some cases possibly be emulated by few other instructions (9C)pushf and call address specified at a memory location, however emulate the call would enter the execution with lower privileges as protection mode separate the privilege on which code is executed) There are way less than 257 classes of hardware signals to handle as the INT instruction in theory permits as its natural hardware signal design (one more than 256 is because INT 03 has two possible opcodes, the obvious CD 03 and the special INT3 single byte opcode CC to facilitate the way hardware breakpoint was injected originally into 8088 CPU by 8259 PIC, the leftover by signal handling is suitable as a global API to across-context-call code in memory, as intel later documented.

see also

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What do
  • Low reputation (0.5):
Posted by: Marco Munari

79749767

Date: 2025-08-29 02:20:16
Score: 2.5
Natty:
Report link
<error>
<code>125002</code>
<message></message>
</error>

وهذا يعني أنني لا أملك القيمة الرمزية الصحيحة، ما الذي يثير تساؤلي؟

لذا هكذا يبدو الكود الخاص بي


import hashlib
import base64
import binascii
import xml.etree.ElementTree as ET
from datetime import datetime
import requests
from bs4 import BeautifulSoup

BASEURL = 'http://192.168.8.1'


session = requests.Session()
reqresponse = session.get(BASEURL + '/api/webserver/SesTokInfo')
if reqresponse.status_code == 200:
        root = ET.fromstring(reqresponse.text)
        for results in root.iter('SesInfo'):
            sessionid = results.text
            print("the sessionId is", sessionid)
        for results in root.iter('TokInfo'):
            token = results.text
            print("The token is", token)
        sessioncookies = reqresponse.cookies

post_data = '<?xml version = "1.0" encoding = "UTF-8"?>\n'
post_data += '<request><PageIndex>1</PageIndex><ReadCount>3</ReadCount><BoxType>1</BoxType><SortTyp$

headers = {'Content-Type': 'text/xml; charset=UTF-8',
               '__RequestVerificationToken': token
              }

api_url = BASEURL + '/api/sms/sms-list'
logonresponse = session.post( api_url, data=post_data, headers=headers, cookies=sessioncookies)
logonresponse2 = session.get( api_url, data=post_data, headers=headers, cookies=sessioncookies)




result = BeautifulSoup(logonresponse.text, 'html.parser')

for r in result:
    print(r)
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: سعد العتيبي

79749754

Date: 2025-08-29 01:39:07
Score: 2
Natty:
Report link

MyBatis shades javassist. Per copilot, I believe you need to setup GraalVM reflect-config.json and point to the shaded package instead. Its under 'org.apache.ibatis.javasist.*'. As it currently stands dev team behind Mybatis, which I'm part of, has been against not shading javassist and ognl due to historical conflicts. I'm not sure that will change.

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

79749748

Date: 2025-08-29 01:31:05
Score: 0.5
Natty:
Report link

Here is javascript code that gets the job done, based on kikon's jsfiddle provided in that members' comment which in turn was inspired by parts of masoudiofficial answer (see my reply comment why it couldn't be accepted). According to kikon, he won't post an answer not 100% his, but since his jsfiddle comprises sought code logic of his making, I'll "answer" for all here and give credit to both members for sharing their time and knowledge.

Code below is the javascript part taken from an amended jsfiddle that can be found here. In the jsfiddle you can also access the HTML and CSS which are self-explanatory.

const parentElement = document.getElementById('parentElement'),
    sixPackFirstElement = document.querySelector('#parentElement > div:nth-of-type(2)'),
    sixPackLastElement = document.querySelector('#parentElement > div:nth-of-type(7)'),
    sixPackTop = sixPackFirstElement.offsetTop,
    sixPackBottom = sixPackLastElement.offsetTop + sixPackLastElement.offsetHeight,

    // yScrollOffset = sixPackTop, // to attempt to position the top of the 6pack at the cursor
    yScrollOffset = (sixPackTop + sixPackBottom) / 2, // to attempt to position the center of the 6pack at the cursor
    yScrollMin = sixPackBottom - parentElement.offsetHeight;

parentElement.addEventListener('mouseenter', (event) => {

    const yScrollSixPackTop = yScrollOffset - event.offsetY;

    // or, using event.clientY:
    //const yScrollSixPackTop = yScrollOffset + parentElement.getBoundingClientRect().y - event.clientY;

    parentElement.scrollTop = Math.min(Math.max(yScrollMin, yScrollSixPackTop), sixPackTop);

});

Requirement:

The goal is for the "parent div to dynamically scroll the (child divs) to the exact location where my mouse enters the parent div via mouseenter event". Let's expose the shared logic and result:

Logic:

const parentElement comprises retrieval of a specific HTML element from the Document Object Model (DOM), assigned as a constant variable, which becomes the parent container in this case;

const sixPackFirstElement, const sixPackLastElement, const sixPackTop, const sixPackBottom, const yScrollOffset and const yScrollMin respectively, comprise two child elements and their combined calculated offsets used to fulfill logic requirement;

parentElement.addEventListener('mouseenter', (event) => { is the standard JavaScript method used to register an event handler to a specific element. In our case, mouseenter is the event we are listening for, with the help of an arrow function ((event) => { ... }) that serves as the event handler;

const yScrollSixPackTop serves to use children middle-height based on the combination of children heights divided by 2 (yScrollOffset), minus the mouse pointer offset which is "the Y coordinate of the mouse pointer between that event and the padding edge of the target node." (See MDN for specifics);

Result:

parentElement.scrollTop equals the math leading to expected result. Math.min(...) "is often used to clip a value so that it is always less than or equal to a boundary." (See MDN for specifics), while Math.max(...) "returns the largest of the numbers given as input parameters." (See MDN for specifics).

Therefore, the expression parentElement.scrollTop = Math.min(Math.max(yScrollMin, yScrollSixPackTop), sixPackTop) ensures that the targeted children will be scrolled and positioned - according to the middle-height of their combined heights - vis-à-vis the position of mouse pointer once it enters the parent container via mouseenter event.

Thanks for all who have contributed and keep contributing to SO.

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

79749746

Date: 2025-08-29 01:27:04
Score: 0.5
Natty:
Report link

The materials need to be separated within the function call...

import React, { useRef } from 'react'
import { useGLTF } from '@react-three/drei'

export default function Model(props) {
  const { nodes, materials } = useGLTF('/shirt_baked.glb')
  return (
    <group {...props} dispose={null}>
      <mesh geometry={nodes.T_Shirt_male.geometry} material={materials.lambert1}>
        <meshLambertMaterial color={props.color} />
      </mesh>
    </group>
  )
}

useGLTF.preload('/shirt_baked.glb')
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Biaspoint

79749745

Date: 2025-08-29 01:26:04
Score: 0.5
Natty:
Report link

The only way to accomplish what you're doing, is by getting a pointer to the array rather than decaying the array to a pointer to the first element

int main() 
{
    int days[] = {1,2,3,4,5};
    int (*ptr)[5] = &days;
    printf("%u\n", sizeof(days));
    printf("%u\n", sizeof(*ptr));

    return 0;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: NobodyImportant

79749730

Date: 2025-08-29 00:31:52
Score: 3
Natty:
Report link

Try:

Update-Help -UICulture en-US

It solve my issues (My computer language is spanish)

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Luis Alberto Ovando Brito

79749728

Date: 2025-08-29 00:29:52
Score: 0.5
Natty:
Report link

Here is my take:

Flush writes the file content to kernel memory. The kernel will write to disk at fixed interval as configured in the OS. On Linux this is often every 5 seconds. If your OS crashes in the window between a flush and a disk write then the file will be lost. You may or may not want this. It all depends on what you have promised to the user.

Sync (sync_data and sync_all) will force the kernel to write the file to disk immediately and wait for it to do so.

Sync and Flush are not the same thing. Flush goes from your app to the OS kernel and Sync from the OS kernel to disk. It is OK that your app crashes after Flush, it is not OK that your OS crashes (or power failure) after Flush and before the kernel syncs.

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

79749719

Date: 2025-08-28 23:53:44
Score: 2
Natty:
Report link

In more recent versions of joblib, you can do Parallel(n_jobs=-1, return_as="generator")

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

79749718

Date: 2025-08-28 23:50:43
Score: 2.5
Natty:
Report link

Likely not your issue, but I personally encountered this error when I was calling StoryblokInit in two separate locations.

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

79749712

Date: 2025-08-28 23:38:40
Score: 1
Natty:
Report link

It's been a couple of years, but this is still unsolved afaik. After AWS announced their partnership with kubecost we attempted to deploy kubecost to EKS Fargate. It failed out around the EBS-CSI driver, which we weren't using as we don't allow EBS volumes, only EFS volumes in our clusters for architectural reasons.

kubecost uses prometheus under the covers, which causes the EBS requirement:

`CAUTION: Non-POSIX compliant filesystems are not supported for Prometheus' local storage as unrecoverable corruptions may happen. NFS filesystems (including AWS's EFS) are not supported. NFS could be POSIX-compliant, but most implementations are not. It is strongly recommended to use a local filesystem for reliability.`

Even when we installed it, storage errors continued:

`Pod not supported on Fargate: volumes not supported: persistent-configs not supported because: PVC kubecost-cost-analyzer not bound`

`Pod not supported on Fargate: volumes not supported: storage-volume not supported because: PVC kubecost-prometheus-server not bound`

We opened a case with AWS Enterprise Support just to be told:

`Keep in mind that 3rd party add-ons are not supported by AWS, it is necessary that you validate if they meet your business requirements. Only to set expectations we treated this case as best-effort basis`

`The cluster must have Amazon EC2 nodes because you can't run Kubecost on Fargate nodes`

`Therefore, the response for your case is you need run EC2 nodes in your cluster to kubecost work properly. I double check the guide you sent us and don't mentioned explicit you need EC2 nodes. My apologies for the inconvenient and delayed caused by this topic.`

We left off with this issue: https://github.com/kubecost/kubecost/issues/2092

The linked Google doc no longer exists but one person says "works now, thanks" so maybe they've improved kubecost since then?

kubecost also has a CNCF competitor https://opencost.io/ that could be explored. I don't know if it supports Fargate any better.

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

79749705

Date: 2025-08-28 23:23:36
Score: 4
Natty:
Report link

maybe you can check these repositories:

https://github.com/moveit/moveit_drake

https://github.com/one-for-all/Motion-Planning

https://github.com/RobotLocomotion/gcs-science-robotics

https://github.com/RobotLocomotion/drake-external-examples

https://github.com/AtsushiSakai/PythonRobotics

https://github.com/Jiayuan-Gu/motion-planning

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

79749704

Date: 2025-08-28 23:20:35
Score: 0.5
Natty:
Report link

QueryBuilder<Person> builder = personBox.query();

builder.linkMany(Person_.orders, Order_.id.equals(id));
Query<Person> query = builder.build();
List<Person> personsWithOrderX = query.find();
query.close();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Edwin Quai Hoi

79749698

Date: 2025-08-28 23:09:32
Score: 1.5
Natty:
Report link

Unlike lattice, ggplot uses facet_wrap and facet_grid to create trellis plots of numerical variables by a categorical one. Some people describe plotnine as the translation of ggplot into Python, but I believe Lets-Plot is a closer counterpart, with its own aesthetics. Moving from an R ggplot visualization to a Python Lets-Plot visualization is almost seamless.

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

79749697

Date: 2025-08-28 23:08:31
Score: 1
Natty:
Report link

The grid-column specifies the indent column where thatn ggrid is expected to start and where it is expected to end <custom-ident>-start/<custom-ident>-end, which is why you have Four starts on the third column. You can read up more on how grid-column works here.

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

79749691

Date: 2025-08-28 23:01:29
Score: 3.5
Natty:
Report link

I just set this up on a email account that processes applications for us. We do not care to process any mail w/o attachments.

enter image description here

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

79749682

Date: 2025-08-28 22:50:27
Score: 0.5
Natty:
Report link

Sorry for not giving exact solution, but I think you should be looking for something like this: https://www.typescriptlang.org/tsconfig/jsxImportSource.html

vite.config.ts is not responsible for how types are parsed, this is configured by tsconfig.json and jsconfig.json.

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

79749681

Date: 2025-08-28 22:49:27
Score: 0.5
Natty:
Report link

What you are asking is something that can actually be accomplished in many different ways! Here I will just describe two that should be enough to consider what works for your specific use case :)

1. Hashing
Hashing things is a very common way to create a unique value for something/collections of somethings. You can do this using a native spark function: https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.functions.hash.html or just in the python standard library: https://docs.python.org/3/library/hashlib.html ; in either case of pyspark or native python, you can just hash all of the values of the classification, id_1, and id_2 columns together to get a unique index.

2: Concatenating the values together
The downside of hashing is that when you look at a hash, it will never tell you anything about what is in it. This is not a problem if you are just looking to create a unique index and that is it, but if you want to look at that unique index AND know exactly what it is then hashing is not that helpful. So instead, you can create your own human readable unique index by gluing the variables together into a single index. The way you can do this is by concatenating these columns together. Putting a delimiter between each of the column values would make it more robust. Either way, you can do this using the native pyspark concat function: https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.functions.concat.html

This answer is a little short and directly to the point, but I am happy to add/edit any context to it if you have any questions about it :)

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): What you are as
  • Low reputation (0.5):
Posted by: welp

79749677

Date: 2025-08-28 22:45:25
Score: 0.5
Natty:
Report link

I was having the exact same issue calling the Google Play Developer API through a Google Cloud Run function service account. I found a GitHub discussion that suggested adding a new product and activating it to speed up the permission propogation. That worked right away for me after hours and hours of trying to fix the 401 errors.

https://github.com/googleapis/google-api-nodejs-client/issues/1382

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

79749664

Date: 2025-08-28 22:24:19
Score: 1
Natty:
Report link

I think in that case, Prometheus will need to scrape each node through it's exposed metrics endpoint. Because as you mentioned, if each node saves its own metrics locally in memory, then each time Prometheus calls the "/metrics" endpoint through the load balancer, it will get metric data from a random node based on the loadbalancer routing.

So, you will need Prometheus to scrape each node separately, which can be configured through prometheus.yaml file. For dynamic number of nodes behind the load balancer, you can rely on service discovery, which is also compatible with Prometheus.

Having Redis as a metrics collector for multiple instances is not recommended, as Redis acts as a single point of failure and can become a performance bottleneck.

If that's your case that you need to go with the push model where each node pushes its metrics,then you can check Prometheus push gateway.

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

79749658

Date: 2025-08-28 22:14:17
Score: 0.5
Natty:
Report link

Change your strSQL1 line so that it reads as follows:

70                strSQL1 = "Insert Into tblClick ([SongTitle]) " & _
                       "values ('" & Replace(NewData,"'","''") & "');"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: BobS

79749639

Date: 2025-08-28 21:55:13
Score: 1
Natty:
Report link

Thank you everyone for your help. I agree that it's too much hassle to worry about the nitpicky small segments so I'm going to skip that for now. Cheers.

library(sf)
library(dplyr)
library(lubridate)
library(geosphere)


process_gpx <- function(gpx_path, polygons) {
  gpx <- read_sf(gpx_path, layer = "track_points") %>%
    st_transform(st_crs(polygons)) %>%
    arrange(time)
  
  gpx_joined <- st_join(gpx, polygons, join = st_within)
  
  gpx_joined <- gpx_joined %>%
    group_by(SiteName) %>%  # Replace with your polygon ID column
    mutate(
      next_time = lead(time),
      next_geom = lead(geometry),
      time_diff = as.numeric(difftime(next_time, time, units = "secs")),
      dist_m = geosphere::distHaversine(
        st_coordinates(geometry),
        st_coordinates(next_geom)
      )
    ) %>%
    filter(time_diff <= 90) %>%
    summarise(
      total_time_sec = sum(time_diff, na.rm = TRUE),
      total_distance_m = sum(dist_m, na.rm = TRUE),
      .groups = "drop"
    )
  
  gpx_joined$file <- basename(gpx_path)
  return(gpx_joined)
}


# Load your polygons
polygons <- st_read("try1/polygons_combo.shp")

# List all GPX files
gpx_files <- list.files("try1/gpx/", pattern = "\\.gpx$", full.names = TRUE)

# Process each file
results <- lapply(gpx_files, process_gpx, polygons = polygons)

# Combine into one data frame
final_summary <- bind_rows(results)

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

79749624

Date: 2025-08-28 21:37:08
Score: 0.5
Natty:
Report link

Well go figure after fighting this all day... five minutes after posting here I tried a different control character removing idea, and this time it worked.

The working command was: tr -d '[:cntrl:]' added right after the fzf command.

Many others like tr -dc '[:alnum:]\n\r' and some using awk/sed/etc also did not work.

Reasons:
  • Blacklisted phrase (1): did not work
  • Whitelisted phrase (-1): it worked
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Wisteso

79749619

Date: 2025-08-28 21:30:06
Score: 0.5
Natty:
Report link

Expanding on the answer from @Guillaume.

How does one see what that request looks like?

From what I have seen Postman doesn't include a way to see what this request looks like, so you will have to use a third-party tool. I used Progress Telerik Fiddler, clicking the "Any Process" button at the top and dragging it to my Postman window. This will allow you to view the requests sent by that specific process, capturing the header, query parameters, etc. If you double-click on a request, you will see tabs to view the Headers, TextView, etc., though you may need to play around to understand exactly what it is doing.

Are these parameters (client id, client secret, etc.) placed in a POST body? What are the headers?

For OAuth 2.0, the client id and client secret are sent as a base64 encoded, colon (:) delimited Key-Value pair. For example, if your client id is "MyClientID" and your client secret is "MyClientSecret", you would put the two values together to be, "MyClientID:MyClientSecret", then the value is base64 encoded, and you would provide a header with the Key "Authorization" and a value of "TXlDbGllbnRJRDpNeUNsaWVudFNlY3JldA==".

For other parameters, such as "grant_type" and "scope", these are provided as part of the POST body, but if you were looking at the Fiddler results, it may not be clear what format is used for the POST body that Postman is sending. It turns out that (for v11.60.3) Postman uses the "x-www-form-urlencoded" format for sending OAuth 2.0 token requests.


Example OAuth 2.0 Request Results from Fiddler:

Headers:

POST /oath/token HTTP/1.1
Cache
    Cache-Control: no-cache
Client
    Accept: */*
    Accept-Encoding: gzip, deflate, br
    User-Agent: PostmanRuntime/7.45.0
Cookies
    Cookie
        PreventSameSiteRedirect=abcd1234-ab12-ab12--ab12-abcdef123456
Entity
    Content-Length: 136
    Content-Type: application/x-www-form-urlencoded
Miscellaneous
    Postman-Token: abcd1234-ab12-ab12-ab12-abcdef123456
Security
    Authorization: Basic TXlDbGllbnRJRDpNeUNsaWVudFNlY3JldA==
Transport
    Connection: keep-alive
    Host: my.webhost.com

TextView

grant_type=client_credentials&scope=my.webhost.com/scope.readonly

Example cURL code snippet for the above request (x-www-form-urlencoded):

curl --location 'https://my.webhost.com/oauth/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Basic TXlDbGllbnRJRDpNeUNsaWVudFNlY3JldA==' \
--header 'Cookie: PreventSameSiteRedirect=abcd1234-ab12-ab12-ab12-abcdef123456' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'scope=my.webhost.com/scope.readonly'

Example cURL code snippet for the above request (application/json):

curl --location 'https://my.webhost.com/oauth/token' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic TXlDbGllbnRJRDpNeUNsaWVudFNlY3JldA==' \
--header 'Cookie: PreventSameSiteRedirect=abcd1234-ab12-ab12-ab12-abcdef123456' \
--data '{
    "grant_type": "client_credentials",
    "scope": "my.webhost.com/scope.readonly"
}'
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Guillaume
  • Low reputation (0.5):
Posted by: Spazmoose

79749611

Date: 2025-08-28 21:23:04
Score: 2.5
Natty:
Report link

I used to do the same thing and it doesn't work for me anymore, either.

Caveats:

  1. I use Code - Insiders so some of my options may look a litte different.
  2. I'm all but certain that this is the result of multiple changes (in VS Code), not one change.
  3. I haven't yet found the magic combination to re-enable the feature.

Keyboard shortcut changes

Some of the changes are in the keyboard shortcut assignments: ctrl+k, ctrl+s. I'm all but certain that some changes were due to necessary changes in the Copilot Chat interface. I tried to restore shortcuts like ctrl+enter to send to terminal or interactive window, but the changes I made Chat much more difficult, so I reverted the changes.

REPL destinations

I'm not certain of the correct terminology here, so watch out for ambiguities. As far as I can tell, when sending a selected line to an REPL, there are at least two possible destinations, maybe three destinations, or depending how you count destinations, then maybe dozens of destinations. The two main destinations are Terminal and Interative Window.

Terminal

My terminal of choice is cmd, not PS, but I think we can validly describe both as "terminal" and include all other terminal options in your environment. I remember that my "send selected code to" somewhere commands used to go to the REPL of the configured venv. I remember that one day it started sending everything to an Interactive Window. I clearly remember not being able to figure out what changed, but I liked the interactive window more, so I didn't try to switch back. Terminal has gone through a lot of changes--due to Copilot. Some of those changes could have affected the default behavior of "send to terminal."

I have vague memories of many different enhancements to Terminal that give the user many more options. But, I have ignored them because I've been using cmd since MS-DOS 5: "Don't change my cmd! Your PS is BS! And stay off my lawn!" I've been overly resistant to change in this area. Nevertheless, I wonder if some of the enhancements changed the default behavior of "send to REPL", but you can get the feature back if poke around in the 8900 terminal options. (The phrase "dedicated terminal" just popped into my head: maybe that's the way to get what you want. One thing I didn't like about REPL in terminal is that VS Code would send REPL statements and py -m ... commands to the same terminal: if the terminal was in REPL mode, the py -m ... command wouldn't work of course.)

Interactive window

At some point, there were certainly at least two distinct options for Interactive window.

  1. I don't remember what they were. (But one of them might have been a Jupyter kernel.)
  2. I remember thinking, "I know what option A is, but I don't really understand option B." So, I picked option A.
  3. Option B may still exist somewhere, but at some point, the setting to choose between A and B went away and option A is the default. (I am pretty sure this is related to Copilot again. Autocomplete and Copilot features were not always available in the Interactive window, but after option A became the default, autocomplete (Python language server, I think) and Copilot features steadily became more available.
  4. The Interactive window is certainly tied to Jupyter and kernels. No kernel, no interactive window. So,... lots of kernels and lots of Jupyter options means lots of Interactive window options and settings???

In total, the many changes to Interactive window had some major effects on my usage:

  1. For a couple of months, I never used "send to REPL", whether it was terminal or Interactive window.
  2. Recently, I have started using "send file to Interactive window.
  3. I have not put much effort into finding the "send selection to REPL", but I certainly have not seen the option or I would have used it again.
Reasons:
  • Blacklisted phrase (1): ???
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: hunterhogan

79749609

Date: 2025-08-28 21:22:04
Score: 1.5
Natty:
Report link

It should not have to do an additional sort as "bin" comes in order:

for (let bin of [1, 2, 3]) {
  for (let gender of ["M", "F"]) {
    for (let age of [20, 30]) {
      for (let loc of ["NY", "LA"]) {
        for (let i = 0; i < 3; i++) {
          db.users.insertOne({ bin, gender, age, location: loc, name: `User_${bin}_${gender}_${age}_${loc}_${i}`
          })
        }
      }
    }
  }
}

db.users.createIndex({
  bin: 1, gender: 1, age: 1, location: 1
})

db.users.find({
  bin: { $in: [1, 2, 3] },
  gender: "M", age: 20, location: "NY"
}).sort({ bin: 1 }).explain("executionStats").executionStats

One IXSCAN with seeks and no SORT:

{
  executionSuccess: true,
  nReturned: 9,
  executionTimeMillis: 1,
  totalKeysExamined: 14,
  totalDocsExamined: 9,
  executionStages: {
    isCached: false,
    stage: 'FETCH',
    nReturned: 9,
    executionTimeMillisEstimate: 0,
    works: 14,
    advanced: 9,
    needTime: 4,
    needYield: 0,
    saveState: 0,
    restoreState: 0,
    isEOF: 1,
    docsExamined: 9,
    alreadyHasObj: 0,
    inputStage: {
      stage: 'IXSCAN',
      nReturned: 9,
      executionTimeMillisEstimate: 0,
      works: 14,
      advanced: 9,
      needTime: 4,
      needYield: 0,
      saveState: 0,
      restoreState: 0,
      isEOF: 1,
      keyPattern: { bin: 1, gender: 1, age: 1, location: 1 },
      indexName: 'bin_1_gender_1_age_1_location_1',
      isMultiKey: false,
      multiKeyPaths: { bin: [], gender: [], age: [], location: [] },
      isUnique: false,
      isSparse: false,
      isPartial: false,
      indexVersion: 2,
      direction: 'forward',
      indexBounds: {
        bin: [ '[1, 1]', '[2, 2]', '[3, 3]' ],
        gender: [ '["M", "M"]' ],
        age: [ '[20, 20]' ],
        location: [ '["NY", "NY"]' ]
      },
      keysExamined: 14,
      seeks: 5,
      dupsTested: 0,
      dupsDropped: 0
    }
  }
}

If you have something different, please share your execution plan

Reasons:
  • RegEx Blacklisted phrase (2.5): please share your
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: FranckPachot

79749593

Date: 2025-08-28 21:02:59
Score: 2.5
Natty:
Report link

I know this is an old question, but I implemented this way of getting track info into PawTunes player, also I've added a "concept" that allows real time icy meta reading in javascript. It's buggy because I haven't had the time to actually complete it.

See here:
JS way: https://github.com/Jackysi/PawTunes/blob/master/src/player/ts/html5-audio-mse.ts
PHP: https://github.com/Jackysi/PawTunes/blob/master/inc/lib/PawTunes/StreamInfo/Direct.php

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

79749587

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

Tried one more thing and stumbled across the answer.

Apparently the elevated "data" label was telling me something, and I can get to the value I want like this:

z1means['data'][80]

80.045247

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Brian A. Henning

79749586

Date: 2025-08-28 20:55:56
Score: 0.5
Natty:
Report link

I have a specific case here. I need to pull in network files to copy locally, and I wanted to use a specific drive letter. But what if that drive is already in use? What if all of my choices are in use?

My solution looks for an existing drive letter, skips it if it is in use, and if the drive is not in use, goes to the net use command to make the drive letter available for the rest of the longer script. I know it might not be elegant but it does the job. If all the letters specified are taken, the program exits.

cls
@echo off
cls
echo.
echo.
:TestW
IF EXIST w:\ (goto TestX) ELSE (goto close1)

:TestX
IF EXIST x:\ (goto TestY) ELSE (goto close2)

:TestY
IF EXIST Y:\ (goto failed) ELSE (goto close3)
    

:close1
echo.
net use w: \\wshd\hd\Office\OfficeUninstall\SARAOfficeRemoval\ 
echo Drive W: has been created.
goto End

:close2
echo.
net use X: \\wshd\hd\Office\OfficeUninstall\SARAOfficeRemoval\ 
echo Drive X: has been created.
Goto End

:close3
echo.
net use Y: \\wshd\hd\Office\OfficeUninstall\SARAOfficeRemoval\ 
echo Drive Y: has been created.
Goto End

:failed
cls
echo Drives W, X, and Y are all unavailable. End Program.
Exit

:End
echo Closing program....
pause
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: JimC

79749584

Date: 2025-08-28 20:54:56
Score: 0.5
Natty:
Report link

This was a headscratcher for us.

The transactions with "delete from x where x.y is less than N" were simply too much, even when limiting the delete - we were constantly running into concurrency issues with ongoing traffic, clogging of the DB etc.

What worked out the best for us was a solution where:

  1. Run deleting in night hours when the traffic is not that huge

  2. Instead of "delete from x where x.y < N", we ran 2 queries in loop
    - "select id from x where x.y < N"
    - "delete from x where id in M" (M from previous query)

I do not remember specifics about this type of deleting,
but it was much more performant,
and it wasn't causing as much concurrency issues with ongoing traffic

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

79749582

Date: 2025-08-28 20:50:54
Score: 6.5
Natty: 5
Report link

Hello I have found this video that may explain how to get web driver path to work.

https://www.youtube.com/watch?v=jG25cv3jKzo&list=PL4GZKvvcjS3sRKidOUNVQSR3aq7TEQglp&index=2

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Tam Nguyen

79749568

Date: 2025-08-28 20:37:51
Score: 2.5
Natty:
Report link

No. The supported platforms are Windows and Linux for this project type.

MacOS is not supported as of Delphi 12.3

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

79749565

Date: 2025-08-28 20:31:49
Score: 2
Natty:
Report link

We experienced this error because the account was suspended due to unpaid invoices. Once our card was updated it worked.

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

79749563

Date: 2025-08-28 20:30:49
Score: 1
Natty:
Report link

You can access an object's attributes as a dictionary with obj.__dict__

List attributes of an object

obj = MyClass()

fds=['a','b','c']

for i in fds:
  attribute_name = f"{i}"
  setattr(obj, attribute_name, [f"{i}"])
  print(obj.__dict__[attribute_name])
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Richard

79749552

Date: 2025-08-28 20:17:45
Score: 3
Natty:
Report link

That's the reality of interacting with ERC-20 tokens and you are doing this correctly using parseUnits and formatUnits functions.

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

79749550

Date: 2025-08-28 20:14:44
Score: 2
Natty:
Report link

I am getting an error TypeError: ClientContext.with_client_certificate() missing 2 required positional arguments: 'client_id' and 'thumbprint''

It appears cwert_settings Dict has two args(str, str)

Here is my line of code:

ctx = ClientContext(url).with_client_certificate(cert_settings)
Reasons:
  • RegEx Blacklisted phrase (1): I am getting an error
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: karla fliger

79749548

Date: 2025-08-28 20:13:44
Score: 0.5
Natty:
Report link

You’re essentially looking at parsing EDI into JSON so that it’s easier to work with programmatically before you transform it into XML or another EDI format. The key thing to keep in mind is that EDI messages (like X12 or EDIFACT) are segment-based and hierarchical, whereas JSON is naturally key-value and nested.

To achieve what you want, the typical flow looks like this:

  1. Parse the EDI file – Break down the EDI message into segments, elements, and sub-elements. This requires an EDI parser or library, because EDI isn’t a flat text file—it has delimiters and compliance rules.

  2. Convert parsed EDI to JSON – Once parsed, you can serialize the EDI structure into JSON. Each segment becomes an object, and elements/sub-elements become fields within it. For example, an EDI ISA segment might become a JSON object with properties like ISA01, ISA02, etc.

  3. Apply transformations – After you have JSON, it’s straightforward to map it into user-defined XML or even back to another EDI standard by applying rules. At this stage, you don’t need “mapping tools” if you just want to restructure—it can be done with normal JSON processing libraries in your programming language.

So in short:

If you don’t want to build the parsing logic from scratch, look into existing EDI parsers for your language (for example, Python has bots and pyx12, Java has Smooks, .NET has EdiFabric, etc.). These tools already understand segment delimiters and compliance rules.

👉 For a deeper dive into how EDI structures work and why formats like JSON and XML are often used as “intermediaries,” you may find this guide helpful: https://www.commport.com/edi-to-json/?highlight=json

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anoop Suresh

79749505

Date: 2025-08-28 19:25:32
Score: 5
Natty:
Report link

Thank you, this approach worked

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Сер За

79749502

Date: 2025-08-28 19:23:30
Score: 10.5
Natty: 7
Report link

Did you manage to solve this problem?

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to solve this problem
  • RegEx Blacklisted phrase (1.5): solve this problem?
  • 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
  • Low reputation (0.5):
Posted by: Samuel Luis dos Santos

79749495

Date: 2025-08-28 19:11:27
Score: 5.5
Natty: 7
Report link

but the QR code is still growing and it changes it´s size, how can I give the QR code a size that´s always the same, no matter the amount of information?

Reasons:
  • Blacklisted phrase (0.5): how can I
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Horacio Ramos