79418218

Date: 2025-02-06 14:03:34
Score: 1.5
Natty:
Report link

I couldn't change the SDK path because it was set correctly. AndroidSDK was loading the wrong path value because it was loading the value from ~/.android/cache/ directory.

The job works fine after deleting cache files.

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

79418216

Date: 2025-02-06 14:03:34
Score: 3.5
Natty:
Report link

Just use the text-align: center; for the p tag.

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

79418207

Date: 2025-02-06 14:00:34
Score: 0.5
Natty:
Report link

Access blocks all update queries when grouped queries are included. Use DSUM instead.

UPDATE Second_Table SET SumField=DSUM("NumberField_First_Table","First_Table","WHERE ID_in_First_Table=" & [ID_inSecond_Table]);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Zen

79418195

Date: 2025-02-06 13:56:33
Score: 2.5
Natty:
Report link

Normally, if your server responds with 401, it means that the user is making a request that they should not have been able to make. They have tried to access an endpoint which they were not authorized to access.

The way this is normally prevented, is by separating your react routes into private routes and not private. Think of this as a client side middleware. To create private routes check this article https://medium.com/@bhairabpatra.iitd/private-routes-in-react-559a7d8d161f

On the other hand, if you have an api call that returns 401 and you want to redirect the user to /login if that is the response status code, you would have to manually redirect the user every time. It really should not be too much code.

Reasons:
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Francesco De Conto

79418191

Date: 2025-02-06 13:54:32
Score: 1.5
Natty:
Report link

This code does run and is very old. I found the answer by talking to some engineers. The syntax is an undocumented "feature" and little supported. It is as some commented, a portion of the record. Unit space X, where x is the portion. x+1 is the next portion. Parsed by the format. My compiler does not recognize it, so I am changing the data source. So, it is not gibberish after all.

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

79418182

Date: 2025-02-06 13:51:32
Score: 3
Natty:
Report link

I received this error while doing az keyvault secret set and there was a space in the name of the keyvault I was passing and almost after wasting half a day found that silly mistake. Once I cleared the space, there was no issue with proxy etc

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

79418158

Date: 2025-02-06 13:45:30
Score: 1.5
Natty:
Report link

add the permission for the internet in manifest file

<uses-permission android:name="android.permission.INTERNET"></uses-permission>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ASIF ALI ABBASI

79418145

Date: 2025-02-06 13:43:29
Score: 5.5
Natty: 4
Report link

I have a similar problem and I think this github discussion can help: https://github.com/sidekiq/sidekiq/issues/750

There is I18n midware that handles this in Sidekiq.

Reasons:
  • Blacklisted phrase (1): I have a similar problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have a similar problem
  • Low reputation (0.5):
Posted by: Raphael Souza

79418140

Date: 2025-02-06 13:42:29
Score: 1
Natty:
Report link

I had the same issue, try to replace http.csrf().disable() by http.csrf(AbstractHttpConfigurer::disable); and then you can keep your original conf.

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

79418119

Date: 2025-02-06 13:38:27
Score: 7 🚩
Natty: 5
Report link

0x01, 0x01, 0x00, 0x00, 0x00, 0x32, 0x04, 0x03, 0x09, 0x00, 0x3c, 0x3a 0x01, 0x01, 0x00, 0x00, 0x00, 0x33, 0x04, 0x03, 0x09, 0x00, 0x3d, 0x1a | <-------------------> | \ / \ / | | | Header pH(mV)/10 Temp/100 ? Csum CRC??? 0x01, 0x01, 0x00, 0x00, 0x00, 0x8d, 0x06, 0xf4, 0x08, 0x00, 0x77, 0x56 0x01, 0x01, 0x00, 0x00, 0x00, 0x8f, 0x06, 0xf4, 0x08, 0x00, 0x75, 0x16

Could you please tell me how to transfer Ox33 0X04 into pH(mV), I tried several times but failed.

Reasons:
  • Blacklisted phrase (1): ???
  • Blacklisted phrase (1.5): tell me how to
  • RegEx Blacklisted phrase (2.5): Could you please tell me how
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Filler text (0.5): -------------------
  • Low reputation (1):
Posted by: Shivercao

79418113

Date: 2025-02-06 13:36:26
Score: 3.5
Natty:
Report link

I also faced the similar issue and after applying invalidate cache my problem is solved.

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

79418109

Date: 2025-02-06 13:35:26
Score: 1
Natty:
Report link

This is how javascript closure works.

Your useEffect runs only once ([] dependency array). And the function inside addEventListener is a closure and captures the state when useEffect runs. Since offsets is initialized as null (or its initial state), this function always logs the initial state, eventhough when the component re-renders and offsets changes.Because of the ([] dependency array).

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

79418106

Date: 2025-02-06 13:34:26
Score: 1
Natty:
Report link

It is possible to retrieve the value of an environment variable with substitute-variable

let [val workspacePath [substitute-variables "${workspace_loc}"]] {
    ...
    set-text $workspacePath
}

It seems that system variables can also be accessed. For example ${system_property:user.home}. See https://www.eclipse.org/forums/index.php/t/1090193/

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

79418099

Date: 2025-02-06 13:32:25
Score: 1
Natty:
Report link

In my case, I'm working with pnpm and had to add the following to my package.json

 "pnpm": {
    ...,
    "onlyBuiltDependencies": [
      "sharp"
    ]
  }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mel K.

79418090

Date: 2025-02-06 13:29:24
Score: 2.5
Natty:
Report link

Question 1: How can I properly extract values from _StateBackedIterable when using an AsMultiMap side input? The most reliable way to extract values is to force materialization by converting the _StateBackedIterable to a list. While iterating can work, converting to a list ensures all data is processed and available.

