79640306

Date: 2025-05-27 10:46:18
Score: 3.5
Natty:
Report link

Athena does not support inserting into bucketed tables.

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

79640300

Date: 2025-05-27 10:42:17
Score: 3
Natty:
Report link

My goal is to only allow authenticated users from my Azure AD tenant to access the API and keep below setting

Even I have tried to use both Allow authenticated users from Azure AD tenant to access the API and the Require authentication option in Azure Web App but getting the same error.

Easy Auth generates a token, and we are also manually generating a token using AddMicrosoftIdentityWebApi and [Authorize]. These two tokens might be causing a conflict.

So, you can choose either one of the Authentication methods Easy Auth or Azure AD Authentication.

If you use Easy Auth, to access api/controller endpoint, follow below steps:

enter image description here

enter image description here

enter image description here

If you want full control over authentication inside your ASP. NET app use Azure Ad Authentication.

Reasons:
  • RegEx Blacklisted phrase (2): Even I have
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): getting the same error
Posted by: Aslesha Kantamsetti

79640297

Date: 2025-05-27 10:39:16
Score: 0.5
Natty:
Report link

You can use std::shared_mutex and std::shared_lock to lock only when writing, allowing reading from multiple threads simultaneously [Shared mutex][Shared lock] .

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: PredaWnia

79640296

Date: 2025-05-27 10:39:16
Score: 1
Natty:
Report link

So the thing I found out is that the footer had to be included for this to work, I suspect this is due to the page loading to fast and not picking up the script, or it may be due to the footer being mandatory I am not sure.

Adding this to any page that didn't have the footer solves the issue:

{% block footer %}
<div class="d-none">
  {% include "footer.html" %}
</div>
{% endblock %}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: TheMorningStar

79640294

Date: 2025-05-27 10:37:15
Score: 4
Natty:
Report link

@Surya answer helped me. I enered it without storeEval, just

"${LastGroup}".split(" ")[0]
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • User mentioned (1): @Surya
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Jevanđel Đurić

79640282

Date: 2025-05-27 10:32:13
Score: 1
Natty:
Report link

I'd like to make mention of the useful "jsonrepair" npm library. It solves a number of issues with unparsable JSON, including control characters as presented in this issue:

import { jsonrepair } from 'jsonrepair';

let s = '{"adf":"asdf\tasdfdaf"}';
JSON.parse(jsonrepair(s));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: weaponforge

79640261

Date: 2025-05-27 10:19:09
Score: 1.5
Natty:
Report link
const { randomUUID } = require(‘crypto’);
console.log(randomUUID());
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aliday K

79640243

Date: 2025-05-27 10:09:06
Score: 1
Natty:
Report link

error: could not receive data from server: Socket is not connected (0x00002749/10057) or this type of issue.

solution : firewall or anti virus blocking the port 5432. You can change the port no in which is unblock.

Disable anti virus if you can.

In my case my organisation use custom firewall i requested the head to inform the firewall team to unblock the some ports including 5432 port on developer IP . every one facing this issue for long time even my head facing the issue when i discus then it come in knowledge.

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

79640241

Date: 2025-05-27 10:07:05
Score: 1
Natty:
Report link

I ran into a similar issue with Android Studio 2024.2.1 and fixed it by pointing Flutter to JDK 11 manually. This command solved the problem for me:

flutter config --jdk-dir "C:\Program Files\Java\jdk-11"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mohamed ali Adweni

79640237

Date: 2025-05-27 10:04:04
Score: 0.5
Natty:
Report link

AFAIK, the approach of removing the group from the IAM permissions on the Redis resource to restrict access to the Redis console is correct.

If you want to restrict a user, service principal or managed identity from executing specific commands in the Redis Cache Console, you can create a custom data access policy that limits allowed commands (e.g., +get, +set, +cluster|info).

To create a custom access policy, open your Redis Cache instance in the Azure portal, go to Data Access Configuration, click on New access policy, and specify the permissions according to your requirements.

enter image description here

I have assigned a read-only custom access policy to the user with the following permissions: +@read +@connection +cluster|info +cluster|nodes +cluster|slots ~*. enter image description here

After that, I assigned the created custom access policy to the user.

enter image description here

Reference: learn.microsoft.com/en-us/azure/azure-cache-for-redis/…

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

79640236

Date: 2025-05-27 10:04:04
Score: 3
Natty:
Report link

try this, maybe this website will help you

https://hubpanel.net/blog/receive-emails-and-forward-them-to-rest-apis-with-email-webhooks

Reasons:
  • Whitelisted phrase (-1): try this
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: K0il

79640223

Date: 2025-05-27 09:56:02
Score: 2.5
Natty:
Report link

use react-native-fast-image and use FastImage component to preload image it will reduce the flickering issue and improve Ui UX

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

79640217

Date: 2025-05-27 09:54:01
Score: 1
Natty:
Report link

Sneaky issue: if you have a file named chatterbot.py you also see this issue. Had the same issue, found the solution on Github.

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

79640214

Date: 2025-05-27 09:52:00
Score: 2.5
Natty:
Report link

I found that I can use decorators to archive partially what I'm looking for.

