79391958

Date: 2025-01-27 19:34:03
Score: 3.5
Natty:
Report link

It seems when we send base64 encoding via HTTP POST , specifically the "+" character gets replaced with a " " which might corrupt the data

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

79391956

Date: 2025-01-27 19:33:02
Score: 0.5
Natty:
Report link

My team had this same issue, or at least the behavior sounds the same. The issue for us was that the compiled code in the mysql-connector-python 9.2 version was crashing the msvcp140.dll. It turned out we had an older version of that Microsoft Runtime library. You can find the latest installer for it here: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-microsoft-visual-c-redistributable-version

If you want to use the pure python version of the mysql.connector library in 9.2 without updating the windows runtime, you can pass in the use_pure=True argument to the connect call. See https://dev.mysql.com/doc/connector-python/en/connector-python-connectargs.html for that documentation

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

79391945

Date: 2025-01-27 19:28:01
Score: 1
Natty:
Report link

Kotlin.

Add the following to MainActivity.kt:

override fun onCreate(savedInstanceState: Bundle?) { ... ...

    supportFragmentManager.addOnBackStackChangedListener {
        supportFragmentManager.fragments.lastOrNull()?.onResume()
    }

}

Then, add to AnyFragment.kt:

override fun onResume() {
    super.onResume()
    //txtEdit.requestFocusFromTouch()
}

Now, the onResume() will be called when the Fragment got the focus.

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

79391943

Date: 2025-01-27 19:28:01
Score: 3.5
Natty:
Report link

The best solution so far is to disable the formGroup, make changes inside the formControls, and then enable it again afterward.

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

79391942

Date: 2025-01-27 19:28:01
Score: 1
Natty:
Report link

After some research today, the issue was an existing installation of Git-Bash on the remote windows machine conflicting with the new installation of cygwin. My solution was to install rsync directly into Git-Bash environment and forgo cygwin altogether. Basically following the instructions found here: https://stackoverflow.com/a/76843477/4556955

My final rsync command wound up having this format:

rsync -r -e "ssh -i my_edcsa.pem -p 55297 -o StrictHostKeyChecking=no" publish/wwwroot my-username@${{ secrets.SERVER_HOST_STAGE }}:/c/project/destination
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: BlueMaegi

79391928

Date: 2025-01-27 19:22:59
Score: 3.5
Natty:
Report link

just download and run this files and then ok https://www.nartac.com/Products/IISCrypto/Download

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

79391926

Date: 2025-01-27 19:22:59
Score: 4.5
Natty: 1.5
Report link

Me aparece esto y no se que hacer: Expected ',' or '}' after property value in JSON at position 88 (line 1 column 89)

Este es el código

Error × Expected ',' or '}' after property value in JSON at position 88 (line 1 column 89)

Reasons:
  • Blacklisted phrase (2): código
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29390843

79391919

Date: 2025-01-27 19:17:56
Score: 6.5 🚩
Natty:
Report link

Please share more details on your issue, like how you implemented torch.cuda.memory_reserved().

And what are the command line outputs of that you see that As the training progresses, the training slows down?

And how do you monitor your memory?

Reasons:
  • Blacklisted phrase (1): how do you
  • RegEx Blacklisted phrase (2.5): Please share
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: LongTran

79391918

Date: 2025-01-27 19:17:56
Score: 2.5
Natty:
Report link

The comment of @Andrew Morton fixed it. Put the SUB call BEFORE the SUB declaration.

test 1.bas:

Hey
REM $INCLUDE: 'test2.bas'

Hey test2.bas:

SUB Hey
    PRINT "HEY"
END SUB
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Andrew
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sebastiaan Hoedeman

79391917

Date: 2025-01-27 19:17:56
Score: 1.5
Natty:
Report link

Solution is credited to username DavidPike from the Esri community.

TlDr: Set GCS to WGS84. That's it. No PCS. Then you can enter the data as decimal degrees.

Long version: I was over-specifying when I specified a PCS. As DavidPike pointed out, ArcMAP then interpreted the inputs as cartesian coordinates. My SHAPE@XY was then overwriting the coordinates with what I specified it to be so it LOOKED like the coordinates were correct in the attribute table. However, if the point was examined the decimal degree coordinates were actually close to zero. Solution was to just specify the GCS.

If a PCS must be specified, than an alternative solution would be to convert the decimal degrees into the appropriate cartesian coordinates of whatever PCS you choose. This should be done in Python prior to inputting into ArcMAP so that you are inputting cartesian coordinates.

Much appreciated again DavidPike!!

Reasons:
  • Blacklisted phrase (1): appreciated
  • Whitelisted phrase (-1): Solution is
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Publicchee

79391901

Date: 2025-01-27 19:09:54
Score: 0.5
Natty:
Report link

Here are my solutions without needing any any extra parameters.

If you only need to know if there exists values or not, you can adjust your conditional based on your needs.

-- Returns total number of characters.
SELECT LEN(CONCAT(@multiValueParam,''));

If you need to get each value separately:

-- Returns multiple rows, one for each element in the parameter.
SELECT * 
FROM STRING_SPLIT( SUBSTRING(CONCAT_WS(',',@multiValueParam,''), 1, LEN(CONCAT_WS(',',@multiValueParam,''))-1) ,',');

If you need to get just the number of elements:

