79430523

Date: 2025-02-11 15:42:30
Score: 1
Natty:
Report link

Hint if you are in need like me to store multiline private key (Open SSH conversion in Putty as only that azure accept) and then use it in Logic App Standard. You must upload it using Azure CLI,but it makes difference if you upload .txt or .pem file. Latter worked.

az keyvault secret set --name "name-Sftp-sshPrivateKey" --vault-name "kv-name" --file "secretfile.txt" uploaded file ok, but Logic App not connected with it to ssh

file extension changed and voila! az keyvault secret set --name "name-Sftp-sshPrivateKey" --vault-name "kv-name" --file "secretfile.pem"

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

79430508

Date: 2025-02-11 15:38:28
Score: 1.5
Natty:
Report link

To have alignment with dashes on a single line:

\pset format wrapped

Documentation: pset format

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Yanaël

79430501

Date: 2025-02-11 15:35:28
Score: 3.5
Natty:
Report link

thanks for the quick answer! This what I have now: Collecting dcm-pics in a pydicom-fileset and write it down

    from os.path import isdir, join
    from pydicom.fileset import FileSet
    
    path2dcm = r"D:\Eigene Dokumente\DICOM-Bench\WenigerScans\vDICOM"
    instanceList =[]
    
    def ListFolderEntries (path):
        for entry in listdir(path):
            npath = (join(path,entry))
            if isdir(npath):
                ListFolderEntries(npath)
                
            else:
                instanceList.append(npath)  
            
    #walk through folders recursively
    #and collect the dcm-pics
    ListFolderEntries (path2dcm)
    
    for Inst in instanceList:
        myFS.add(Inst)
    #perhaps add her the series Desicription?
    
    myFS.write() #creates the file structure and a DICOMDIR

this is what i get in Micro-Dicom

How to modify the DICOMDIR that series description will be displayed? Thanks!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: HackJack

79430496

Date: 2025-02-11 15:33:27
Score: 1
Natty:
Report link

Could be useful:

this.gridApi?.getRenderedNodes().filter(node => node.isSelected()).map(node => node.data)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nick Shulzhenko

79430492

Date: 2025-02-11 15:33:27
Score: 3.5
Natty:
Report link

You can try using caddy server, which will create a reverse proxy and handles tls automatically.

https://medium.com/@dileepa.mabulage/setting-up-https-for-a-local-nestjs-server-using-caddy-5dc7ce4ec317

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: DMabulage

79430484

Date: 2025-02-11 15:30:26
Score: 0.5
Natty:
Report link

Please note that lately there have been problems with the feature:install instruction. You should try running a single instruction for all the features you need to install. Before that, delete the data directory, then run:

feature:install <feature1> <feature2> ... <featureN>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: D Arjona

79430468

Date: 2025-02-11 15:24:25
Score: 1.5
Natty:
Report link

All packages in a pub workspace must agree on the setting for uses-material-design. Even though your root pubspec sets it to true, some of your other package pubspecs may have set it to false (or omitted, thereby defaulting to false)? :)

Setting all occurrences to true should solve the issue. Good luck!

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

79430467

Date: 2025-02-11 15:23:24
Score: 5
Natty:
Report link

Have you tried making a custom URL dispatcher to return a view depending on the language?

https://docs.djangoproject.com/en/5.1/topics/http/urls/#registering-custom-path-converters

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Kevin Mac-Ginty

79430466

Date: 2025-02-11 15:23:24
Score: 1
Natty:
Report link

Using org.simpleflatmapper.csv :

List<Map<String, Object>> listOfLine = new ArrayList<>(); //Your table
listOfLine.add(new HashMap<>()); //Your line

try (Writer writer = createFile(filename)) {
    CsvWriter<Map> csv = CsvWriter.from(Map.class)
            .separator(';')
            .columns(listOfLine.get(0).keySet().toArray(new String[0]))
            .to(writer);
    
    for (Map<String, Object> line : listOfLine) {
        csv.append(line);
    }
    
    writer.flush();
}
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Nim

79430451

Date: 2025-02-11 15:18:22
Score: 4
Natty:
Report link

Maybe it is out of date, but i will try to ask. I am trying to install SSL for my Tomcat server, and i faced with proble: "trustAnchors parameter must be non-empty". I am not very well in Java, but i guess i have it happens because i have only PrivateKeyEntry in my JKS and no one TrustEntry. I followed by manual from official website and used this command (below) and after restart my Tomcat there is still exception. Could you point me what am i doing wrong?

keytool -genkey -alias server -keyalg RSA -keysize 2048 -sigalg SHA256withRSA -storetype JKS \
      -keystore     my.server.com.jks -storepass mypwd -keypass mypwd \
      -dname    "CN=my.server.com, OU=EastCoast, O=MyComp Ltd, L=New York, ST=, C=US" \
      -ext "SAN=dns:my.server.com,dns:www.my.server.com,ip:11.22.33.44" \
      -validity 7200
Reasons:
  • Blacklisted phrase (1): what am i doing wrong?
  • Blacklisted phrase (1): I am trying to
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: bycha.

79430447

Date: 2025-02-11 15:17:22
Score: 0.5
Natty:
Report link

The former one is the right /better choice as you can add the values dynamically without concatenating explicitly to achieve your result.

SearchParams sp1 = new SearchParams();
sp1.Add("patient", "Patient/40a7788611946f04");
sp1.Add("patient", "Patient/113798");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mari

79430440

Date: 2025-02-11 15:16:22
Score: 1
Natty:
Report link

This error can occur if you are not login-in into Google Play Services.

This can be the case when you use an emulator. To solve your issue, login-in into Google Play Store, after that the (web)apk can be installed normally.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: David DIVERRES

79430439

Date: 2025-02-11 15:15:21
Score: 1
Natty:
Report link

I needed headless Chrome running website with WebGPU enabled and meet same problem as you and seems solved it.

Tested on openSUSE Tumbleweed

google-chrome-stable http://localhost:3000  --enable-unsafe-webgpu --enable-features=Vulkan,VulkanFromANGLE --headless --remote-debugging-port=2500 --use-angle=enable

Beta, Unstable and Canary channels doesn't need --enable-features=Vulkan,VulkanFromANGLE.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: NYBACHOK

