79574316

Date: 2025-04-15 03:22:57
Score: 1
Natty:
Report link

Android Studio is a cool development environment, but it has bugs like everyone else

Why did they make such the Toast that few people have time to read? This is a clear mistake!

Click it to let the developers see it! Stop worrying and coming up with crutches

In general, use Dialogs! It's clearer, more beautiful, it doesn't run away! :)

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: user_MGU

79574308

Date: 2025-04-15 03:08:53
Score: 3
Natty:
Report link

A bit late but maybe it'll help someone else. Use [embedFullWidthRows]="true" when defining ag-grid. Refer here.

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

79574301

Date: 2025-04-15 02:50:49
Score: 1
Natty:
Report link

I will do few updates to your code, 1 - Wrap setOptimisticIsFavorited in startTransition to properly handle the optimistic update. 2 - Add error handling and reset optimistic state on failure 3 - Disable the button during transitions to prevent multiple clicks 4 - Add proper error boundaries around the async operation

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

79574299

Date: 2025-04-15 02:45:47
Score: 0.5
Natty:
Report link

1. Verify and Reinstall the NDK

The error suggests that the source.properties file is missing, which indicates an issue with the NDK installation. Follow these steps to reinstall the NDK: Open Android Studio. Go to File > Settings > Appearance & Behavior > System Settings > Android SDK (on macOS, it's under Preferences). Select the SDK Tools tab. Check the box for NDK (Side by side) and click Apply or OK to install the latest version of the NDK.

Once installed, verify that the NDK directory (e.g., ~/Android/Sdk/ndk/) contains the source.properties file.

2. Clean and Rebuild the Project

After reinstalling the NDK, clean and rebuild your project to ensure the changes take effect cd android ./gradlew clean cd .. npx react-native run-android 3. Specify the Correct NDK Version

Sometimes, the project may require a specific version of the NDK. You can specify the version in your build.gradle file: Open the android/build.gradle file. Add or update the ndkVersion property under the android block: gradle

android { ndkVersion "27.1.12297006" // Replace with the correct version } Sync the project and rebuild.

4. Delete and Reinstall the NDK Folder

If the issue persists, manually delete the NDK folder and reinstall it: Navigate to the NDK directory (e.g., ~/Android/Sdk/ndk/). Delete the problematic NDK folder (e.g., 27.1.12297006). Reinstall the NDK using Android Studio as described in Step 1.

5. Update Gradle and React Native

Ensure that you are using the latest versions of Gradle and React Native, as older versions may have compatibility issues with newer NDK versions: Update the Gradle wrapper by modifying the gradle-wrapper.properties file: properties

distributionUrl=https://services.gradle.org/distributions/gradle-8.0-all.zip Update React Native to the latest version: bash

npm install react-native@latest

6. Verify Environment Variables

Ensure that your ANDROID_HOME and PATH environment variables are correctly set: Add the following lines to your ~/.bashrc or ~/.zshrc file: bash

export ANDROID_HOME=$HOME/Android/Sdk export PATH=$ANDROID_HOME/emulator:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools:$PATH Reload the terminal: bash

source ~/.bashrc

7. Delete Gradle Cache

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

79574294

Date: 2025-04-15 02:40:46
Score: 3.5
Natty:
Report link

For anyone trying to do the same as the original poster, see this repository by james77777778:
https://github.com/james77777778/darknet-onnx

Reasons:
  • Blacklisted phrase (1): trying to do the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Luke Terán

79574292

Date: 2025-04-15 02:38:45
Score: 1
Natty:
Report link

{

"name": "Permissions Extension",

...

"permissions": [

"activeTab",

"contextMenus",

"storage"

],

"optional_permissions": [

"topSites",

],

"host_permissions": [

"https://www.developer.chrome.com/\*"

],

"optional_host_permissions":[

"https://\*/\*",

"http://\*/\*"

],

...

"manifest_version": 3

}

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

79574290

Date: 2025-04-15 02:36:45
Score: 2
Natty:
Report link

As suggested by @camickr I managed to get a solution, but I did things a little differently.

Container mainPanel = this.getParent();  
CardLayout card = (CardLayout) mainPanel.getLayout();  
card.show(mainPanel, "login panel");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @camickr
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: YJH16120

79574283

Date: 2025-04-15 02:27:42
Score: 0.5
Natty:
Report link

Try add the dll name to the source:

<ResourceDictionary.MergedDictionaries>
    <ResourceDictionary Source="/dllName;component/Themes/DarkTheme.xaml"/>
</ResourceDictionary.MergedDictionaries>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Lamp

79574273

Date: 2025-04-15 02:14:39
Score: 1
Natty:
Report link

I solved this problem by going into the container settings. There’s a configuration for enabling end-to-end HTTP 2.0. When I disabled it, the protocol error stopped appearing.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pedro de Castro Tedesco

79574266

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

You could use pandas for csv processing. In this case pandas will skip the header and will bring you more possibilities.

But something like this can aslo help you:

if list(row.values()) == FIELDNAMES:
    pass
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alex Ilchenko

79574256

Date: 2025-04-15 01:50:32
Score: 4.5
Natty: 5.5
Report link

can someone make one to disconnect from global protect

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can someone
  • Low reputation (1):
Posted by: eeijekfbwiefjk

79574255

Date: 2025-04-15 01:49:31
Score: 2.5
Natty:
Report link

ffmpeg_kit_flutter:
git:
url: https://github.com/Sahad2701/ffmpeg-kit.git
path: flutter/flutter
ref: flutter_fix_retired_v6.0.3

This plan is feasible, thank you;

but how to use :ffmpeg_kit_flutter_full_gpl;

if use “”ffmpeg_kit_flutter_full_gpl , report an error;

pls

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: marsdiscovery

79574253

Date: 2025-04-15 01:44:30
Score: 1
Natty:
Report link

I've always felt like "internal" should be the default. Unless you're writing a public library there's no need or reason to expose anything at all to the world at large. So many people here have said "You only need to use internal when you want to hide something from the outside world" but I'd turn that on it's head - you only want to use public for stuff that you expect to be called from the outside world. Unless you're writing a public library, that usually means nothing at all. That said, it does make some things easier where other types of program such as serialization or unity tests require explicit access to your stuff but even there there's almost always a workaround though sometimes it's a bit more difficult. I really regret that most code just mindlessly uses public for all sorts of stuff that nobody is particularly anxious to publish to the world. Sometimes I just throw my hands up and acquiesce because so much stuff is geared towards you making stuff public but I think that this is a sad, almost accidental historical mistake rather than a well thought out strategy.

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

79574249

Date: 2025-04-15 01:41:28
Score: 1
Natty:
Report link

I have a pretty good solution, wich is working since 2008 without problems, we are storing close to 500,000 files of diferent types by using 2 separate tables.

Performance is amazing, and memory usage very low because one table (METADATA) only stores metadata describing the uploaded file, including one field(id) pointing to the second table (CONTENT) wich contains a BLOB field(the actual file) and an ID field to link its metadata.

All searching is done on the metadata table, and when we decide to download a file the ID field allow Us to download the content of only that specific record from the second table.

We insert new files on the CONTENT table, and the new ID field is used to insert another record on the METADATA table and register the descriptive info of the file, like name, size, type, user,etc.

METADA is like a directory of the files. Small Table.

CONTENT is the repository of the files with their key (ID).Huge Table.

In the second table We store files as big as 256MB in Mysql.

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

79574246

Date: 2025-04-15 01:31:26
Score: 2.5
Natty:
Report link

To show file upload progress in NestJS, don't use multer because it waits until the file is fully uploaded. Instead, use busboy and show progress using Javascript's onprogress event.

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

79574243

Date: 2025-04-15 01:28:25
Score: 5
Natty: 4.5
Report link

No parametro path da imagem existe uma forma de usar o conteudo da image ao inves do caminho?

In the image path parameter, is there a way to use the image content instead of the path?

Reasons:
  • Blacklisted phrase (1): is there a way
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: user29410051

79574242

Date: 2025-04-15 01:28:24
Score: 1
Natty:
Report link

its actually quite simple

template <typename T>
void printrgb(int r, int g, int b, T output) {
    std::cout<<"\033[38;2;"<<r<<";"<<g<<";"<<b<<"m"<<output<<"\033[0m";
}

the output will be printed based on r, g and b, actually i dont understand how its work

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

79574237

Date: 2025-04-15 01:19:22
Score: 0.5
Natty:
Report link

Run the command without $ in your terminal

git clone https://www.github.com/sky9262/phishEye.git
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: X8inez

79574232

Date: 2025-04-15 01:05:19
Score: 1.5
Natty:
Report link

I had the same issue. There is a response on this page from the user Sachin Dev Tomar and that is what worked for my situation. So once I got the Azure development tool installed in my Visual Studio, it started to work as expected.

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

79574228

Date: 2025-04-15 00:50:15
Score: 3
Natty:
Report link

In Vscode I just cleaned the android paste and rerun the expo command to run in android, and for some reason It works very well : )

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: richard engenheiro da computac

79574225

Date: 2025-04-15 00:47:14
Score: 2.5
Natty:
Report link

Craigslist no longer allows HTML tags like in most categories to prevent spam and scams.Instead, post plain URLs like https://example.com; Craigslist auto-links them in supported sections.

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

79574220

Date: 2025-04-15 00:40:12
Score: 1.5
Natty:
Report link

You have a lot of alternatives:

  1. Disable button and wait some time to enable again

  2. Disable button, wait response from server, show success dialog, wait for user to click close, then enable button again

  3. You can check if the same data was inserted before in a defined amount of time and cancel the operárion

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Weber K.

79574208

Date: 2025-04-15 00:22:07
Score: 2.5
Natty:
Report link

I had this issue and for me, it was because my bin folder was included in my project in Visual Studio. I removed all references to <Content Include="bin\..."/> in my .csproj file and the publish started working after that.

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

79574202

Date: 2025-04-15 00:17:06
Score: 2.5
Natty:
Report link

Spotify stores encrypted, compress audio files in cache, using minimal storage. for your project compress audio, encrypt it, store locally, and decrypt for playback using native audio tools or libraries.

Thank You

Reasons:
  • Blacklisted phrase (0.5): Thank You
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: D C PATEL

79574200

Date: 2025-04-15 00:15:05
Score: 3
Natty:
Report link

The method is creating a thread, and multiple threads may be trying to open the same registry key. The call may not be thread safe.

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

79574199

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

You can remove the code from the onBootstrap method. In laminas the session is started via the AbstractContainer::__construct method. See the link below for the code relevant to that. In laminas Session is autowired via its factories. You can find which ones are being called in the /vendor/laminas/laminas-session/src/ConfigProvider::getDependencyConfig() method. For laminas components that expose support for both Laminas MVC and Mezzio the Module class just proxies to the ConfigProvider class.

You can find the migration guide here:

https://docs.laminas.dev/migration/

You can find a presentation by Zend here:

https://www.zend.com/webinars/migrating-zend-framework-laminas

Location where the session is started

https://github.com/laminas/laminas-session/blob/80a4108b3f451d0fb3afd1d63fc8a79ead4ddae6/src/AbstractContainer.php#L88

Since you are trying to upgrade you may want to take a look at the documentation for usage in a laminas-mvc application. It covers all the new options.

https://docs.laminas.dev/laminas-session/application-integration/usage-in-a-laminas-mvc-application/

Reasons:
  • Blacklisted phrase (1): the link below
  • RegEx Blacklisted phrase (1): See the link
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Tyrsson

79574183

Date: 2025-04-14 23:52:59
Score: 4
Natty:
Report link

Should help fix these kinds of missing plugin issues with WordPress when it doesn't solve itself: https://github.com/wpallstars/wp-fix-plugin-does-not-exist-notices

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

79574173

Date: 2025-04-14 23:40:56
Score: 3
Natty:
Report link

I downgraded my Xcode to 16.2 and the app built successfully.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Relie Essom

79574163

Date: 2025-04-14 23:30:53
Score: 2.5
Natty:
Report link

ok so I suggest you remove the print function at the start and I suggest you to replace the , to a +

for ex

name = input("What's your name")

print("Hello " + name)

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

79574160

Date: 2025-04-14 23:24:52
Score: 3.5
Natty:
Report link

You can format your data using a community visualization named Templated Record that supports HTML. Here is how it works and an example of the results.

Result example

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

79574145

Date: 2025-04-14 23:05:46
Score: 1
Natty:
Report link

I just tried this but I got the same error:

 python minipython1151.py
Traceback (most recent call last):
  File "/Users/kate/Pictures/RiverofJobs.com/code2/minipython1151.py", line 1, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mark McWiggins

79574142

Date: 2025-04-14 23:02:45
Score: 3.5
Natty:
Report link

Sometimes it happens when you use a feature that's only valid for one day, and after that, it won't let you do anything, and you'll have to start another chat. But if you have the paid version, it's very rare for that to happen.

Best regards!

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Cristhian Alfaro

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