lookup_table_iterable = ref_bsbcatname["104221"] or [] value_list = list(lookup_table_iterable) for value in value_list: logging.info(f"ref_bsbcatname Value 104221 : {value}")

Question 2: Is there a way to force materialization of the iterable when reading from the side input? Yes, as shown above, explicitly converting to a list (list(lookup_table_iterable)) forces materialization. This consumes the iterable, making subsequent iterations impossible without re-materializing.

Question 3: Could this issue be related to Apache Beam’s lazy evaluation model? How does Apache Beam manage periodic updates to a PCollection used as a side input? Yes, this issue is directly related to Apache Beam's lazy evaluation. The _StateBackedIterable is a consequence of this optimization. Apache Beam manages periodic updates by ensuring that when a transform using the side input executes, it receives the latest available version of the PCollection. The runner handles the update and data synchronization behind the scenes. The key is that the materialization happens at the point of use within the transform, not when the side input is created or updated.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): Is there a way
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Yzza Hario

79418078

Date: 2025-02-06 13:26:24
Score: 0.5
Natty:
Report link

I was facing error in AWS lambda functions that path was not found... What I did was used following to make it work

import path from "node:path";

Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Jainam Jhaveri

79418075

Date: 2025-02-06 13:26:24
Score: 2
Natty:
Report link

The error indicates that either you do not have 'npm' or 'node' installed, or there was an error installing them.

Check if they are installed by running the following commands in the terminal

'node -v'

'npm -v'

If they are not installed, make sure to install them.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Francesco De Conto

79418068

Date: 2025-02-06 13:24:23
Score: 2
Natty:
Report link

Here is my solution, In Iphone 16..

  1. You must enable developer mode in your iphone

Then the rest work like magic

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

79418064

Date: 2025-02-06 13:24:23
Score: 1.5
Natty:
Report link

The error comes up, because you are using the wrong syntax. It should be
usernams.append instead of usernames = usernames.append

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

79418046

Date: 2025-02-06 13:20:22
Score: 7.5 🚩
Natty: 6.5
Report link

Did you manage to resolve this issue? I've got same problem now. before it worked, now it does not.

Reasons:
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (3): Did you manage to resolve this
  • RegEx Blacklisted phrase (1.5): resolve this issue?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: dl666

79418035

Date: 2025-02-06 13:17:19
Score: 7 🚩
Natty:
Report link

Can someone help me change this in to valid gcc11 code? Thanks

void loadFromImpl(const XmlNode& tree, Args&... fields)
    {
        using namespace std::string_literals;

        try
        {
            auto root = tree.get_child(RootNode);
            (loadField(root, fields, std::make_index_sequence<fmt::runtime(fields.size())>{}), ...);
        }
        catch (std::exception& e)
        {
            throw SettingsSerializer::Error{"Settings", "Load settings error: "s + e.what()};
        }
    }
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can someone help me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Can someone help me
  • Low reputation (1):
Posted by: MrMEEE

79418028

Date: 2025-02-06 13:16:18
Score: 2.5
Natty:
Report link

I had the issue that tables are shown on the left hand side box but when I run the query like "select * from table" then my table was not shown then I restarted my computer then after restarting the issue was resolved.

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

79418017

Date: 2025-02-06 13:15:16
Score: 7 🚩
Natty:
Report link

I am also facing same issue , Did you get find solution for this

enter code here @BeforeAll public static void setup() { // Create a new report folder with a timestamp reportFolderPath = ReportManager.createReportFolder(); System.setProperty("C:\Users\Vinod Kumar\Documents\reportfile", reportFolderPath); // Optional: Make it available system-wide

        LoggerHelper.info("********** Starting Test Execution **********");
        BaseClass.getDriver();   // Initialize WebDriver
        BaseClass.openUrl();     // Navigate to URL
    }

    
    @AfterStep
    public void handleFailure(Scenario scenario) {
        if (scenario.isFailed()) {
            LoggerHelper.error("Step failed: " + scenario.getName());
            takeScreenshot(scenario);
        }
    }
      @AfterAll public static void tearDown() throws EmailException, InterruptedException, IOException {
      LoggerHelper.info("********** Ending Test Execution **********");
      BaseClass.closeBrowser(); // Close Browser
    // Send the report via email
      Thread.sleep(5000);
      EmailUtility.sendReport();
      

      
      }
Reasons:
  • RegEx Blacklisted phrase (3): Did you get find solution
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I am also facing same issue
  • User mentioned (1): @BeforeAll
  • Low reputation (1):
Posted by: vinod kumar

79418014

Date: 2025-02-06 13:14:16
Score: 1.5
Natty:
Report link

Payment Intents API doesn't support automatically sending paid invoices.

Resource: https://docs.stripe.com/payments/advanced/receipts#automatically-send-paid-invoices

This means you can't automatically send a paid invoice if you writing code like below

const paymentIntent = await stripe.paymentIntents.create({
    amount: 1099,
    currency: 'gbp',
    payment_method_types: ['card'],
    description: 'Thanks for your purchase!',
    receipt_email: '[email protected]',
  });

You should use embedded components

Resource: https://docs.stripe.com/payments/checkout/receipts?payment-ui=embedded-components#paid-invoices-hosted

const session = await stripe.checkout.sessions.create({
    mode: 'payment',
    invoice_creation: {
      enabled: true,
    },
    line_items: [
      {
        price: '{{ONE_TIME_PRICE_ID}}',
        quantity: 1,
      },
    ],
    ui_mode: 'custom',
    return_url: 'https://example.com',
  });
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Salih Kesepara

79418005

Date: 2025-02-06 13:09:14
Score: 3
Natty:
Report link

For generators: next( worksheet.rows )

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

79418002

Date: 2025-02-06 13:09:14
Score: 2.5
Natty:
Report link