Using a solution similar to this answer (https://stackoverflow.com/a/2575999/), I can show in Sphinx docs the values instead of the variable names.

def fixdocstring(func):
  
    constants_value = [..., constants.WIDTH, ...]

    for i in range(len(constants_name)):
        func.__doc__ = func.__doc__.replace("constants."+constants_name[i],str(constants_value[i]))

And use it in the functions that I want to change.

@fixdocstring
def train_network(...)
"""
...

Args:
    width (int):
        Width of the network from which the images will be processed. Must be a multiple of 32. The default is constants.WIDTH.
"""

In Sphinx docs: Result

Unfortunately, this is not recognized by Intellisense in VSCode.

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

79640211

Date: 2025-05-27 09:51:00
Score: 3
Natty:
Report link

Try to type Colaboratory in the search bar at the Connect more apps step:

enter image description here

then connect the Colaboratory app to google drive

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

79640196

Date: 2025-05-27 09:42:57
Score: 2
Natty:
Report link

It can't be done, Because it need AccessDatabase 32-bit but now AccessDatabase 2016 only avalible with 64-bit without 32-bit.

My Solution to your problem Don't extract source file from Excel, Turn it into csv format and extract this data by using flat file source. It will Run.

Best of Luck

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

79640187

Date: 2025-05-27 09:36:56
Score: 2.5
Natty:
Report link

This will do the trick:

  <Tabs.Screen
      name="your/route/to/hide"
      options={{
          href: null,
      }}
  />

https://docs.expo.dev/router/advanced/tabs/#advanced

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

79640186

Date: 2025-05-27 09:35:56
Score: 2
Natty:
Report link

For Android, Kotlin is the best choice right now since it’s Google’s official modern language ,cleaner and easier than Java, but you can still use Java if needed. If you want to build apps for both Android and iOS, you might also consider learning Flutter (Dart) or React Native (JavaScript), which let you create apps for both platforms with one codebase. But if you want to focus solely on Android, Kotlin is the way to go

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

79640180

Date: 2025-05-27 09:31:51
Score: 8 🚩
Natty:
Report link

As of now I have got this much of the details on this topic, @jems I do not have Red Hat account does this required subscription or something?

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @jems
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: D_J

79640178

Date: 2025-05-27 09:31:51
Score: 0.5
Natty:
Report link

Try decorating your controller actions with EndpointSummary attribute.

Because using Route attribute actually changes the route, and it is not to change the label on Swagger (or Scalar in my case). The URLs for your actions also change according to Route attribute.

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

79640177

Date: 2025-05-27 09:31:51
Score: 3
Natty:
Report link

The --release flag is only supported starting from JDK 9. You're using the JDK 8 variant of the Maven Docker image

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

79640169

Date: 2025-05-27 09:26:49
Score: 0.5
Natty:
Report link

Hi use this it should resolve your error.

@rx.event
def confirm(self):
    self.did_confirm = True
    import json
    with open("x.json", mode='w') as h:
        h.write(json.dumps({
            "word1": StateA.value.get_value(),
            "word2": StateB.value.get_value(),
        }))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mani

79640167

Date: 2025-05-27 09:26:49
Score: 1
Natty:
Report link

Your code is working fine. Just need simple modification.

def cashflow_series(ch1=1, ch2=2):
    return {0: ch1, 0.5: ch2, 1: 7, 2: 8, 3: 9}

df = df.assign(cashflows=lambda x: x.apply(lambda row: cashflow_series(ch1=row['Characteristic1'], ch2=row['Characteristic3']), axis=1))

print(df.to_string())
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Muideen

79640165

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

The TYPO3 extension "TYPO3-Backend-Cookies" has a v11 branch: https://github.com/AOEpeople/TYPO3-Backend-Cookies/tree/TYPO3-11

It's a successor to the "Backend cookies" extension that was available for TYPO3v4.

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

79640156

Date: 2025-05-27 09:15:46
Score: 4
Natty: 5.5
Report link

I might be misunderstanding what exactly an autocomplete suggestion is, but Daniel's answer unfortunately did not work for me. For me, removing the up and down arrows from triggering "selectNextSuggestion" and "selectPrevSuggestion" works.

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jakub

79640155

Date: 2025-05-27 09:14:46
Score: 2
Natty:
Report link

Since PECL ssh2 1.0 there is now a command ssh2_disconnect() that closes the connection.

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

79640154

Date: 2025-05-27 09:14:46
Score: 2
Natty:
Report link

In case anyone was using ipython, make sure to pip install ipython and make sure it is up-to-date before executing import commands with psycopg

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

79640152

Date: 2025-05-27 09:11:45
Score: 1.5
Natty:
Report link
I have found the solution. The interface is defined via conf.iface. So thats now the correct code: 

ip = IPv6(src=localIpv6 , dst = dstIpv6)
tcp = TCP(sport = localPort, dport = port, flags = "S")
raw = Raw(b"x" * size)
packet = ip / tcp / raw
conf.iface = "eth0"

send(packet, verbose = True) 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: IceLove

79640151

Date: 2025-05-27 09:11:45
Score: 0.5
Natty:
Report link

my code is:

from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.support.ui import WebDriverWait, Select
from selenium.webdriver.support import expected_conditions as EC
import time
url = 'https://www.nepremicnine.net/'
options = webdriver.ChromeOptions() 
service = Service() #Service('path/to/chromedriver') #Service()  # Optional: 
driver = webdriver.Chrome(service=service)
driver.get(url)
btn1 = driver.find_element(By.ID, "CybotCookiebotDialogBodyButtonAccept")
btn1.click()
all_cookies = driver.get_cookies()
for cookie in all_cookies:
    print(f"Name: {cookie['name']}, Value: {cookie['value']}")

time.sleep(5)
src_btn = WebDriverWait(driver,10).until(EC.element_to_be_clickable((By.XPATH, "//a[@class='gumb potrdi']")))
src_btn.click()

time.sleep(200)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rok Golob

79640122

Date: 2025-05-27 08:52:40
Score: 0.5
Natty:
Report link

Partially possible, use flutter_local_notifications to schedule or update notifications based on a timer.

For background updates on Android, use workmanager or android_alarm_manager_plus

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

79640117

Date: 2025-05-27 08:50:39
Score: 4.5
Natty: 8
Report link

THIS IS A GENERAL QUESTIONS REGARDING PYTHON VERSION VISE VERSA ....

WHY WE NEED TO UPDATE THE REQUIREMENTS EVERYTIME CAN'T WE DEFINE THE VERSION NOS.. AND CAN PROCEEED WITH THE SAME WHAT WE DID IN OLDER VERSION??

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: CHANDAN TIWARY

79640112

Date: 2025-05-27 08:46:38
Score: 0.5
Natty:
Report link

Not sure if this is the problem in your case, but I've seen this error when debugging in Visual Studio Code on Windows 11. It hits the error when importing python libraries. I found copies of the libraries were installed in the visual studio extensions folders: "C:\Users\[username]\.vscode\extensions\". I just deleted all files under this folder. When I opened Visual Studio Code it prompted me to reinstall the deleted Python extensions, which I did, and the problem was resolved. A clean un-install and re-install of the Python extensions would probably work too.

Reasons:
  • Whitelisted phrase (-1): in your case
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lucas Smith

79640109

Date: 2025-05-27 08:45:36
Score: 6 🚩
Natty: 5.5
Report link

Any chance with this issue please ?

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

79640107

Date: 2025-05-27 08:44:36
Score: 0.5
Natty:
Report link

I have solved a similar request by cross blending the data source with itself and adding 2 fields for comparision:

  1. textDate (table 1)  = TODATE(date,"%Y-%m-%d","%Y-%m-%d")
    
  2. maxDate (table 2) = TODATE(MAX(date),"%Y-%m-%d","%Y-%m-%d")
    
    

    then to get the balance for the latest date:

  3. SUM(IF(textDate = maxDate, balance,0))
    

enter image description here
enter image description here
enter image description here
enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-2): I have solved
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Steve Gulloni