79430434

Date: 2025-02-11 15:12:20
Score: 6.5 🚩
Natty: 5
Report link

this issue is solved in this video: https://www.youtube.com/watch?v=u9I54N80oBo

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Esteban Villarreal

79430431

Date: 2025-02-11 15:11:19
Score: 4
Natty:
Report link

The easiest method to pull this off is to use the "componentID" with that api call.

For help figuring out what your component id is, use this link: https://jfrog.com/help/r/xray-rest-apis/component-identifiers

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Matt

79430423

Date: 2025-02-11 15:08:18
Score: 1.5
Natty:
Report link
<style name="Theme.App" parent="android:Theme.Material.Light.NoActionBar">
    <item name="android:backgroundDimAmount">0.32</item>
</style>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Manabu Nakamura

79430414

Date: 2025-02-11 15:06:18
Score: 0.5
Natty:
Report link

Tenant A will need to provision an identity for Power BI to use. That can be a SQL Login/Password (Power BI calls this "Basic"), an Entra ID Service Principal, or an Entra ID Guest User.

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: David Browne - Microsoft

79430413

Date: 2025-02-11 15:06:18
Score: 2.5
Natty:
Report link

I was using http with vercel base URL. I changed it to HTTPS and it worked.

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

79430409

Date: 2025-02-11 15:04:17
Score: 3
Natty:
Report link

Because the password contains special symbols, PHP uses the rawurlencode() function to escape the password and then sends it, so you can log in normally.

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

79430403

Date: 2025-02-11 15:01:16
Score: 1.5
Natty:
Report link

To close the question, and for anyone it could help, i'll answer what i found.

The reason why I wanted to "disable dollars in name" is that, when Binding with the Android Binding Library, warnings were issued and binds were skipped.

The fact is that, thoses binds were useless. Because even if they were skipped, the android library itself still had access to the components (for example, the composable Greeting). And importants things like the activity were binded anyways, and so, was useable with C#.

So the problem was a non problem.

If you are trying to bind an Android Library and face the same warnings, they probably aren't important, and the best manner is to take care of everything in the metadata.xml of your Android Binding Library.

See https://learn.microsoft.com/en-us/dotnet/android/binding-libs/customizing-bindings/java-bindings-metadata
and most importantly

https://saratsin.medium.com/how-to-bind-a-complex-android-library-for-xamarin-with-sba-9a4a8ec0c65f
basically removing everything in the package, then only adding manually what is important to expose from your android library

That is for the case where all warnings are about non important components. If your important components are skipped, you should understand that binding components from your android library, in java or kotlin, that have java specific things like for example parameters types, is not possible (afaik). You should try to wrap them into less specific and more bindable components.

For example, it's not possible to bind and expose a Composable, because of the auto generated lambda with a dollar in the name. That's why I wrapped it in a ComponentActivity, that is bindable for C#.

Hope that'll help

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Foxan

79430387

Date: 2025-02-11 14:56:15
Score: 3.5
Natty:
Report link

This doesn't work properly with TabControl and multiple tabs

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

79430383

Date: 2025-02-11 14:55:15
Score: 2
Natty:
Report link

You don't use an "=" sign to assign a value to a variable in SQL scripting. Try having another look at the documentation: https://docs.snowflake.com/en/developer-guide/snowflake-scripting/variables#assigning-a-value-to-a-declared-variable

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

79430361

Date: 2025-02-11 14:47:13
Score: 0.5
Natty:
Report link

It depends what you need. You may have simple or multiple classification, which means you may have one/several classes per predicted sample. I may say, for the beginning, try to have one class per sample, that would get a better result. If you can have several labels per entity, just start by building one binary model per label.

Reasons:
  • No code block (0.5):
Posted by: Catalina Chircu

79430359

Date: 2025-02-11 14:46:12
Score: 0.5
Natty:
Report link

Try running these commands from a Command Prompt or an asynch Process.Start type of thing to force a root CA refresh & it's done. Simple enough.

Refreshes the root CA certificate store:

certutil -verifyctl AuthRoot | findstr /i "lastsynctime"

Refreshes the untrusted root certificates:

certutil -verifyctl Disallowed | findstr /i "lastsynctime"

Both return the timestamp of the last synch date-time. Like you said, it's supposed to happen weekly so an new Windows install won't know necessarily know about them. Running both certutil commands takes care of it.

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

79430352

Date: 2025-02-11 14:44:11
Score: 4
Natty:
Report link

In bruno, we should switch from safe mode to developer mode. Only then it gets the permission to access the files. enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: P H

79430335

Date: 2025-02-11 14:40:09
Score: 6.5 🚩
Natty: 4.5
Report link

enter image description here

How to remove this mirror image of logistic sigmoid curve from my graph ?

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Saitama

79430332

Date: 2025-02-11 14:40:09
Score: 1.5
Natty:
Report link

I have finally found the reason why this fails: Most likely this was because of dead-locks between multiple certificate update challenges which seemed to be duplicated. Removing only the challenges didn't work. But after removing the failing certificates and then all waiting challenges and reapplying the certification yaml, the challenges worked without a problem.

