79574140

Date: 2025-04-14 23:01:45
Score: 0.5
Natty:
Report link

OK, his was not straightforward to diagnose nor fix, and I really had to receive some pointers from this SonarSource Community topic (credits to @ganncamp).

There are multiple factors that led here.

Factors that are SonarQube-specific:

SonarQube Server's LDAP support is not designed to connect multiple servers in a failover mode.

(...)

Authentication will be tried on each server, in the order they are listed in the configurations until one succeeds.

source: https://docs.sonarsource.com/sonarqube-server/2025.1/instance-administration/authentication/ldap/#multiple-servers

What's it designed for then? They probably meant to provide access using heterogenous LDAP servers. Consider multiple firms or branches each with their own LDAP directory using the same SonarQube instance.

To address this use case in a multi-server LDAP setup, the SonarQube users table contains an external_login and an external_identity_provider field, which together must be unique in the whole table. In a single-server LDAP setup, external_identity_provider is always 'sonarqube'. In a multi-server LDAP setup, the field reflects the LDAP server the user was authenticated against the first time they logged in. For example: "LDAP_foobar". (See linked documentation above.) Now our two John Does can be told apart:

login external_login external_identity_provider
john_doe john_doe LDAP_foobar
john_doe1234 john_doe LDAP_yeehaw

Also, since the SonarQube users table had an original "login" field (which is unique of course), they had to work around that unique constraint by adding a random number sequence to the username. Since the login field is probably not used for external users anymore, this is just for backwards compatibility, I guess.

ldap.url=ldaps://foo.bar.local:636
ldap.foo.bindDn=CN=foo,OU=orgunit,DC=bar,DC=local

...then the certificate SAN should contain a bar.local DNS field, otherwise the query fails and produces a (debug-level) message in web.log:

2025.04.11 18:43:18 DEBUG web[b7a70ba3-0e9a-4685-a1ad-c2a30e919e64][o.s.a.l.LdapSearch] More result might be forthcoming if the referral is followed
javax.naming.PartialResultException: null
    at java.naming/com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMoreImpl(AbstractLdapNamingEnumeration.java:237)
    at java.naming/com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMore(AbstractLdapNamingEnumeration.java:189)
    at org.sonar.auth.ldap.LdapSearch.hasMore(LdapSearch.java:156)
    at org.sonar.auth.ldap.LdapSearch.findUnique(LdapSearch.java:146)
    at org.sonar.auth.ldap.DefaultLdapUsersProvider.getUserDetails(DefaultLdapUsersProvider.java:78)
    at org.sonar.auth.ldap.DefaultLdapUsersProvider.doGetUserDetails(DefaultLdapUsersProvider.java:58)
    at org.sonar.server.authentication.LdapCredentialsAuthentication.doAuthenticate(LdapCredentialsAuthentication.java:92)
    at org.sonar.server.authentication.LdapCredentialsAuthentication.authenticate(LdapCredentialsAuthentication.java:74)
    at org.sonar.server.authentication.CredentialsAuthentication.lambda$authenticate$0(CredentialsAuthentication.java:71)
    at java.base/java.util.Optional.or(Optional.java:313)
    at org.sonar.server.authentication.CredentialsAuthentication.authenticate(CredentialsAuthentication.java:71)
    at org.sonar.server.authentication.CredentialsAuthentication.authenticate(CredentialsAuthentication.java:57)
    at org.sonar.server.authentication.ws.LoginAction.authenticate(LoginAction.java:116)
    at org.sonar.server.authentication.ws.LoginAction.doFilter(LoginAction.java:95)
    ...
Caused by: javax.naming.CommunicationException: simple bind failed: bar.local:636
    at java.naming/com.sun.jndi.ldap.LdapReferralContext.<init>(LdapReferralContext.java:96)
    at java.naming/com.sun.jndi.ldap.LdapReferralException.getReferralContext(LdapReferralException.java:151)
    at java.naming/com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMoreReferrals(AbstractLdapNamingEnumeration.java:326)
    at java.naming/com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMoreImpl(AbstractLdapNamingEnumeration.java:227)
    ... 68 common frames omitted
Caused by: javax.net.ssl.SSLHandshakeException: No subject alternative DNS name matching bar.local found.
    at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:383)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:326)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321)
    at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:654)
    at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(CertificateMessage.java:473)
    at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(CertificateMessage.java:369)
    at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:396)
    at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:480)
    at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:458)
    at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:206)
    at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172)
    at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1510)
    at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1425)
    at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)
    at java.base/sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:925)
    at java.base/sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:1295)
    at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
    at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
    at java.naming/com.sun.jndi.ldap.Connection.writeRequest(Connection.java:418)
    at java.naming/com.sun.jndi.ldap.Connection.writeRequest(Connection.java:391)
    at java.naming/com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:359)
    at java.naming/com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:214)
    at java.naming/com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2896)
    at java.naming/com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:348)
    at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxFromUrl(LdapCtxFactory.java:229)
    at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:189)
    at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:152)
    at java.naming/com.sun.jndi.url.ldap.ldapURLContextFactory.getObjectInstance(ldapURLContextFactory.java:52)
    at java.naming/javax.naming.spi.NamingManager.getURLObject(NamingManager.java:625)
    at java.naming/javax.naming.spi.NamingManager.processURL(NamingManager.java:402)
    at java.naming/javax.naming.spi.NamingManager.processURLAddrs(NamingManager.java:382)
    at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:354)
    at java.naming/com.sun.jndi.ldap.LdapReferralContext.<init>(LdapReferralContext.java:119)
    ... 71 common frames omitted
Caused by: java.security.cert.CertificateException: No subject alternative DNS name matching bar.local found.
    at java.base/sun.security.util.HostnameChecker.matchDNS(HostnameChecker.java:212)
    at java.base/sun.security.util.HostnameChecker.match(HostnameChecker.java:103)
    at java.base/sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:471)
    at java.base/sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:418)
    at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:238)
    at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:132)
    at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:638)
    ... 100 common frames omitted

The tricky part is: the same rigorous SAN-checking does not happen on server startup, when SonarQube checks connectivity to all configured LDAP servers. Even if the TLS certificate is imperfect, it will log:

2025.04.14 21:42:54 INFO  web[][o.s.a.l.LdapContextFactory] Test LDAP connection on ldaps://foo.bar.local:636: OK

Factors and events related to our specific setup and situation:

Not totally sure about how it all played down, but the results were as follows:

login email external_login external_identity_provider
john_doe [email protected] john_doe LDAP_foobar
john_doe1234 [email protected] john_doe LDAP_yeehaw

How we managed to fix the situation:

UPDATE users SET external_identity_provider = 'sonarqube' WHERE external_identity_provider LIKE 'LDAP_%';
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @ganncamp
  • Self-answer (0.5):
Posted by: Attila Csipak

79574138

Date: 2025-04-14 22:58:44
Score: 1.5
Natty:
Report link

The problem was: instead of

https://graph.facebook.com/v22.0...

It should have been:

https://graph.instagram.com/v22.0...
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: vate

79574136

Date: 2025-04-14 22:57:44
Score: 1.5
Natty:
Report link

Your routes may have been cached, so you should execute :

php artisan route:clear

This should delete the previously optimized routes.

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

79574124

Date: 2025-04-14 22:49:42
Score: 3
Natty:
Report link

yes it's good idea, work for me, get server load using sys_getloadavg() and combine with sleep(), reduce CPU load on sleep()

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

79574104

Date: 2025-04-14 22:29:37
Score: 1
Natty:
Report link

Hi i found an error with the location name, they are different for the serverfarm, like this i sucessufull created my function app using the CLI:

C:\Users\jesus\Documents\AirCont\AircontB> az login

C:\Users\jesus\Documents\AirCont\AircontB>az storage account create --name aircontstorage43210 --resource-group aircontfullstack --location "East US 2" --sku Standard_LRS --kind StorageV2 --access-tier Cool --https-only true

C:\Users\jesus\Documents\AirCont\AircontB> az functionapp list-consumption-locations

PS C:\Users\jesus\Documents\AirCont\AircontB> az functionapp create --name AircontBackFn --storage-account aircontstorage43210 --resource-group aircontfullstack --consumption-plan-location "eastus2" --runtime dotnet --functions-version 4 --os-type Windows

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

79574097

Date: 2025-04-14 22:26:36
Score: 2.5
Natty:
Report link

As @ChayimFriedman said:

You can use an empty instruction string.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @ChayimFriedman
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: CocytusDEDI

79574081

Date: 2025-04-14 22:13:32
Score: 1
Natty:
Report link

I'm not well-versed on DPDK/testpmd, but you seem to be constraining the number of CPUs and queues it will use compared to what iperf3 will likely use.

Assuming your iperf3 is using TCP (guessing since the command line is not provided), it will be taking advantage of any stateless offloads offered by your NIC(s).

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

79574069

Date: 2025-04-14 22:05:29
Score: 1
Natty:
Report link

Assuming it isn't simply a matter of luck of timing, seeing higher throughput with more streams implies that the TCP window size settings at the sender, and the receiver, are not sufficient to enable achieving the full bandwidth-delay product with the smaller number (eg single) of streams.

There are likely plenty of references for TCP tuning for high bandwidth delay product networks. One which touches upon the topic, which is near and dear to my heart for some reason :) is at https://services.google.com/fh/files/misc/considerations_when_benchmarking_tcp_bulk_flows.pdf

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

79574057

Date: 2025-04-14 21:55:27
Score: 1.5
Natty:
Report link

It appears to be an issue with node.js specific version 22.14 and the CB SDK. I tried reinstalling it twice (no joy). It worked on my old maching running 22.11. I just installed the non-LTS 23.11 and it now all works.....

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 (0.5):
Posted by: Gerry Winning

79574056

Date: 2025-04-14 21:54:26
Score: 0.5
Natty:
Report link

Worked on Ubuntu 24.04:

Get download url from https://downloads.mysql.com/archives/community/

wget https://downloads.mysql.com/archives/get/p/23/file/mysql-5.7.44-linux-glibc2.12-x86_64.tar
tar xvf mysql-5.7.44-linux-glibc2.12-x86_64.tar
tar zxvf mysql-5.7.44-linux-glibc2.12-x86_64.tar.gz

Config --with-mysql-config for mysql2

bundle config build.mysql2 "--with-mysql-config=PATH_TO/mysql-5.7.44-linux-glibc2.12-x86_64/bin/mysql_config"
bundle install
# or bundle pristin mysql2

Check if libmysqlclient.so.20 is link to
mysql-5.7.44-linux-glibc2.12-x86_64/lib/libmysqlclient.so.20

for example:

ldd /home/ubuntu/.rvm/gems/ruby-2.3.8/gems/mysql2-0.3.21/lib/mysql2/mysql2.so
        linux-vdso.so.1 (0x00007ff026bda000)
        libruby.so.2.3 => /home/ubuntu/.rvm/rubies/ruby-2.3.8/lib/libruby.so.2.3 (0x00007ff026800000)
        libmysqlclient.so.20 => /home/ubuntu/mysql-5.7.44-linux-glibc2.12-x86_64/lib/libmysqlclient.so.20 (0x00007ff025e00000)
        ...
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jethro Yu

79574050

Date: 2025-04-14 21:50:25
Score: 1.5
Natty:
Report link

The only way I fixed this was to use an Update or Insert SQL statement

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Bush Al

79574049

Date: 2025-04-14 21:50:25
Score: 1
Natty:
Report link

Try to use bash interactive shell

import subprocess

subprocess.run([
    "ssh", "me@servername",
    "bash -i -c 'source ~/admin_environment && exec bash'"
])
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: poisoned_monkey

79574041

Date: 2025-04-14 21:41:23
Score: 0.5
Natty:
Report link

I have been struggling a bit with finding a way to draw lines outside the plot area but found a creative solution in this previous thread: How to draw a line outside of an axis in matplotlib (in figure coordinates). Thanks to the author for the solution once again!

My proposed solution for the problem is the following (see the explanation of distinct parts in the code):

import pandas as pd
import matplotlib.pyplot as plt
from matplotlib.lines import Line2D


dict = {'BatteryStorage': {('des-PDef3', 'Central Africa'): 0.0,
      ('des-PDef3', 'Eastern Africa'): 2475.9,
      ('des-PDef3', 'North Africa'): 98.0,
      ('des-PDef3', 'Southern Africa'): 124.0,
      ('des-PDef3', 'West Africa'): 1500.24,
      ('pes-PDef3', 'Central Africa'): 0.0,
      ('pes-PDef3', 'Eastern Africa'): 58.03,
      ('pes-PDef3', 'North Africa'): 98.0,
      ('pes-PDef3', 'Southern Africa'): 124.0,
      ('pes-PDef3', 'West Africa'): 0.0,
      ('tes-PDef3', 'Central Africa'): 0.0,
      ('tes-PDef3', 'Eastern Africa'): 1175.86,
      ('tes-PDef3', 'North Africa'): 98.0,
      ('tes-PDef3', 'Southern Africa'): 124.0,
      ('tes-PDef3', 'West Africa'): 0.0},
     'Biomass PP': {('des-PDef3', 'Central Africa'): 44.24,
      ('des-PDef3', 'Eastern Africa'): 1362.4,
      ('des-PDef3', 'North Africa'): 178.29,
      ('des-PDef3', 'Southern Africa'): 210.01999999999998,
      ('des-PDef3', 'West Africa'): 277.4,
      ('pes-PDef3', 'Central Africa'): 44.24,
      ('pes-PDef3', 'Eastern Africa'): 985.36,
      ('pes-PDef3', 'North Africa'): 90.93,
      ('pes-PDef3', 'Southern Africa'): 144.99,
      ('pes-PDef3', 'West Africa'): 130.33,
      ('tes-PDef3', 'Central Africa'): 44.24,
      ('tes-PDef3', 'Eastern Africa'): 1362.4,
      ('tes-PDef3', 'North Africa'): 178.29,
      ('tes-PDef3', 'Southern Africa'): 210.01999999999998,
      ('tes-PDef3', 'West Africa'): 277.4}}



df = pd.DataFrame.from_dict(dict)
df.plot(kind = "bar",stacked = True)

region_labels = [idx[1] for idx in df.index]   #deriving the part needed for the x-labels from dict

plt.tight_layout()      #necessary for an appropriate display

plt.legend(loc='center left', fontsize=8, frameon=False, bbox_to_anchor=(1, 0.5))   #placing lagend outside the plot area as in the Excel example

ax = plt.gca()
ax.set_xticklabels(region_labels, rotation=90)

#coloring labels for easier interpretation
for i, label in enumerate(ax.get_xticklabels()):
    #print(i)
    if i <= 4:
        label.set_color('red')  #set favoured colors here
    if 9 >= i > 4:
        label.set_color('green') 
    if i > 9:
        label.set_color('blue')  