-- Returns total number of elements in parameter.
SELECT COUNT(*) 
FROM STRING_SPLIT( SUBSTRING(CONCAT_WS(',',@multiValueParam,''), 1, LEN(CONCAT_WS(',',@multiValueParam,''))-1) ,',');

MSSQL will get angry about not enough parameters in the functions, so we need to use a dummy value of empty string to get around it.

We use CONCAT_WS to turn our multi-values into a single string. This causes our concats with separators to have an extra separator at the end, which splits into an extra multi-value.

We use SUBSTRING to remove this extra comma at the end of our CONCAT_WS string.

We use STRING_SPLIT with our separator to pull our the individual values.

You can test by replacing @multiValueParam with 'test1','test2' exactly, which is basically what SSRS does when putting multi-value parameter into your query. You can also use any separator if you data happens to have commas.

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

79391899

Date: 2025-01-27 19:07:53
Score: 5.5
Natty: 5
Report link

answer from user user1502826 on May 12, 2024 at 12:10 is clearly the correct one, why does answer from other user on Mar 6, 2021 at 3:46 stay green checked while it is no help at all ?

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

79391898

Date: 2025-01-27 19:07:53
Score: 1.5
Natty:
Report link

The answer is quite simple: You are not missing anything - the official way to do it is via "%pip install".

Having that said, i once played around with cluster policies in that regard. The idea was to define external dependencies as cluster policy and then use the policy in DLT pipelines.

That seemed to work basically, BUT it also caused a new issue in my case: It led to the DLT cluster being newly provisioned/started on every new run, which negates the whole "development mode" feature of DLT.

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

79391896

Date: 2025-01-27 19:07:53
Score: 0.5
Natty:
Report link

Keepalived has three components that supports active-passive high-availability setup which are:

The main goal of this project is to provide simple and robust facilities for load balancing and high-availability Linux based infrastructures.

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

79391894

Date: 2025-01-27 19:06:53
Score: 3
Natty:
Report link

dotnet tool update --global dotnet-ef enter image description here

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

79391888

Date: 2025-01-27 19:04:52
Score: 0.5
Natty:
Report link

You can achieve this layout using .contentRelativeFrame and without a GeometryReader. This was inspired by the approach shown in this video by Stewart Lynch.

import SwiftUI

struct OverviewTiles: View {
    
    //Constants
    let ratio: Double = 0.666
    let spacing: CGFloat = 16
    
    //Body
    var body: some View {
        
        ScrollView {
            VStack(spacing: spacing) {
                
                //Row 1
                HStack(spacing: spacing) {
                    Color.blue
                        .aspectRatio(1, contentMode: .fit)
                        .containerRelativeFrame(.horizontal) { dimension, _ in
                            largeWidth(dimension)
                        }
                        .cellText("Upcoming Blue", size: .title)
                        
                    VStack(spacing: spacing) {
                        Color.cyan
                            .aspectRatio(1, contentMode: .fit)
                            .cellText("Blue 1")
                        Color.cyan
                            .aspectRatio(1, contentMode: .fit)
                            .cellText("Blue 2")
                    }
                    .containerRelativeFrame(.horizontal, alignment: .trailing) { dimension, _ in
                        secondaryWidth(dimension)
                    }
                }
                
                //Row 2
                HStack(spacing: spacing) {
                    Color.green
                        .aspectRatio(2, contentMode: .fit)
                        .containerRelativeFrame(.horizontal) { dimension, _ in
                            largeWidth(dimension)
                        }
                        .cellText("Upcoming Green", size: .title2)
                    
                    Color.green
                        .aspectRatio(1, contentMode: .fit)
                        .containerRelativeFrame(.horizontal) { dimension, _ in
                            secondaryWidth(dimension)
                        }
                        .cellText("Green 1")
                }
                
                //Row 3
                Color.orange
                    .aspectRatio(2.5, contentMode: .fit)
                    .cellText("Upcoming Orange", size: .title)
            }
        }
    }
    
    private func largeWidth(_ dimension: CGFloat) -> CGFloat {
        return dimension * ratio
    }
    
    private func secondaryWidth(_ dimension: CGFloat) -> CGFloat {
        return (dimension * (1 - ratio)) - spacing
    }
}

extension View {
    
    //Modifier function that overlays bottom aligned text with a background
    func cellText(_ text: String, size: Font = .body, alignment: Alignment = .bottom) -> some View {
        self
            .overlay(alignment: .bottom) {
                Text(text)
                    .italic()
                    .padding(.vertical, 10)
                    .frame(maxWidth: .infinity, alignment: .center)
                    .background(.black.opacity(0.5))
                    .foregroundStyle(.white)
                    .font(size)
                    .fontDesign(.serif)
            }
    }
}

#Preview {
    OverviewTiles()
}

enter image description here

Reasons:
  • Blacklisted phrase (1): this video
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: Andrei G.

79391884

Date: 2025-01-27 19:02:52
Score: 1
Natty:
Report link

This complete answer was provided me by an expert.

library(tcltk)
catn=function(...) cat(...,'\n')

wtop = tktoplevel(width=400,height=400)

# Set up event handlers
eventcallback1 = function(d) { catn("eventcallback1",d) }
eventcallback2 = function(d) { catn("eventcallback2",d) }
keycallback1 = function(K) { catn("keycallback1",K) }
keycallback2 = function(K) { catn("keycallback2",K) }