Additional stuff I made, which probably was unrequired but just to be sure: Created a new cloudflare token with the rights zone:zone:read and zone:dns:edit on all zones (https://cert-manager.io/docs/configuration/acme/dns01/cloudflare/). Removed the cloudflare-secret-token manually and updated the yaml file (or add the cloudlfare-secret-token with the updated token manually). Removed all pods; Removed all orders; Removed all challenges; Removed all acme challenges in cloudflare. Reapplied everything.

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

79430324

Date: 2025-02-11 14:36:08
Score: 2
Natty:
Report link

Still the issue here is it is not showing our custom utility style suggestions.

for eg: Previously when we extended the theme in config file the autocomplete was available while writing the classnames now after adding those in css its not showing the autocomplete.

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

79430317

Date: 2025-02-11 14:34:08
Score: 1.5
Natty:
Report link

I had this problem starting my project with IISExpress. Using the other configuration (Kestrel I think...) did not introduce this error. (launchSettings.json:commandName:Project)

No such error on my VM. Could be a security configuration on my work computer.

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

79430311

Date: 2025-02-11 14:32:07
Score: 2.5
Natty:
Report link

Doesn't this solution have the massive disadvantage that it first generates the entire list of results and then emits them? That is not in the spirit of itertools, and will make the function useless for very large input sets.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: KeithB

79430306

Date: 2025-02-11 14:31:07
Score: 5.5
Natty: 5.5
Report link

I would like to ask, you are using Flask-PyMongo for migrate with MongoDB?

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

79430304

Date: 2025-02-11 14:30:06
Score: 5
Natty: 5
Report link

excuse me, i have a sign creation problem, if my signature without “body” it works, but when using data from “body” the sign is always invalid. have you ever had this problem?

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

79430301

Date: 2025-02-11 14:29:05
Score: 1
Natty:
Report link

I this for now we can use this code:

navigator.xr.isSessionSupported('immersive-vr')

Only in vision pro this expression return true.

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

79430300

Date: 2025-02-11 14:28:05
Score: 0.5
Natty:
Report link

There is no export option to do this. The way to go here is to override XMLSaveImpl. Also see https://github.com/eclipse-emf/org.eclipse.emf/discussions/57 .

This is my example code:

package org.eclipse.emf.ecore.xmi.impl;

import java.util.Map;

import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.xmi.XMLHelper;
import org.eclipse.emf.ecore.xmi.XMLResource;

public class CustomXMLSaveImpl extends XMLSaveImpl {

    public CustomXMLSaveImpl(final XMLHelper helper) {
        super(helper);
    }

    public CustomXMLSaveImpl(final Map<?, ?> options, final XMLHelper helper, final String encoding, final String xmlVersion) {
        super(options, helper, encoding, xmlVersion);
    }

    protected void init(XMLResource resource, Map<?, ?> options) {
        super.init(resource, options);
        overrideEscape(options);
    }

    /**
     * Replace the Escape instance with our custom version.
     */
    protected void overrideEscape(Map<?, ?> options) {
        if (this.escape == null) {
            return;
        }
        MyEscape myEscape = new MyEscape(options, encoding, xmlVersion);
        this.escape = myEscape;
    }

    protected static class MyEscape extends Escape {
        private static final int MAX_UTF_MAPPABLE_CODEPOINT = 0x10FFFF;
        private static final int MAX_LATIN1_MAPPABLE_CODEPOINT = 0xFF;
        private static final int MAX_ASCII_MAPPABLE_CODEPOINT = 0x7F;

        public MyEscape(Map<?, ?> options, String encoding, String xmlVersion) {
            String lineSeparator = (String) options.get(Resource.OPTION_LINE_DELIMITER);
            setLineFeed(lineSeparator);
            int maxSafeChar = MAX_UTF_MAPPABLE_CODEPOINT;
            if (encoding != null) {
                if (encoding.equalsIgnoreCase("ASCII") || encoding.equalsIgnoreCase("US-ASCII")) {
                    maxSafeChar = MAX_ASCII_MAPPABLE_CODEPOINT;
                } else if (encoding.equalsIgnoreCase("ISO-8859-1")) {
                    maxSafeChar = MAX_LATIN1_MAPPABLE_CODEPOINT;
                }
            }

            setMappingLimit(maxSafeChar);
            if (!"1.0".equals(xmlVersion)) {
                setAllowControlCharacters(true);
            }

            setUseCDATA(Boolean.TRUE.equals(options.get(XMLResource.OPTION_ESCAPE_USING_CDATA)));
        }

        @Override
        public String convertText(final String input) {
            String converted = super.convertText(input);
            return converted.replace(">", "&gt;");
        }

        @Override
        public String convert(final String input) {
            String converted = super.convertText(input);
            return converted.replace(">", "&gt;");
        }
    }
}
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user3726374

79430297

Date: 2025-02-11 14:28:05
Score: 0.5
Natty:
Report link

As stated by Ankit this error is caused by introduction of Content Security Policy to prevent the browser from allowing unsafe scripting. But in latest versions of kibana this warning can be disabled in kibana.yml by setting:

csp.strict: false

Source: https://www.elastic.co/guide/en/kibana/8.6/Security-production-considerations.html#csp-strict-mode

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

79430296

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

Without an easy to run MRE I can't confirm but just from reading:

The z_t object you are using in z_cu_from_z already has host memory allocated at the location in z_t.bits (from the init call on your first line). You are trying to allocate device memory to an address that already has host memory allocated to it.

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

79430293

Date: 2025-02-11 14:27:05
Score: 2.5
Natty:
Report link

For anyone wondering, the answer is that "Xamarin.Androidx.Compose.UI" doesn't implement bindings for what it is supposed to, at the moment, so it's absolutely normal that dependencies can't be found.

See also: https://github.com/dotnet/android-libraries/issues/1090#issuecomment-2646201588

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

79430291

Date: 2025-02-11 14:26:04
Score: 1
Natty:
Report link

To check the status in linux: docker ps -a

To check the logs in linux: docker logs container_name | less

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

79430286

Date: 2025-02-11 14:24:03
Score: 11 🚩
Natty:
Report link

Same issue here, did you solve your problem ?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve your problem
  • RegEx Blacklisted phrase (1.5): solve your problem ?
  • RegEx Blacklisted phrase (1): Same issue
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: zef

79430280

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

UPDATE: Paying for Colab Pro solved the problem.

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

79430279

Date: 2025-02-11 14:21:02
Score: 1
Natty:
Report link

This is a version of your image where the checkmark is transparent, so it will not be affected by the tint color.

enter image description here

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

79430271

Date: 2025-02-11 14:19:01
Score: 1
Natty:
Report link

It seems that we're not directly affected by this bug since it's related to response back from Spring Authorization Server and the client. This is not the case here, because we're talking about the response back from the external IdP and the auth server.

I tested the feature request issue, and it works. But it does not solve our problem. As mentioned, we have two security filter chains configured – one for the server config and another for logging directly onto the server for administering Oauth2 clients. The latter is not using LDAP (username/password), but OIDC. So this is the configuration:

@Bean
@Order(2)
public SecurityFilterChain userEndpointsSecurityFilterChain(final HttpSecurity http) throws Exception {
    HttpSessionRequestCache requestCache = new HttpSessionRequestCache();
    requestCache.setMatchingRequestParameterName(null);

    SessionRegistry registry = redisSessionRegistry != null ?
        redisSessionRegistry :
        sessionRegistry;

    http.authorizeHttpRequests(authorize -> authorize
        .requestMatchers(WHITELIST).permitAll()
        .anyRequest().authenticated())
        .requestCache(cache -> cache
            .requestCache(requestCache))
        .logout(logout -> logout
            .logoutUrl("/logout")
            .logoutSuccessHandler(oidcLogoutSuccessHandler())
            .addLogoutHandler(new HeaderWriterLogoutHandler(new ClearSiteDataHeaderWriter(CACHE, COOKIES)))
            .invalidateHttpSession(true))
        .headers(headers -> headers
            .httpStrictTransportSecurity(
                hsts -> hsts
                    .includeSubDomains(true)
                    .preload(true)
                    .maxAgeInSeconds(31536000))
            .frameOptions(HeadersConfigurer.FrameOptionsConfig::deny)
            .referrerPolicy(referrer -> referrer
                .policy(ReferrerPolicy.SAME_ORIGIN))
            .permissionsPolicy(permissions -> permissions.policy(
                "clipboard-write=(self)")))
        .oauth2Login(oauth2Login -> oauth2Login
            .loginPage("/")
            .authorizationEndpoint(authorizationEndpoint -> authorizationEndpoint
                .authorizationRequestResolver(authorizationRequestResolver()))
            .userInfoEndpoint(userInfo -> userInfo
                .oidcUserService(authorizationOidcUserService.getOidcUserService())))
        .sessionManagement(session -> session
            .maximumSessions(1)
            .sessionRegistry(registry))
        .csrf(csrf -> csrf.disable());
    return http.build();
}

This is the relevant config in AuthorizationRequestResolver to enable response_mode=form_post: additionalParameters.put(RESPONSE_MODE, "form_post");

The strange thing is that it works if I run this on localhost, but not on Openshift. I have tried to disable Redis as well and run the application by using only one pod, but I'm stuck with the error [authorization_request_not_found] when I'm sent back from the external IdP and to our Spring Authorization Server.

Reasons:
  • RegEx Blacklisted phrase (1.5): I'm stuck
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Erlend Garåsen

79430270

Date: 2025-02-11 14:18:00
Score: 11.5 🚩
Natty: 5
Report link

I also have the same problem: sh: 1: sumo-gui: command not found. Can you tell me how to solve the error? I can run the sumo configuration file successfully using sumo-gui map.sumo.cfg under /home/aung/Documents/Maps/. When I connect with Mininet-wifi I get mentioned above error.

Reasons:
  • Blacklisted phrase (1): how to solve
  • Blacklisted phrase (1.5): tell me how to
  • RegEx Blacklisted phrase (2.5): Can you tell me how
  • RegEx Blacklisted phrase (1.5): how to solve the error?
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I also have the same problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: aung aung

79430269

Date: 2025-02-11 14:18:00
Score: 2.5
Natty:
Report link

The approach in Pact is to use tables. Make a table with a static key to be used everywhere for read and write and that is basically it.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Валентин Стайков

79430258

Date: 2025-02-11 14:13:59
Score: 1.5
Natty:
Report link

It's done like this:

  (defschema table-schema
    v : object{data}
  )
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Валентин Стайков

79430255

Date: 2025-02-11 14:12:58
Score: 7.5 🚩
Natty: 4.5
Report link

did you find a solution to this? I am experiencing the same issue

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

79430244

Date: 2025-02-11 14:09:57
Score: 0.5
Natty:
Report link

Recently had this same issue in 2022.3.45f1, workaround was to do this after setting orthographicSize:

cam.orthographic = false;
cam.orthographic = true;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: mgear

79430232

Date: 2025-02-11 14:05:56
Score: 1.5
Natty:
Report link

I have tried changing the SDK version but nothing works. So, I updated the android gradle plugin and wrapper to 8.0+ and it works. Here is the detailed reason from this answer migrate your build gradle

Here is my updated AGP in my android/settings.gradle

id "com.android.application" version "8.1.1" apply false

That update made my flutter 3.19 running smoothly again

Reasons:
  • Blacklisted phrase (1): but nothing work
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nicholas Baron Bramantyo

79430230

Date: 2025-02-11 14:05:56
Score: 3.5
Natty:
Report link

Looks like the problem is that the the simulator runs a little slow in my machine. I was able to run the app with no problems on the device.

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

79430227

Date: 2025-02-11 14:04:56
Score: 3.5
Natty:
Report link

you can open the xslt transformation as html output on Chrome, there are lot of ways to test in local or offline. refer: https://integrationgalaxy.com/blog/how-to-run-xslt-xsl-file-in-chrome

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

79430222

Date: 2025-02-11 14:03:55
Score: 2.5
Natty:
Report link

You can fix it with the following filter:

add_filter('wp_img_tag_add_auto_sizes', '__return_false'); in your functions.php

This filter is located in wp-includes/media.php

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: André Schneider

79430214

Date: 2025-02-11 14:00:54
Score: 1.5
Natty:
Report link

I figured out the issue. I had a link on one of the columns in the Interactive Report. This link was to another page in the application where I can edit the IR row data. I had a Dynamic Action on the IR to do a Submit Page on Cancel or Close of the dialog. This is what was causing the highlight to disappear. I changed the Dynamic Action to Refresh the IR region and everything works now.

Reasons:
  • Blacklisted phrase (1): This link
  • Whitelisted phrase (-2): I figured out
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: wheeliea

79430209

Date: 2025-02-11 13:57:54
Score: 0.5
Natty:
Report link
import java.io.*;
import java.security.*;
import java.security.cert.*;
import java.security.cert.Certificate;
import java.util.Arrays;
import javax.net.ssl.*;

public class SSLManager {

    
    public static void main(String[] args) throws Exception {
        String keystorePassword = "changeit"; // Change as needed
        String alias = "server";

        // Load Root CA
        KeyStore rootKeyStore = KeyStore.getInstance("PKCS12");
        try (FileInputStream fis = new FileInputStream("rootCA.p12")) {
            rootKeyStore.load(fis, keystorePassword.toCharArray());
        }
        
        PrivateKey rootPrivateKey = (PrivateKey) rootKeyStore.getKey("rootCA", keystorePassword.toCharArray());
        Certificate rootCACert = rootKeyStore.getCertificate("rootCA");

        // Generate Server KeyPair
        KeyPair serverKeyPair = generateKeyPair();

        // Generate and Sign Server Certificate
        X509Certificate serverCert = generateSignedCertificate(serverKeyPair, (X509Certificate) rootCACert, rootPrivateKey);

        // Store Server Key and Certificate Chain in Keystore
        KeyStore keyStore = KeyStore.getInstance("PKCS12");
        keyStore.load(null, null); // Create empty keystore
        keyStore.setKeyEntry(alias, serverKeyPair.getPrivate(), keystorePassword.toCharArray(), 
                             new Certificate[]{serverCert, rootCACert});

        // Save Keystore to File
        try (FileOutputStream fos = new FileOutputStream("server_keystore.p12")) {
            keyStore.store(fos, keystorePassword.toCharArray());
        }

        // Load Keystore into SSLContext
        SSLContext sslContext = initSSLContext("server_keystore.p12", keystorePassword);
        System.out.println("SSLContext Initialized Successfully!");
    }

    private static KeyPair generateKeyPair() throws NoSuchAlgorithmException {
        KeyPairGenerator keyGen = KeyPairGenerator.getInstance("RSA");
        keyGen.initialize(2048);
        return keyGen.generateKeyPair();
    }

    private static X509Certificate generateSignedCertificate(KeyPair serverKeyPair, X509Certificate rootCert, PrivateKey rootPrivateKey)
            throws Exception {
        // This method should implement certificate signing using BouncyCastle or Java APIs.
        // For brevity, assuming an existing method that returns a signed X509Certificate.
        return CertificateGenerator.signCertificate(serverKeyPair, rootCert, rootPrivateKey);
    }

    private static SSLContext initSSLContext(String keystorePath, String keystorePassword) throws Exception {
        KeyStore keyStore = KeyStore.getInstance("PKCS12");
        try (FileInputStream fis = new FileInputStream(keystorePath)) {
            keyStore.load(fis, keystorePassword.toCharArray());
        }

        KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance("SunX509");
        keyManagerFactory.init(keyStore, keystorePassword.toCharArray());

        SSLContext sslContext = SSLContext.getInstance("TLS");
        sslContext.init(keyManagerFactory.getKeyManagers(), null, new SecureRandom());
        return sslContext;
    }
}

ashokit

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

79430194

Date: 2025-02-11 13:52:53
Score: 2
Natty:
Report link

what worked for me: -upgrade all Abp packages to 8.4.0 (used .net 7.0 version in the project, above 9 it requires at least .net 8.0); -upgrade Castle.Windsor.MsDependencyInjection to the latest version;

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

79430193

Date: 2025-02-11 13:51:52
Score: 1
Natty:
Report link

For my case

Example:

private static int w(float widthExcel) {
  return (int) Math.floor((widthExcel * Units.DEFAULT_CHARACTER_WIDTH + 5.5) / Units.DEFAULT_CHARACTER_WIDTH * 256); 
}


sheet.setColumnWidth(0, w(10.71f))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Akan Tileubergenov

79430192

Date: 2025-02-11 13:51:52
Score: 2
Natty:
Report link

enter image description here

@Deprecated(since="9.0")

@Deprecated.  Please use Http2SolrClient or HttpJdkSolrClient

A SolrClient implementation that talks directly to a Solr server via Apache HTTP client
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Akib Bagwan

79430187

Date: 2025-02-11 13:50:52
Score: 0.5
Natty:
Report link
from flask_restx import Resource, fields
from flask import request
import sys
import os
from werkzeug.datastructures import FileStorage
from werkzeug.utils import secure_filename   

BASEDIR = os.path.abspath(os.path.dirname(__file__))

upload_parser = api.parser()
upload_parser.add_argument('file', location='files',
                               type=FileStorage, required=True) 

@api.route("/your_route_name")
@api.expect(upload_parser)
class MyResource(Resource):
    @api.marshal_with(<output_dataformat_schema_defined_here>, skip_none=True)
    def post(self):
       uploaded_file = request.files['file']

       if uploaded_file:
          secured_logfilename = secure_filename(uploaded_file.filename)
          uploaded_file.save(os.path.join(os.path.join(BASEDIR, 
             "current_logs"), secured_logfilename))
          return {"message": "File successfully uploaded"}, 200
       else:
          return {"message": "File upload unsuccessful"}, 400

Source: Flask restx, Flask

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

79430183

Date: 2025-02-11 13:47:51
Score: 1.5
Natty:
Report link

The delay in saving the third image is due to location fetching latency. The first and second images used cached location data, while the third might be triggering a fresh location request, which can take longer.

Location API Delay: The fusedLocationClient.getCurrentLocation(...) method can take longer if a fresh GPS fix is required. Slow Network: If your phone is relying on network-based location rather than GPS, fetching new location data may be slow. Blocked UI/Main Thread: If location fetching or saving the image runs on the main thread, it can slow down. Power Saving Mode: Some Android devices limit location updates in low-power states. So Instead of calling getCurrentLocation() every time, I used getLastLocation() first, which is much faster because it returns the last known location without waiting for a new GPS fix.

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

79430174

Date: 2025-02-11 13:45:50
Score: 6
Natty: 7
Report link

Where do i access the Jules software from?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Where do i
  • Low reputation (1):
Posted by: Paul Thomas

79430173

Date: 2025-02-11 13:43:50
Score: 2
Natty:
Report link

just do this Modify your package.json and add the NODE_OPTIONS setting in the scripts: For Windows users, modify it as:

"start": "set NODE_OPTIONS=--openssl-legacy-provider && react-scripts start", "build": "set NODE_OPTIONS=--openssl-legacy-provider && react-scripts build"

Then, try running:

npm start

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

79430172

Date: 2025-02-11 13:43:50
Score: 0.5
Natty:
Report link

enter image description here

In December 2024, Tricentis announced the end-of-life of the SpecFlow open source project. According to the announcement, SpecFlow reached its end-of-life on December 31, 2024. As of 1st January, the SpecFlow GitHub projects are deleted and the support section of the specflow.org website is disabled.

SpecFlow will no longer be available after December 31, 2024.” (specflow.org)

While the announcement was on a short notice, the SpecFlow project has showed no activity in the last two years and Tricentis has never publicly commented the users questions about the future of SpecFlow. This was the reason why we started with the Reqnroll project in the beginning of 2024. More about that below.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Pramod Lawate

79430169

Date: 2025-02-11 13:43:50
Score: 1
Natty:
Report link

You can just add this dependency below "dependency_overrides:" :

camera_android_camerax: 0.6.11 # Version 0.6.13 is defective

but if you're using Image Streaming "camera_android_camerax" doesn't work so, you can definitively downgrade your version to :

camera: ^0.10.6
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Charlemagne

79430161

Date: 2025-02-11 13:40:48
Score: 8.5 🚩
Natty: 6
Report link

did you manage to solve this problem?

I'm going through the same thing

Reasons:
  • RegEx Blacklisted phrase (3): did you manage to solve this problem
  • RegEx Blacklisted phrase (1.5): solve this problem?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Thiago Henrique Gaspar

79430160

Date: 2025-02-11 13:40:48
Score: 2
Natty:
Report link

In my case:

For example in Nx if your index.ts file exports two components: Component1 and Component2 and you import Component2 into Component1 using ...from '@...'; It will throw this reading 'ɵcmp' error

To fix use './...'

Component1 is basically re-exporting Component2

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

79430159

Date: 2025-02-11 13:40:48
Score: 1.5
Natty:
Report link

Another reference, from 2016, in which I report on comparing the rsqrt and rcp instructions between Intel and AMD processors is https://github.com/jeff-arnold/math_routines/blob/main/rsqrt_rcp/docs/rsqrt_rcp.pdf.

See also https://members.loria.fr/PZimmermann/papers/accuracy.pdf which is a (continuing) study of the accuracy of various implementations of math library functions. In particular, the last paragraph of the introduction is relevant to the original question; it also mentions my report above.

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

79430158

Date: 2025-02-11 13:40:48
Score: 2
Natty:
Report link

As per C3roe's comment, the issue in fact was with the size of the label field itself being much higher than the rendered SVG it contains.

This was solved very simply by adding height and width attributes to the SVG tag itself, the label then only surrounded the SVG element.

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

79430150

Date: 2025-02-11 13:38:47
Score: 3
Natty:
Report link

I'm not allowed to comment, otherwise this would be a comment on the previous answer.

There's a danger in spinning up a TelemetryClient/TelemetryConfiguration pair when you want them and then immediately disposing of them. The danger is that you make your application wait, synchronously, while you force the TelemetryClient to flush its buffers and send whatever telemetry it has accumulated. A safer usage pattern is to create however many of them but retain your references for the lifetime of your application so that you can re-use existing instances and don't get a memory leak but you still allow the TelemetryClient to buffer data and send when appropriate.

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

79430126

Date: 2025-02-11 13:30:45
Score: 1
Natty:
Report link

You should see them in the Tests tab on the Pipelines :

https://gitlab.com/{group}/{project}/-/pipelines/{pipeline_id}/test_report

Example :

Test tab on pipeline

You also have access to the report on the Merge Request if you have one open :

mr coverage

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

79430124

Date: 2025-02-11 13:29:43
Score: 4
Natty: 4.5
Report link

Or you can use an updated palette: @gogovega/node-red-contrib-firebase-realtime-database.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29598953

79430123

Date: 2025-02-11 13:29:43
Score: 1
Natty:
Report link

Pretty sure Docker doesn't support include for something like this. Instead you could run this to use more than one file:

docker-compose -f docker-compose.yaml -f back/docker-compose.yaml -f front/docker-compose.yaml up

-f tells docker to merge all the files you mention.

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

79430115

Date: 2025-02-11 13:26:43
Score: 2
Natty:
Report link

for i in df.columns:
print(df[i].apply(type).unique())

check for unqiue datatypes present in all columns if there are more than one dtype in a columns either drop that column or convert all the values in the column into a single dtype.

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

79430114

Date: 2025-02-11 13:25:42
Score: 1.5
Natty:
Report link

I have a Python app taking json request if I use a say postman to post the json to the service it works args : dict = json.loads( request.data.decode('utf-8'))

but when I use the web app browser this does not return a dict it returns a str

to get around that I had to do this args : dict = json.loads( json.loads( request.data.decode('utf-8') ) )

i am thinking going to have to do some RTTI to check the type and optionally do the second json.loads in such sitatuations

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

79430104

Date: 2025-02-11 13:22:41
Score: 2
Natty:
Report link

Thank you, @jstuardo, for bringing this issue to our attention, and @Brits for your time and effort in troubleshooting it.

The issue was caused by the CONNACK response incorrectly setting Max QoS to 2, which was not compliant with the MQTT specification, leading MQTTnet to reject the connection. We have now resolved this. The Public FREE MQTT Broker has been updated with the fix. However the downloadable version will take little more time to update as we are in the mid of functional integration.

We highly appreciate your feedback and are happy to assist you always.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @jstuardo
  • User mentioned (0): @Brits
  • Low reputation (0.5):
Posted by: Ranjith Kumar Diraviyam

79430103

Date: 2025-02-11 13:21:41
Score: 2
Natty:
Report link

when the output shape is (1,84,8400) this is how it is interpreted:

1 = batch size

84 = x_center + y_center + width + height + confidence of each class = 4 + 80

8400 = number of detected boxes

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): when the
  • Low reputation (0.5):
