79454831

Date: 2025-02-20 14:31:08
Score: 2.5
Natty:
Report link

Solve this problem by moving the model weights to path intfloat/multilingual-e5-large from intfloat/multilingual-e5-large/snapshots/

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Carl Brendt

79454830

Date: 2025-02-20 14:31:08
Score: 3
Natty:
Report link

Try adding 'timeout /t 1 >nul' command, it gives 1-second delay between each clipboard operation, you should be able to access each entry individually then.

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

79454823

Date: 2025-02-20 14:28:07
Score: 1.5
Natty:
Report link

async function run() {
    const mm = await import('https://cdn.jsdelivr.net/npm/[email protected]/+esm');

    const fileInput = document.getElementById('file');
    const output = document.getElementById('output');
    const title = document.getElementById('title');

    fileInput.addEventListener('change', async (event) => {
        const file = event.target.files[0];
        output.innerHTML = ''; // Clear previous output

        if (file) {
            try {
                // Parse metadata using music-metadata
                const { common } = await mm.parseBlob(file);

                title.textContent = `${common.title} has ${common.picture ? common.picture.length : 0} embedded images:`;

                // Extract and display album art
                if (common.picture && common.picture.length > 0) {
                    common.picture.forEach((picture, index) => {
                        const base64String = btoa(
                            String.fromCharCode(...new Uint8Array(picture.data))
                        );
                        const imgElement = document.createElement('img');
                        imgElement.src = `data:${picture.format};base64,${base64String}`;
                        imgElement.alt = `Picture ${index + 1}`;
                        imgElement.style.maxWidth = '200px';
                        imgElement.style.margin = '10px';
                        output.appendChild(imgElement);
                    });
                } else {
                    output.textContent = 'No album art found';
                }
            } catch (err) {
                output.textContent = 'Error parsing metadata: ' + err.message;
            }
        } else {
            output.textContent = 'No file selected';
        }
    });
}

run();
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <title>Extract Album Art with music-metadata</title>
</head>
<body>
    <h3>Select an audio file with embedded album art</h3>
    <input style="cursor: pointer;" type="file" id="file" accept="audio/*" />
    <h3 id="title"></h3>
    <p id="output"></p>
</body>
</html>

Hi, how to transform this code and use it with a direct mp3 filename? (no input requested) Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: isincredible

79454822

Date: 2025-02-20 14:28:07
Score: 2.5
Natty:
Report link

List item

-after creating venv -now goto desired folder -in my case cd Desktop -virtualenv (projectname) -virtualenv fire_env now -cd fire_env -source bin/activate -git clone https://project link -after finishing -cd project -pyhton3 -m pip install -r requirements.txt -python3 project.py -boom you are up

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

79454821

Date: 2025-02-20 14:27:07
Score: 2.5
Natty:
Report link

Clone and run multiple instances of your favorite apps with MultiApp, the ultimate app cloner for Android! Easily manage multiple accounts, separate work and personal life, and enjoy seamless multitasking—all on one device. https://play.google.com/store/apps/details?id=cc.otan.multiapp

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

79454816

Date: 2025-02-20 14:25:06
Score: 3
Natty:
Report link

I updated to 0.2.54. No joy. Getting '$AAPL: possibly delisted; No price data found'. Tried 0.2.50 through 0.2.53 also, same result.

Has been a problem for a couple days now.

Using PyCharm and Python 3.9

Reasons:
  • Blacklisted phrase (1): days now
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: DirtFarmer

79454812

Date: 2025-02-20 14:23:05
Score: 0.5
Natty:
Report link

What fixed issues with this for our codebase was simply running the lazyloading migration after migrating everything to standalone:

ng generate @angular/core:route-lazy-loading

See: https://angular.dev/reference/migrations/route-lazy-loading

It seems to amount to this: with standalone components NOT using lazyloading is no longer a viable route.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): What fix
  • High reputation (-1):
Posted by: Katinka Hesselink

79454803

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

I got this too. In my case it meant I was still using providers to import XYZComponent. I deleted that provider reference completely: it was no longer necessary.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Katinka Hesselink

79454802

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

I also asked this question on the Nuxt-Subreddit r/Nuxt and the answer was this:

It’s only going to fetch it once. Either SSR (server side) or client-side. You need to store the data in some form of state so that as your navigate client-side, the data remains accessible as it’s persisted across page views.

That is unless the SDK you’re using does re-fetching and updating or something like you have in libraries like TanStack Query. Though I’ve seen that more used in the React world.

For Nuxt using the built in fetching and combining it with useState or Pinia is the recommended approach.

So basically, I had the wrong understanding of how the built-in fetch in Nuxt is working.

I will use Pinia.

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

79454800

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

Found the solution on the Vaadin forums, in case someone find the same problem :

This is explained in the documentation here: Grid | Components | Vaadin 23 Docs

Note the comment in the CSS file, which shows you where you have to put your CSS file to make it work.

Basically, using the grid.setClassNameGenerator

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

79454794

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

Restricted

Restrict battery usage while in background. App may not work as expected. Notifications may be delayed.

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

79454792

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

Here is what worked for me. It is kind of a combination of multiple solutions here:

git log <main-branch-name>..<branch-name>  --pretty=oneline | wc -l
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lupor

79454785

Date: 2025-02-20 14:14:03
Score: 5.5
Natty: 6.5
Report link

This article is amazing, recommend it https://arantes.net.br/posts/service-principal-secret-certificate-expire-report/

Reasons:
  • Blacklisted phrase (1): This article
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Vinicius Fernandes

79454784

Date: 2025-02-20 14:14:03
Score: 1
Natty:
Report link

From the SuperBUilder documentation:

You can customize most of the code generated by @SuperBuilder, except for internal methods (e.g. self()). You have to make sure that the builder class declaration headers match those that would have been generated by lombok. Due to the heavy generics usage, we strongly advice to take the uncustomized delomboked code as a reference when customizing @SuperBuilder.