tkbind('all','<<EVENT>>',paste0('+', .Tcl.callback(eventcallback1)))
tkbind('all','<<EVENT>>',paste0('+', .Tcl.callback(eventcallback2)))
tkbind('all','<Key>',paste0('+', .Tcl.callback(keycallback1)))
tkbind('all','<Key>',paste0('+', .Tcl.callback(keycallback2)))

To check it out enter into the R session "tkevent.generate(wtop,'<>',data='ZZZZZ')" with various values of data. And set focus to the toplevel and type things.

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: re2 re2

79391882

Date: 2025-01-27 19:02:52
Score: 2
Natty:
Report link

The issue is likely from mixing server and client components in your barrel file. Import dashboard directly to fix it. For niche discussions, check https://fapello.org.uk/.

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

79391877

Date: 2025-01-27 19:00:51
Score: 4.5
Natty: 6
Report link

did you see memory_target_fraction=0.95? I am trying to figure out the best thresholds for my workflow. Currently, I have below and my workers gets KilledWorker ERROR transfer: 0.1 target: False spill: .7 pause: .8 termination:.95

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: aag

79391862

Date: 2025-01-27 18:52:49
Score: 2
Natty:
Report link

They just announced today (Jan 27, 2025) that there is a 1GB total limit on each account, across all your repositories.

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

79391861

Date: 2025-01-27 18:52:48
Score: 11 🚩
Natty: 4.5
Report link

Have you found any solution to this?

I have been trying to configure this as well. I need to hide File and View options from the report as well as the export to Microsoft Powerpoint option.

If you got any workaround for this, kindly suggest!

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2.5): Have you found any solution to this
  • RegEx Blacklisted phrase (2): kindly suggest
  • RegEx Blacklisted phrase (2): any solution to this?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mihir Sharma

79391857

Date: 2025-01-27 18:50:47
Score: 1
Natty:
Report link

Whe response metadata from kafka drive formatdatetime correct:

RecordMetadata metadata = r.recordMetadata(); Instant timestamp = Instant.ofEpochMilli(metadata.timestamp()); LocalDateTime localDateTime = LocalDateTime.ofInstant(timestamp, ZoneId.systemDefault()); ZonedDateTime zonedDateTime = localDateTime.atZone(ZoneId.systemDefault()); try { dateFormat.format(timestamp); }catch(Exception e){ e.printStackTrace(); } System.out.printf("Message %d sent successfully, topic-partition=%s-%d offset=%d timestamp=%s\n", r.correlationMetadata(), metadata.topic(), metadata.partition(), metadata.offset(), dateFormat.format(timestamp));

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

79391843

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

In my experience, the error could be caused by two things. The first reason is that you might not be giving the page enough time to load, which is why you're getting this error. I would recommend trying to add a time.sleep(5) or a similar delay before each inputs[choose].click().

The second reason could be that the button you want to click is in a second window or frame. In that case, you need to specify that this button is located in the second module. hope this works for u:)

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

79391841

Date: 2025-01-27 18:46:46
Score: 2.5
Natty:
Report link

You can probably use the Docker container health check. Traefik will only forward requests to healthy containers. Healthchecks can be defined as addition in a compose file.

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

79391840

Date: 2025-01-27 18:45:45
Score: 1.5
Natty:
Report link

Css conflicts: Check whether your custom css is overriding your img hight or width.

    img{
       width: 100%;
       height: auto; // Ensure proper aspect ration
     }

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

79391837

Date: 2025-01-27 18:44:45
Score: 2.5
Natty:
Report link

The last non-problematic version is Xcode 15.2 you can downgrade to it. The issue is still present in Xcode 16.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Muhammed Gül

79391827

Date: 2025-01-27 18:40:44
Score: 1
Natty:
Report link

To Remove computer objects:

Import-Module ActiveDirectory

$list = Import-CSV C:\Scripts\RemoveADobjects\ObjectList.csv

forEach ($item in $list) { $samAccountName = $item.samAccountName

$DN = ADComputer -Identity $Samaccountname | Remove-ADObject -recursive -Confirm:$false

}

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arnold A.G.

79391826

Date: 2025-01-27 18:40:44
Score: 0.5
Natty:
Report link

For records. If you need to pass some custom field within PayPal payment event, it can be done via adding custom_id field in purchase_units array:

        createOrder: function (data, actions) {
            const amount = "100";
            const description = 'product description';
            return actions.order.create({
                purchase_units: [
                    {
                        amount: { value: amount },
                        description: description,
                        custom_id: emailInput.value, // Pass anything as as custom ID, I am passing email here as an example
                    },
                ],
            });
        },.....
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tigran

79391816

Date: 2025-01-27 18:35:42
Score: 2.5
Natty:
Report link

The best approach is not to use any package apart from the flutter services package that has its own clipboard which is more effective

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

79391810

Date: 2025-01-27 18:33:42
Score: 0.5
Natty:
Report link

When you run this in your Dockerfile

COPY server.py /project/

you are only copying one file, server.py, to your Docker environment. Clearly, your project needs more than one file, so you should copy what is missing.

You could fix this with

COPY . /project/