plt.text(1/6, -0.5, 'des', fontweight='bold', transform=ax.transAxes, ha='center', color='red')     #adding labels outside the plot area, representing the 'region group code'
plt.text(3/6, -0.5, 'pes', fontweight='bold', transform=ax.transAxes, ha='center', color='green')   #keep coloring respective to labels
plt.text(5/6, -0.5, 'des', fontweight='bold', transform=ax.transAxes, ha='center', color='blue')
plt.text(5/6, -0.6, 'b', color='white', transform=ax.transAxes, ha='center')                         #phantom text to trick `tight_layout` thus making space for the texts above


ax2 = plt.axes([0,0,1,1], facecolor=(1,1,1,0))          #for adding lines (i.e., brackets) outside the plot area, we create new axes


#creating the first bracket
x_start = 0 + 0.015
x_end = 1/3 - 0.015
y = -0.42 

bracket1 = [
    Line2D([x_start, x_start], [y, y - 0.02], transform=ax.transAxes, color='black', lw=1.5),
    Line2D([x_start, x_end], [y - 0.02, y - 0.02], transform=ax.transAxes, color='black', lw=1.5),
    Line2D([x_end, x_end], [y - 0.02, y], transform=ax.transAxes, color='black', lw=1.5),
]

for line in bracket1:
    ax2.add_line(line)


#second bracket
x_start = 1/3 + 0.015
x_end = 2/3 - 0.015 

bracket2 = [
    Line2D([x_start, x_start], [y, y - 0.02], transform=ax.transAxes, color='black', lw=1.5),
    Line2D([x_start, x_end], [y - 0.02, y - 0.02], transform=ax.transAxes, color='black', lw=1.5),
    Line2D([x_end, x_end], [y - 0.02, y], transform=ax.transAxes, color='black', lw=1.5),
]

for line in bracket2:
    ax2.add_line(line)


#third bracket
x_start = 2/3 + 0.015
x_end = 1 - 0.015 

bracket3 = [
    Line2D([x_start, x_start], [y, y - 0.02], transform=ax.transAxes, color='black', lw=1.5),
    Line2D([x_start, x_end], [y - 0.02, y - 0.02], transform=ax.transAxes, color='black', lw=1.5),
    Line2D([x_end, x_end], [y - 0.02, y], transform=ax.transAxes, color='black', lw=1.5),
]

for line in bracket3:
    ax2.add_line(line)


ax2.axis("off")     #turn off axes for the new axes

plt.tight_layout()
plt.show()

Resulting in the following plot:

enter image description here

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Márton Horváth

79574023

Date: 2025-04-14 21:28:19
Score: 1.5
Natty:
Report link
# Create a string with 5,000 peach emojis
peach_spam = "🍑" * 5000

# Save it to a text file
with open("5000_peaches.txt", "w", encoding="utf-8") as file:
    file.write(peach_spam)

print("File created: 5000_peaches.txt")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Luke

79574012

Date: 2025-04-14 21:17:16
Score: 1
Natty:
Report link

CA works on the ASG/node-group principle - and on bare-metal we don't have ASGs/node-groups. I tried designing a virtual node-group, and a virtual "cloud client" for bare metal, but there were so many issues with this design, that I gave up.