79640100

Date: 2025-05-27 08:39:35
Score: 0.5
Natty:
Report link

If you are streaming data into BigQuery using the Java `insertAll` method, it should be available almost immediately after insertion. You might run into some lag when trying to access the data through queries. This is likely because of consistency delays or other factors related to how your table is set up and partitioned.

In cases where your table is partitioned by ingestion time (_PARTITIONTIME), new rows may not be visible when applying a filter for specific dates. This is particularly true for fresh data. Even though BigQuery streaming inserts have low latency, brief periods can still occur before data can be queried.

Here's what you can do:

  1. Verify that your table is partitioned and that you are querying the correct partition.

  2. Consider running your query without the partition filter to check whether or not the data is there.

  3. Make sure you use the INFORMATION_SCHEMA views to check for latency associated with the streaming buffer.

  4. Review your inserting logic to confirm that there are no errors being surfaced (your logic is alright at the moment).

If you are looking for seamless and effortless data streaming as well as integration with BigQuery, you can take a look at the Windsor.ai ETL platform.

Here are the benefits that come with Windsor:

Reach out to me if you need help with this!

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

79640093

Date: 2025-05-27 08:33:32
Score: 2
Natty:
Report link

I can't see the Dom given your snippet for only the webpage , but i believe you're using .click() on the xpath and there must be an iframe which you need to switch to first and then click using the xpath.

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

79640091

Date: 2025-05-27 08:32:32
Score: 3
Natty:
Report link

If you want a draggable and resizable feature on shape by Adorner, you can try nuget pack:
https://www.nuget.org/packages/Hexagram.WPF.Transform/

and the source code could be found here:
https://git.ourdark.org/ourdark/hexagram.wpf.transform#

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

79640090

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

Just type the following in a command prompt:

pip uninstall numpy

Pip might ask you:

Proceed (y/n)?

You just type y, and it will uninstall. Then you type:

pip install numpy

It should work, as pip fetches the latest version of a package.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: A. Singh

79640087

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

With postgres 18+:

INSERT INTO chats ("user", "contact", "name") 
           VALUES ($1, $2, $3), 
                  ($2, $1, NULL) 
ON CONFLICT("user", "contact") DO NOTHING
RETURNING old.id;
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: milan

79640085

Date: 2025-05-27 08:30:31
Score: 0.5
Natty:
Report link

A draft specification exists specifically for this: Semantic Markdown.

An implementation of the draft spec is currently in development by me: sem-md, as a filter extension for Pandoc, usable also with the very nice Pandoc wrapper framework Quarto.