Posted by: Ariya

79430101

Date: 2025-02-11 13:20:41
Score: 2
Natty:
Report link

I was struggling with installing Django now with latest MacOs and eventually found the following to work.

python3 -m pip install Django

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

79430098

Date: 2025-02-11 13:20:41
Score: 2.5
Natty:
Report link

The error AttributeError: module 'select' has no attribute 'select' occurs because of a name conflict. Your project contains a file named select.py that conflicts with Python's built-in select module.

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

79430095

Date: 2025-02-11 13:19:40
Score: 4
Natty:
Report link

It looks like the problem has been solved. I cannot reproduce the issue today.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Włodzimierz O. Kubera

79430093

Date: 2025-02-11 13:18:40
Score: 1
Natty:
Report link

Cases with DEFAULT and NULL does not work

Correct answer is to use:

nextval('"Photo_AuthorID_seq"'::regclass)

In dbeaver you may find this value in properties tab for primary key

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

79430089

Date: 2025-02-11 13:15:39
Score: 1
Natty:
Report link

A collections.ChainMap behaves like a merged dictionary without having to copy over the keys and values. For example:

>>> mydict = {"a": 0}
>>> defaults = {"a": 5, "b": 10}
>>> chain = collections.ChainMap(mydict, defaults)
>>> dict(chain)
{'a': 0, 'b': 10}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Daniel Carpenter