This will copy the contents of your directory . to the docker image (it won't copy the folder itself like cp would).

Or alternatively,

COPY ./CV.py /project/
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Dune

79391804

Date: 2025-01-27 18:31:42
Score: 3.5
Natty:
Report link

In my case, i was missing to "Enable go module integration" check in the settings. Screenshot

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

79391801

Date: 2025-01-27 18:30:41
Score: 0.5
Natty:
Report link

I think I have found the issue(s)

the repo that we had for our images was "xyz.com". It worked great getting the image list, but failed with the above error when performing a "list_tags" for images in that repo.

Not sure if the repo name is "valid" and there is an issue in the api, or the repo name needs to be changed.
The process worked flawlessly with repos without a "." in the name.

Thank you for your help and responses :)

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-0.5): Thank you for your help
  • Whitelisted phrase (-1): It worked
  • No code block (0.5):
  • Low reputation (1):
Posted by: david

79391792

Date: 2025-01-27 18:26:40
Score: 1
Natty:
Report link
/** @type {import('tailwindcss').Config} */
const flowbite = require("flowbite-react/tailwind");
module.exports = {
  content: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html", flowbite.content()],
  theme: {
    extend: {},
  },
  plugins: [flowbite.plugin()],
};
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aku Sarma

79391782

Date: 2025-01-27 18:21:39
Score: 2
Natty:
Report link

You can make use of repartition and bucketBy to achieve a better optimisation. Repartition in the front will also deal with any data skewness that you have in your data. Then performing a bucketBy over this repartitioned data, on a column with low cardinality will yield the best result imo.

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

79391776

Date: 2025-01-27 18:18:38
Score: 3
Natty:
Report link

Instead of managing visibility with individual states for each modal, use a single state to track the current visible bottom sheet or screen.

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

79391771

Date: 2025-01-27 18:17:38
Score: 1
Natty:
Report link

Here are the official examples:

"PT20.345S" -- parses as "20.345 seconds"

"PT15M" -- parses as "15 minutes" (where a minute is 60 seconds)

"PT10H" -- parses as "10 hours" (where an hour is 3600 seconds)

"P2D" -- parses as "2 days" (where a day is 24 hours or 86400 seconds)

"P2DT3H4M" -- parses as "2 days, 3 hours and 4 minutes"

"PT-6H3M" -- parses as "-6 hours and +3 minutes"

"-PT6H3M" -- parses as "-6 hours and -3 minutes"

"-PT-6H+3M" -- parses as "+6 hours and -3 minutes"

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

79391762

Date: 2025-01-27 18:14:37
Score: 1
Natty:
Report link

I don't know if this is relevant to any other software/programs, but I was banging my head against a wall trying to figure this out because none of the solutions provided in any of the threads were working and wanted to share what I have found.

My issue was not with Julia but Anaconda. I can't say this is the solution with 100% confidence since I uninstalled Anaconda to get my program to work before I discovered this but if your libstdc++-6.dll (or other .dll files) is coming from an anaconda folder, I think the issue is that Anaconda automatically downloads a PowerShell profile script to run conda.exe every time a new PowerShell is loaded, meaning that it would always try to load certain files (including the .dll files) from my anaconda folder instead of the one's defined in my PATH.

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

79391758

Date: 2025-01-27 18:13:37
Score: 2
Natty:
Report link

i'm just getting started into modding games in general and i've been searching info too. If it's still of any use 3 years later, chech out the forge community forums, especially the User submitted tutorials in https://forums.minecraftforge.net/forum/111-user-submitted-tutorials/

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

79391749

Date: 2025-01-27 18:09:36
Score: 3.5
Natty:
Report link

can someone explian in english why i cant download matplotlib?i give up time to learn something new as i have wasted my time with this python crap!!..in programming everything is an error...STAY AWAY

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can someone
  • Low reputation (1):
Posted by: daniel nunez

79391728

Date: 2025-01-27 18:00:34
Score: 1.5
Natty:
Report link

You give the function in b.js the __dirname in a.js. Example:

a.js:

const b = require("../lib/b.js");
b.someFn(__dirname);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: HannesScript

79391725

Date: 2025-01-27 17:58:33
Score: 1.5
Natty:
Report link

:<C-r>0!node -p

more info :help c_ctrl-r and :help registers

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

79391715

Date: 2025-01-27 17:56:32
Score: 3.5
Natty:
Report link

Try the solution posted by Mohammad. You should use remember for handle the states.

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

79391713

Date: 2025-01-27 17:56:32
Score: 1
Natty:
Report link

Both arrays start with the GZIP header (31, 139, 8), which is correct for identifying GZIP-compressed data.

The payload (data after the header) in the second array seems corrupted or invalid. GZIP is a format with a CRC32 checksum and size validation, so even a minor corruption in the payload can result in decompression failures or garbage output.

Both C# and Python fail to decompress the second array correctly, which strongly indicates an issue with the data itself rather than the decompression code.

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

79391712

Date: 2025-01-27 17:56:32
Score: 0.5
Natty:
Report link

It turns out there are two reasons for this, both stemming from the same piece of code in ImageFile.py

if self._exclusive_fp and self._close_exclusive_fp_after_loading:
    self.fp.close()
self.fp = None

If a file path is passed into Image.open() then it will be closed, but even if a file is opened explicitly it will be closed by the garbage collector after self.fp is assigned to None.

The solution takes three changes:

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

79391701