Its Show error because firstly you have to Access through signing agreement after that you are select which scope you want

then its Does not Show invalid id

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

79417994

Date: 2025-02-06 13:07:14
Score: 1
Natty:
Report link

I found out how to do this, it turns out its pretty simple I just didn't think to look outside the ILogger code.

In your ILoggerProvider the ILogger CreateLogger(string categoryName) has the category name from ILogger<TCategoryName>. Just need to pass that to the constructor of your ILogger.

e.g. public ILogger CreateLogger(string categoryName) => new DbLogger(this, categoryName, TimeProvider.System);

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

79417990

Date: 2025-02-06 13:06:13
Score: 2.5
Natty:
Report link

Strangely, skip() and take() do not work well with joins, you should use offset() and limit(). You can read more about this in this open issue in TypeORM repository: https://github.com/typeorm/typeorm/issues/4742

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

79417972

Date: 2025-02-06 13:00:12
Score: 2.5
Natty:
Report link

try

RewriteEngine ON
RewriteCond %{REQUEST_URI} ^/golf/shoes/white/winter/(.*)$
RewriteRule ^ /collections/%1 [R=301,L]

This Should correctly redirect https://www.url-old.com/golf/shoes/white/winter/brand to https://url-old.com/collections/brand.

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

79417971

Date: 2025-02-06 13:00:12
Score: 3
Natty:
Report link

Or you can tick the "Use credential helper" in Settings->Version Control->Git

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

79417965

Date: 2025-02-06 12:58:11
Score: 1.5
Natty:
Report link

Make sure echo $this->fetch('css'); is after echo $this->element('diaporama_accueil'); in the layout

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

79417964

Date: 2025-02-06 12:57:11
Score: 0.5
Natty:
Report link

You can achieve this by adding another @State variable to store the interpretation text and updating it inside your button's action. Here's how you can modify your code:

@State var interpretation: String = ""  // New state variable for interpretation

Button {
    // Ensure all inputs are valid numbers
    if let setVT = Double(SetVT), let pplat = Double(Pplat),
       let lPEEP = Double(LPEEP), let hPEEP = Double(HPEEP),
       let vtTotal = Double(VTtotal), let vtHPEEP = Double(VTHPEEP) {

        let Cbaby = setVT / (pplat - lPEEP)
        let pVrec = hPEEP - lPEEP
        let ppVrec = pVrec * Cbaby
        let Vrec = vtTotal - vtHPEEP - ppVrec
        let Crec = Vrec / (hPEEP - lPEEP)
        let raw = max(Crec / Cbaby, 0)

        answer = String(format: "%.2f", raw)

        // Interpretation logic
        interpretation = raw < 0.5 ? "XXX" : "YYY"
    } else {
        answer = "Invalid input"
        interpretation = ""
    }
} label: {
    Text("Calculate")
        .fontWeight(.bold)
        .frame(width: 200.0, height: 50)
        .background(Color.blue)
        .cornerRadius(10)
        .foregroundColor(.white)
        .font(.system(size: 20))
        .padding()
}

// Display result and interpretation
Text("RI = \(answer)")
    .font(.system(size: 20))
    .fontWeight(.bold)

Text(interpretation)
    .font(.system(size: 18))
    .foregroundColor(.gray)

Explanation:

  1. Added @State var interpretation: String = "" to store the interpretation.
  2. Used a conditional (raw < 0.5 ? "XXX" : "YYY") to assign the appropriate interpretation.
  3. Handled invalid input cases to prevent crashes when the user enters non-numeric values.

Now, when the user clicks the button, the calculated result will be displayed along with a meaningful interpretation!

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

79417936

Date: 2025-02-06 12:46:08
Score: 1
Natty:
Report link

For me, refreshing the test list solved this. You can either click "Refresh Tests" in the Test Explorer extension, Or hit it's shortcut "ctrl-: + ctrl-r".

It solve both the arrows being miss-located issue, and "No tests found" when you click on a green arrow.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: I.sh.

79417935

Date: 2025-02-06 12:46:08
Score: 4.5
Natty:
Report link

Today, a new version v1.86 of the LogiOptionsPlus-InMemoryPatching DLL was released: https://github.com/igvk/LogiOptionsPlus-InMemoryPatching

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

79417931

Date: 2025-02-06 12:43:07
Score: 3.5
Natty:
Report link

Go to view button and click on "Enable Full Width Notebook"

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

79417925

Date: 2025-02-06 12:41:06
Score: 3.5
Natty:
Report link
string sql = "SELECT app_fee FROM uasonline.pg_fee_master WHERE sl =" + row.Cells[0].Text + " ";  I will execute this query result will come it will store somewhere on it how to write?
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hemavathi K

79417923

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

Try deleting the quotes and use full path if possible

spark.sql("ALTER TABLE db.catalog.SAMPLE CLUSTER BY (CLUSTER_TYPE) ");
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mjeday

79417921

Date: 2025-02-06 12:41:06
Score: 2
Natty:
Report link

I'd opt for introducing a state variable that shows whether the code inside the effect has executed. Then, inside the effect of course, you set the variable to true. In this way, the code is more explicit of what is happening, although it is not so savvy so to say.

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

79417918

Date: 2025-02-06 12:38:06
Score: 1.5
Natty:
Report link

Just wrapping the component using useSearchParams() inside of a boundary and it will fix

'use client';

import { Suspense } from 'react';
import { useSearchParams } from 'next/navigation';

function MyComponent() {
const [searchParams] = useSearchParams();
// your logic here
return <div>{searchParams.get('q')}</div>;
}

export default function Page() {
return (
<Suspense fallback={<div>Loading...</div>}>
<MyComponent />
</Suspense>
);
}