Currently, sem-md only suppresses annotations in output rendering (and currently doesn't even do that reliably, but works for some types of annotations) so is usable for writing some annotations that are kept with source but is hidden from output rendering.

It is planned to extend the filter extension to render metadata for the target document formats html (as RDFa) and PDF (as XMP, only document-wide at first).

Until sem-md has matured, I can recommend to use Markdown processors that support the header-attributes extension to the Markdown language, and then add tags using CSS classes or identifiers inside braces.

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

79640074

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

I think these are 2 conflicting ways of handling authentication and is causing the issue. Either use JWT authentication or use easy authentication with AAD. App service does not send you the JWT token that your API requires so even if you do authenticate via easy auth, its still unauthorized because there is no JWT token in you header forwarded from app service. If you still want to have 2 levels of authentication then you have to inspect the header for the principal details (ms-client-principal) that's forwarded by your app service. So to summarize :

Option 1

Remove your JWT auth on your API level and use easy authentication with ADD to handle everything for you.

Option 2 (I don't recommend this)

Keeping your double authentication layers and instead of using JWT tokenization you inspect the header forwarded by app service for claim details

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

79640054

Date: 2025-05-27 08:11:26
Score: 0.5
Natty:
Report link

I had the same issue when importing data from a.csv file using pandas.

I extracted the data, which gave me a list of lists.

I merged the list of lists into a list and it worked.

The code is below :

a = df.loc[df['a'] == 0, ['a']].values
a= list(itertools.chain.from_iterable(a))

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Lecureilfou

79640049

Date: 2025-05-27 08:09:25
Score: 1
Natty:
Report link
//Add event OnMouseDown 


 private void DataGridView1_MouseDown(object sender, MouseEventArgs e)
  {
      if ((Control.ModifierKeys & Keys.Control) == Keys.Control)
      {
          DataGridView1.ClearSelection();  
      }

  }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Алексей Жигульский

79640037

Date: 2025-05-27 08:05:23
Score: 2
Natty:
Report link

You can do this with sed:
sed '/actual/{p;s/actual/future/g;}' pg_hba.conf

Once you have checked that the output is good, just add -i to write to file:
sed -i '/actual/{p;s/actual/future/g;}' pg_hba.conf

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

79640036

Date: 2025-05-27 08:04:23
Score: 1
Natty:
Report link
// For eslint version 9+

`
...
  {
    files: ['**/*.ts'],
    rules: {
       "your-cool-rule": "error"
    }
  }
...
`
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Roman Diez

79640029

Date: 2025-05-27 08:01:22
Score: 3
Natty:
Report link

Check your proxy, make sure it's turned off

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

79640020

Date: 2025-05-27 07:54:20
Score: 3.5
Natty:
Report link

It appears true is deprecated as a value, with "explicit" as its direct replacement. Refer to the first answer in this issue in VSCode's repo - https://github.com/microsoft/vscode/issues/200802#issuecomment-1856322460

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

79640014

Date: 2025-05-27 07:48:18
Score: 2
Natty:
Report link

Check your @types/react version, it's probably @18.x.x . Just stumbled upon the same issue, and after the npm i --force @types/[email protected] it updated everything else flawlessly.

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

79640006

Date: 2025-05-27 07:45:17
Score: 4
Natty:
Report link

you need settings custom mapper, in client scope settings
https://www.keycloak.org/docs/latest/server_admin/index.html#_client_scopes

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

79639978

Date: 2025-05-27 07:24:11
Score: 2
Natty:
Report link

Since Neo4j/APOC 5.0 plugin config items are no longer allowed in neo4j.conf, so all APOC config must be in a file named apoc.conf, in the same directory as neo4j.conf. See the APOC docs for more info and some more options with setting the config :)

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

79639970

Date: 2025-05-27 07:17:09
Score: 1
Natty:
Report link

1. Use a "Monorepo" for Similar Projects

If you want to group related projects (e.g., all Flask apps or all data analysis notebooks), you can:

Create one new repo for the category (e.g., data-analysis-projects).

Inside it, create folders for each project:

data-analysis-projects/

├── project-1/

├── project-2/

└── project-3/

Push this as a single repository.

2. Maintain Separate Repos + Create a "Portfolio" or "Index" Repo

Keep individual repos as-is and:

Create a new repository called something like project-index, my-projects, or portfolio.

In its README.md, organize links by category:

## Data Analysis

- [EDA on Titanic Dataset](https://github.com/yourusername/titanic-analysis)

- [Pandas Exercises](https://github.com/yourusername/pandas-exercises)

## Web Development

- [Flask Blog App](https://github.com/yourusername/flask-blog)

- [HTML & CSS Basics](https://github.com/yourusername/html-css-site)

This way, visitors can navigate your projects easily.

3. Use Topics and Descriptions on Each Repo

Add topics (like python, flask, data-analysis) to your repositories.

You can then search or filter your repos via topics:

https://github.com/yourusername?tab=repositories&q=topic:data-analysis

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

79639966

Date: 2025-05-27 07:15:08
Score: 13
Natty: 7
Report link

I have exactly the same scenario as yours and I am stuck in the same issue as well. I have tried using broker logout approach. But still my broker logout call is not invoked and I get a page saying 'We are sorry....Page not found' every time i logout. Did you find any solution for this?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (1.5): I am stuck
  • RegEx Blacklisted phrase (3): Did you find any solution
  • RegEx Blacklisted phrase (2): any solution for this?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yogesh

79639953

Date: 2025-05-27 07:08:05
Score: 1
Natty:
Report link

To get started, you need to register your app in the Azure Portal, where you'll get a Client ID and set a redirect URI (for mobile, it’s usually a custom URI scheme like msal{clientId}://auth). For authentication, you should use platform-specific MSAL libraries:

For React Native, a good community-maintained option is react-native-msal.

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

79639952

Date: 2025-05-27 07:07:04
Score: 0.5
Natty:
Report link

Can you Add a lock around the publish call.

and Use an AsyncLock or a SemaphoreSlim to serialize access to the _channel:

private readonly SemaphoreSlim _vpublishLock = new(1, 1);

private async Task Publish<T>(T model, string _exchange, string _routingKey)
{
    await _vpublishLock.WaitAsync();
    try
    {
        if (_channel == null || _channel.IsClosed)
        {
            await Connect();
        }

        var properties = new BasicProperties();
        
        await _channel.BasicPublishAsync(_exchange, _routingKey, properties, body);
    }
    finally
    {
        _vpublishLock.Release();
    }
}

I hope this fix the issue.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): Can you Add a
  • Low reputation (1):
Posted by: Prishusoft

79639951

Date: 2025-05-27 07:06:04
Score: 1.5
Natty:
Report link

Instead of directly emitting the event, you can:

Write the event to an outbox table in the same DB transaction as the offer acceptance.

Use a separate background worker (or cron job, or queue processor) to read from the outbox and emit the event.

This way, events are only sent after the transaction is committed, ensuring consistency.

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

79639945

Date: 2025-05-27 07:01:03
Score: 3.5
Natty:
Report link

Actually, it is decided by the CMake Tools extension:

enter image description here

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

79639944

Date: 2025-05-27 07:01:03
Score: 2
Natty:
Report link

I found this issue on dotnet/efcore github:

https://github.com/dotnet/efcore/issues/33618

is it possible to store recursive data types as json column?

This is currently an open issue with type-bug so it seems that the answer is no.

It's also not planned for EF Core 10 (it's in backlog, so maybe 11)

Reasons:
  • Blacklisted phrase (1): is it possible to
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: MonstraG

79639943

Date: 2025-05-27 07:01:03
Score: 1.5
Natty:
Report link

GitHub does not support repository folders yet, even though the community has been asking for it for a long time.

The two main ways suggested are

None of these are exactly what you are looking for, but since that does not exist, you will have to wait a few more years or compromise.

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

79639935

Date: 2025-05-27 06:54:00
Score: 1.5
Natty:
Report link

BLR PST Exporter lets you convert PST files to EML, MSG or alternative formats using automation—much faster than handling everything by hand. Your personal data is protected as you move to Google Workspace and nothing about your emails, documents or folder layout changes.

By being both simple to use and effective, the program helps with handling both lots and little amounts of email messages. Managing a few emails or a much larger number of messages stays just as easy and efficient with BLR PST Exporter.

Most importantly, it offers complete safety, ease and guarantees no data will be lost during the migration—which is why it’s so suitable for anyone looking for a fast and safe PST transfer.

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

79639932

Date: 2025-05-27 06:52:59
Score: 2
Natty:
Report link

can you try create a new virtual environment with Python 3.11.4 and install poetry there

Reasons:
  • Whitelisted phrase (-2): can you try
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can you
  • Low reputation (1):
Posted by: Ro'hit Kp

79639927

Date: 2025-05-27 06:49:58
Score: 1.5
Natty:
Report link
DateMalformedStringException: Failed to parse time string (May 01, 2005, 0:00:00 AM) at position 22 (A): The timezone could not be found in the database in /var/www/ocl/ecommerce/vendor/magento/module-ui/Component/Form/Element/DataType/Date.php:180

I am getting above error while implementing the solution given above!

Reasons:
  • RegEx Blacklisted phrase (1): I am getting above error
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rishi Banka

79639916

Date: 2025-05-27 06:38:55
Score: 2
Natty:
Report link

login:1 Unchecked runtime.lastError: The message port closed before a response was received.Understand this error login:1 Unchecked runtime.lastError: The message port closed before a response was received.

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

79639915

Date: 2025-05-27 06:38:55
Score: 0.5
Natty:
Report link

use this command when you want to filter docker logs of container for a specific period of time (eg: you want file content since 2 hours)and output the content to a text file

docker logs --since "$(date -d '2 hours ago' +%Y-%m-%dT%H:%M:%S)" <container_name_or_id> >& logname.txt
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ravi

79639911

Date: 2025-05-27 06:35:55
Score: 1
Natty:
Report link

Maybe is the outside border or grid (or even the one who calls this control) the ones that need to Stretch horizontally. An easy way to try it is put different background colors to each level and try to make them HorizontalAlignment="Stretch" until you find who is not using the space.

I hope this helps.

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

79639907

Date: 2025-05-27 06:28:53
Score: 1.5
Natty:
Report link

I am working the same project to connect attendance device with laravel project, It is connected without comm-key but don't get user, some one suggested TADPHP lib buy that else not worked,

I have used LaravelZkteco lib it is connected, I can turn off the attednace maching by my laravel project but it don't get user data.

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

79639888

Date: 2025-05-27 06:11:48
Score: 1.5
Natty:
Report link

I think this is an expected behaviour.

The initialization using designated initializer does not use or consider the conversion operator A().

It’s going to directly search for a constructor of class A which in this case is ambiguous.

You may want to do a static cast when using brace initialization.

S s2{.a{static_cast<A>(b)}};

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

79639885

Date: 2025-05-27 06:07:45
Score: 1
Natty:
Report link

try modify artifactory\var\etc\system.yaml:463

from

jfconnect:
    enabled: true

to

jfconnect:
    enabled: false

I also encountered this problem yesterday and solved it in this way

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

79639884

Date: 2025-05-27 06:06:45
Score: 1.5
Natty:
Report link

Both suggestions are not extremely robust and viewed as tremendously weak on development.

Consider on researching and getting a full understanding on why they are weak.

Think about a scenario when the player switch videos aka going to one video to the next when the Windows Media Player actual abandons the fulls screen mode automatically which makes the player look like it turns the full screen mode on and off.

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

79639881

Date: 2025-05-27 06:04:44
Score: 4
Natty:
Report link

npm i ts-node-dev --save-dev

in package.json

in scripts

add this line "dev":"ts-node-dev src/main.ts"

i too facing same problem

this one worked for me

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): facing same problem
  • Low reputation (1):
Posted by: Hemanth Kumar

79639879

Date: 2025-05-27 06:02:43
Score: 4
Natty:
Report link

you can make your own whatsapp button easly on https://school.gideononline.nl/pop_up/whatsapp-icon.html. Here you get your own HTML and CSS code.

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

79639878

Date: 2025-05-27 06:01:42
Score: 2.5
Natty:
Report link
  1. Make sure that you open xcworkspace instead of xcodeproj. xcworkspace - contains information about pods.

  2. flutter clean

  3. flutter pub get

  4. cd ios; pod install

  5. The error all the same will be display

  6. Try to build. Build should be succeeded and the error disappear.

take a look at this blog as well - > https://medium.com/apparence/how-to-fix-no-such-module-flutter-error-in-xcode-d05931905def

Reasons:
  • Blacklisted phrase (1): this blog
  • Blacklisted phrase (0.5): medium.com
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dhananjay Patil

79639876

Date: 2025-05-27 05:58:42
Score: 1
Natty:
Report link
  1. Open the site.

  2. Press Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (Mac) to open DevTools.

  3. Go to the Console tab.

  4. Paste and hit enter the following :

    document.querySelectorAll('input').forEach(input => input.onpaste = null);

  5. Now try pasting again.

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

79639872

Date: 2025-05-27 05:55:41
Score: 3.5
Natty:
Report link

For -X=-X-1,X=-22 as calculated

X= -22 and -X=21

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

79639860

Date: 2025-05-27 05:39:36
Score: 2.5
Natty:
Report link

You can try using the BoldSign REST API to integrate eSignature functionality into your android application. While there’s no native Android SDK, you can generate signing links and load them in a WebView within the app to allow users to sign documents seamlessly inside the application.

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

79639858

Date: 2025-05-27 05:33:35
Score: 1.5
Natty:
Report link

Absolutely feel your pain. Migrating a large PowerBuilder app can feel like defusing a bomb while blindfolded. I’ve been in your shoes, and believe me, you're not alone.

You’re trying to preserve business logic built over decades while modernizing it to survive in today’s .NET Core ecosystem. Hats off to you for even starting. That takes guts.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Raj Kumar

79639855

Date: 2025-05-27 05:30:34
Score: 2.5
Natty:
Report link

why people telling to create new repo and organization, if we do ,play console start to Deny the url set on play console as the url will be change form https://accountName.github.io/projectName to https://myProject.github.io/

we have to stick the url set at play console .first comes app to be worked and hen admob. if we change url then how both url will work same i.e https://accountName.github.io/projectName and https://myProject.github.io/ ? infact this url https://myProject.github.io/ will not work at play console store list as it has not index file at that (https://myProject.github.io/ ) location

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): why
  • Low reputation (1):
Posted by: Vinubhai B. Parmar

79639850

Date: 2025-05-27 05:25:33
Score: 0.5
Natty:
Report link

you can use debugger; in your code

or

from your console: select the line number you want to break your code at, and then refresh it and it will be hit at it's execution.

debugger from the console

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

79639847

Date: 2025-05-27 05:23:32
Score: 0.5
Natty:
Report link

It worked with password enclosed with flower braces like as follows.

bcp "Database.dbo.Table" out "outputfile.txt" -w -S Server -U Username -P {{Ndar)at}

Enclosed with double quotes and doubling the braes as follows didn't worked.

"{{Ndar)at"
Reasons:
  • Whitelisted phrase (-1): It worked
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Navi

79639846

Date: 2025-05-27 05:23:32
Score: 2.5
Natty:
Report link

I happened to load one of my datasets with dtype = str, that solved the issue.

df = pd.read_excel(file_path, dtype = str)

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

79639845

Date: 2025-05-27 05:23:29
Score: 2
Natty:
Report link

The issue was with the schema registry URL for me, when i changed it to http://myserver.com:8081 it worked fine and like mentioned by OneCricketeer above, i changed the key to string to get the key value as well.

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

79639842

Date: 2025-05-27 05:22:28
Score: 2
Natty:
Report link

After some debugging(for my acctuale code), I was able to identify the root cause of the ANR (Application Not Responding) issue in my Flutter project when using Firebase notifications.

I had implemented Firebase Cloud Messaging (FCM) using the HTTP v1 API and was sending custom data along with the notification payload. This data was being stored locally using the sqflite plugin.

In the database, I had defined a table with some fields marked as NOT NULL. However, when sending notifications without including the expected data in the payload, the app still attempted to insert the incomplete data into the SQLite table. Since the NOT NULL constraints were violated, this led to exceptions during the insert operation — and for some reason, this caused the app to hang and eventually throw an ANR.

Once I ensured that the necessary data was always included in the notification payload — matching the table structure and respecting the NOT NULL fields — the issue was resolved.

Hope this helps others facing a similar issue!

But here I don't know why it's not working for the minimal code where i didn't used that function to store the data after fixing this for this minimal code then it's dosen't give the ANR.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): facing a similar issue
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Smit Prajapati

79639840

Date: 2025-05-27 05:20:28
Score: 1
Natty:
Report link

I think under "appear online" the author meant, that when creating a folder in the uploads folder, it doesn't appear in the Media Library.

For this specific solution, I know only one plugin, but since we're not talking about using plugins, maybe you can consider just creating a custom taxonomy "Folders" for custom post type attachments. It is kind of a lot, but can be easily integrated inside your own plugin or WordPress theme, for example, the whole step by step process can be found here https://rudrastyh.com/wordpress/media-library-folders-without-plugin.html

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

79639836

Date: 2025-05-27 05:15:26
Score: 9 🚩
Natty: 5.5
Report link

could you explain if I want to change my header or footer style?

Reasons:
  • RegEx Blacklisted phrase (2.5): could you explain
  • RegEx Blacklisted phrase (1): I want
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rudi Sarwiyana

79639835

Date: 2025-05-27 05:14:25
Score: 1
Natty:
Report link

Its probably pretty late answer.

However, as someone who has worked with this in the past and spoken to Google. They weren't much help TBH. I ended up talking to their supervisor, and we figured it out together. The reason is that Analytics works off a different methodology from Ads. Basically, 1 track on last click and the other 1st. Don't ask me why. What's even crazier is that on your analytics dashboard, it will even attribute it to Ads. You would think they would be the same, but nope. Put it down to Google departments not talking to each other.

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

79639833

Date: 2025-05-27 05:11:24
Score: 3.5
Natty:
Report link

I'm experiencing a similar phenomenon right now.

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

79639826

Date: 2025-05-27 04:58:19
Score: 6 🚩
Natty:
Report link

Update

following this answer: https://stackoverflow.com/a/79306213/19992646. Now APK is working. From what I understand, you need to add 3 dependencies when using the stack navigator, right?

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Iced Matcha Latte

79639819

Date: 2025-05-27 04:45:16
Score: 2.5
Natty:
Report link

After painstakingly finding the related issues, I finally found them:

There's a discussion for UnoCSS here: https://github.com/unocss/unocss/discussions/4604

Which linked to an issue in Tailwind here: https://github.com/tailwindlabs/tailwindcss/issues/15005

Tailwind v4 uses @property to define defaults for custom properties. At the moment, shadow roots do not support @property. It used to be explicitly denied in the spec, but it looks like there's talk on adding it: w3c/css-houdini-drafts#1085

There are a few workarounds shown in the issues.

For me, I guess I'll just manually add the preflight-only style globally. 🫤

Reasons:
  • No code block (0.5):
  • User mentioned (1): @property
  • User mentioned (0): @property
  • Low reputation (1):
Posted by: songpola

79639817

Date: 2025-05-27 04:44:16
Score: 2
Natty:
Report link

The problem happens because you are using migrations pointing to a typescript file. If you comment out that line, everything starts.

migrations: ["src/database/migrations/*-migration.ts"],

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Petrus de Melo

79639814

Date: 2025-05-27 04:41:15
Score: 4
Natty:
Report link

Fishstrap.pro Roblox experience delivers fast, smooth gameplay with a clean user interface. Perfect for testing, debugging, and launching projects effortlessly.

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

79639811

Date: 2025-05-27 04:38:12
Score: 7 🚩
Natty: 5
Report link

did any of this help?

How you solved the problem?

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1.5): solved the problem?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): did any of this help
  • Low reputation (0.5):