As an example, add an internal class to customize the builder could look like this:

@SuperBuilder(toBuilder = true)
class Report extends BasicReport {
    // ...
    private String reportType;

    public static abstract class ReportBuilder<C extends Report, B extends ReportBuilder<C, B>>
        extends BasicReport.BasicReportBuilder<C, B> {

       public C build() {
           Objects.requireNonNull(reportType);
           Report r = new Report(self());
           Objects.requireNonNull(r.getBasicProperty());
           return (C)r;
       }
  // ...
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @SuperBuilder
  • User mentioned (0): @SuperBuilder
  • Low reputation (1):
Posted by: Peter Vigier

79454772

Date: 2025-02-20 14:09:01
Score: 0.5
Natty:
Report link

I worked out a way to get around it using JSON encoding / decoding. I noted that a JSONEncoder and JSONDecoder DID encode/decode the undocumented struct properties that the Xcode compiler does not recognise. (Why? How?) I created a custom struct to decode back into with all the properties of the new WeatherKit.WeatherAlert structure. The new properties are now available to use on the MyWeatherAlertObject.

I chose to guard whether onsetTime and endDate were non-nil, so I can trigger a WeatherKit REST API lookup for these alerts, as that also returns all the properties.

@available(iOS 16.0, *)
struct MyWeatherAlertObject: Codable {
    var detailsURL: URL
    var source: String
    var date: Date
    var expirationDate: Date
    var issuedDate: Date
    var onsetTime: Date?
    var endDate: Date?
    var summary: String
    var description: String
    var details: URL?
    var region: String?
    var severity: WeatherKit.WeatherSeverity
    var importance: String
    var metadata: WeatherKit.WeatherMetadata
    var id: UUID
    
    init?(fromWeatherAlert alert: WeatherAlert?) {
        guard   let alert = alert,
                let data = try? JSONEncoder().encode(alert),
                let obj = try? JSONDecoder().decode(MyWeatherAlertObject.self, from: data),
                // no point using if these two are missing
                obj.onsetTime != nil && obj.endDate != nil
        else { return nil }
        self = obj
    }
}
Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: djmlewis

79454770

Date: 2025-02-20 14:09:01
Score: 1
Natty:
Report link

Quarto and Rmarkdown are different frameworks, so you'll want to use the right function to render the document.

If you are currently using rmarkdown::render() to produce this document, you should switch to using quarto::quarto_render(). See docs for this function here. That way, all the quarto processing and features should work. If that doesn't fix it, then we can troubleshoot further.

Reasons:
  • Blacklisted phrase (1): this document
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Quinton.Quagliano

79454769

Date: 2025-02-20 14:08:01
Score: 2
Natty:
Report link

You seemingly can't use (certain???) hex/rgb phrases as colors with tailwind, I've had this issue too.

The best work-around for me was utilizing the style property to set colors (especially if doing it dynamically).

<div style={{ backgroundColor: color || COLORS.primary }} />
Reasons:
  • Blacklisted phrase (1): ???
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: clxrity

79454767

Date: 2025-02-20 14:08:01
Score: 1
Natty:
Report link

I was working on this project on a separate branch in Git and while this theoretically shouldn't be possible, it seems my CSS was not properly applying itself until I merged the branch into main. Afterwards, the CSS applied perfectly to the file, without having to make any additional changes.

So if your CSS doesn't apply to your FXML file despite the code logically being correct and you were working on a separate branch like I was, merging your branch into your main/master may be the solution.

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

79454760

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

cURL doesn't expose the complete raw HTTP request (including POST fields) in its verbose output. You'll need to either manually log the data you're sending (e.g. echo or write out the POST data before setting CURLOPT_POSTFIELDS) or use an external tool to capture the full request.

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

79454759

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

As far as ldap injections go, you can manually escape the dangerous characters for ldap, which are not that many for your exact search filter:

* ( ) &  " 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hamza Tahiri

79454755

Date: 2025-02-20 14:03:00
Score: 4
Natty:
Report link

I think you are looking for this: https://github.com/pushkarprasad007/llm-aiortc/

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Mahmood Hussain

79454745

Date: 2025-02-20 13:57:59
Score: 1.5
Natty:
Report link

Got the same issue. Here's my solution:

Regards.

Reasons:
  • Blacklisted phrase (1): Regards
  • Whitelisted phrase (-2): solution:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: YerOrda

79454739

Date: 2025-02-20 13:56:59
Score: 1.5
Natty:
Report link

I was playing with the same code converted into HTBasic. With your input data 1, 2, 0, 4, 5, 6, 8, 10 I am getting the following results after calling the transform function once: 0: 1.63835743042 (same) 1: 3.69032741985 (same) 2: 7.93296810697 (very different) 3: 12.1941911655 (very different) 4: -2.50954891121 (very different) 5: 0.388228567654 (same) 6: -0.129409522551 (very different) 7: -3.40612438338 (very different) I do get the correct number of elements. Note that I said "after calling the transform function ONCE", on the bearcave site in the daub.java code, you can see that the function is called multiple times, depending on the size of the input array. I am very eager to find what can be wrong with our implementation!

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Roger Vermeir

79454737

Date: 2025-02-20 13:54:58
Score: 1.5
Natty:
Report link

There's another scenario with MP3 files. MP3s need to selectively add padding bytes to their frames to ensure the final file size matches its stated bitrate. If an MP3 file's frames aren't properly padded with these bytes, it can still play normally, but its actual bitrate will be lower than what's claimed. Due to browsers calculating data positions at specific times based on MP3 file bitrates, this can lead to some inaccuracies.

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

79454736

Date: 2025-02-20 13:54:58
Score: 1.5
Natty:
Report link

Adding min-h-screen to the container. But some great classes for this are also: min-h-svh, min-h-lvh, min-h-dvh, depending on the specific case.

Source.

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

79454732

Date: 2025-02-20 13:53:58
Score: 1.5
Natty:
Report link

Height ( ℎ 𝑖 h i ​ ): The height of each trapezoid can be interpreted as the average of the two y-values (since the trapezoid is bounded by these values and the x-axis). For the 𝑖 i-th trapezoid, we can compute it as:

ℎ 𝑖

𝑦 𝑖 + 𝑦 𝑖 − 1 2 h i ​

2 y i ​ +y i−1 ​

Width ( 𝑤 𝑖 w i ​ ): The width is simply the difference between the x-coordinates of the points:

𝑤 𝑖

𝑥 𝑖 − 𝑥 𝑖 − 1 w i ​ =x i ​ −x i−1 ​

Area computation: Finally, the AUC (the sum of the areas of all the trapezoids) is given by:

𝐴 𝑈 𝐶

∑ 𝑖

1 𝑛 ℎ 𝑖 ⋅ 𝑤 𝑖 AUC= i=1 ∑ n ​ h i ​ ⋅w i ​

Where each ℎ 𝑖 h i ​ is the average of the y-values at 𝑖 i-th and ( 𝑖 − 1 ) (i−1)-th points, and 𝑤 𝑖 w i ​ is the distance between consecutive x-coordinates.

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

79454724

Date: 2025-02-20 13:51:57
Score: 1
Natty:
Report link

Update your schema as per below:

const jsonSchema = z.lazy(() =>
   z.union([z.object({ title: z.string() }), z.record(jsonSchema)])
);

For more information, you can check the docs

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

79454716

Date: 2025-02-20 13:49:57
Score: 1.5
Natty:
Report link

To avoid this error, you can limit the number of bytes with the "length" parameter.

buf.write(string[, offset[, length]][, encoding])
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: VooVoo

79454715

Date: 2025-02-20 13:48:56
Score: 4.5
Natty: 5
Report link

what is the full solution here

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): what is the
  • Low reputation (1):
Posted by: Bloody Kheeng

79454697

Date: 2025-02-20 13:41:53
Score: 0.5
Natty:
Report link

Just Check the latest go version , and update the go version , it worked for me brew install go

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: vivekkumar pandey

79454695

Date: 2025-02-20 13:40:53
Score: 3
Natty:
Report link

Just change the current node version to a compatible version, most of times node 20 works fine.

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

79454680

Date: 2025-02-20 13:35:52
Score: 2.5
Natty:
Report link

Jgh gighiyufhdkcdhuvdhhuvygs. Fbuh. Fbuxghjn bbjbgninhhxhbibtjckdyjohgbdhghvdvchvigfbjbhjggckdjuvjbgjcughbvjjjvhvjbjcjvjcyvdvug hai na ki message mat karna hai to bol raha hai ki hu ki tum batao kya kar rahe ho Raha hai ji bolna hai sab kuch niteshnitrshjnitredjbicinfibhcibivdibigdkbib.

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

79454676

Date: 2025-02-20 13:34:52
Score: 3
Natty:
Report link

Following the changes mentioned by adding

return $response.value[0].azureADDeviceId

and then amending the adding device block with https://graph.microsoft.com/v1.0/devices(deviceId='$DeviceID')

made it instantly work! Thanks a lot, I was missing one piece of logic, you made my day :)

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