79430083

Date: 2025-02-11 13:14:39
Score: 2
Natty:
Report link

You should pass a private key in the same way you pass public key, service template and service id:

var data = {
    service_id: 'YOUR_SERVICE_ID',
    template_id: 'YOUR_TEMPLATE_ID',
    user_id: 'YOUR_PUBLIC_KEY',
    accessToken: 'YOUR_ACCESS_TOKEN',
    template_params: {
        'username': 'James',
        'g-recaptcha-response': '03AHJ_ASjnLA214KSNKFJAK12sfKASfehbmfd...'
    }
};

Documentation: https://www.emailjs.com/docs/rest-api/send/

Here's an article I wrote explaining how to setup sensitive EmailJS data in Vite+React app deployed on Vercel.

https://medium.com/@fadingbeat/securely-sending-emails-with-emailjs-in-a-vite-react-app-on-vercel-5b8a591fd121

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: fadingbeat

79430079

Date: 2025-02-11 13:12:39
Score: 1.5
Natty:
Report link

Files and folders starting with a dot are hidden. To display them in the command prompt, add the -a option.

dir -a

enter image description here

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

79430078

Date: 2025-02-11 13:12:39
Score: 2
Natty:
Report link
  1. Switching to Graviton2-based Lambdas can improve performance and reduce cold start times.

  2. Use services like CloudWatch Alarms or Step Functions to trigger warm-up calls.

  3. Increasing memory allocation can significantly reduce cold start latency.

  4. You could try AWS App Runner

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