Posted by: buddy

79639804

Date: 2025-05-27 04:28:10
Score: 3
Natty:
Report link

Please look in new android studio settings, Editor - code style - Hard wrap at

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

79639799

Date: 2025-05-27 04:18:07
Score: 1.5
Natty:
Report link

I have similar situation in my app and I do not use any mutexes/semaphores. I just don't allow threads directly access data.
My main thread reserves an array with state structure (this is up to your imagination) accordingly to number of child threads and when they are started, they know the pointer to the belonging structure.

The structure should contain:

Child threads prepare some data then check and wait ready-to-receive flag in this structure and put new results there, clearing ready-to-receive flag by itself. Then set ready-to-send flag.

The main thread walks around this array and check ready-to-send flag. If it is set - then you clear this flag and collect data to your queue from child. At the end set flag ready-to-receive.

When child thread is finished its structure can be reused for new one.

Commonly that's all. I have no any Race Condition in my app.

Reasons:
  • Blacklisted phrase (1): I have similar
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Solt

79639798

Date: 2025-05-27 04:17:06
Score: 0.5
Natty:
Report link

Thank you, guys. I have slightly modified the code to fill in data automatically from the .csv files in the google drive. It seems the code works well.

from google.colab import drive
drive.mount('/content/drive')

!pip install pulp
import numpy as np
import pandas as pd
import pulp