79454673

Date: 2025-02-20 13:33:52
Score: 1
Natty:
Report link

It could be that your fabric capacity is paused. Make sure its resumed to active state and try again, worked for me!

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

79454662

Date: 2025-02-20 13:30:51
Score: 2
Natty:
Report link

Anshu's answer worked for me on a 2023 MBPro M3, running Sequia 15.3.1, Xampp 8.2.4 and Xdebug 3.4.1.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Newinca

79454661

Date: 2025-02-20 13:29:50
Score: 1
Natty:
Report link

I'm not sure how to solve the dropdown widget. However, to get the correct label in the first column of a pivot table, you have to explicit it:

pivotTable.RowHeaderCaption = "R1-Res";

if you want it to be used elsewhere:

bool firstField = true;
foreach (string fieldName in new []{ "R1-Res", "R2-Proj" })
{
    var field = pivotTable.Fields[fieldName];
    field.Outline = false;
    field.Compact = false;
    field.SubTotalFunctions = eSubTotalFunctions.None;
    var rfield = pivotTable.RowFields.Add(field);
    rfield.ShowDropDowns = true;
    rfield.Items.Refresh();

    if(firstField)
    {
        pivotTable.RowHeaderCaption = fieldName;
        firstField = false;
    }
}
Reasons:
  • Blacklisted phrase (1): how to solve
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dakcyn

79454654

Date: 2025-02-20 13:26:50
Score: 0.5
Natty:
Report link

Solution (Downgrade to React Router 6.9.0) ! After debugging and testing different versions, I found that this issue does not exist in [email protected]. If you are facing this issue, simply downgrade by running:

npm install [email protected]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Michael ilkanayev

79454648

Date: 2025-02-20 13:25:49
Score: 1
Natty:
Report link

If any of the above solutions didn't solve the issue. You could try doing the following to help get rid of the error of being unable to install d2l package on Windows.

  1. Download the Python version >3.10 & < 3.11

  2. update the torch and torchvision versions to 2.3 and 0.18 with the command.

    pip install torch==2.3 torchvision==0.18

  3. Download the d2l-en package using the command.

    git clone https://github.com/d2l-ai/d2l-en.git cd ./d2l-en

  4. Upgrade the version of numpy from from 1.23.5 to 1.26.4 in the setup.py file

  5. Update the setup tools

    pip install -U setuptools

  6. Install wheel and bdist_wheel as version pip does auto download those packages

    pip install wheel python setup.py bdist_wheel

  7. Run the following commands to finally download the d2l package.

    python ./setup.py bdist_wheel pip install -U ./dist/d2l-1.0.3-py3-none-any.whl pip install d2l==1.0.3