79430072

Date: 2025-02-11 13:10:38
Score: 0.5
Natty:
Report link

Angular components don't inherit height so you have to set it in the styling.

either with: :host { display: block; } in each component styles property or add with the cli / set as default:

"@schematics/angular:component": {
      "displayBlock": true
   }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Edward Newsome

79430067

Date: 2025-02-11 13:09:38
Score: 0.5
Natty:
Report link

For me
using sh not work on vscode

how to make sure there is wrong ?

there is wrong?

not work?

everything well,NO?

More

Could not find compiler set in environment variable CXX: clang++. #61418
good luck

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Zaman

79430062

Date: 2025-02-11 13:07:37
Score: 2.5
Natty:
Report link

<ToastContainer /> is imported from "react-bootstrap" which is wrong. <ToastContainer /> should be imported from "react-toastify".

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

79430061

Date: 2025-02-11 13:07:37
Score: 1.5
Natty:
Report link

Check that you're not attempting to connect to your sftp channel more than once at a time in your codebase. if you need a new connection close the previous connection before attempting to re-connect again. Hope this helps anyone in the future.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Adeola Adebisi

79430051

Date: 2025-02-11 13:04:36
Score: 2
Natty:
Report link

I just did invalid cache and restart it work for me.

In Android Studio >>> file >> Invalidate Caches >> restart

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Manish Singh Chouhan