#import data
path="/content/drive/MyDrive/Colab Notebooks/LPanelProduction/"

jobmold=pd.read_csv(path+"jobmold.csv")
jobmoldcontent=jobmold.iloc[:,0].tolist()
jn=len(jobmoldcontent)

jobmoldcontentdata=[]
for i in range(jn):
  jobmoldcontentdata.append(jobmoldcontent[i].split('|'))

molddata=[]
for i in range(jn):
  temp=jobmoldcontentdata[i][3]
  molddata.append(int(temp))

def count_distinct_np(arr):
  return len(np.unique(arr))

mn=count_distinct_np(molddata)

moldchangecost=pd.read_csv(path+"moldchangecost.csv")
moldchangecostcontent=moldchangecost.iloc[:,0].tolist()

moldchangecostcontentdata=[]
for i in range(len(moldchangecostcontent)):
  moldchangecostcontentdata.append(moldchangecostcontent[i].split('|'))

moldchangecostdata=[]
for i in range(mn):
  for j in range(mn):
    moldchangecostdata_row=[]
    for k in range(len(moldchangecostcontentdata)):
      temp1=moldchangecostcontentdata[k][1] #prev_mold_ID
      temp2=moldchangecostcontentdata[k][3] #next_mold_ID
      temp3=moldchangecostcontentdata[k][4] #cost
      if int(temp1)==i+1 and int(temp2)==j+1: moldchangecostdata.append(int(temp3))