These steps helped me get rid of the issue and it works like a charm.

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Nayan

79454647

Date: 2025-02-20 13:25:49
Score: 1.5
Natty:
Report link

I found the question following a hint from other question - https://stackoverflow.com/a/78437730/2779773

The main idea is to track resources loading process using PerformanceObserver. There are some complications:

  1. We don't need to track ALL the resources since not all of them are crucial for app initialization. In ideal world we could use bundle analyzer to collect list of critical resources and then use this list to filter resources in observer, but currently I don't see any way to accomplish this, so we can just use some regexp to filter a short amount of resources that we find critical - for angular 14 it's main, polyfills, scripts, runtime, vendor and styles. This approach needs tweaking for other versions of Angular or other frameworks
  2. If we want to track the whole loading process we should also track sizes of files - total size and downloaded size. In order to do this we use transferSize. Cached resources have zero transferSize, so we use decodedBodySize
  3. In order to track errors we can use duration property of entry - if resource failed to load the entry will have zero duration
  4. If some critical resources failed to load then we refresh the page and hope that this time it will load successfully
  5. We don't want our user to fall into neverending page refresh abyss, so upon refresh we should somehow preserve a number of current refresh attempt - via LocalStorage or URL params, increase it with any refresh, and then prohibit page refresh if amount of refresh attempts reached a maximum
  6. Resources tracking process should be finished either upon loading all critical resources, or upon successfull app initialization. If we choose the second way we should send an appropriate event from angular to parent page, from AppComponent or from APP_INITIALIZER

Later I'll post the final code

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: lucifer63

79454645

Date: 2025-02-20 13:24:49
Score: 3.5
Natty:
Report link

the solution from @zealous-system is great, but sometimes the text(1 or 2 letters) moves to the second line because of rounding, so instead of using constraints.maxWidth, you can create a variable maxWidth = constraints.maxWidth - 10

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @zealous-system
  • Single line (0.5):
  • Low reputation (1):
Posted by: Squonky

79454641

Date: 2025-02-20 13:21:48
Score: 0.5
Natty:
Report link

Since turbopack doesn't resolve dependency submodules as easily as webpack, change your imports from the format:

import { menuItemClasses } from '@mui/material';

to

import { menuItemClasses } from '@mui/material/MenuItem';
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jakobarsement

79454632

Date: 2025-02-20 13:17:48
Score: 1
Natty:
Report link

Azure Blob Storage account creation: To allow public access vs disable/limited public access

As you mentioned, when creating the Storage account in Azure the options for Network Access, is it safe to use the enable public access from all networks?

Access container level Image

IP Address Image

Reference:

Configure Azure Storage firewalls and virtual networks | Microsoft Learn

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Harshitha Bathini

79454631

Date: 2025-02-20 13:16:47
Score: 2.5
Natty:
Report link

You can access a field that has the same name as an SQL keyword or reserved word, like a "value, as, in, on, where, count, etc." using ['value']

Microsoft Reference: Reserved keywords and special characters in JSON

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

79454620

Date: 2025-02-20 13:13:46
Score: 11 🚩
Natty:
Report link

Parece que estás enfrentando un error relacionado con la exportación de Toast en HeroUI. Esto suele ocurrir cuando la biblioteca no está correctamente instalada o importada en tu proyecto.

Posibles soluciones: 1️⃣ Verifica la instalación de HeroUI Asegúrate de que la biblioteca esté instalada correctamente ejecutando:

bash Copy Edit npm install @heroui/react Luego, revisa que el import en tu archivo sea el correcto:

javascript Copy Edit import { Toast } from "@heroui/react"; Si Toast no está incluido en el paquete, puede que HeroUI haya cambiado la estructura de sus exportaciones en una actualización reciente.

2️⃣ Comprueba la versión de HeroUI Si el problema persiste, revisa la versión instalada con:

bash Copy Edit npm list @heroui/react Si estás usando una versión más reciente, revisa la documentación oficial de HeroUI para confirmar si Toast sigue siendo una exportación disponible.

3️⃣ Alternativa: Usa otra biblioteca de notificaciones Si necesitas una solución rápida, puedes considerar una alternativa como react-toastify, que es una opción popular y fácil de implementar:

bash Copy Edit npm install react-toastify Ejemplo de uso:

javascript Copy Edit import { toast } from "react-toastify"; toast.success("¡Notificación exitosa!"); Espero que esto te ayude a resolver el problema. Si también te interesa disfrutar de juegos en Android, puedes encontrar una opción confiable para Descargar Fortnite APK y jugar sin complicaciones. 🚀🎮

Reasons:
  • Blacklisted phrase (2): Espero
  • Blacklisted phrase (1): está
  • Blacklisted phrase (2.5): solucion
  • Blacklisted phrase (3): solución
  • RegEx Blacklisted phrase (2): encontrar
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jaun Elia

79454613

Date: 2025-02-20 13:12:46
Score: 1.5
Natty:
Report link

How to push the "develop" branch to the remote "origin"?

You have to manually push your master and develop branches to origin. You're probably getting the "refusing to delete the current branch" because it's the only branch on origin and that always makes it the current branch.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ivo van der Veeken

79454612

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

✅ How to fix it

The issue happens because PostgreSQL is already running on your Mac and is using port 5432, which conflicts with your Docker container. Here’s how you can resolve it:

1️⃣ Stop PostgreSQL properly on macOS

Since you installed PostgreSQL via Homebrew, the correct way to stop it is:

brew services stop postgresql

Then, check if the port is still in use:

sudo lsof -i :5432

2️⃣ Kill the process manually (if needed)

If PostgreSQL is still running, force it to stop by killing the process:

sudo kill -9 521  # Replace 521 with the actual PID

Then, verify again:

sudo lsof -i :5432
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Wellynton Spagnol

79454608

Date: 2025-02-20 13:10:45
Score: 5
Natty:
Report link

The answer has not to do with wasm, but more the datatype. on the typescript side i had to change the way the buffer was made:

https://github.com/pcace/weighted-straight-skeleton/blob/d84eddc9a25091433cccf1728ab71c305552a9be/src/wrapper/index.ts#L92-L107

on the cpp side the it also needed to be adapted to the type:

https://github.com/pcace/weighted-straight-skeleton/blob/d84eddc9a25091433cccf1728ab71c305552a9be/src/core/main.cpp#L183-L192

cheers. its working now :)

Reasons:
  • Blacklisted phrase (1): cheers
  • Probably link only (1):
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: pcace

79454603

Date: 2025-02-20 13:06:44
Score: 4.5
Natty: 4
Report link

Please update ios version to 18.2.1

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

79454600

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

Yes

It's a very annoying problem, having to delete the bin, obj and vs folders, over and over again

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: hansen.palle

79454596

Date: 2025-02-20 13:05:43
Score: 1
Natty:
Report link