Date: 2025-01-27 17:50:31
Score: 4.5
Natty:
Report link

Looks like this is being worked on here: https://github.com/dependabot/dependabot-core/issues/11237

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

79391693

Date: 2025-01-27 17:47:30
Score: 1
Natty:
Report link

I would avoid using it like one might avoid the plague. Its magic and mystical workings are too much for any proper developer to invest time in. Additionally, the learning curve is quite significant, especially for operations involving more advanced database scenarios. EF promotes direct table access, which contradicts best practices.

Recommendation: Hard Pass!

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Software Sith Lord

79391689

Date: 2025-01-27 17:47:29
Score: 4.5
Natty: 4.5
Report link

Does this also apply to pods which are Job(which has succeeded) ?

Does the events get removed, after the Job is succeeded ?

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

79391686

Date: 2025-01-27 17:46:29
Score: 2
Natty:
Report link

goto is exceptionally valid in high performance computing and in conditions where the decision has already been made ie a question box.

goto is extensively used in theorem proving where structured loops consume too many cycles testing the parameters of the loop ie while(true) seemingly is simple, it still requires the check to see if 'true' is 'true'.

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

79391676

Date: 2025-01-27 17:41:28
Score: 0.5
Natty:
Report link

The Unarchiver is another option, Ubuntu/Debian package unar

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: P Varga

79391674

Date: 2025-01-27 17:41:28
Score: 1
Natty:
Report link

The issue was my mistake: I removed all apply false rules from my project's build.gradle plugins, clearly not understanding what I was doing.

In retrospective, my own update gave me a good hint: as I was applying all the plugins to the top-level gradle file, it expected every declaration to be there.

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

79391668

Date: 2025-01-27 17:40:27
Score: 1
Natty:
Report link

Had this even though I have installed flask.

it turns out that flask was installed on my system-installed Python on path: "C:\Users\alide\AppData\Local\Programs\Python\Python311\python.exe"

but the error was appearing because I was running the python file with MSYS2 interpreter on path: "C:\msys64\ucrt64\bin\python.exe"

the easy solution was to switch the interpreter in VSCode by pressing ctrl+shift+p and typing "Python: Select Interpreter" and changing the interpreter to the system interpreter in the path "C:\Users\alide\AppData\Local\Programs\Python\Python311\python.exe"

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: علي دبك

79391665

Date: 2025-01-27 17:38:27
Score: 3
Natty:
Report link

After some investigation, it seems that this is not possible. Instead, you load the archive separately (for example with docker load -i) and then you can see it on that tab: dockerdesktop

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

79391663

Date: 2025-01-27 17:38:27
Score: 1
Natty:
Report link

I realized my connection string had the credentials for a different user in the connection URL. Although I had the

spring.datasource.username and spring.datasource.password

configured correctly...

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

79391659

Date: 2025-01-27 17:36:26
Score: 1.5
Natty:
Report link

In my case psql/pg failed to connect and printed in error text that host 'localhost' was actually

::1

(not 127.0.0.1 or 0.0.0.0). After I changed "localhost" to "::1" in .env (or Pool constructor) - all worked fine.

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

79391656

Date: 2025-01-27 17:35:25
Score: 7
Natty: 8.5
Report link

can you explain more but like this we can not resolvet it quicly sir thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (2.5): can you explain
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can you
  • Low reputation (1):
Posted by: Ismael Dramani Ouedraogo

79391653

Date: 2025-01-27 17:33:25
Score: 1
Natty:
Report link

To integrate Terraform with webui interface to pass Terraform arguments/parameters, I will suggest using the Jenkins pipeline. Create a Pipeline using Jenkins and add those terraform arguments in Jenkins Groovy script, and in a later stage block of the Jenkins Groovy call the arguments and pass it as a run time variable to your terraform plan and apply stages.

This works perfectly and you can further pass those arguments to external scripts like boto3 etc.

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

79391638

Date: 2025-01-27 17:29:24
Score: 0.5
Natty:
Report link

Note that unixODBC is a driver manager, not a driver.

You might consider switching to the iODBC driver manager, which is maintained by OpenLink Software, also the source of Virtuoso.

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

79391637

Date: 2025-01-27 17:27:23
Score: 2
Natty:
Report link

This is the way I found I could get the text:

ThisWorkbook.Sheets("MySheet").Shapes("MyShape").TextFrame.Characters.Text

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

79391635

Date: 2025-01-27 17:27:23
Score: 4
Natty:
Report link

so turns out exactly what I want has been answered before! I just didn't realize it because I didn't fully comprehend what it was telling me to do but after Googling some Git documentation it all makes sense:

https://stackoverflow.com/a/32528151/21972506

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Spring E. Thing

79391629

Date: 2025-01-27 17:24:22
Score: 2.5
Natty:
Report link

printf isn't async-signal-safe. That's why your code might not do what it's supposed to do. I suggest using write(). It's a little trickier to use but at least it should always work

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

79391591

Date: 2025-01-27 17:11:19
Score: 0.5
Natty:
Report link

I had an have this problem:

I had this problem when i did pass an array of array in "providers". so nested an predefined array in an array like "provides: [ list ]", and looked at the code which accepts a function or object which looks like an provider (e.g. having some specific function and props) or an list thereof.

But here it's an Array of a single Provider conf, so looks good.