Read more mistakes here: Common useSearchParams() Mistakes in Next.js & How to Fix Them.

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

79417916

Date: 2025-02-06 12:37:06
Score: 0.5
Natty:
Report link

so just to keep you all updated. I have been working on this issue this past week and it seems to be fixed, or better said .. hacked to work as intended.

I have not found what exactly is causing this issue, but with the help of third-party tool "Spoon" and Debug.WriteLine(Enviroment.StackTrace) I have been able to compare normal and abnormal behaviour of tabSelectionChanged. Every time the tab misfired it was by part caused by MouseCaptureLost on some part of our UI. Image from WinMerge compare between StackTrace of normal and abnormal tab behaviour.

To prevent this from happening I have built custom checking logic and sanitized the input of event handlers for our custom class ClosableTab.cs,

    // Internal method to check for tab change validity
    private bool EvaluateTabFocus()
    {
        _mouseOverTabFocus = IsMouseOver;
        bool ret = _newTabFocus || _mouseOverTabFocus || _codeNavigationFocus;
        _codeNavigationFocus = _newTabFocus = false;
        return ret;
        } 

    // Override OnSelected - Show the Close Button
    protected override void OnSelected(RoutedEventArgs e)
    {
        // Check if the event was generated by the same type
        if (e.OriginalSource.GetType() != this.GetType())
            return;
    
        // Check if the event is happening whilst the mouse is over top of the header or there is automatic navigation to this tab through code.
        if (EvaluateTabFocus()) 
        {
            _selectionIsValid = true;
            base.OnSelected(e);
            ((CloseableHeader)this.Header).button_close.Visibility = Visibility.Visible;
        }
        else
        {
            _selectionIsValid = false;
            base.OnSelected(e);
        }
    }

I then use this _selectionIsValid inside MainWindow.xaml.cs private void tcMain_SelectionChanged(object sender, SelectionChangedEventArgs e) to check for valid tab changes and repeatadly discard the bad ones.

It seems to be working now so we will be monitoring the behaviour. If the issue appears again I may return but for now this cutom logic is doing fine. Thanks all to your helpfull insights.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Marek Sýkorka

79417915

Date: 2025-02-06 12:37:06
Score: 0.5
Natty:
Report link

Got your question.

Just do not add data=data in the arguments if data passed as the first argument is a dataframe(df). It'll work, It worked for me.

Reasons:
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Akshit Gulyan

79417908

Date: 2025-02-06 12:33:04
Score: 0.5
Natty:
Report link

you need to use the same version of Camel dependencies. In your case, you have a bom, no need to override the dependency version after.

Another note is that you are using Camel 3.x which is End of life, see https://camel.apache.org/blog/2024/12/camel3-eol/ You should start using Camel 4.x

Reasons:
  • Whitelisted phrase (-1): In your case
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Aurélien Pupier

79417905

Date: 2025-02-06 12:31:04
Score: 1.5
Natty:
Report link

After some experimentation, I realised that the data is sent as form data, and the way to extract it on the back-end in an Astro endpoint is with

data = await request.formData();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: timebandit

79417893

Date: 2025-02-06 12:26:03
Score: 1
Natty:
Report link

If not required a selectable text. You can use an SVG Editor where put Your custom font and you can export it to SVG file. Then copy the file content and paste the HTML email sign file or field. After all You just need to add some style element and thats all.

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

79417891

Date: 2025-02-06 12:26:03
Score: 1
Natty:
Report link

DevEco Studio 5.0.1 Beta3 is only for HarmonyOS NEXT which is an new OS independent from Android

HarmonyOS 4.2 is acutally based on Android, so the new IDE don't show the device.

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

79417884

Date: 2025-02-06 12:24:02
Score: 2
Natty:
Report link

Edit: As this is already mentioned in one of the comments by Joel Sullivan

For:


This is not working for me:

import pytest

# Only test marked as `asyncio`
@pytest.mark.asyncio
async def test_app_1(create_1):
    assert create_1 == 1

@pytest.fixture
async def create_1():
    return 1

Because of

    @pytest.mark.asyncio
    async def test_app_1(create_1):
>       assert create_1 == 1
E       assert <coroutine object create_1 at 0x0000012AFE251590> == 1

But there is an annotation for Python fixture as well. And it is working for me

import pytest
import pytest_asyncio

# Annotation on test, marking it as `asyncio`
@pytest.mark.asyncio
async def test_app_2(create_2):
    assert create_2 == 1

# Additional `asyncio` annotation on fixture
@pytest_asyncio.fixture
async def create_2():
    return 1
Reasons:
  • RegEx Blacklisted phrase (3): not working for me
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: Łukasz Kotyński

79417883

Date: 2025-02-06 12:24:02
Score: 5
Natty:
Report link

Try Changing @MockBean by @SpyBean

Reasons:
  • Low length (2):
  • No code block (0.5):
  • User mentioned (1): @MockBean
  • User mentioned (0): @SpyBean
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hamza Naceur

79417882

Date: 2025-02-06 12:24:01
Score: 2.5
Natty:
Report link

I've created the pipeline again from scratch and it is now working with the lookup and foreach.

The initial pipeline was a copy of an existing one with the datasets changed. I've had issues before when I've copied existing pipelines but I've never seen this error before.

In future I'll just create all pipelines from scratch I think.

Thanks everyone for your help.

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

79417879

Date: 2025-02-06 12:23:01
Score: 1
Natty:
Report link

This issue was fixed since Angular v.15: https://github.com/angular/angular/issues/48561 To call setDisabledState on form control every time you should import ReactiveFormsModule with parameter:

ReactiveFormsModule.withConfig({ callSetDisabledState: 'always' })
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Юля Штырьякова

79417871

Date: 2025-02-06 12:19:59
Score: 5.5
Natty: 5.5
Report link