#main
molds=pd.Series(index=pd.RangeIndex(name='job',start=1,stop=jn+1),
                name='mold',data=molddata)

prev_mold_idx = pd.RangeIndex(name='prev_mold', start=1, stop=mn+1)
next_mold_idx = pd.RangeIndex(name='next_mold', start=1, stop=mn+1)
mold_change_costs = pd.Series(
    index=pd.MultiIndex.from_product((prev_mold_idx, next_mold_idx)),
    name='cost', data=moldchangecostdata,
)

job_change_idx = pd.MultiIndex.from_product(
    (molds.index, molds.index),
    names=('source_job', 'dest_job'),
)

job_changes = pd.Series(
    index=job_change_idx,
    name='job_change',
    data=pulp.LpVariable.matrix(
        name='job_change', indices=job_change_idx, cat=pulp.LpBinary,
    ),
)

mold_change_idx = pd.MultiIndex.from_product((
    pd.RangeIndex(name='prev_job', start=1, stop=len(molds)),
    prev_mold_idx, next_mold_idx,
))
mold_change_idx = mold_change_idx[
    mold_change_idx.get_level_values('prev_mold') != mold_change_idx.get_level_values('next_mold')
]
all_mold_costs = pd.Series(
    index=mold_change_idx,
    name='mold_cost',
    data=pulp.LpVariable.matrix(
        name='mold_cost', indices=mold_change_idx, cat=pulp.LpContinuous, lowBound=0,
    ),
)