The "If" here is, and that's my hunch here, if the provider conf is wrong an returns an Error and not what auth js expect (an provider) it could behave like that too...

Haven't figured out whats wrong either. Perhaps a version conflict between auth js, svelte and other lib.

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

79391584

Date: 2025-01-27 17:07:18
Score: 0.5
Natty:
Report link

I also had similar issues with GPU memory when loading the dataset into memory. I see you're using a generator which is fine in your example, but why would you use model.predict(d1024.take(n)) instead of simply model.predict(d1024)?

When you use dataset.take(n) it will create a new dataset with n batches, so it will not process the entire dataset. Furthermore, it will try to load at once the n batches of your dataset into the GPU which explains why you get memory problems.

I found the best approach for me is using a custom generator that yield batches of data so only one batch at the time is loaded into memory.

Something like:

def gen():

   while True:
      ...

      yield X, Y

You'll be sure of having no memory problems and using X and Y as numpy arrays instead of using tf.Dataset you also have more flexibility.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ruben Bento

79391576

Date: 2025-01-27 17:03:17
Score: 3
Natty:
Report link

Thanks a lot. The solution worked for me.

Is there any way to connect all (!) pages of a workspace o an internal integration? Connecting every single page one by one manually defeats the purpose of scripting via the API.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Is there any
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: lars20070

79391574

Date: 2025-01-27 17:01:17
Score: 2
Natty:
Report link

I suppose you have added the custom network in the metamask wallet . In the metamask wallet go to Settings >> Advanced and clear the data(Do this whenever you have redeployed the contract or restarted the blockchain node ). This will stop the error .

:)

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

79391565

Date: 2025-01-27 16:59:17
Score: 0.5
Natty:
Report link

Find the Rigidbody component in the Inspector panel, then locate Interpolate and set it to Interpolate or Extrapolate.

Here is an additional point to note that if you observe this "stuttering" phenomenon in the Game view after entering demo mode, and your computer's performance is sufficient to support smooth operation, then there is actually no need to worry about this issue. This is a unique "stuttering" phenomenon in demo mode.

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

79391564

Date: 2025-01-27 16:59:17
Score: 3.5
Natty:
Report link

PascalCase is the best, first letter of every word should be upper case

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

79391550

Date: 2025-01-27 16:53:15
Score: 2
Natty:
Report link

You should keep the events on Kafka and make Nifi stop ingesting data.
This can be done reducing the queues size and makeing backpressure work, stopping the NiFi Consumer before the NiFi system is overloaded and therefore blocked.

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

79391549

Date: 2025-01-27 16:52:14
Score: 3
Natty:
Report link
body, table {
  font-size: 34px;
  text-size-adjust: 100%; /* Prevent automatic scaling */
  -webkit-text-size-adjust: 100%; /* For WebKit browsers */
}

Why Does This Fix Work?

Reasons:
  • RegEx Blacklisted phrase (1.5): Fix Work?
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why Do
  • Low reputation (1):
Posted by: Lucifer

79391512

Date: 2025-01-27 16:43:11
Score: 2.5
Natty:
Report link

So, the problem was that the procedure that was calling the GetWork proc did not have parms passed to it in the right order. The call to getwork is the third level of nested call (if I can call it so). The fact that the error was happening at this unsuspicious line made things confusing.

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

79391511

Date: 2025-01-27 16:42:11
Score: 2
Natty:
Report link

Fixed: I tried call the initlocation way before the map even existed, so I just moved the function call to on map created and it worked.

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

79391508

Date: 2025-01-27 16:42:11
Score: 0.5
Natty:
Report link

As per my findings industry practice often favors using pre-signed URLs. Some pointers:

Scalability: Offloading the upload process to the client reduces server load. Security: Pre-signed URLs can be configured with specific permissions and expiration times, minimizing misuse risks. Flexibility: Supports large file uploads and can handle various file types and sizes.

To mitigate security concerns with pre-signed URLs, we can ensure:

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Rajat Jain

79391506

Date: 2025-01-27 16:41:11
Score: 1
Natty:
Report link

Here is how Pente privacy groups operate in Paladin:

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

79391495

Date: 2025-01-27 16:38:10
Score: 1
Natty:
Report link

Ask the user for inputs

price_per_kg = float(input("Enter the price (without tax) of one kilogram of tomatoes: ")) kilograms = float(input("Enter the number of kilograms you want to buy: ")) vat_percent = float(input("Enter the VAT in percent: "))

Calculate the total price before tax

total_price_before_tax = price_per_kg * kilograms

Calculate the VAT amount

vat_amount = (total_price_before_tax * vat_percent) / 100

Calculate the total price including VAT

total_price_with_vat = total_price_before_tax + vat_amount

Print the result

print(f"The total price including VAT is: {total_price_with_vat:.2f}")

for more detailed articles you can read on https://vatcalculatorsa.co.za/

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

79391488

Date: 2025-01-27 16:37:09
Score: 6.5 🚩
Natty: 6
Report link

How does it help by increasing allowed-failures? Will it trust the task and execute it?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How do
  • Low reputation (1):
Posted by: aag

79391484

Date: 2025-01-27 16:35:08
Score: 1.5
Natty:
Report link

What does your itemRow method look like? To customize the marker, you need to associate a Place that has a PlaceMarker with each Row using the Row.Builder::setMetadata method. PlaceListMapTemplate::setItemList has more details.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What do
Posted by: Ben Sagmoe