You can follow this document- https://www.twilio.com/docs/messaging/features/sms-pumping-protection-programmable-messaging#riskcheck-parameter

and code: https://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages/python

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user13014907

79417869

Date: 2025-02-06 12:19:59
Score: 0.5
Natty:
Report link

Managed to work it out, I had to change the above to the below

spec:
  template:
    metadata:
      annotations:
        run.googleapis.com/network-interfaces: '[{"network":"${GCP_VPC}","subnetwork":"${GCP_SUBNET}","tags":["${NETWORK_TAG}"]}]'
        run.googleapis.com/vpc-access-egress: all-traffic
        run.googleapis.com/startup-cpu-boost: 'true'
        autoscaling.knative.dev/minScale: ${MIN_SCALE}
        autoscaling.knative.dev/maxScale: ${MAX_SCALE}
        run.googleapis.com/execution-environment: gen2
        run.googleapis.com/cpu-throttling: 'false'
        run.googleapis.com/container-dependencies: '{app: [otel]}'
    spec:
      serviceAccountName: ${GCP_SERVICE_ACCOUNT}
      containerConcurrency: 4
      containers:
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: CJS

79417862

Date: 2025-02-06 12:17:58
Score: 3.5
Natty:
Report link

This just happened to me, if you're using a newer Lenovo,then the insert button might also be the zero key with the abbreviation "ins" in the corner. Try press shift 0/ins, should go back to normal. P.S Thank you to everyone who said it was insert, this has been bugging me for a whole day now :)

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29530051

79417860

Date: 2025-02-06 12:16:58
Score: 2
Natty:
Report link

Thanks for the insightful reply! Your suggestions regarding the ALSA issue and Neopixels are really helpful and logical. I’ll definitely check the permissions for the ALSA devices and experiment with modifying the sudoers file as you suggested. It makes sense to avoid using sudo when possible, so I’ll try adjusting the permissions for Neopixels as well.

And yes, taking breaks with something like a Smoky Barbecue Cheeseburger sounds like the perfect way to refuel during a long debugging session! Appreciate the help!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Low reputation (1):
Posted by: Johan Joni

79417855

Date: 2025-02-06 12:15:57
Score: 5.5
Natty: 4
Report link

İnteractive Media — это компания, узкоспециализированная в области интернет-маркетинга, стремящаяся предоставить своим клиентам возможность добиться выдающихся результатов в цифровом мире с помощью новейших технологий.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: Narmin Aliyeva

79417850

Date: 2025-02-06 12:13:57
Score: 2
Natty:
Report link

i know this is super late but for anyone who's looking for a solution, Google has a beta package for navigation https://pub.dev/packages/google_navigation_flutter

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

79417834

Date: 2025-02-06 12:10:56
Score: 2.5
Natty:
Report link

I found a way to hide it with an uBlock filter: play.google.com##div.particle-table-row:has-text("Suspended by Google")

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Crying Cupcake Games

79417826

Date: 2025-02-06 12:07:55
Score: 3
Natty:
Report link

Find where db.sqlite is being called or just search for error in vscode ("type = "table"). Change the quotes to single quotes '

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

79417823

Date: 2025-02-06 12:06:55
Score: 2
Natty:
Report link
<execution>
    <id>default-test</id>
    <phase>none</phase>
</execution>
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (0.5):
Posted by: Vladimir I

79417822

Date: 2025-02-06 12:06:55
Score: 2
Natty:
Report link

Just refresh the JVM. Step 1: Right-click on JVM Step 2: Click on reset Java Virtual Machine That's it! It's a common issue, don't worry. It happens when the previous program you executed went wrong.

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

79417817

Date: 2025-02-06 12:04:54
Score: 2
Natty:
Report link

String newImeiValue = "ABC";

JsonNode deviceDetails=parentObj.get("ctnInfo").get("device").get("devideDetails");

if(deviceDetails.hasNonNull("imei")) { ((ObjectNode)deviceDetails).put("imei",newImeiValue);
} same for subscriberInfo

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

79417816

Date: 2025-02-06 12:03:54
Score: 1.5
Natty:
Report link

put a slash between baseUrl and endpoint, like:

  final url = Uri.parse('$baseUrl/$endpoint');
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nnamani Daniel

79417814

Date: 2025-02-06 12:03:54
Score: 1.5
Natty:
Report link

I want the regex to match if "aFrom" in any way connected to another string or encapsulated by it.

So $@"(?<=\S){aFrom}|{aFrom}(?=\S)" should work for you: it checks if aFrom is preceded and/or followed by a non space character

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: DPD-

79417805

Date: 2025-02-06 11:59:53
Score: 2
Natty:
Report link

Try to update the viewer documents as below viewer3D: "https://developer.api.autodesk.com/modelderivative/v2/viewers/viewer3D.min.js?v=v7.104", style: "https://developer.api.autodesk.com/modelderivative/v2/viewers/style.min.css?v=v7.104",

In my case, it was solved after updating the latest version.

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

79417802

Date: 2025-02-06 11:59:53
Score: 1.5
Natty:
Report link

PLAIN and DEFAULT doesn't exist in prettytable package anymore. Just import it to another app/notebook and check values available.

%config SqlMagic.style = '_DEPRECATED_DEFAULT'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Marcos Magalhães

79417799

Date: 2025-02-06 11:58:52
Score: 4
Natty:
Report link

how to find top level parent id with nested child id.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): how to find to
  • Low reputation (1):
Posted by: Sikander Rafiq

79417798

Date: 2025-02-06 11:58:52
Score: 1
Natty:
Report link

When Copilot Chat is installed you will have a button as in the image. When clicking the button copilot will analyse the commit diffs and suggest a commit message.

Copilot button to generate commit message