79430045

Date: 2025-02-11 13:02:36
Score: 1
Natty:
Report link

This was a bug in RStudio, which was fixed in September 2024. The problem can be resolved by upgrading RStudio.

Given that the date of the Gihub issue and the date of this question are the same, I expect that you were the one who reported it, and so you already know the answer. However I'm leaving this answer here for anyone else (like me) who finds this question before the GitHub Issue.

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

79430044

Date: 2025-02-11 13:02:36
Score: 0.5
Natty:
Report link

The Issue with Static Table Mappings in JPA

In typical JPA implementations (such as Hibernate with Spring Boot), an entity’s mapping to a database table is fixed at configuration time. For example:

@Entity
@Table(name = "APPLICATIONS")
public class Application {
    @Id
    private Long id;
    private String name;
    // additional fields, getters, and setters
}

Here, the table name "APPLICATIONS" is explicitly set by the @Table annotation. When the persistence unit is initialized, JPA uses this static definition and does not allow you to substitute a different table name at runtime. Alternative Approaches

Since you cannot change the table mapping on the fly using standard JPA, consider these alternatives:

  1. Using Native Queries or Dynamically Built SQL

One common method is to forgo JPA’s abstraction and create your SQL queries manually. This lets you insert the table name dynamically:

@Service
public class ApplicationService {

    @PersistenceContext
    private EntityManager entityManager;

    public List<Application> findApplications(String dynamicTableName) {
        // Always sanitize 'dynamicTableName' to prevent SQL injection.
        String sql = "SELECT * FROM " + dynamicTableName;
        Query query = entityManager.createNativeQuery(sql, Application.class);
        return query.getResultList();
    }
}

Pros: You can supply any table name at runtime. Cons: You lose JPA benefits like automatic change detection and portability. 2. Using Inheritance with Concrete Subclasses

If you have a known set of tables, you might create a common base class and then extend it with subclasses that each map to a specific table. For instance:

@MappedSuperclass
public abstract class BaseApplication {
    @Id
    private Long id;
    private String name;
    // common properties
}

@Entity
@Table(name = "APPLICATIONS_US")
public class USApplication extends BaseApplication {
    // US-specific fields or methods, if any
}

@Entity
@Table(name = "APPLICATIONS_EU")
public class EUApplication extends BaseApplication {
    // EU-specific fields or methods, if any
}

Pros: Each subclass has a fixed table mapping that JPA recognizes. Cons: This solution only works when the set of table names is known in advance and is not suitable for completely dynamic scenarios. 3. Consolidating Data with a Discriminator or Tenant Identifier