You can try the Data Source for contact form 7 ( https://wordpress.org/plugins/cf7-data-source/ ). It includes a pair of additional controls, Recordsed, to get the data from different data sources, like a database, a CSV file, a JSON structure, and other alternatives, and the RecordSet Field Link control that allows you to connect the form fields, like the DropDown field with the RecordSet to populate the first one with the information obtained from the data source.

You can find multiple functional examples in the following link:

https://cf7-datasource.dwbooster.com/examples

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Mike D.

79454582

Date: 2025-02-20 12:57:42
Score: 5
Natty: 5.5
Report link

Ive got the same problem, maybe its a caching-plugin issue or elementor cache feature. When i try in a icognito-tab, it seems to work. But after deleting browser-cache, it appears once, looks like a bug or something else?

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

79454578

Date: 2025-02-20 12:57:42
Score: 1
Natty:
Report link

RIGHT or SUBSTRING both can be used for this:

Select string, 
case 
when RIGHT(string,1) in ('A','B','F') then 'ok'
else 'no'
end as new_column
from table

OR

Select string, 
case 
when SUBSTRING(string, LENGTH(string), 1) in ('A','B','F') then 'ok'
else 'no'
end as new_column
from table
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Puja Sen

79454574

Date: 2025-02-20 12:55:41
Score: 0.5
Natty:
Report link

This approach works a little faster

img = array(255, dim = c(1800,1800, 3)) 

img[img[,,1] == 255 & img[,,2] == 255 & img[,,3] == 255] <- 0

grid::grid.raster(img / 255)

In

in

Out

enter image description here

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

79454571

Date: 2025-02-20 12:54:41
Score: 3.5
Natty:
Report link

Goog afternnon, please try to update Yours mongoose and nodejs to latest version ([email protected], [email protected]). I waisted the time with [email protected] and [email protected]. After updating nodejs - mongoose connect withuout this issue. With best regards.

Reasons:
  • Blacklisted phrase (0.5): best regards
  • Blacklisted phrase (1): regards
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sergey Lebtag

79454564

Date: 2025-02-20 12:52:41
Score: 0.5
Natty:
Report link

I finally found the problem.

Since Flutter 3.29 (started since 3.27), the default renderer is Impeller instead of Skia.
When building the application, the logs show the following line:
Using the Impeller rendering backend (OpenGLES)

Impeller crashes on my device (I don't know the exact reasons), but it must be disabled:
In android\app\src\main\AndroidManifest.xml, add the following block in <application>:

<meta-data
android:name="io.flutter.embedding.android.EnableImpeller"
android:value="false" />
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: JTO Informatique

79454558

Date: 2025-02-20 12:51:40
Score: 4.5
Natty:
Report link

There should be no angle bracket right after 'link'

<link rel="stylesheet" href="css/normalize.css">

Check this link for more information

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): Check this link
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bidur Handique

79454556

Date: 2025-02-20 12:50:40
Score: 2.5
Natty:
Report link

This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

how to proces is error

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

79454554

Date: 2025-02-20 12:50:40
Score: 0.5
Natty:
Report link

Use Firebase Remote Config

If your app is connected to Firebase, you can store and fetch environment variables securely from Firebase Remote Config.

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

79454553

Date: 2025-02-20 12:50:40
Score: 1.5
Natty:
Report link

A case when it happens is when the SUM function is overridden. Check the Name Manager for the SUM name definition:

enter image description here

Remove the definition if available or change its name.

Also, the function can be (?) overridden as UDF. Check VBA code if available.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: rotabor

79454550

Date: 2025-02-20 12:49:39
Score: 0.5
Natty:
Report link

We can use scp command for moving files from current to destination directory.

if ($request->hasFile('front_picture_path')) {
                    $file = $request->file('front_picture_path');
                    $filename = $file->getClientOriginalName();
            
                    // Store temporarily in storage
                    $tempPath = $file->storeAs('temp', $filename);

    $remoteUser = 'myusername';
    $remoteHost = 'myhost';
    $remotePath = "mypath";
    $password =   'mypassword';
    
    $scpCommand = "scp " . storage_path("app/{$tempPath}") . " {$remoteUser}@{$remoteHost}:{$remotePath}";
    shell_exec($scpCommand);

If you are using a password,then create a Pem file and transfer files using pem key without passowrd.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jayasri S.V

79454548

Date: 2025-02-20 12:48:39
Score: 1
Natty:
Report link

You might have another CSS file that overrides the styles.

To check if that's the case,try applying the '!important' property to a style rule. For example:

 div {  
   border: 1px solid red !important;  
 }

Let me know if this works!

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

79454525

Date: 2025-02-20 12:38:37
Score: 2
Natty:
Report link

Sounds like you need to use a combination of BY.EXP and WHEN ASSOCIATED. This will normalize your multivalues select against your filters and only display the values you want to see.

Good idea to check your DICT to ensure the mv's you're using are all associated.

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

79454523

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

Laravel dusk expects unique selectors because it cant click 5 links at the same time so make it unique like:

->click('table>tr:first-child>td:last-child>.btn.btn-danger.btn-xs:first-child')

make sure that there is only one table that has these buttons otherwise you need to have an id on table

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

79454517

Date: 2025-02-20 12:35:36
Score: 2
Natty:
Report link

i ended up using

max-height: 100%;, overflow: auto;

plus i added 60rem in padding to the top of the page, i can scroll and see both the top and bottom portion of the modal, not a great fix, but it works, need to get Kevin Powell on this.

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

79454514

Date: 2025-02-20 12:34:36
Score: 3.5
Natty:
Report link

I encountered an issue related to server-side rendering where a method with the name #methodname was causing errors. Upon investigation, I found that the method was duplicated in my codebase, leading to confusion during execution. This duplication appears to be interfering with the rendering process. enter image description here

enter image description here

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

79454505

Date: 2025-02-20 12:31:35
Score: 1
Natty:
Report link

Here is the script to select the records between dates. This code should be little bit faster:

import pandas as pd

file_path = "file.xlsx"  # Update with the correct file path
df = pd.read_excel(file_path)

# Please change the dates according to your need (04/01/2025 to 06/01/2025). If you don't need fname and lname please remove "["Fname"] + ["Lname"] + ".
selected_columns = df[["Fname"] + ["Lname"] + list(df.loc[:, "04/01/2025":"06/01/2025"].columns)]

print(selected_columns)

Output

Output

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

79454501

Date: 2025-02-20 12:30:35
Score: 0.5
Natty:
Report link

I found a solution in the SMT

It seams as the AvroConverter is stricter than the JsonSchemaConverter.
In case of null values, the schema provided needs to match the null value and needs to be optional in order to pass the checks in AvroData class.

  public R apply(R record) {
    Struct origStruct = Requirements.requireStruct(record.value(), "flat");

    Schema newSchema;
    Struct targetStruct;

    if (String.valueOf(origStruct.get(this.checkField)).equals(this.checkContent)) {
      targetStruct = null;
      newSchema = SchemaBuilder.struct().optional().build();
    } else {
      targetStruct = origStruct;
      newSchema = targetStruct.schema();
    }

    return record.newRecord(
        record.topic(),
        record.kafkaPartition(),
        record.keySchema(),
        record.key(),
        newSchema,
        targetStruct,
        record.timestamp());
  }

It seems wrong to me as a final solution - but it works for the moment.

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

79454494

Date: 2025-02-20 12:27:34
Score: 1
Natty:
Report link

I've tried this and also seems to work:

        $pathToArtisan = 'C:\xampp\htdocs\k24';
        
        echo exec("cd $pathToArtisan && php artisan dusk");
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: oelimoe

79454490

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

Which version of TYPO3 are you trying to install?

The webdevops/typo3 docker image was last updated 5years ago, and it contains outdated and not supported PHP v7.

Sounds like you're using typo3 version from over 5 years ago together with ancient PHP and trying to instal newest TYPO3 Headless package (which requires php 8).

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Which
  • Low reputation (0.5):
Posted by: Tymoteusz Motylewski

79454488

Date: 2025-02-20 12:23:33
Score: 3
Natty:
Report link

I had this issue as well and solved it by adding a package source in visual studio like this: enter image description here

Once added, I closed Visual Studio and created a new Aspire project with no error message.

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

79454476

Date: 2025-02-20 12:21:33
Score: 3.5
Natty:
Report link

I recommend checking this step by step tutorial on how to reset a MariaDB root password. Hope it helps

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: G.M.

79454472

Date: 2025-02-20 12:19:32
Score: 2
Natty:
Report link

Even if the question is incomplete, the line of code shared seems to be fine... Check whether your path to the CSS file is correct, and then refresh your page. You should also consider clearing the browser's cache. And then reload the html file...

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

79454469

Date: 2025-02-20 12:19:32
Score: 2
Natty:
Report link

You can export in p12 ONLY from My certificates tab. To make it appear there make sure that certificate was generated from the Certificate Signing Request from the same Mac. It was my solution.

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

79454467

Date: 2025-02-20 12:18:32
Score: 3.5
Natty:
Report link

Goog afternnon, please try to update Yours mongoose and nodejs to latest version ([email protected], [email protected]). I waisted the time with [email protected] and [email protected]. After updating nodejs - mongoose connect withuout this issue. With best regards.

Reasons:
  • Blacklisted phrase (0.5): best regards
  • Blacklisted phrase (1): regards
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sergey Lebtag

79454458

Date: 2025-02-20 12:17:31
Score: 0.5
Natty:
Report link

What about just prop = 1/3 with slice_sample?

> df %>%
+     slice_sample(prop = 1 / 3, by = Story)
   Story
1      C
2      C
3      X
4      X
5      X
6      A
7      A
8      A
9      A
10     A
11     B
12     B
13     B
14     B
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What
  • High reputation (-2):
Posted by: ThomasIsCoding

79454457

Date: 2025-02-20 12:16:31
Score: 6 🚩
Natty:
Report link

I tried using it as we discussed, but it didn’t work. In fact, before posting on Stack Overflow, I had already tried using AnimatedSwitcher, but I couldn’t get a proper result. Right now, my only goal is that when dragging starts, the remaining FABs should smoothly slide into the empty space left by the dragged FAB. I am progressing step by step, and currently, I am not focusing on dropping because I have been struggling with this issue for two days. I have tried almost everything, including DeepSeek and ChatGPT-4, but I haven’t achieved a satisfying result. I have also experimented with multiple approaches myself.

As a reference, could you provide an example code where we can move colorful containers, and the remaining ones smoothly slide into the space left by the dragged container?

Reasons:
  • RegEx Blacklisted phrase (2.5): could you provide
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ali

79454446

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

The documentation of new reference counting features can be found in peps.python.org/pep-0703/#reference-counting.

According to the PEP, in biased reference counting that assumes most objects are linked to one owning thread, the owning thread utilize non-atomic instructions to adjust the local reference count, while other threads employ atomic instructions to modify the shared reference count.

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

79454442

Date: 2025-02-20 12:09:29
Score: 3
Natty:
Report link

Check Your Internet and DNS

nslookup cluster0.mongodb.net

If it fails, your network or DNS settings might be blocking access to MongoDB Atlas.

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

79454430

Date: 2025-02-20 12:07:28
Score: 0.5
Natty:
Report link

This works:

   if (window.TelegramWebview) {
        const url = window.location.href;
        const chromeUrl = `intent://${url.replace(/^https?:\/\//, '')}#Intent;scheme=https;end`;
        window.location.href = chromeUrl;
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: 0xManjeet

79454427

Date: 2025-02-20 12:05:27
Score: 6 🚩
Natty:
Report link

Although this is a very old thread, I recently encountered this issue too.

Strange thing is that when debugging within Visual Studio, the received FormCollection contains "True"/"False" as values, but when I deploy it to run on Azure, it is "value"/empty.

I'm really breaking my head on this one, as I just reference the Microsoft.AspNetCore.App framework...

Does anyone have any idea about what is going on?

Reasons:
  • RegEx Blacklisted phrase (3): Does anyone have any idea
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Edwin

79454423

Date: 2025-02-20 12:04:27
Score: 1.5
Natty:
Report link

Your React Native version is incompatible with react-native-screens.

In the docs, it shows that to use versions 4.5.0+ then you must use react-native version 0.74+. You are using 0.72.4. I'd strongly recommend pinning your React Native version as discrepancies between versions can cause issues like this to frequently pop up.

Depending on how strict your time constraint is for this task, I'd recommend downgrading your RNScreens version, as opposed to upgrading React Naative - as that's a massive pain.

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

79454421

Date: 2025-02-20 12:04:27
Score: 1.5
Natty:
Report link

The file you are asking about is known as HotSpot JVM Fatal error log.

If you are working with IntelliJ, JetBrains has an excellent plugin that can parse these files efficiently and provide useful insights HotSpot Crash Examiner

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

79454401

Date: 2025-02-20 11:58:25
Score: 2.5
Natty:
Report link

you can resolve this probleme by : 1- click on the column witch has a primary key 2- in the right on the propertie go to source->Maintain Session State set to Per session (Disk)

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

79454394

Date: 2025-02-20 11:56:25
Score: 2
Natty:
Report link

I have been looking at this recently, and as they are similar in nature (and no one can agree) I think using a Procedure with stored @PArams is good if you want to make available to data analysts using a paginated system such as Power BI report builder. when they connect to it, it ingests all the controls and filers into the report definition and sets up the @Params allowing "non SQL" minded analysts to build the reports safely. Using a View - would require them to add the params at report level manually, and/or allow them to accidentally leave them out or add incorrect parameters. (not to be confused with hard coded where clauses).

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @PArams
  • User mentioned (0): @Params
  • Low reputation (1):
Posted by: David Hughes

79454391

Date: 2025-02-20 11:54:24
Score: 3.5
Natty:
Report link

sql2o is an awful one to use it requires class mapping of table fields....I deal with tables with lots of fields this is not very practical at all....

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

79454387

Date: 2025-02-20 11:52:24
Score: 1
Natty:
Report link

The issue is with your terminal emulator from here. I use gnome's default terminal and changed the "Preserve Working Directory" setting in Behaviour >> shell to "Never" and it all worked fine.

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

79454379

Date: 2025-02-20 11:49:23
Score: 1
Natty:
Report link

Finally managed to grasp a solution. For reference let me summarise:

I needed an app that shares a common Editable dataset between multiple session.

When a user (session) edits a cell that value must reflects on other sessions.

Each user should make his own selections/filtering/ordering... and, despite eventual others change the values the current settings (selection...) do not change.

(This is a "basic" problem of concurrent editing of a table)

Bellow is a MWE (actually tailored for my needs) that was based on this article R Shiny and DataTable (DT) Proxy Demonstration

On the code it is commented the two aspects that were messing with a proper operation.

library(shiny)
library(tidyverse)
library(DT)

df <- dplyr::tibble(Height = c("185", "162"), Weight = c("95", "56"))

df_reactive <- reactiveValues(df = df)

ui <- fluidPage(
   
   # App title ----
   titlePanel("DT + Proxy + Replace Data"),
   
   # Sidebar layout with input and output definitions ----
   sidebarLayout(
      
      # Sidebar panel for inputs ----
      sidebarPanel(
         
         # Input: Slider for the number of bins ---- 
         shiny::textInput(inputId = "height", label = "height"),
         shiny::textInput(inputId = "weight", label = "weight"),
         
         shiny::actionButton(inputId = "add", label = "Add"),
         
      ),
      
      # Main panel for displaying outputs ----
      mainPanel(
         
         # Output: Histogram ----
         DT::DTOutput(outputId = "table")
         
      )
   )
)



# Define server logic required to draw a histogram ----
server <- function(input, output, session) {
   
   mod_df <- shiny::reactive(df_reactive$df)

   output$table <- DT::renderDT({
      DT::datatable(
         isolate(mod_df()),  # This work Fine
         # mod_df(),             # This Reflects changes troughout ALL session (the desired behaviour)
                               # BUT... when value change... filters and ordering is cleared (in all sessions)
         extensions = 'Buttons',
         filter = 'top',
         editable = T,
         escape = FALSE,
         options = list(
            # dom = 'Bfrtip',
            dom = 'Bfrtip',
            pageLength = 5, autoWidth = TRUE,
            lengthChange = FALSE)
      )
      
   }, server = T)
   
   shiny::observe({
      shiny::updateSelectInput(session, inputId = "remove_row",
                               choices = 1:nrow(mod_df()))
   })
   
   shiny::observeEvent(input$add, {
      
      mod_df(mod_df(x) %>%
         dplyr::bind_rows(
            dplyr::tibble(Height = input$height,
                          Weight = input$weight)
         ))
      
   })
   
   
   proxy <- DT::dataTableProxy('table')
   shiny::observe({
      
      DT::replaceData(proxy, mod_df(),
                      rownames = TRUE,  # IF FALSE Does not work.
                      resetPaging = FALSE
                      )
      
   })
   
   
   shiny::observe({
      
      info = input$table_cell_edit
      # str(info)
      i = info$row
      j = info$col
      k = info$value
      
      print(info)
      print(mod_df())
      
      loc <- mod_df()
      loc[[i, j]] <- k
      
      df_reactive$df <<- loc
      
   })%>% 
      bindEvent(input$table_cell_edit)
   
}

shinyApp(ui, server)

Reasons:
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: acombo

79454364

Date: 2025-02-20 11:42:21
Score: 2.5
Natty:
Report link

fixed it: the error was, that the database was not "default". the database id was named "dominobuilders", like the app.

i've deleted the old "dominobuilders" firestore database via google cloud console and created a new default one

but thanks anyway :D

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Lucas Knötig

79454363

Date: 2025-02-20 11:42:21
Score: 2
Natty:
Report link

Anybody getting to this question in 2025, I just solved this issue by changing the target branch to a random different one, save, then changed it back to master, and tada: "conflict" was gone.

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

79454360

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

My issue is solved. I get my desired output if I simply use:

[![Alt Text](/assets/images/header/image-dark.png)](https://example.com/source)
{: .dark .w-25 }

✅ Hyperlink appears
✅ CSS classes (.dark .w-25) appear

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

79454355

Date: 2025-02-20 11:40:21
Score: 3
Natty:
Report link

What React-Native version do you use?

If you use latest versions you do not need to add below lines.

pod 'Firebase', :modular_headers => true pod 'FirebaseAuth', :modular_headers => true

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Farid Ahmad

79454352

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

If port 8000 is busy with something important сhange port to another value, 8080 for example.

uvicorn.run(app, host="127.0.0.1", port=8080)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Igor Golov

79454351

Date: 2025-02-20 11:38:20
Score: 9.5 🚩
Natty:
Report link

i am having exactly the same error and the same folders and it is absolutely bugling because i can't do anything at the moment. Have you resolved it? and how?

Reasons:
  • Blacklisted phrase (0.5): exactly the same error
  • RegEx Blacklisted phrase (1.5): resolved it?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i am having exactly the same error
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Emmanuel Sharp

79454342

Date: 2025-02-20 11:34:19
Score: 2
Natty:
Report link

Thank you for the tips! So how do you show the dev menu ? The shake features is not working either and the dev menu (even if expo think it's opened whereas it's not) is never shown (pressing m on terminal)

Thank you again

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): how do you
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: KeizerBridge

79454336

Date: 2025-02-20 11:32:18
Score: 1
Natty:
Report link

Instead of running the command directly, wrap it in cmd /C

exec('cmd /C ver 2>&1', $out, $code);

or you can try escaping it

exec('ver ^2^>^&1', $out, $code);

or try

try shell_exec()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nomaan Valsadwala

79454329

Date: 2025-02-20 11:30:17
Score: 5.5
Natty:
Report link

I think you need to update to the latest version 0.2.54. I got the same error and after updating it went away. However, I am getting error with Data Frames.

This link should help you out :) https://www.reddit.com/r/learnpython/comments/1isuc4h/yfinance_saying_too_many_requestsrate_limited/

Reasons:
  • Blacklisted phrase (1.5): m getting error
  • Blacklisted phrase (1): This link
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Super Londoner5

79454319

Date: 2025-02-20 11:27:17
Score: 3.5
Natty:
Report link

I find out solution. Just upgrade anthropic to the latest version

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

79454314

Date: 2025-02-20 11:26:16
Score: 6 🚩
Natty:
Report link

have you considered using icmplib instead?

https://pypi.org/project/icmplib/

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: JP85

79454307

Date: 2025-02-20 11:23:15
Score: 0.5
Natty:
Report link

I gave up and used minipages like this:

  newslide(
    content = {
            cat("\\begin{minipage}{0.4\\textwidth}\n")
            print(table2)
            cat("\\end{minipage}")
            cat("\\hspace{0.1\\textwidth}")
            cat("\\begin{minipage}{0.4\\textwidth}\n")
            print(plot1)
            cat('\n\n')
            cat("\\end{minipage}")
    }
  )
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: carolinasc

79454305

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

With vedo you can do:

from vedo import Sphere, show
s1 = Sphere(r=1.2).pos(-1, 0, 0).c('red5').alpha(0.2)
s2 = Sphere(r=1).pos(0.1, 0.2, 0.3).c('blue5').alpha(0.2)
disc = s1.intersect_with(s2).triangulate()
disc.c('white').lw(1).lighting("off")
print(disc.coordinates.shape)
show(s1, s2, disc, axes=1)

disc from 2 shape intersection

This generalizes to any arbitrary polygonal surface.

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