79391483

Date: 2025-01-27 16:35:08
Score: 2
Natty:
Report link

As correctly said above the issue is to do with the fact that .msi installer does not handle prerequisites even if you specify it in the properties in setup project.

Use setup.exe file instead, as it will prompt user to install all specified prerequisites.

But there is an issue that you need to supply both files then (setup.exe and setup.msi). I found a How do I make a self extract and running installer , where it is described how you need to package these files in self-extracting archive and configure it to launch setup.exe by default automatically upon extraction completes.

Reasons:
  • Blacklisted phrase (1): How do I
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tigran

79391482

Date: 2025-01-27 16:34:08
Score: 1
Natty:
Report link

The default response from Laravel whilst in it's maintenance mode is 503 - Service Unavailable. I've just had this happen, and running the command to end maintenance mode solved my problem.

php artisan up

(maintenance mode was enabled in my last development session, I had forgotten to disable it again)

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

79391466

Date: 2025-01-27 16:27:06
Score: 3.5
Natty:
Report link

If you are facing above error Go to Right Click on project->Module Settings-> enter image description here

and then come back and go to setting set your JDK which version you have given in module settings

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Chandra

79391463

Date: 2025-01-27 16:27:06
Score: 12.5
Natty: 7.5
Report link

Did you find any solutions for this issue?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you find any solution
  • RegEx Blacklisted phrase (2): any solutions for this issue?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find any solution
  • Low reputation (1):
Posted by: Petar Borisov

79391462

Date: 2025-01-27 16:26:05
Score: 1
Natty:
Report link

isFetching did it for me. I had to change status === "pending" to isFetching and then render the relevant component. Example below:

{(isFetching) ? <SkeletonComponent /> : <> Some component</> }

Then use query invalidation to manually trigger the refresh based on some mutations.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): did it for me
  • Low reputation (0.5):
Posted by: Eunit

79391461

Date: 2025-01-27 16:26:05
Score: 1.5
Natty:
Report link

Give a try with this @PathVariable("id") sometimes you have to mention exact name of the path variable

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

79391457

Date: 2025-01-27 16:24:04
Score: 2
Natty:
Report link

Cloud SQL for PostgreSQL only offers LangChain components (Preview). I suggest filing this as a feature request, so that the Google engineering team can look into it. Note that they won’t be able to provide the date as to when this will be implemented or if it will be implemented at all.

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

79391455

Date: 2025-01-27 16:22:04
Score: 0.5
Natty:
Report link

with the current version of Chart.js (4.4.7) the following option needs to be added:

{
scales: {
  r: {
    type:'radialLinear',
    ticks:{
      callback(v){
        return v;
      }
    }
  }
}

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

79391454

Date: 2025-01-27 16:22:04
Score: 1
Natty:
Report link

I found Nimantha's answer to be good, but slightly confusing to read, so I formulated an alternative (works in Looker Studio).

Assuming that <FIELD> is a DATETIME and has timezone of UTC and I want to convert it to EST:

DATETIME_ADD(<FIELD>, INTERVAL (DATETIME_DIFF(CURRENT_DATETIME("EST"), CURRENT_DATETIME("UTC"), HOUR)) HOUR)
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Matt Scheurich

79391453

Date: 2025-01-27 16:22:04
Score: 1
Natty:
Report link

you can just use ReplaceText and use the Json template you have, replacing the text with your attributes.

For example: Replacement Value=

{
"name": "${name}",
"surname": "${surname}",
"band": "${band}"
}

Screenshot attached for reference.

ReplaceText parameters

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

79391447

Date: 2025-01-27 16:20:03
Score: 1
Natty:
Report link

You can try something like this:

import seaborn as sns
import matplotlib.pyplot as plt

if __name__ == '__main__':
    fig, axs = plt.subplots(ncols=2)
    dat = [1e-10, 1e-1, 1e31, 15, 1e2, 1e-3]
    sns.violinplot(data=dat, ax=axs[0])
    
    sns.violinplot(data=dat, ax=axs[1])
    axs[1].set_yscale('log')
    plt.show()

Figure

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

79391444

Date: 2025-01-27 16:20:03
Score: 1.5
Natty:
Report link

there is no way to reverse the getSignaturesForAddress search direction. But how about reversing the returned list of signatures with

reversed(signatures)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Virus-Axel

79391441

Date: 2025-01-27 16:18:03
Score: 1
Natty:
Report link

ran some script like this u may modify this accordingly (i made chatgpt write this)

import path from "path";
import fs from "fs";

// Base directory for your source code
const directoryPath = "./src";
const aliasMapping = {
  components: "@Components",
  hooks: "@Hooks",
  assets: "@Assets",
  pages: "@Pages",
  routes: "@Routes",
  Animation: "@Animation",
  context: "@Context",
  utils: "@Utils",
};

// Function to resolve an absolute path
function resolveAbsolutePath(importPath, filePath) {
  const absolutePath = path.resolve(path.dirname(filePath), importPath);
  const relativeFromSrc = path.relative(
    path.resolve(directoryPath),
    absolutePath
  );

  const [topLevelFolder, ...rest] = relativeFromSrc.split(path.sep);
  const alias = aliasMapping[topLevelFolder];

  return alias ? `${alias}/${rest.join("/")}` : null;
}

// Function to update import paths
function updateImportPaths(filePath) {
  const fileContent = fs.readFileSync(filePath, "utf8");

  const updatedContent = fileContent.replace(
    /from\s+["'](\..*?)["']/g,
    (match, importPath) => {
      const resolvedPath = resolveAbsolutePath(importPath, filePath);
      return resolvedPath ? `from "${resolvedPath}"` : match;
    }
  );

  if (updatedContent !== fileContent) {
    fs.writeFileSync(filePath, updatedContent, "utf8");
    console.log(`Updated imports in ${filePath}`);
  }
}

// Recursively traverse the directory and update import paths
function traverseDirectory(dir) {
  const files = fs.readdirSync(dir);

  files.forEach((file) => {
    const filePath = path.join(dir, file);
    const stat = fs.statSync(filePath);

    if (stat.isDirectory()) {
      traverseDirectory(filePath); // Recursive call for directories
    } else if (filePath.endsWith(".tsx") || filePath.endsWith(".ts")) {
      updateImportPaths(filePath); // Update import paths for .tsx or .ts files
    }
  });
}

// Start the process
traverseDirectory(directoryPath);
Reasons:
  • RegEx Blacklisted phrase (1.5): resolvedPath ?
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: harshita rajpal

79391439

Date: 2025-01-27 16:18:03
Score: 2.5
Natty:
Report link

Maybe it's not an HTML problem; the issue could come from elsewhere. You might have a font-size defined in another CSS file that is affecting this one. Try inspecting the element with the Google Developer Tools (F12) to check which font-size is being applied to the text.

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

79391437

Date: 2025-01-27 16:17:02
Score: 4
Natty:
Report link

Thanks to mo_al_! I didn't know that the result of the c_str() function should be copied immediately before the data gets lost.

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

79391432

Date: 2025-01-27 16:16:02
Score: 2
Natty:
Report link

So not sure what exactly fixed this, but I had to add credentials="include" to the http GET towards the server and also adjusted the cookie values for SameSite and Secure (as this is not allowed SameSite: http.SameSiteNoneMode and Secure: false) and it's finally working. Thank you Brits!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Gavra

79391428

Date: 2025-01-27 16:15:01
Score: 2.5
Natty:
Report link

$previous = "javascript:history.go(-1)";

Like this and just use in php tags in html template.

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

79391412

Date: 2025-01-27 16:11:00
Score: 0.5
Natty:
Report link

I do not know why the commenter did not answer, but @Adrian is right. The golang package golang.org/x/image/font/opentype does not support Variable Font files, and, in my opinion as someone who works in this area, it is unlikely to be extended to support them. Google should also supply non-variable "instanced" files, which are the Variable Font instanced to each weight it supports (or whatever the axis is).

Use those instead.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @Adrian
  • High reputation (-1):
Posted by: David Jones

79391410

Date: 2025-01-27 16:10:00
Score: 1.5
Natty:
Report link

It is not documented, but after you create your app on the eCW Sandbox, you have to reach out to eCW support so they can "activate" the app on their side. Once they activate the app, you have to add the eCW "FHIR R4 Sandbox EMR" under Customers on your sandbox configuration. Before they "activate" the app on their side, all you'll ever get when you try to "launch" the sandbox app is a 403 error that redirects you to the smart-on-fhir documentation.

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

79391404

Date: 2025-01-27 16:08:59
Score: 1
Natty:
Report link

Get first word:

/\w+/

Example:

const matcher = str.match(/\w+/);
console.log("The first string is: ", matcher?.[0]);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Frank Liu

79391402

Date: 2025-01-27 16:07:59
Score: 1.5
Natty:
Report link

If you got this error while working with React Create App you should go to: public/index.html find

`<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />` 

and remove it.

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

79391399

Date: 2025-01-27 16:06:59
Score: 1
Natty:
Report link

On macOS, install the MySQL client libraries required by mysqlclient using Homebrew:

Install MySQL:

brew install mysql

Then install mysqlclient:

pipenv install mysqlclient

This works because mysql_config, included with Homebrew's MySQL, is required to build mysqlclient.

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

79391394

Date: 2025-01-27 16:03:58
Score: 2
Natty:
Report link

The Card component has a prop called 'contentStyle' which needs to be used to style the inner content. For some reason passing the same styling values to an inner <Card.Content> style prop does not produce the same results. Try moving where you are styling the content.

contentStyle takes type: StyleProp

https://callstack.github.io/react-native-paper/docs/components/Card/#contentstyle

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: gender-isnt-real

79391393

Date: 2025-01-27 16:03:58
Score: 3.5
Natty:
Report link

Ok I got it to work using https://github.com/jgrandja/spring-security-oauth-5-2-migrate

...

but I'm really not happy with the fact that it looks like, all of once, I need reactive libraries to solve normal, non-reactive problems...

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: tuse-ausm-chor

79391386

Date: 2025-01-27 16:02:58
Score: 2.5
Natty:
Report link

I encountered the same issue with Eclipse 4.34, Java 21.0.4, and Apache Directory Studio 2.0.0-M17. After uninstalling Eclipse, I selected the latest available JRE (23.0.1) during my next Eclipse installation, then added the apache directory studio pluing. Now the LDAP connections are successful.

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