Another approach is to merge all the data into one table and use an extra column to distinguish between different “instances” (for example, tenants or forms). Consider this example:

@Entity
@Table(name = "APPLICATIONS")
public class Application {
    @Id
    private Long id;
    
    @Column(name = "TENANT_ID")
    private String tenantId;
    
    private String name;
    // additional fields, getters, and setters
}

Then, when querying:

public List<Application> findByTenant(String tenantId) {
    String jpql = "SELECT a FROM Application a WHERE a.tenantId = :tenantId";
    return entityManager.createQuery(jpql, Application.class)
                        .setParameter("tenantId", tenantId)
                        .getResultList();
}

Pros: You maintain a single, unified mapping while logically separating data by tenant. Cons: All records are stored in one table, so proper indexing and security controls must be in place. 4. Switching to a JPA Provider with Dynamic Mapping Support

Some JPA providers, such as EclipseLink, offer more flexibility when it comes to defining entity mappings at runtime. If dynamic table names are crucial to your project and you’re open to alternatives, switching from Hibernate might be an option. However, if you’re using Spring Boot (which defaults to Hibernate), there isn’t a standard way to achieve this. Summing Up

Since the table name is embedded in an entity’s metadata in JPA, you cannot have one entity automatically map to multiple tables based on runtime parameters. Your options are:

For further details, see discussions (for example, @lajos-arpad’s answer on Stack Overflow) that delve into why JPA’s static mapping model makes runtime-dynamic table names infeasible.

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

79430042

Date: 2025-02-11 13:00:35
Score: 3.5
Natty:
Report link

**jhgjjkk

Hfkg [*Hcvnmh

  1. Ugnmmgjn

Gjhb## Heading ##


Jbvmkygf

=======

*]1

**

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: M Mondal

79430025

Date: 2025-02-11 12:53:34
Score: 1
Natty:
Report link

Your issue comes from clearing box inside the loop. Instead, track max_number_primes and store the best (a, b) pair separately. Here's a streamlined version using a 1D list:

python Copy Edit import time from sympy import isprime

start_time = time.time()

a_lower_limit, a_upper_limit = -999, 1000 b_lower_limit, b_upper_limit = 0, 1001

max_number_primes = 0 best_product = 0

for a in range(a_lower_limit, a_upper_limit): for b in range(b_lower_limit, b_upper_limit): n = 0 while isprime(n**2 + a*n + b): n += 1 if n > max_number_primes: max_number_primes = n best_product = a * b

print(best_product) print(f"Run time: {(time.time() - start_time):.2f} seconds") This removes unnecessary lists and speeds up execution significantly. Use the [freecine extension]1 for permanent solution.

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

79430016

Date: 2025-02-11 12:51:33
Score: 1
Natty:
Report link

Here are the steps (props to this guy), but before proceeding keep in mind that you won't be able to add another payment method afterwards in the same billing account because of a bug.

  1. Go to https://payments.google.com/ (Yes, you have to go to a completely different website).
  2. Go to Settings.
    First screenshot
  3. Scroll all the way down to "Payments profile status" and click on "Close payments profile".
    Second screenshot
  4. Select an option in the popup that opens and click "Continue".
    Third screenshot
  5. "Close payments profile".
    Fourth screenshot

If you go back to Google Cloud and reload, this is how the screen with your payment method will look like:

Proof

As you can see, not only did your payment method dissappear, but also the rest of the UI and even the button to add another payment method. This implies that the developers didn't account for this specific use case and now it doesn't work properly.

In fact, if you go now to Account management you will notice that the billing account closed automatically and you can't reopen it: "You can’t reopen this billing account because this account is not in good standing.".

Account management screen

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Adrian

79430013

Date: 2025-02-11 12:51:33
Score: 1
Natty:
Report link

I have found a simple solution and i thought in first time that this solution doesn't work. In my case i don't use a blade file but a vue file therefore the route (in programming) is not working correctly. it's necessary to replace the action simply with the url of route

<form id="logout-form" action="/logout" method="POST">
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Desperrois Lucas

79430003

Date: 2025-02-11 12:47:31
Score: 5.5
Natty: 5.5
Report link

Are you still facing this issue using iOS 18.2 or 18.3?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Osmar Rodríguez

79430001

Date: 2025-02-11 12:46:31
Score: 2
Natty:
Report link

in your console.log you check if req.url === '/admin/ but in your condition you check req.url[0] and not req.url so you remain falling in the else ;)

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

79429997

Date: 2025-02-11 12:45:30
Score: 3.5
Natty:
Report link

When you assign ref="fileUploaderRefs", Vue treats it as a single reference and stores only one instance (typically the last one rendered)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you as
  • Low reputation (1):
Posted by: ventraks

79429991

Date: 2025-02-11 12:43:30
Score: 1.5
Natty:
Report link

for python:

def sid_to_bytes(sid: str) -> bytes:
    sid = sid.replace('S-', '')
    sid = sid.split('-')

    c = int_to_bytes(int(sid[0]), 1)
    c += int_to_bytes(len(sid) - 2, 1)

    for i in range(0, 5):
        c += int_to_bytes(0, 1)

    c += int_to_bytes(int(sid[1]), 1)

    for i in range(2, len(sid)):
        c += int_to_bytes(int(sid[i]), 4)

    return c

Article how to do it: https://sergeyvasin.wordpress.com/2017/09/06/convertfrom-sthsid/

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jessy James stands with Russia

79429989

Date: 2025-02-11 12:43:30
Score: 4
Natty: 4
Report link

Check api test keys , dont use old or other tests keys , it shows this error

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

79429982

Date: 2025-02-11 12:41:29
Score: 1
Natty:
Report link

I faced the same issue, and it was resolved by changing the rankdir parameter.

Graphviz can have trouble rendering large vertical graphs. Try changing the orientation:

keras.utils.plot_model(model, to_file="model.png", show_shapes=True, rankdir="LR")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: amrita yadav

79429979

Date: 2025-02-11 12:41:29
Score: 1.5
Natty:
Report link

add these lines inside app/build.gradle file

buildTypes {
release {
    minifyEnabled false
    shrinkResources false
    signingConfig = signingConfigs.debug
}

}

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