prob = pulp.LpProblem(name='job_sequence', sense=pulp.LpMinimize)
prob.setObjective(pulp.lpSum(all_mold_costs))

# Job changes must be assigned exclusively
for source_job, subtotal in job_changes.groupby('source_job').sum().items():
    prob.addConstraint(
        name=f'excl_s{source_job}',
        constraint=1 == subtotal,
    )
for dest_job, subtotal in job_changes.groupby('dest_job').sum().items():
    prob.addConstraint(
        name=f'excl_d{dest_job}',
        constraint=1 == subtotal,
    )

for (prev_job, prev_mold, next_mold), cost in all_mold_costs.items():
    # if both the relevant prev job and next job are assigned, this is the cost
    cost_if_assigned = mold_change_costs[(prev_mold, next_mold)]

    # series of job assignment variables for any source job having 'prev_mold', and dest job 'prev_job'
    prev_job_changes = job_changes.loc[(molds.index[molds == prev_mold], prev_job)]

    # series of job assignment variables for any source job having 'next_mold', and dest job 'next_job'
    next_job = prev_job + 1
    next_job_changes = job_changes.loc[(molds.index[molds == next_mold], next_job)]

    prob.addConstraint(
        name=f'cost_j{prev_job}_j{next_job}_m{prev_mold}_m{next_mold}',
        constraint=cost >= cost_if_assigned*(
            -1 + pulp.lpSum(prev_job_changes) + pulp.lpSum(next_job_changes)
        ),
    )

print(prob)
prob.solve()
assert prob.status == pulp.LpStatusOptimal

print('Job changes:')
job_changes = job_changes.apply(pulp.value).unstack(level='dest_job').astype(np.int8)
print(job_changes)
print()


job_changes.to_csv(path+"jobsequenceresult.csv")

print('All mold costs:')
all_mold_costs = all_mold_costs.apply(pulp.value).unstack(
    level=['prev_mold', 'next_mold'],
).astype(np.int8)
print(all_mold_costs)
print()

print('Job sequence:')
i, j = job_changes.values.T.nonzero()
print(molds.iloc[j])
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mentor Town

79639791

Date: 2025-05-27 04:09:04
Score: 0.5
Natty:
Report link

Unfortunately, no known workflow exists for overlaying element ID with the image exposed from Revit in APS.

Alternatively, you can add a Text annotation showing the element ID to overlay on the element in 2D views(e.g., Floor Plan Views), or Sheets, and then export the views or sheets into the image, which is pure Revit Desktop use. e.g. https://www.youtube.com/watch?v=w2-h2ACxYLc

It's irrelevant to the APS API.

enter image description here

Reasons:
  • Blacklisted phrase (1): youtube.com
  • No code block (0.5):
  • High reputation (-1):
Posted by: Eason Kang

79639786

Date: 2025-05-27 03:59:02
Score: 2
Natty:
Report link

what worked for me is this very simple solution <q-select popup-content-style="height: 300px;"

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: Rajat Gupta

79639785

Date: 2025-05-27 03:54:00
Score: 3
Natty:
Report link

Sometimes it's happening because the channel ID was not obtained from the backend side At time notification not pop-up.

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

79639777

Date: 2025-05-27 03:36:55
Score: 2
Natty:
Report link

For Azure Blob v2 with Hierarchical Namespace turned on:

az storage fs directory move -n $src -f $container --new-directory $container/$dest --account-name $storageAcc --auth-mode key --account-key "$TOK"

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

79639776

Date: 2025-05-27 03:32:54
Score: 3.5
Natty:
Report link

1- Why is this happenning with Zustand?
That is not because of Zustand itself, but because of how React re-runs hooks.
2- How can I fix this?
You wrote this:

const [config, setConfig] = useSafeState<ConfigData>({
  mode: ListModeEnum.CREATE_SHOPPING_LIST,
  listType: ListTypeEnum.SHOPPING_LIST,
  visible: false,
});

This might happen especially if you're not memoizing the useLists() hook return or structure.
You need to make sure that initialState is not recomputed on every render.

const initialConfig = useMemo(() => ({
  mode: ListModeEnum.CREATE_SHOPPING_LIST,
  listType: ListTypeEnum.SHOPPING_LIST,
  visible: false,
}), []);

const [config, setConfig] = useSafeState<ConfigData>(initialConfig);

you can check this , if this not work , let me know

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): How can I fix this
  • RegEx Blacklisted phrase (1.5): How can I fix this?
  • RegEx Blacklisted phrase (0.5): Why is this
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Julian

79639764

Date: 2025-05-27 03:15:50
Score: 2
Natty:
Report link

Currently, Spring AI MCP does not support reconnection, but you can manually modify the code. You can refer to:
https://github.com/spring-projects/spring-ai/issues/2740

streamable-http is expected to be supported in the next version.

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

79639760

Date: 2025-05-27 03:12:49
Score: 0.5
Natty:
Report link
I would like to display raw string of regex expression as it looks. I works with print but it does not work with ValueError. How can I display raw string of regex expression as it looks with ValueError?

Using Windows 10 and Python 3.13.3

Change this:

raise ValueError(f"pattern with ValueError ={pattern}")

To:

raise ValueError(f"pattern with ValueError = {pattern.replace('\\', '\\\\')}")

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adios Gringo