I understand that there is a negative sentiment regarding copilot writing commit messages for the programmer. But in my humble experience I have noticed that commits are often better written and more complete than I would have written myself. Plus copilot learns from your previous commit messages and tries to match the style. This allows committing much more often which is a good thing in my opinion.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Andyba

79417796

Date: 2025-02-06 11:58:52
Score: 1.5
Natty:
Report link

I solved the problem with a workaround. The binary file must be base64 encoded and the wiremock must use base64body.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rmn

79417787

Date: 2025-02-06 11:53:51
Score: 2
Natty:
Report link

Had the same issue, I went to the ProgramData > ssh. In there I clicked on the logs folder, and changed the permission settings to only allow system to write to this folder. Now its up and running for me after that simple fix. Thanks to whoever figured that out.

1.) Go to ProgramData\ssh folder

2.) Open 'logs' Properties > Security

3.) Click advanced, and make sure only SYSTEM is allowed to write

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tanner Haydock

79417782

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

When you set quarkus.grpc.server.use-separate-server=false, Quarkus supports multiple authentication mechanisms as documented here https://quarkus.io/guides/grpc-service-implementation#overview-of-supported-authentication-mechanisms. In regards to your TenantConfigResolver bean, gRPC is build on top of HTTP/2, therefore you don't need to (almost) change anything on your resolver. It should work out of the box. gRPC metadata are implemented using HTTP/2 headers, so try inspecting your headers.

Reasons:
  • Blacklisted phrase (1): regards
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Michal Vavřík

79417779

Date: 2025-02-06 11:52:50
Score: 8 🚩
Natty: 5.5
Report link

Hello have you find a solution ?

Reasons:
  • Blacklisted phrase (2): have you find
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Qasim Qasim

79417777

Date: 2025-02-06 11:52:50
Score: 0.5
Natty:
Report link

Probably you are after for this?

d = {"A" : 123.02, "B": 12.3}
for key in d.keys():
    d[key] = str(d[key])

such that print(d) shows

{'A': '123.02', 'B': '12.3'}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: ThomasIsCoding

79417767

Date: 2025-02-06 11:47:49
Score: 3
Natty:
Report link

I had to adjust the cacerts file of the JDK used by Gradle. Which JDK is used by Gradle can be checked in Android Studio under File/Settings/Build, Execution, Deployment/Gradle.

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

79417758

Date: 2025-02-06 11:45:47
Score: 10 🚩
Natty:
Report link

I have same issues, anyone has come across it recently and resolved it ?

Reasons:
  • RegEx Blacklisted phrase (1.5): resolved it ?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have same issue
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ravi

79417757

Date: 2025-02-06 11:45:47
Score: 2
Natty:
Report link

know there might be better practices for this, so any advice would be greatly appreciated!

Mmhhmm

better idea to do what Im trying I will be pleasure to read

Yeah, I do and it's not HDFS.

How to install Hadoop in Kubernetes via Helm Chart?

Reasons:
  • Blacklisted phrase (1): appreciated
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: OneCricketeer

79417755

Date: 2025-02-06 11:44:47
Score: 2.5
Natty:
Report link

what about use split first to get the number section of the tag. then use int to parse the value and see if value is greater than 0?

something like below. sorry, did not get change to test it out. but probably you can use split and last and int to do it.

{
 "value": "[int(last(split(field(concat('tags[', 'tagName', ']')))))]",
 "greater": 0
},

refer to:

How do you policy enforce integer number of tag value in Azure

How to enforce naming pattern such as "*-*-asp" using Azure policy?

Reasons:
  • Blacklisted phrase (1): How do you
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): what
Posted by: qkfang

79417754

Date: 2025-02-06 11:43:46
Score: 4.5
Natty: 5
Report link

why not use re.LOCALE as a dummy-flag when you want to not ignore case? does not seem to be doing much if your computer is running on an English version OS...

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): why not use
  • Low reputation (1):
Posted by: zakmckracken

79417746

Date: 2025-02-06 11:41:45
Score: 2.5
Natty:
Report link

Solve is simple.

because doing it via ansible doesnt run on the same user as when you try it on the windows host

https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_privilege_escalation.html

give the become and become user a go

become: yes
become_user: <windows user>

add that to your playbook

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

79417733

Date: 2025-02-06 11:36:43
Score: 4
Natty:
Report link

Are you using AWS Api Gateway? Its default timeout is 29 seconds, which can be increased. See: https://aws.amazon.com/about-aws/whats-new/2024/06/amazon-api-gateway-integration-timeout-limit-29-seconds/

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

79417732

Date: 2025-02-06 11:36:43
Score: 2.5
Natty:
Report link

I am not sure, what exactly you want to do 7 times and then repeat, but this is how the general structure could look.
The function takes a boolean and then prints a statement, while the count is less than or equal to7. After that, if the boolean is True, the program stops. If it isn't, it calls itself again with the boolean as True.
Because that boolean is False by default, it does not need to be passed the first time.

 def restarting_function(has_restarted=False):
        call_count=0
        while call_count<=7:
            print("Does something with count", call_count)
            call_count+=1
        if has_restarted:
            return
        restarting_function(True)
    
    
 restarting_function()

To add, I would've preferred to do a comment (can't because <50rep), so if my answer does not fit, please tell me and I will delete as soon as possible.

Reasons:
  • RegEx Blacklisted phrase (2.5): please tell me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fff

79417728

Date: 2025-02-06 11:35:43
Score: 5.5
Natty: 5.5
Report link

I guess because Boolean can be null, and it would not be defined whether this becomes true or false, so it's forbidden?

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

79417726

Date: 2025-02-06 11:34:42
Score: 0.5
Natty:
Report link

I managed to get it working. Here is the working code if anyone else needs it:

skaffold.yaml

apiVersion: skaffold/v2beta26
kind: Config

metadata:
  name: mongodb

deploy:
  kubectl:
    manifests:
    - "config/namespace.yaml"
    - "config/mongodb-credentials.yaml"
    - "config/configmap.yaml"
    - "config/mongodb.yaml"
    - "config/mongo-seed-job.yaml"
    defaultNamespace: "mongodb"

config/namespace.yaml

kind: Namespace
apiVersion: v1
metadata:
  name: mongodb
  labels:
    name: mongodb

config/mongodb-credentials.yaml

Note: username: admin password: password

Please change this to whatever you want

apiVersion: v1
kind: Secret
metadata:
  name: mongodb-credentials
type: Opaque
data:
  username: YWRtaW4=
  password: cGFzc3dvcmQ=

config/configmap.yaml

apiVersion: v1
kind: ConfigMap
metadata:
  name: seed-data
data:
  init.json: |
    [{"name":"Joe Smith","email":"[email protected]","age":40,"admin":false},{"name":"Jen Ford","email":"[email protected]","age":45,"admin":true}]

config/mongodb.yaml

apiVersion: apps/v1
kind: Deployment
metadata:
  name: mongodb
spec:
  replicas: 1
  selector:
    matchLabels:
      app: mongodb
  template:
    metadata:
      labels:
        app: mongodb
    spec:
      containers:
        - name: mongodb
          image: mongo:latest
          ports:
          - containerPort: 27017
          volumeMounts:
          - name: mongo-data
            mountPath: /data/db
          env:
            - name: MONGO_INITDB_ROOT_USERNAME
              valueFrom:
                secretKeyRef:
                  name: mongodb-credentials
                  key: username
            - name: MONGO_INITDB_ROOT_PASSWORD
              valueFrom:
                secretKeyRef:
                  name: mongodb-credentials
                  key: password
      volumes:
      - name: mongo-data
        emptyDir: {}
---
apiVersion: v1
kind: Service
metadata:
  name: mongodb
spec:
  ports:
    - port: 27017
  selector:
    app: mongodb

config/mongo-seed-job.yaml

apiVersion: batch/v1
kind: Job
metadata:
  name: mongo-seed
spec:
  template:
    spec:
      initContainers:
      - name: init-copy
        image: busybox
        command: ['sh', '-c', 'cp /config/init.json /data/']
        volumeMounts:
        - name: config-volume
          mountPath: /config
        - name: data-volume
          mountPath: /data
      containers:
      - name: seed
        image: mongo:latest
        command: ["sh", "-c", "mongoimport --uri mongodb://$(MONGO_USERNAME):$(MONGO_PASSWORD)@mongodb:27017/mydb --collection accounts --type json --file /data/init.json --jsonArray --authenticationDatabase=admin"]
        env:
          - name: MONGO_USERNAME
            valueFrom:
              secretKeyRef:
                name: mongodb-credentials
                key: username
          - name: MONGO_PASSWORD
            valueFrom:
              secretKeyRef:
                name: mongodb-credentials
                key: password
        volumeMounts: 
        - name: data-volume
          mountPath: /data
      restartPolicy: Never
      volumes:
      - name: config-volume
        configMap:
          name: seed-data
      - name: data-volume
        emptyDir: {}

If anyone has any alternate solutions it would be good to know.

Thanks @Imran Premnawaz for your help

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Imran
  • Self-answer (0.5):
Posted by: mh377

79417719

Date: 2025-02-06 11:32:41
Score: 4.5
Natty:
Report link

What is your classname? You have List<Costumers> in what seems to be List<Customers>