I ended up creating my own cluster-bare-autoscaler (https://github.com/docent-net/cluster-bare-autoscaler). Not production ready as for now (2025-04), but should be soon. Already does, what is supposed to do, but has some limitations.

Awaiting your input, folks!

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

79573998

Date: 2025-04-14 21:06:13
Score: 0.5
Natty:
Report link

to get the user's profile picture, send this GET request:

https://graph.instagram.com/me?fields=id,username,name,profile_picture_url&access_token=${ACCESS_TOKEN}

replace ACCESS_TOKEN with the user's access token.

for more info on what fields you can return, check the developer docs

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

79573997

Date: 2025-04-14 21:05:13
Score: 3
Natty:
Report link

After some Googling, I found that someone resolved the issue by installing the Microsoft Visual C++ Redistributable package. You can download the latest supported version from the official Microsoft site: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

In case it helps others, this solution was also mentioned in the following discussions:

  1. https://github.com/tailwindlabs/tailwindcss/discussions/16653
  2. https://github.com/expo/expo/issues/31775
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ebraheem Ahetari

79573995

Date: 2025-04-14 21:04:12
Score: 1.5
Natty:
Report link

On Edge 134 or newer:

type the following in edge browser: edge://settings/content/insecureContent

Click add button next to allow section,

type in the url you are trying to add (in my case it was Nessus server link on my domain)

restart browser - done

This had me going in circles till i figured this out above.

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

79573994

Date: 2025-04-14 21:04:12
Score: 1.5
Natty:
Report link

This also affects AlpineJS. Make sure you define the map variable outside your reactive component!

This works: <div id="my_map" x-data="(() => { let map = null; return { markers: [], ...

This doesn't: <div id="my_map" x-data="(() => { return { map: null, markers:[], ...

Glad I found this post. @Javier's response saved me.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Javier's
  • Low reputation (1):
Posted by: Robin Darlington

79573990

Date: 2025-04-14 21:00:11
Score: 3.5
Natty:
Report link

What is the differnce between variable and parameter when calling az pipeline run?

How to pass multiple varibles are parameters. Is this doable ?

az pipelines run --name "{pipeline.name}" --variables Param1={Value1} Param2={Value2}
az pipelines run --name "{pipeline.name}" --parameters Param1={Value1} Param2={Value2}
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Starts with a question (0.5): What is the
  • Low reputation (1):
Posted by: saranya

79573989

Date: 2025-04-14 20:58:11
Score: 3
Natty:
Report link

I got the same error on webpack version 5.97.1, it appeared after I started using the "undici" package, and after deleting it, the error disappeared.

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

79573984

Date: 2025-04-14 20:50:08
Score: 0.5
Natty:
Report link

There's now https://github.com/urob/numpy-mkl which automatically builds current numpy and scipy wheels linked against mkl whenever there's a new release.

Wheels are available for Windows and Linux and can be installed with pip:

pip install numpy scipy --extra-index-url https://urob.github.io/numpy-mkl
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bob

79573979

Date: 2025-04-14 20:48:07
Score: 4.5
Natty:
Report link

Great question! I was wondering the same thing about attributes and methods. The top answer explains it really well. I also found a website that provides formal definitions and examples: https://www.almabetter.com/bytes/tutorials/python/methods-and-attributes-in-python

Reasons:
  • Blacklisted phrase (2): was wondering
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: TrN

79573976

Date: 2025-04-14 20:47:07
Score: 1.5
Natty:
Report link

rem units always inherit from the document root (), not the Shadow DOM. To prevent font-size inconsistencies across sites, the best approach is to either:

Use transform: scale() to normalize font scaling inside the Shadow DOM based on the page's root font-size, or

Use an for full isolation and root control (especially useful for overlays or popups).

Overriding UI library styles from rem to em or px is possible but impractical unless you're customizing the entire theme.

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

79573966

Date: 2025-04-14 20:36:03
Score: 2
Natty:
Report link

You're on the right track scanning IPs, but pairing with Android TV (Cast devices) over port 8009 requires encrypted TLS sockets and Google Cast V2 protocol using protobuf messages. Dart doesn't natively support this, so you'd need to implement it in native Android (via platform channels) using the Cast SDK. Raw sockets alone won't work for pairing.

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

79573959

Date: 2025-04-14 20:26:01
Score: 2
Natty:
Report link

The solution I found was that I had FilterRegistrationBean in my config BUT had not registered a filter.

If you are not using a filter, just remove FilterRegistrationBean

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

79573949

Date: 2025-04-14 20:20:59
Score: 1
Natty:
Report link

OK - this took some digging to figure out what was going wrong.

The problem was that the "part" in the multipart request wasn't being recognized by Jersey (via any FormDataParam annotations, OR if I were to directly access the request parts via the current HttpServletRequest) because the request coming from the browser wasn't indicating the "boundary" for the first/primary Content-Type header (which the part and its boundary name is dynamically being added by the browser later in the request for the file "part", i.e., some random boundary name like "------WebKitFormBoundarymUBOEP84Y3yt6c4A").

The reason that the browser wasn't indicating the correct (or any) boundary for the primary/first Content-Type header in the request was because Angular (via the $http provider) will automatically set the Content-Type to "application/json;charset=utf-8" during a POST/PUT request if the "data" provided to the $http function is an Object that doesn't resolve to the string representation of "[object File]", and no other Content-Type header has been explicitly included/added in the $http call.

In my case, the data object's string representation is "[object FormData]", which causes the primary/first Content-Type header to be set to "application/json" by Angular (which leads to Jersey to not parse the request for any "parts" that may have been sent), instead of being set correctly to Content-Type: multipart/form-data; boundary=----WebKitFormBoundarymUBOEP84Y3yt6c4A by the browser (by not including ANY Content-Type header in my JS code during the $http POST call). If I were to explicitly set the Content-Type header to "multipart/form-data", then it will still fail because it's missing the "boundary" attribute, and I don't know the value of the boundary because it's being dynamically generated by the browser.

To fix the issue: I needed to remove the default headers that Angular was automatically applying to all POST/PUT requests by deleting the associated default properties from the JS config object:

delete $httpProvider.defaults.headers.post["Content-Type"];
delete $httpProvider.defaults.headers.put["Content-Type"];

Now, I didn't want to set another, default Content-Type header for ALL POST/PUT requests because I don't want some other incorrect content type to end up being sent in other, non-file-upload cases - so I just deleted the existing, hard-coded defaults (with the "delete" statements above), and then I ended up setting my own defaults for content type handling during my POST/PUT calls to $http based upon similar, but different, logic from what Angular was doing.

I also had to replace the default Angular request transformer during the Angular "config" hook with one that will properly handle FormData objects during POST/PUT requests, somewhat following Angular's original logic for parameterizing JSON objects to be added as form parameters to POST/PUT requests:

$httpProvider.defaults.transformRequest = function (data) {
    if (angular.isObject(data)) {
        let strData = String(data);
        if (strData == "[object File]" || strData == "[object FormData]") {
            return data;
        }
        return $httpParamSerializerProvider.$get()(data);
    }
    return data;
};

With the Content-Type header being set correctly with a boundary in the POST file upload requests from the browser, Jersey is now parsing the requests correctly, and I can use the @FormDataParam annotations without Jersey automatically sending back a 400 response when it thinks that the request is not a multipart request.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @FormDataParam
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Brien Halstead

79573948

Date: 2025-04-14 20:19:59
Score: 1.5
Natty:
Report link

My understanding of Flask is that it is a Python microframework used for building web applications. It could be used as for communication, but would require to be paired with an additional one (such as Azure Service Bus).

There could be a way to create a shared library across the device so that they could use the same variables.

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

79573947

Date: 2025-04-14 20:18:58
Score: 0.5
Natty:
Report link
<Celll
  v-for="(col, colIndex) in columns"
  :key="colIndex"
  :col="col" // add this
  :row="row"
<script>
import { h } from 'vue';

export default {
  props: {
    col: {
      type: Object,
      required: true,
    },
    row: {
      type: Object,
      required: true,
    },
  },
  render() {
    return h('td', null, this.col.children.defaul(this.row));
  },
};
</script>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: magistr4815

79573943

Date: 2025-04-14 20:15:58
Score: 0.5
Natty:
Report link

If you assign a guide to each plot and give them unique titles, you get just two legends

p3 <- p1 +  
  guides(
    color = guide_legend( title = "condition 1" ) 
    )+
  ggnewscale::new_scale_color() +
  geom_point(
    data = mydata
    , aes(
      x = x
      , y = y
      , group = 1
      , col = new_sample_name
      )
    ) +
  guides(color = guide_legend(title = "new name"))

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Michiel Duvekot

79573938

Date: 2025-04-14 20:11:57
Score: 1
Natty:
Report link

from moviepy.editor import * from PIL import Image

Load image

image_path = "/mnt/data/A_photograph_in_a_promotional_advertisement_showca.png" image_clip = ImageClip(image_path).set_duration(10).resize(height=1080).set_position("center")

Add promotional text

text_lines = [ "اكتشف نعومة الطبيعة مع صابون espase", "مصنوع من رماد، سكر، ملح، زيت زيتون، زيت، بيكربونات، وملون 88", "تركيبة فريدة تمنح بشرتك النقاء والانتعاش", "espase... العناية تبدأ من هنا" ]

Add each text line with a fade-in

text_clips = [] start_time = 0 for line in text_lines: txt_clip = (TextClip(line, fontsize=60, font="Arial-Bold", color="white", bg_color="black", size=(1080, None)) .set_position(("center", "bottom")) .set_start(start_time) .set_duration(2.5) .crossfadein(0.5)) text_clips.append(txt_clip) start_time += 2.5

Final video composition

final_clip = CompositeVideoClip([image_clip] + text_clips, size=(1080, 1080)) output_path = "/mnt/data/espase_promo_video.mp4" final_clip.write_videofile(outpu

t_path, fps=24)

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

79573936

Date: 2025-04-14 20:09:56
Score: 0.5
Natty:
Report link

Below is one standard solution using jq’s built‐in grouping and transformation functions:
jq 'group_by(.a)[] | { a: .[0].a, count: map(.b | length) | add }'

Result (the output is an object with each unique a as a key and the total count of b entries as the value):

{
  "foo": 3,
  "bar": 0
}

How It Works

  1. Grouping by a:
    The command starts with:

    jq group_by(.a)[] 
    

    This groups all objects in the array that share the same a value into subarrays. Each subarray contains all objects with that same a.

  2. Extracting the Unique Key:
    For each group (which is an array), the expression:

    jq .[0].a 
    

    extracts the common a value from the first item. Since all objects in the group have the same a, this is safe.

  3. Counting Entries in b:
    The expression:

    jq map(.b | length) | add 
    

    takes the current group (an array of objects), maps each object to the length of its .b array, and then sums them with add. This sum represents the total count of all entries in b for that particular a.

  4. Building the Output Object:
    The { a: .[0].a, count: ... } syntax creates an object with two fields: the a value and the computed count.

In the future if you'd like to use jq in any JetBrains IDE, please check out my plugin: https://plugins.jetbrains.com/plugin/23360-jqexpress

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

79573930

Date: 2025-04-14 20:04:54
Score: 2.5
Natty:
Report link

Then answer is to use

"General"" *""
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: codenewb

79573920

Date: 2025-04-14 19:55:52
Score: 3
Natty:
Report link

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answe que r

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

79573903

Date: 2025-04-14 19:45:49
Score: 3
Natty:
Report link

This problem seems not to have a solution for now. I have also been experiencing the same problem.

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

79573901

Date: 2025-04-14 19:45:49
Score: 2
Natty:
Report link

Ensure a single ssh-agent instance runs at a time.

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

79573898

Date: 2025-04-14 19:44:48
Score: 1
Natty:
Report link

You may use this:

=SORT(CHOOSECOLS(A2:E5,1,4,5),2,1,3,1)

Sample Output:

Todd 8/22 11:55 PM
Ned 8/23 6:50 AM
Rod 8/23 1:37 PM
Maude
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jats PPG

79573897

Date: 2025-04-14 19:43:48
Score: 1
Natty:
Report link

I've recently faced the same problem and I guess I found a solution. It relies on clang's __builtin_assume attribute, which will warn if passed expression has side effects. GCC does not have it, so solution is not portable.

The resulting macro is

#define assert(e)   do { if (!(e)) { __builtin_assume(!(e)); __assert_fn(); } } while (0);

It should not cause any code-generation issues, since assume is placed on dead branch that should kill a program (if __assert_fn is declared with noreturn, then compiler may assume e anyway).

See gist for example and godbolt link https://gist.github.com/pskrgag/39c8640c0b383ed1f1c0dd6c8f5a832e

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

79573894

Date: 2025-04-14 19:42:47
Score: 5
Natty:
Report link

I was able to find a post from 7 years ago that give me some direction and came up with this. Thanks for looking.. Brent

  ---solution  
SELECT  acct_id,sa_type_cd, end_dt
FROM
(SELECT acct_id,sa_type_cd,end_dt,
               rank() over (partition by acct_id order by end_dt desc) rnk
          FROM test
          WHERE sa_type_cd IN ( 'E-RES', 'E-GS' ) and end_dt is not null)
WHERE rnk = 1 and acct_id = '299715';
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (3): give me some
  • Contains signature (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Brent

79573880

Date: 2025-04-14 19:31:44
Score: 0.5
Natty:
Report link

There should not be any reason that you cannot run separate instances on separate hosts all streaming 1 portion of the overall data set to the same cache. The limiting factor in this proposed architecture will most likely be the network interface of the database that you are retrieving data from. Hope that helps.

Reasons:
  • Whitelisted phrase (-1): Hope that helps
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: user21160483

79573874

Date: 2025-04-14 19:27:42
Score: 3.5
Natty:
Report link

it is only an alpha version. it is not available in Expo Go.

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

79573871

Date: 2025-04-14 19:25:42
Score: 1
Natty:
Report link
if (process.env.NODE_ENV === 'production') {
  // Enable service worker only in production for caching
  navigator.serviceWorker.ready.then(() => {
    console.log('Service Worker is ready');
  });
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dilip Rajbohra

79573864

Date: 2025-04-14 19:20:40
Score: 0.5
Natty:
Report link

It's possible that I didn't explain the issue correctly, but none of the provided answers accurately split the string or would be able to handle the large amount of data I will eventually be working with without timing out. Here's what did work for my case:

var str = 'value1,"value2,with,commas",value3';
var parts = str.split(/,(?=(?:[^"]*"[^"]*")*[^"]*$)/);
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: K K

79573863

Date: 2025-04-14 19:19:40
Score: 1.5
Natty:
Report link

In my case , there was a message on top of Visual Studio that some components were missing to build the project.

Im my case it was .net 6.0 sdk. After installing, the message was gone.

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

79573860

Date: 2025-04-14 19:17:39
Score: 0.5
Natty:
Report link

The issue with your code is, background-image is applied to the complete list li , not just where the bullet is exist.

list-style-image didn't support scaling option.

HTML:

<ul id="AB1C2D">
  <li id="AB1C2D1">Dashboard</li>
  <li id="AB1C2D2">Mechanics</li>  
  <li id="AB1C2D3">Individuals</li>
  <li id="AB1C2D4">Settings</li>
  <li id="AB1C2D5">Messages</li>  
  <li id="AB1C2D6">Support</li>
  <li id="AB1C2D7">Logout</li>
</ul>

CSS:

#AB1C2D {
  list-style: none;
  padding: 0;
  margin: 0;
}

#AB1C2D li {
  position: relative;
  padding-left: 28px;
  margin: 6px 0;
  line-height: 1.5;
}

#AB1C2D li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url("https://cdn-icons-png.flaticon.com/512/1828/1828817.png"); /* change this image path to as your wish */
  background-size: contain;
  background-repeat: no-repeat;
}

screenshot

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

79573858

Date: 2025-04-14 19:16:39
Score: 5
Natty: 5
Report link

Thanks bro, you helped me a lot... the same thing happened to me hahaha

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): helped me a lot
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ESWIN STUARD POROJ CASTRO

79573857

Date: 2025-04-14 19:15:38
Score: 1.5
Natty:
Report link

Gitlab UI has the feature, try this: [Code] -> Download Plain diff, See screenshot

Reasons:
  • Whitelisted phrase (-2): try this:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Artem Tamazov

79573856

Date: 2025-04-14 19:14:38
Score: 2
Natty:
Report link

You're probably hitting this bug: https://github.com/dart-lang/sdk/issues/46442

The fix for this bug landed in Dart 3.8. The current stable release of Flutter (version 3.29) includes Dart 3.7. The next stable major release of Flutter should include Dart 3.8, which will probably be Flutter 3.33. (You could also try the latest beta release of Flutter.)

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

79573843

Date: 2025-04-14 19:06:35
Score: 2
Natty:
Report link

I had the same issue on m y macbook and fixed it by adding client settings to my debug and release entitlements files.

This link shows how to configure tor macOS

https://firebase.google.com/codelabs/firebase-get-to-know-flutter#3

Hope this helps!

Reasons:
  • Blacklisted phrase (1): This link
  • Whitelisted phrase (-1): Hope this helps
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30271314

79573835

Date: 2025-04-14 19:01:33
Score: 5.5
Natty: 5
Report link

Мне удалось решить эту проблему удалением переменной среды PYTHONPATH

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: geparrrd

79573828

Date: 2025-04-14 18:52:30
Score: 6.5 🚩
Natty:
Report link

Enquanto verdadeiro: se enemy_slime.health <= 0: quebrar para i no intervalo (3): b = entrada (“você gostaria de balançar ou bloquear? “ ) ​​se b em balanço: my_sword.swing() enemy_slime.slime_attack() continuar elif b em bloco: my_sword.block enemy_slime.slime_attack() continuar

Reasons:
  • Blacklisted phrase (3): você
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jogospraps2

79573818

Date: 2025-04-14 18:46:27
Score: 1
Natty:
Report link

If im not mistaken the file path is where the error could be is where the backupPath is it may need another \ at the beginning it. Here is the example:

backupPath = "I:\Analytics\ProjetoDiario\BKP" & Format(Now, "yyyy-mm-dd_hh-mm-ss") & "_" & ThisWorkbook.Name
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shaki Santana

79573813

Date: 2025-04-14 18:46:27
Score: 1.5
Natty:
Report link

if you're offloading work from an endpoint you might be interested in this guide

https://docs.prefect.io/v3/deploy/static-infrastructure-examples/background-tasks

otherwise if want to keep just triggering a fully fledged deployment, the issue is likely how you're configuring the storage for the deployment you're triggering. Because of the formatting and lack of detail in the question its hard to tell
- what kind of work pool you're using
- what directory you're running prefect deployment from

you might want to check out the template repo with many examples like this

https://github.com/zzstoatzz/prefect-pack/blob/main/prefect.yaml

Reasons:
  • Blacklisted phrase (1): this guide
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nate Nowack

79573798

Date: 2025-04-14 18:37:25
Score: 0.5
Natty:
Report link

I know this is an old thread, but have you tried using exactly causeString: 'Triggered on $branchName' as @MaratC suggested? I ran into the same issue recently, and the cause was using double quotes. The reason is that double quotes create GStrings, which support string interpolation. When you pass a GString to GenericTrigger, Groovy resolves all variables immediately. As a result, the GenericTrigger configuration gets created with an already resolved string, basically hardcoded with values from this exact job. Now, Jenkins works in the way that it applies updated pipeline configurations only after one build completes, and that's why you see that the values for the cause are taken from the previous build (or a previous different build). You can probably also notice it in the pipeline configuration history. What you need here is a JavaString, which is going to be passed to the constructor unresolved with variable templates, and then the webhook plugin itself is going to resolve those (see Renderer.java).

Reasons:
  • Whitelisted phrase (-1): have you tried
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @MaratC
  • Single line (0.5):
  • Low reputation (1):
Posted by: vallywonka

79573789

Date: 2025-04-14 18:31:23
Score: 1
Natty:
Report link

Running a container with the glue image using glue version 5 i was able to interact locally with glue catalog.

public.ecr.aws/glue/aws-glue-libs:5 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jonatas Delatorre

79573779

Date: 2025-04-14 18:19:19
Score: 2.5
Natty:
Report link

setProperty just returns a copy of the JSON with that particular key value pair modified. To actually modify a variable, you need to do a set action and set it to the desired json output (which can be, for example, the compose output).

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

79573778

Date: 2025-04-14 18:16:18
Score: 0.5
Natty:
Report link

Using non-generic ApiResponse in your method's generic type parameters is producing the error message. Changing to this should compile:

public async Task<ApiResponse<TResponse>> MakeHttpRequestAsync<TRequest, TResponse>() 
    where TResponse : class
{ }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: digital_jedi

79573766

Date: 2025-04-14 18:05:15
Score: 2.5
Natty:
Report link

In my case the problem was in Program.cs file:

I had app.MapStaticAssets();

When I started to use app.UseStaticFiles(); the problem was solved

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

79573763

Date: 2025-04-14 18:03:15
Score: 2
Natty:
Report link

I experienced the same problem. I was able to solve it by installing the gcc compiler (brew install gcc), which apparently got (re)moved by the MacOS update.

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

79573760

Date: 2025-04-14 18:01:14
Score: 0.5
Natty:
Report link

You can show the World Origin on macOS using:

(programmatically show the World Origin:)

yourSCNView.debugOptions = SCNDebugOptions(rawValue: 2048)

Repeating what you now know but to summarize for others, you can also use:

(trigger a UI window that can show the World Origin from a menu option:)

yourSCNView.showsStatistics = true

which brings up a surprising, and very powerful and useful, window packed full of features and options (on macOS; a mini versions appears on iOS).

It is a bit odd that .showWorldOrigin is only indirectly available to macOS like this, but I think it, and .showFeaturePoints (the other SCNDebugOptions also not available to macOS), might have been part of later editions to SCNDebugOptions to troubleshoot Augmented Reality needs for ARKit. ARKit uses spatial/LiDAR tracking info to identify real world objects, or features like a chair, tabletop, etc., where you would need a front-facing camera (not macOS) to implement properly, hence, it's primarily an iOS thing, and the documentation for both mention that and state that they are "most useful with a ARWorldTrackingConfiguration session."

Also, in the discussions here,

yourSCNView.debugOptions = SCNDebugOptions(rawValue: 4096)

may trigger the other unavailable option (.showFeaturePoints), but @DonMag mentioned that couldn't be confirmed, which would seem to be expected since the docs state: "This option is available only when running a ARWorldTrackingConfiguration session.", so you wouldn't notice that option (.showFeaturePoints) on macOS.

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

79573748

Date: 2025-04-14 17:53:12
Score: 1
Natty:
Report link

When you are unsure about what condition to put in while loop but you just want a harmless loop and the condition you want to stop is inside the loop (which consists of either break or return, in java), then you can use while(true). So while(true){} basically keeps looping until any condition to exit the loop is met inside the loop, or else it will keep looping infinite times.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you are
  • Low reputation (1):
Posted by: 454_RUCHA PHADKE

79573746

Date: 2025-04-14 17:51:11
Score: 2.5
Natty:
Report link

I tried that, but it didn't work with my Samsung Xpress SL-M2070F. Then, I installed the printer driver first. Finally, it works without any problems anymore. I hope it might work for you as well as you want.

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

79573743

Date: 2025-04-14 17:49:10
Score: 3
Natty:
Report link

I had this error today on previously functional code - it turned out OneDrive was not started, and the file was in OneDrive and not local. Once I restarted, the issue was fixed.

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

79573735

Date: 2025-04-14 17:43:09
Score: 4
Natty:
Report link

I just saw this post, but I was not able to do so with Apple Notes. What I am trying to do is to use .localized (I don't think Apple Notes have this anymore) to avoid problems with another languages when I filter the notes to fetch all notes, but "Recently Deleted" ones. This is the AppleScript I am using:

    tell application "Notes"
        set output to ""
        repeat with eachFolder in folders
            set folderName to name of eachFolder
            if folderName is not "Nylig slettet" and folderName is not "Recently Deleted" then
                repeat with eachNote in notes of eachFolder
                    set noteName to name of eachNote
                    set noteID to id of eachNote
                    set output to output & noteID & "|" & folderName & " - " & noteName & "\n"
                end repeat
            end if
        end repeat
        return output
    end tell

I am using the Norwegian translation here too because my system is in Norwegian.

Does anyone knows a solution to this? I checked into Apple Notes/Contents/Resources, but I did not find any .strings.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Blacklisted phrase (1): anyone knows
  • RegEx Blacklisted phrase (2): Does anyone know
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Antoniorodr

79573732

Date: 2025-04-14 17:42:08
Score: 5
Natty: 6.5
Report link

same here. tryed https://www.amerhukic.com/finding-the-custom-url-scheme-of-an-ios-app but no win. LOL

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

79573729

Date: 2025-04-14 17:40:07
Score: 1.5
Natty:
Report link

Along with the aforementioned comment, I would like to add the following points for further consideration.

The Google Sheets Tables feature is a new addition to Google Sheets. However, this feature is not currently compatible with Google Apps Script or the Sheets API. Therefore, Google Apps Script cannot be used to retrieve Google Sheets' Tables.

There are two related pending Issue Tracker posts that are feature requests related to this post.

The first one is “Programmatic Access to Google Sheets Tables”

Which states:

Tables in sheets cannot be manipulated via the API: it would be great to be able to rename Google Sheets tables (or change any of their other attributes) via Apps script, but I could not find any service or class allowing me to do so.

And, the second one is “Add table management methods to the Spreadsheet service in Apps Script.”

Which states:

For instance, consider adding a getTables method to the Spreadsheet or Sheet class. This method could:

  • Retrieve all tables as class objects.
  • Provide class objects with methods for retrieving and setting table names, ranges, and other properties.

As of now, there are currently 8 people impacted by this feature request and 42 people impacted by this another feature request. I suggest hitting the +1 button for these two related feature requests to signify that you also have the same issue and consider adding a star (on the top left) so Google developers will prioritize/update the issue.

There are also related posts published on this in the Google Cloud - Community. One is titled “Workaround: Using Google Sheets Tables with Google Apps Script”.

This report proposes a workaround solution using Apps Script until native support arrives.

You may consider it; it might suit your needs.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): also have the same issue
  • Low reputation (0.5):
Posted by: leylou

79573725

Date: 2025-04-14 17:38:06
Score: 3
Natty:
Report link

You can perhaps try this PicoBlaze assembler and emulator in JavaScript. Disclaimer: I am the primary author of that project.

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

79573722

Date: 2025-04-14 17:36:05
Score: 1.5
Natty:
Report link

On maven, in my case, the problem was fixed by updating the allure-maven plugin to the latest version and configuring its <reportVersion> parameter to match the latest allure-commandline version.

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

79573718

Date: 2025-04-14 17:35:04
Score: 6 🚩
Natty: 6
Report link

@flakes thank you very much for your explanation

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @flakes
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: lemassykoi

79573714

Date: 2025-04-14 17:32:03
Score: 2
Natty:
Report link

PR has to be set to 1 in order to work correctly
I used: EXTI->PR &= ~(1); this sets the bit to 0
Whats would be right?
EXTI->PR |= 1;

This only works for EXTI0 because it sets the LSB to 1 not individually. One would have to move the bit to the corresponding EXTI.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Trebor

79573713

Date: 2025-04-14 17:32:03
Score: 0.5
Natty:
Report link

No, and like you, I wish this was possible, though my reason is aesthetic and I don't think yours is.

Unfortunately, vscode extensions require a browser-like environment to run in, so the front-end must run in a graphical environment of some kind. You could render vscode in a browser, capture that, convert it to text, then send that text to a remote terminal at 30-60 FPS. There is a text-mode browser which does exactly this using headless Firefox in the background, and that could be used, perhaps: https://github.com/browsh-org/browsh, but it does everything on localhost, not remotely. At best this would be a hack that required a LOT of bandwidth, and at worst it would be unusable.

What I think you want, though, is probably just what the normal vscode "Remote" extensions provide. You can run vscode remotely via SSH and connect that remote backend to a locally hosted frontend which has nice, low response times.

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

79573700

Date: 2025-04-14 17:23:00
Score: 1
Natty:
Report link

Update answer for Spring Boot 3.4

var clientHttpRequestFactory = ClientHttpRequestFactoryBuilder.httpComponents()
        .withHttpClientCustomizer(HttpClientBuilder::disableCookieManagement)
        .build();

var restTemplate = new RestTemplate(clientHttpRequestFactory);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: kxalex

79573699

Date: 2025-04-14 17:23:00
Score: 1
Natty:
Report link

Put ignore_index=true after sorting

self.data.sort_values(by=[column], inplace=True, ignore_index=True)
If not it resets to default index
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: vikas kapdoskar

79573695

Date: 2025-04-14 17:15:58
Score: 5
Natty: 5
Report link

I am in absolutely the same situation. I tried everything :/
Do u have update?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Jesus Kostov

79573693

Date: 2025-04-14 17:15:58
Score: 2
Natty:
Report link

The problem was not in my code, but my clipboard itself. the echo command adds \n at the end, as it ends the line. But the code was correct.

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

79573685

Date: 2025-04-14 17:09:56
Score: 2
Natty:
Report link

The isDivisible function takes two arguments, number and divisor, and returns true if number is evenly divisible by divisor, and false otherwise.

function isDivisible(number, divisor) { return (number % divisor === 0); }

if (isDivisible(10, 2)) { run code } /* the answer is true because 10 divided by 2 the remaindr is 0, even number */

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

79573683

Date: 2025-04-14 17:09:56
Score: 1.5
Natty:
Report link
u/chrisawi on r/flathub saw the fix for my error. In gschema.xml:

    <schema id="texty3" path="/ca/footeware/java/texty3/">

...id should be "ca.footeware.java.texty3". D'oh!
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: CraigFoote

79573673

Date: 2025-04-14 17:06:55
Score: 1
Natty:
Report link

To be sure to work with

Executors.newSingleThreadExecutor();

It's need to use exchange not mono with ExecutorsService to send 1 request and not more to the service.

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

79573666

Date: 2025-04-14 17:00:52
Score: 6 🚩
Natty: 5.5
Report link

Maybe set the Url for to just the URL?

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

79573661

Date: 2025-04-14 16:58:52
Score: 1.5
Natty:
Report link

Take a look near the top of https://trino.io/docs/current/connector/iceberg.html and you'll see that your value of "catalog" is not valid for "iceberg.catalog.type". Valid options are hive_metastore, glue, jdbc, rest, nessie, and snowflake.

From there, more properties will be needed (see the links just above that for you specific choice). For example, using "rest" will require these options to be set; https://trino.io/docs/current/object-storage/metastores.html#iceberg-rest-catalog.

Making sure you also know some other places you can ask Trino questions at; https://trino.io/slack and https://www.starburst.io/community/forum/ (I prefer the last one, but I'm Starburst DevRel and a "bit" opinionated).

Reasons:
  • RegEx Blacklisted phrase (1): see the links
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Lester Martin

79573657

Date: 2025-04-14 16:53:50
Score: 0.5
Natty:
Report link

Please use regex as follows:

vs-code regex

Find: (?<![\s\S])(.|\n)+('/awesome-page')

Replace: import importThis from 'somepkg'; \n$0 + importThis

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

79573635

Date: 2025-04-14 16:42:47
Score: 0.5
Natty:
Report link

I did not find a good solution but two of the "workarounds" seem sufficient.

  1. Introduce a dummy parameter and then use Environment injection plugin

  2. If you just want this parameter to show up in the build description (like I did) you might as well do a httpPost request JOB_URL/submitDescription with the parameter description set to whatever you want (in my case the TRIGGER_URL)

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

79573627

Date: 2025-04-14 16:36:45
Score: 3
Natty:
Report link

For me what worked was the ">Remote-SSH Uninstall VS code Server from host" option. Good luck.

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

79573626

Date: 2025-04-14 16:36:45
Score: 2
Natty:
Report link

There's also a builtin option to make the Table dense, size="small": https://mui.com/material-ui/react-table/#dense-table

Example:

      <Table sx={{ minWidth: 650 }} size="small" aria-label="a dense table">
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Pablo R. Dinella

79573620

Date: 2025-04-14 16:34:44
Score: 2.5
Natty:
Report link

tente

return {
  {
    "nvim-treesitter/nvim-treesitter",
    enabled = false,
  },
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Lucas Moreira Albino

79573617

Date: 2025-04-14 16:30:43
Score: 0.5
Natty:
Report link

Give your app target's build phases a Run Script phase. Check to see that "Show environment variables in build log" is checked. That's all! The environment variables and their values will all be dumped to the build report every time you build.

enter image description here

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

79573612

Date: 2025-04-14 16:26:42
Score: 2
Natty:
Report link

I tried most things mentioned in previous answers but they didn't work in my case. I restarted the whole system (linux) after update and this error disappeared.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Veli-Matti Sorvala

79573596

Date: 2025-04-14 16:20:40
Score: 0.5
Natty:
Report link

You're close, but there's room to make this calibration pipeline a lot more robust, especially across varied lighting, contrast, and resolution conditions. OpenCV’s findCirclesGrid with SimpleBlobDetector is a solid base, but you need some adaptability in preprocessing and parameter tuning to make it reliable. Here's how I’d approach it.

Start by adapting the preprocessing step. Instead of hardcoding an inversion, let the pipeline decide based on image brightness. You can combine this with CLAHE (adaptive histogram equalization) and optional Gaussian blurring to boost contrast and suppress noise:

def preprocess_image(gray):
    # Auto invert if mean brightness is high
    if np.mean(gray) > 127:
        gray = cv2.bitwise_not(gray)

    clahe = cv2.createCLAHE(clipLimit=2.0, tileGridSize=(8, 8))
    gray = clahe.apply(gray)

    gray = cv2.GaussianBlur(gray, (5, 5), 0)
    return gray

For the blob detector, don’t use fixed values. Instead, estimate parameters dynamically based on image size. This keeps the detector responsive to different resolutions or dot sizes. Something like this works well:

def create_blob_detector(gray):
    h, w = gray.shape
    estimated_dot_area = (h * w) * 0.0005  # heuristic estimate

    params = cv2.SimpleBlobDetector_Params()
    params.filterByArea = True
    params.minArea = estimated_dot_area * 0.5
    params.maxArea = estimated_dot_area * 3.0

    params.filterByCircularity = True
    params.minCircularity = 0.7

    params.filterByConvexity = True
    params.minConvexity = 0.85

    params.filterByInertia = False
    return cv2.SimpleBlobDetector_create(params)

This adaptive approach is inspired by guides like the one from Longer Vision Technology, which walks through calibration with circle grids using OpenCV: https://longervision.github.io/2017/03/18/ComputerVision/OpenCV/opencv-internal-calibration-circle-grid/

You can then wrap the entire detection and calibration process in a reusable function that works across a wide range of images:

def calibrate_from_image(image_path, pattern_size=(4,4), spacing=1.0):
    img = cv2.imread(image_path)
    gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
    preprocessed = preprocess_image(gray)
    detector = create_blob_detector(preprocessed)

    found, centers = cv2.findCirclesGrid(
        preprocessed, pattern_size,
        flags=cv2.CALIB_CB_SYMMETRIC_GRID + cv2.CALIB_CB_CLUSTERING,
        blobDetector=detector
    )

    if not found:
        print("❌ Grid not found.")
        return None

    objp = np.zeros((pattern_size[0] * pattern_size[1], 3), np.float32)
    objp[:, :2] = np.mgrid[0:pattern_size[0], 0:pattern_size[1]].T.reshape(-1, 2) * spacing

    image_points = [centers]
    object_points = [objp]
    image_size = (img.shape[1], img.shape[0])

    ret, cam_matrix, dist_coeffs, _, _ = cv2.calibrateCamera(
        object_points, image_points, image_size, None, None)

    print("✅ Grid found and calibrated.")
    print("🔹 RMS Error:", ret)
    print("🔹 Camera Matrix:\n", cam_matrix)
    print("🔹 Distortion Coefficients:\n", dist_coeffs)
    return cam_matrix, dist_coeffs

For even more robustness, consider running detection with multiple preprocessing strategies in parallel (e.g., with and without inversion, different CLAHE tile sizes), or use entropy/edge density as cues to decide preprocessing strategies dynamically.

Also worth noting: adaptive thresholding techniques can help in poor lighting conditions. Take a look at this StackOverflow discussion for examples using cv2.adaptiveThreshold: OpenCV Thresholding adaptive to different lightning conditions

This setup will get you much closer to a reliable, general-purpose camera calibration pipeline—especially when you're dealing with non-uniform images and mixed camera setups. Let me know if you want to expand this to batch processing or video input.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrii Polukhin

79573586

Date: 2025-04-14 16:13:38
Score: 2
Natty:
Report link

My issue was that there was an Nginx ingress added and it was raising an HTTP code 413
"Request Entity too Large". To fix this we increase the following configuration:

nginx.ingress.kubernetes.io/proxy-body-size: 8m

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

79573580

Date: 2025-04-14 16:11:37
Score: 0.5
Natty:
Report link

For anyone struggling with this (I tried the first guy's answer and got error after error), I believe I found a way that is WAY simpler. Credit to this website - https://www.windowscentral.com/how-rename-multiple-files-bulk-windows-10

Put all of the files you want to trim the names of into one folder. Open CMD to that folder (in Windows 11, you can right-click while you're in the folder and select Open In Terminal. For me, it opened PowerShell, so I had to type cmd and hit enter first), and read the next part.

'ren' is the rename command. '*' means 'anything' (from what I understand), so '*.*' means 'any filename and any extension in the folder.' And finally, the amount of question marks is the amount of characters to keep. So '???.*' would only keep the first 3 characters and would delete anything after that while keeping whatever filetype extension it was.

So if you had multiple files with filenames formatted YYYY-MM-DD_randomCharactersBlahBlah.jpg and .mp4 and .pdf, you'd want to keep only the first 10 characters. So you'd open CMD in the folder and type:

ren *.* ??????????.*

The new filename would be YYYY-MM-DD.jpg or .mp4 or .pdf.

Just be careful, because if you have multiple files with the same date in this scenario, they'd have the same filename after trimming which causes CMD to skip that file. Hope this helps someone.

Reasons:
  • Blacklisted phrase (1): ???
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Francis

79573578

Date: 2025-04-14 16:10:37
Score: 2
Natty:
Report link

I had the same problem, I could only solve it by removing the -Objc flag from Other Linker Flags, which some cocoapods packages insert because it depends on libs .a, this flag causes it to import unused codes that cause this error to happen, with me the problem is with Google Mobile Ads that inserts this flag, but the curious thing is that this problem only happens with iOS devices that have iOS versions below 18.4, the iPhone 15 with 18.4 the problem does not happen, now with all devices with 18.3, 18.2 and even 15.2 the application does not open.

Now the million dollar question, is the problem with Xcode or with third party libs that still depend on the -Objc flag?

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: fabegalo

79573570

Date: 2025-04-14 16:05:35
Score: 8.5
Natty: 7
Report link

@Pigeo or anyone willing to help. I'm a noobie and can someone please explain the following Apache 2.4 syntax:

Header onsuccess edit Set-Cookie ^(.*(?i:HttpOnly).*)$ ;;;HttpOnly_ALREADY_SET;;;$1

Especially

 ^(.*(?i:HttpOnly).*)$ ;;;HttpOnly_ALREADY_SET;;;$1

I'm assuming that the * is a wildcard, but how is this syntax read? If someone can please explain or direct me to somewhere (page) that may explain it. Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): can someone please explain
  • RegEx Blacklisted phrase (2.5): please explain
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Pigeo
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: ET4

79573563

Date: 2025-04-14 16:03:34
Score: 5
Natty: 7
Report link

I'm trying to understand how let the eyetracker work and record data in VIVE FOCUS 3. As i readed all around the web I need Unity to do it. Once I tried to do it but withouth results. Have you some reccomendation or tutorial to suggest?

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

79573545

Date: 2025-04-14 15:56:31
Score: 1.5
Natty:
Report link

If the passkey is available on the other devices (in most cases it will be), it will work regardless of whether that device has biometrics. Most passkey providers will provide device PIN or device passcode if there are no biometric devices.

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

79573532

Date: 2025-04-14 15:48:29
Score: 2.5
Natty:
Report link

useMemo(() => "React", []): Creates a memoized value.

React needs to run the function () => "React" once and it stores the result.

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

79573525

Date: 2025-04-14 15:46:27
Score: 9.5 🚩
Natty: 6
Report link

did you find a solution to this / have any insights? Thanks

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

79573523

Date: 2025-04-14 15:45:27
Score: 0.5
Natty:
Report link

If someone is still looking for this. I have found the solution and described in my blog post here https://gelembjuk.hashnode.dev/building-mcp-sse-server-to-integrate-llm-with-external-tools

But as i understand there will be better ways to do this soon because developers of that python sdk have some ideas how to support this

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

79573519

Date: 2025-04-14 15:42:26
Score: 1
Natty:
Report link

There is no --add.safe.directory option in git, remove point after add

git config --global --add safe.directory '[local path of files to upload]'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: poisoned_monkey

79573506

Date: 2025-04-14 15:36:25
Score: 1.5
Natty:
Report link

Highchart doesn't redraw when there is zoom in/out. Try keeping the ref of chart and use chart.redraw(). This will redraw the chart to fit the new layout.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Sharath M.H

79573504

Date: 2025-04-14 15:35:24
Score: 1
Natty:
Report link

Please make sure the spring boot version is updated to v3.2.8 or later and of course all the other related dependencies in that spring boot project to the version compatible to the updated version of the spring boot

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