Reasons:
  • Blacklisted phrase (1): What is your
  • Low length (1.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What is you
  • Low reputation (1):
Posted by: Joezoefhalihoza

79417714

Date: 2025-02-06 11:30:40
Score: 0.5
Natty:
Report link

price levels are inside company, So change collection to

 <COLLECTION ...>
 <TYPE>Price Level : Company </TYPE>
    <Childof> ##SVCurrentCompany</Childof>
 </COLLECTION>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: sai vineeth

79417712

Date: 2025-02-06 11:30:40
Score: 3.5
Natty:
Report link

I've solved it! It was simpler than I expected. I updated the Gradle version in Android Studio. Probably, I had an incompatible version, but at first, it wasn't obvious to detect.

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

79417707

Date: 2025-02-06 11:28:40
Score: 3
Natty:
Report link

I finally found out that, despite what the tutorial said, any kind of solution that tries to publish a .bim file needs an XMLA endpoint. Which means, you cannot do it without a Power BI Premium or PPU Workspace

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

79417696

Date: 2025-02-06 11:25:39
Score: 3
Natty:
Report link

Based on the conversation with @Geba, this is what has fixed the issue.

Changing Annotation profile from using Processor path

enter image description here

To using Obtain processor from project classpath.

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Geba
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Francislainy Campos

79417691

Date: 2025-02-06 11:23:37
Score: 10.5 🚩
Natty: 6.5
Report link

hello did you find a solution ? i am facing the same problem

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • RegEx Blacklisted phrase (3): did you find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i am facing the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mehdish

79417686

Date: 2025-02-06 11:21:36
Score: 12.5
Natty: 7
Report link

I have the same issue. Any solution?

Reasons:
  • Blacklisted phrase (1.5): Any solution
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (2): Any solution?
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Lev

79417680

Date: 2025-02-06 11:20:36
Score: 2.5
Natty:
Report link

I'm having a similar issue getting oneAPI's MKL vars loaded on my vscode-jupyter notebook extension.

I found a work around by simply loading the environment vars before opening vscode:

(base) joe@cool$ source /opt/intel/oneapi/setvars.sh 
 
:: initializing oneAPI environment ...
   bash: BASH_VERSION = 5.2.21(1)-release
   args: Using "$@" for setvars.sh arguments: 
:: compiler -- latest
:: mkl -- latest
:: tbb -- latest
:: umf -- latest
:: oneAPI environment initialized ::
 
(base) joe@cool$ code&

But, I hope there is a better way to do this without closing and re-opening vscode every time I need to load a python library built with oneAPI's MKL calls.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm having a similar issue
  • Low reputation (0.5):
Posted by: DrWho

79417678

Date: 2025-02-06 11:18:35
Score: 1
Natty:
Report link

Looks like the issue might be with how the SAML response is being handled before calling Unbind(). Lucky 101 app, make sure the request isn't empty before processing it. You should try logging the request details before Unbind() to see what's missing. Also, check if saml2LogoutResponse is properly initialized before using it.

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

79417673

Date: 2025-02-06 11:17:35
Score: 1
Natty:
Report link

The problem is with your syntax, You have to set a callback function for the filechooser this way

def parseChoice(file_paths:list):
    print('File path ', file_paths[0])
filechooser.open_file(on_selection=parseChoice)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fabian Joseph

79417665

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

The answer is Yes , you can run load testing using Datadog's Synthetic Monitoring and Testing, but the Drawback of it that it works a bit differently from traditional tools like JMeter which was mostly used in this cases. In Datadog , you can define synthetic tests for your application by simulating real user interactions. However, Datadog is does not directly provide settings for concurrent users and iterations like JMeter. Instead, you can configure API tests and browser tests to simulate requests to your application.

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

79417654

Date: 2025-02-06 11:12:33
Score: 4.5
Natty: 5
Report link

7 years after here is the answer: https://developer.apple.com/forums/thread/773777

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

79417650

Date: 2025-02-06 11:10:33
Score: 1
Natty:
Report link

It completely depends on the use case and logic. I prefer to call it after new X() as object will have data after some setters are called.

X obj = new X();
obj.setName("xyz");
obj.setId(1);
validator.validate(obj);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yasin Ahmed

79417646

Date: 2025-02-06 11:10:32
Score: 7.5 🚩
Natty: 5
Report link

I'm working on a similiar solution, where we have a django application which needs multi-tenancy so I'm creating new DB for each tenant and switching to that DB as the request comes in, this is a temporary solution we came up with due to the open source application we are dealing with, which has so many modification if we want to change the core to support multi-tenancy.

So I want to switch to new DB or create the db and switch to that db once the user is authenticated, and use that db for the authenticated user.

Can anyone give how to approach to it?

I'm planning on creating middleware to intercept the request and change the DB context. Also there is a function in an context which is called to get the db connection name, there also I'm changing it to user's DB.

I want to know where all should I change and what are the aspects I should look for?

Reasons:
  • Blacklisted phrase (1): I want to know
  • RegEx Blacklisted phrase (2.5): Can anyone give how
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Hariharan R

79417644

Date: 2025-02-06 11:09:31
Score: 0.5
Natty:
Report link

In the new Larevel you had to specify which routes you would like to be included for the resource by passing an argument to the route definition like so:

Route::resource('photo', PhotoController::class, ['only' => [
    'index', 'show'
]]);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adeel Raza Azeemi

79417643

Date: 2025-02-06 11:09:31
Score: 2.5
Natty:
Report link

Yes I agree with this

I had this exact issue. I was creating my connection var connection = mysql.createConnection({ ... }); outside of the exports.handler

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

79417640

Date: 2025-02-06 11:07:31
Score: 0.5
Natty:
Report link

I'm leaving this here as it may be helpful: as specified by asker @ScalewingedAcidicorn , this question uses a different approach: set the library as

add_library(<mylib> SHARED IMPORTED)
set_target_properties(<mylib> PROPERTIES
    IMPORTED_LOCATION <mylib.so in source tree>
    INTERFACE_INCLUDE_DIRECTORIES <mylib.h in source tree>
    IMPORTED_NO_SONAME TRUE # <------ NOTE HERE!
)

# [...]

target_link_libraries(<my_executable> <mylib>)

from the documentation (emphasis added):

this property to true for an imported shared library file that has no soname field. CMake may adjust generated link commands for some platforms to prevent the linker from using the path to the library in place of its missing soname.

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

79417637

Date: 2025-02-06 11:06:29
Score: 6 🚩
Natty:
Report link

Did you solve your issue ? I'm facing the same today ...

fastlane finished with errors

[!] Could not find option 'storage_mode' in the list of available options: git_url, git_branch, type, app_identifier, username, keychain_name, keychain_password, readonly, team_id, team_name, verbose, force, skip_confirmation, shallow_clone, workspace, force_for_new_devices, skip_docs

ruby -v
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin24]

gem -v
3.6.3
Reasons:
  • RegEx Blacklisted phrase (3): Did you solve your
  • RegEx Blacklisted phrase (1.5): solve your issue ?
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you solve you
  • Low reputation (1):
Posted by: Ludo G.

79417627

Date: 2025-02-06 11:05:29
Score: 1.5
Natty:
Report link

I found answer based on comment from @C3roe:

$templateProcessor = new TemplateProcessor($templateFileLink);
$templateProcessor->saveAs($resultFileLink);

$objReader = \PhpOffice\PhpWord\IOFactory::createReader('Word2007');
/** @var PhpWord $phpWord */
$phpWord = $objReader->load($resultFileLink); // instance of \PhpOffice\PhpWord\PhpWord
/** @var DocInfo $properties */
$properties = $phpWord->getDocInfo();
$properties->setCreator('');
$properties->setModified(false);
$properties->setLastModifiedBy('');
$objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'Word2007');
$objWriter->save($resultFileLink);

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