79170769

Date: 2024-11-08 16:09:27
Score: 1.5
Natty:
Report link

Old post, new answer:

You can do exactly what you are asking (understanding the latency element of GCS buckets).

1 - Mount the GCS bucket as a volume with gcsfuse

https://cloud.google.com/storage/docs/cloud-storage-fuse/overview

2 - Set that mounted volume path as a git remote (yes a local directory can be a git remote from another directory on the same machine

How to add a local repo and treat it as a remote repo

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

79170755

Date: 2024-11-08 16:07:26
Score: 3
Natty:
Report link

Yes, you are absolutely right crs(temperature.utm) [1] "PROJCRS["WGS 84 / UTM zone 39N",\n BASEGEOGCRS["WGS 84",\n DATUM["World Geodetic System 1984",\n ID["EPSG",3

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

79170753

Date: 2024-11-08 16:06:26
Score: 1.5
Natty:
Report link

For me this problem appeared while trying to run an app on an iOS device (first appeared after adding a package, but persisted after removing the package dependency). I tried many things, but what finally resolved it was deleting the contents of the Xcode DerivedData directory. (I.e. Xcode -> Settings -> Locations, open DerivedData in Finder and delete its contents.)

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

79170752

Date: 2024-11-08 16:06:26
Score: 0.5
Natty:
Report link

what worked for my project in tinymce v7+ is adding to the initialization: newline_behavior: 'block', then modifying The editor content to wrap it inside divs ( for the existing messages on the website) :

setup: function (editor) {
        

  function wrapLinesInDivs(content) {
    const lines = content.split(/<br\s*\/?>|\n/);
    return lines.map(line => `<div>${line}</div>`).join('');
  }

  editor.on('init', function () {
    // Get the initial content as HTML
    let content = editor.getContent();
    // Wrap each line in a div
    let wrappedContent = wrapLinesInDivs(content);
    // Set the modified content
    editor.setContent(wrappedContent);
  });

},

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: Marouane Ao

79170748

Date: 2024-11-08 16:04:25
Score: 2.5
Natty:
Report link

I had the same problem. It looks like the feature has been reverted and is waiting for a new implementation (as of november 2024):

Relevant issue: https://gitlab.com/gitlab-org/gitlab/-/issues/468971

Merge revert: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/167059

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Unprex

79170747

Date: 2024-11-08 16:03:25
Score: 1
Natty:
Report link

I encountered this issue when deploying my .Net Core app to an Azure Function. Setting the WEBSITE_TIME_ZONE environment variable solved it for me. For more information see the documentation here

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

79170745

Date: 2024-11-08 16:03:24
Score: 4.5
Natty: 5
Report link

same issue with nextjs v15. clear cache does not work.

Reasons:
  • RegEx Blacklisted phrase (1): same issue
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Henry Zhang

79170720

Date: 2024-11-08 15:56:22
Score: 3
Natty:
Report link

i think it should be just: x.responseJSON.error and x.responseJSON.error_description

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

79170717

Date: 2024-11-08 15:56:22
Score: 4
Natty:
Report link

Evidence main branch:

Image not loading

Download not working

Same "getAnexoFile" method

Same "descargarAnexo" method

Same HTML BLADE

Finally, same disk config: Same filesystem.php

I will continue looking for the solution, but if anyone has an idea I will thank them very much =)

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Miguel Silva Rubio

79170716

Date: 2024-11-08 15:55:22
Score: 1.5
Natty:
Report link
<div class="columnPages">
    <header>This is the Header</header>
    <p>This is the content.</p>
</div>



.columnPages header, p{text-align: center;}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Danish Iqbal

79170715

Date: 2024-11-08 15:55:22
Score: 1
Natty:
Report link

You have to use babel to interpret jsx files with this config

{
    "presets": ["@babel/preset-env", "@babel/preset-react"]
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jérémy Cornut

79170709

Date: 2024-11-08 15:52:21
Score: 2
Natty:
Report link

The best way to do it would be to put a reviews element into your bookSchema and reference the ObjectId of the review.

Then on your get route, use .populate("reviews").exec(your callback).

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

79170708

Date: 2024-11-08 15:52:21
Score: 4
Natty: 5
Report link

For bundle pages like: https://store.steampowered.com/bundle/45867/Hogwarts_Legacy__Harry_Potter_Quidditch_Champions_Deluxe_Editions_Bundle/

You can use: https://store.steampowered.com/actions/ajaxresolvebundles?bundleids=45867&cc=UA&l=english

API endpoing details: https://github.com/Revadike/InternalSteamWebAPI/wiki/Resolve-Bundles

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • RegEx Blacklisted phrase (1.5): resolvebundles?
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: NightStranger

79170692

Date: 2024-11-08 15:48:19
Score: 2.5
Natty:
Report link
{ const iframeData = document.getElementById("iframeId"); iframeData.src = `https://maps.google.com/maps?q=${lat},${lon}&hl=es;&output=embed`; }, [lat, lon]); return ( ); } export default GoogleMap 100091552220885
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Man Brew

79170691

Date: 2024-11-08 15:47:19
Score: 3.5
Natty:
Report link

I've recently created a CLI to do this. It uses Jinja2 templates.

enter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andy Verstraeten

79170688

Date: 2024-11-08 15:46:18
Score: 1
Natty:
Report link

Can you help me with this bug?

Your source of your problem seems to be a bug in opencv library itself.
I am not sure if/when it will be fixed.

But anyway I would recommend using opencv (and cv::resize) with cv::Mat which is the natual matrix container for opencv.

It is also better suited to represent a 2D array that vector<vector<T>> thanks to contiguous memory layout which is more efficient and cache-friendly.
It is considered quite a good matrix class in general.

Here's an example how to use it in your case:

#include <iostream>
#include <opencv2/opencv.hpp>

int main()
{
    // Create and fill input:
    cv::Mat at1(4, 4, CV_64FC1);
    for (int i = 0; i < 4; i++) {
        for (int j = 0; j < 4; j++) {
            at1.at<double>(j, i) = 4. * i + j;
        }
    }

    // Print input:
    std::cout << "Input:\n";
    for (int i = 0; i < 4; i++) {
        for (int j = 0; j < 4; j++) {
            std::cout << "  " << at1.at<double>(j, i);
        }
        std::cout << std::endl;
    }

    // Perform resize and create output:
    cv::Mat ax1;  // no need to initialize - will be done by cv::resize
    cv::resize(at1, ax1, cv::Size(2, 2), 0, 0, cv::INTER_CUBIC);

    // Print output:
    std::cout << "\nOutput:\n";
    for (int i = 0; i < 2; i++) {
        for (int j = 0; j < 2; j++) {
            std::cout << "  " << ax1.at<double>(j,i);
        }
        std::cout << std::endl;
    }
}

Output:

Input:
  0  1  2  3
  4  5  6  7
  8  9  10  11
  12  13  14  15

Output:
  2.03125  4.21875
  10.7812  12.9688

Side notes:

  1. As commented above the cubic interpolation filter you chose is not a good one for these matrix sizes, but I assume in the real case they are bigger.
  2. For more efficient access to cv::Mat elements, use cv::Mat::ptr to get a line pointer instead of accessing each element with cv::Mat::at.
  3. Note that the indices to cv::Mat::at are given as (y,x) (i.e. row,column) and not (x,y) as some might expect.
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): help me
  • Whitelisted phrase (-1): in your case
  • RegEx Blacklisted phrase (3): Can you help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you help me with this
  • High reputation (-2):
Posted by: wohlstad

79170686

Date: 2024-11-08 15:46:18
Score: 0.5
Natty:
Report link

Sort the data by Account and Date (ascending)

Add a new column for Year to easily group the data by year. In Column D (titled "Year")

Formula in Coulmn D =YEAR(A2) "Drag this formula down to fill all rows"

use Pivot Tables and some helper columns to simplify the calculation of annual performance.

Create a Pivot Table: Select your data range (columns A through D). Go to the Insert tab and select PivotTable. Create a new Pivot Table in a new worksheet.

Rows=Add Account and Year to the Rows area. Values= Add Value twice First as Minimum Value for the year (using the Min summary function). Second as Maximum Value for the year (using the Max summary function)

In a column next to the Pivot Table, calculate the annual return using the formula =(End_Value / Start_Value - 1) * 100

Refer the Max value as the End_Value and the Min value as the Start_Value for each account and year. YTD Calculation for the Current Year:

For the current year, use the latest available value (end of the current month) as the End_Value and the value from the beginning of the year as the Start_Value. Use the same return formula to calculate the YTD value.

Now create a summary table that consolidates annual returns for all accounts using LOOKUP or referencing formulas

new worksheet, set up a summary table

Columns = Accounts as headers Rows = Years (including a "YTD" row for the current year).

Use the GETPIVOTDATA function to pull the calculated annual return values from the Pivot Table into your summary table

Example of Calculating Return in Excel Suppose your Pivot Table has the following columns:

Account Year Start_Value (Min) End_Value (Max) Account 1 2017 1.000 1.820 Account 1 2018 1.820 2.327

In the next column, add: Return (%) for each year: =(D2/C2 - 1) * 100

combination of Pivot Tables and Calculated Columns, you can generate an annual return table efficiently for multiple accounts

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

79170682

Date: 2024-11-08 15:45:18
Score: 2
Natty:
Report link

I'm using Next.js 15 and was getting similar issue.

Error please install required packages: 'drizzle-orm'

after running pnpm update I got ( which is absurd... )

Please install latest version of drizzle-orm

The workaround I found was pnpm exec drizzle-kit generate

Source: https://github.com/drizzle-team/drizzle-orm/issues/2699#issuecomment-2322825749

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

79170666

Date: 2024-11-08 15:41:17
Score: 2.5
Natty:
Report link

It seems it is not possible to configure the HTTP Logs diagnostic configuration. The accepted answer has some useful considerations but in my use case the processing via event hubs and functions was not an option.

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

79170664

Date: 2024-11-08 15:41:17
Score: 3
Natty:
Report link

I often use Switch with enums. JaredPar's answer is good, but it doesn't work for me (possibly because i am using ReSharper).

What is working for me: after creating a Switch statement based on some enum, i click my mouse at begining of word "Switch", then i press ALT+ENTER and select "Add switch statement for bla-bla-bla...". This will generate all cases for all possible enum values.

Reasons:
  • RegEx Blacklisted phrase (2): doesn't work for me
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Oleksandr Martysh

79170646

Date: 2024-11-08 15:36:16
Score: 4
Natty:
Report link

Interaction casters have a Filtering Settings section where you can change the Raycast Mask: enter image description here

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

79170645

Date: 2024-11-08 15:35:15
Score: 0.5
Natty:
Report link

This can be achieved by using the paid software package, Setasign-Core. The following demonstrates it (code found in the link provided by @JanSlabom in the comments):

<?php

use \SetaPDF_Core_Document_Page_Annotation_FreeText as FreeTextAnnotation;

// load and register the autoload function
require_once '../vendor/autoload.php';

// let's define some properties first
$x = 10;
$yTop = 10; // we take the upper left as the origin

$borderWidth = 1;

$borderColor = '#FF0000';
$fillColor = '#00FF00';
$textColor = '#0000FF';

$text = "Received: " . date('Y-m-d H:i:s');
$align = SetaPDF_Core_Text::ALIGN_LEFT;

// create a document instance by loading an existing PDF
$writer = new \SetaPDF_Core_Writer_File('test-form-annotated-signed.pdf', true);
$document = \SetaPDF_Core_Document::loadByFilename(
    'test-form-signed.pdf',
    $writer
    );

// we will need a font instance
$font = SetaPDF_Core_Font_Standard_Helvetica::create($document);
$fontSize = 12;

// now we create a text block first to know the final size:
$box = new SetaPDF_Core_Text_Block($font, $fontSize);
$box->setTextColor($textColor);
$box->setBorderWidth($borderWidth);
$box->setBorderColor($borderColor);
$box->setBackgroundColor($fillColor);
$box->setAlign($align);
$box->setText($text);
$box->setPadding(2);

$width = $box->getWidth();
$height = $box->getHeight();

// now draw the text block onto a canvas (we add the $borderWidth to show the complete border)
$appearance = SetaPDF_Core_XObject_Form::create($document, [0, 0, $width + $borderWidth, $height + $borderWidth]);
$box->draw($appearance->getCanvas(), $borderWidth / 2, $borderWidth / 2);

// now we need a page and calculate the correct coordinates for our annotation
$page = $document->getCatalog()->getPages()->getPage(1);
// we need its rotation
$rotation = $page->getRotation();
// ...and page boundary box
$box = $page->getBoundary();

// with this information we create a graphic state
$pageGs = new \SetaPDF_Core_Canvas_GraphicState();
switch ($rotation) {
    case 90:
        $pageGs->translate($box->getWidth(), 0);
        break;
    case 180:
        $pageGs->translate($box->getWidth(), $box->getHeight());
        break;
    case 270:
        $pageGs->translate(0, $box->getHeight());
        break;
}

$pageGs->rotate($box->llx, $box->lly, $rotation);
$pageGs->translate($box->llx, $box->lly);

// ...and a helper function to translate coordinates into vectors by using the page graphic state
$f = static function($x, $y) use ($pageGs) {
    $v = new \SetaPDF_Core_Geometry_Vector($x, $y);
    return $v->multiply($pageGs->getCurrentTransformationMatrix());
};

// calculate the ordinate
$y = $page->getHeight() - $height - $yTop;

$ll = $f($x, $y);
$ur = $f($x + $width + $borderWidth, $y + $height + $borderWidth);

// now we create the annotation object:
$annotation = new FreeTextAnnotation(
    [$ll->getX(), $ll->getY(), $ur->getX(), $ur->getY()],
    'Helv',
    $fontSize,
    $borderColor
    );
$annotation->getBorderStyle()->setWidth($borderWidth);
$annotation->setColor($fillColor);
$annotation->setTextLabel("John Dow"); // Used as Author in a Reader application
$annotation->setContents($text);
$annotation->setName(uniqid('', true));
$annotation->setModificationDate(new DateTime());
$annotation->setAppearance($appearance);

// now we need to add some things regarding "variable text" that are required by e.g. Acrobat (if you want to add
// e.g. a digital signature directly after adding a free-text annotation)
$dict = $annotation->getDictionary();
$dict->offsetSet(
    'DS',
    new SetaPDF_Core_Type_String('font: Helvetica, sans-serif ' . sprintf('%.2F', $fontSize) . 'pt;color: ' . $textColor)
    );
switch ($align) {
    case SetaPDF_Core_Text::ALIGN_CENTER:
        $align = 'center';
        break;
    case SetaPDF_Core_Text::ALIGN_RIGHT:
        $align = 'right';
        break;
    case SetaPDF_Core_Text::ALIGN_JUSTIFY:
        $align = 'justify';
        break;
    default:
        $align = 'left';
}

$dict->offsetSet('RC', new SetaPDF_Core_Type_String(
    '<?xml version="1.0"?><body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" ' .
    'xfa:APIVersion="Acrobat:11.0.23" xfa:spec="2.0.2"  style="font-size:' . $fontSize . 'pt;text-align:' . $align .
    ';color:' . $textColor . ';font-weight:normal;font-style:normal;font-family:Helvetica,sans-serif;font-stretch:normal">' .
    '<p dir="ltr"><span style="font-family:Helvetica">' . htmlentities($annotation->getContents(), ENT_XML1) . '</span></p></body>'
    ));

// lastly add the annotation to the page
$page->getAnnotations()->add($annotation);

$document->save()->finish();
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @JanSlabom
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Benjamin

79170643

Date: 2024-11-08 15:35:15
Score: 3
Natty:
Report link

The solution was using

app.statusbar.overlaysWebView(true);

using Framework7, right after cordova was done loading the app

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

79170642

Date: 2024-11-08 15:34:15
Score: 3.5
Natty:
Report link

Follow the procedure below to take care of the Download: missing driver files

This will download or update the driver right within the IDE

process

Got it from their official docs here https://www.jetbrains.com/help/idea/jdbc-drivers.html#configure_a_jdbc_driver_for_an_existing_data_source

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

79170639

Date: 2024-11-08 15:34:15
Score: 3
Natty:
Report link

Yes, it's possible to use transfer learning leveraging trained DL CNN models in the public domain (e.g. Keras) using as inputs the 3D images with 10 Channels (rather than 3 -- R-G-B).

I recommend checking out this tutorial which does a good job to explain how to use transfer learning with inputs of different sizes and channels (i.e., 1 channel and n channels) --> https://www.youtube.com/watch?v=5kbpoIQUB4Q

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Blacklisted phrase (1): youtube.com
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Young ACE mc

79170636

Date: 2024-11-08 15:34:15
Score: 1.5
Natty:
Report link

Although I can't supply a valid way to trigger this error message instantaneously, I can give other readers a snapshot of the current response Snowflake returns in this scenario after I waited the 24 hours for the cache to expire. The error message reads: Result for query "{queryId}" has expired

Some of the relevant data in the response includes:

code: 000710
name: OperationFailedError
sqlState: 02000

Unfortunately although Snowflake provides guidance on how to handle query responses, they don't appear to offer a comprehensive list of error messages and their meaning.

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

79170635

Date: 2024-11-08 15:34:15
Score: 0.5
Natty:
Report link

The Microsoft.Data.SqlClient assembly ships with the SqlServer powershell module. Azure Automation gives you the ability to add powershell modules which you can import from your script. You can visit this link and/or follow the instructions below on how to do this.

And there you have it. 8 easy steps... just... 8 whole steps. UX at its finest.

Reasons:
  • Blacklisted phrase (1): this link
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: RiverHeart

79170629

Date: 2024-11-08 15:32:14
Score: 2
Natty:
Report link

Apache SupersetV4.0.2 on Ubuntu 24 LTS: I had challenges with dependencies versions for Python3.12(pkgutil and numpy) and Python3.9(python-geohash and psycopg2).
It all worked outh, with Python3.10, updates to pip and libraries. Thanks to author of below link, which was very helpful.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: user2984447

79170627

Date: 2024-11-08 15:31:14
Score: 6
Natty: 9
Report link

What if you cin with, say, 2000 for trm and 8 for bs? It only works for 2 digit numbers, and has eights and nines in the hundred's, thousand's and so on place values. How can I change it to accommodate for all place values?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What if you
  • Low reputation (1):
Posted by: user28200127

79170623

Date: 2024-11-08 15:30:13
Score: 2
Natty:
Report link

Has anyone actually found a working solution for this issue. I'm struggling and not finding anything that is working for me.

flutter configure always times out. I can login and logout, I can list my projects. I'm completley stuck!

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

79170620

Date: 2024-11-08 15:29:13
Score: 0.5
Natty:
Report link

Deployment:

Deployments in standard environment are generally faster than deployments in flexible environment. It is faster to scale up an existing version in flexible environment than to deploy a new version, because the network programming for a new version is normally the long pole in a flexible environment deployment. One strategy for doing quick rollbacks in flexible environment is to maintain a known good version scaled down to a single instance. You can then scale up that version and then route all traffic to it using Traffic Splitting.

Note that Google App Engine flexible environment is based on Google Compute Engine, so it takes time to configure the infrastructure when you deploy your app.

The first deployment of a new version of an App Engine Flexible application takes some time due to setting up of internal infrastructure, however subsequent deployments should be relatively fast since it only modifies some GCP resources and then waits on the health checks.

The sample flex app already took 7 minutes to deploy. With readiness_check, it takes more time.

Found a similar request to make the deployment faster. You can upvote/comment on this public issue tracker.

As a last resort, try exploring Cloud Run instead of Google App Engine flex. Since GAE flexible is running on VMs, it is a bit slower than Cloud Run to deploy a new revision of your app, and scale up. Cloud Run deployments are faster.

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: J_Dubu

79170618

Date: 2024-11-08 15:29:13
Score: 0.5
Natty:
Report link

I am using Odoo.sh enterprise version

After searching on internet and with my understanding about odoo platform related invoice, at last found a possible to way to get access token for a customer invoice and implemented in my system as per my requirement.

Way 1:

Steps

  1. Go to settings -> developer tools -> Activate developer mode.

  2. Go to settings -> Technical -> Automation -> Automation Rules.

  3. Create a new Automation rule.

  4. Choose Model as Journal Entry.

  5. Choose Trigger as State is set to -> Posted.

  6. Under Action to do -> Add an action -> Choose execute code.

  7. Enter this python code alone

    if record: record.preview_invoice()

  8. save code option and automation rule.

  9. Go to a draft State invoice and confirm it.

How it works:

After creating an invoice whether manually created on odoo platform or created via any third party API, Go to invoice and confirm so invoice state changes from draft to posted state, so at that time, automation rule will be triggered so that Access token for an customer invoice is again updated in journal entry model of that customer invoice.

In my project, when customer request to view their invoice, I query odoo using journal entry model with customer invoice ID, at that I will get access token and with formed URL I get pdf content and show to user with anchor tag with download option.

{1}/my/invoices/{2}?report_type=pdf&download=true&access_token={3}

  1. Odoo base Url
  2. Odoo customer invoice ID
  3. Access token retrieved

Way 2

After created an customer invoice in odoo platform manually or created in odoo platform, use below python code to get access token from any system.

My Idea is

Create a API project in any python framework and include this code and after hosting, any other API project can make use and get access token.

Python Code

import xmlrpc.client

url = 'http://localhost:8069'
db = 'my_database'
username = 'my_username'
password = 'my_password'
common = xmlrpc.client.ServerProxy('{}/xmlrpc/2/common'.format(url))
uid = common.authenticate(db, username, password, {})

# Create a new XML-RPC client object
models = xmlrpc.client.ServerProxy('{}/xmlrpc/2/object'.format(url))

# Find the invoice you want to download
invoice_id = [9147]


# Download the PDF file for the first invoice in the list
invoice = models.execute_kw(db, uid, password, 'account.move', 'read', [invoice_id[0]], {'fields': ['name', 'invoice_date', 'amount_total']})

pdf_file = models.execute_kw(db, uid, password, 'account.move', 'preview_invoice', [invoice_id[0]])

access_token = pdf_file["url"].split("=")[1]

print(access_token)
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sureya Pragaash

79170617

Date: 2024-11-08 15:28:12
Score: 2.5
Natty:
Report link

If you plan to visualize wave spectra (that's what your data seems to have), using wave spectra package may save you lots of work (assuming your files are supported) https://wavespectra.readthedocs.io/en/latest/index.html

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

79170604

Date: 2024-11-08 15:23:11
Score: 0.5
Natty:
Report link

Deleting First Entry from Last to Up

I modified your code and created a sample data, this is the result.

Code.gs

function deleteshift() {
  const ss = SpreadsheetApp.getActiveSpreadsheet();
  const sheet = ss.getSheetByName('main');
  const dataSheet = ss.getSheetByName('deletDB');
  const existingId = sheet.getActiveCell().getValue();
  const existing = dataSheet.getRange(2, 6, dataSheet.getLastRow() - 1).getValues().flat();

  const index = (existing.length - existing.reverse().indexOf(existingId))  + 1;
  dataSheet.deleteRow(index);
}

Sample Data

Before: Sample 0

Sample 1

After:

Sample 2


Reference:

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

79170593

Date: 2024-11-08 15:20:10
Score: 0.5
Natty:
Report link

Before C99, even C doesn't support this, so Cython doesn't have any choice.

Starting from C99:

from libc.math cimport INFINITY
cdef double f():
    return INFINITY

See Cython source https://github.com/cython/cython/blob/master/Cython/Includes/libc/math.pxd

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

79170589

Date: 2024-11-08 15:19:10
Score: 1
Natty:
Report link

We have adapted our app to work with RecycleView. It is not a begineer friendly way of implementing scrolling in your app but is better than ScrollView if you're handling lots of data information. To my understanding, it doesn't worry so much about exceeding texture_size as above but lazy-loads and recycles your widgets. I'm surprised how ScrollView hasn't been deprecated yet, but after writing RV's... Kivy needs to find an easier way of implementing them otherwise it's a hassle.

I would recommend closely studying the docs on Kivy, removing and adding stuff as you seem to fit to see how everything functions. To my knowledge, it is much easier to use Kivy's builder from kivy.lang.builder to define your RV (RecycleView) in .kv lang and it's widgets. Use Kivy's Properties as it makes everything easier to reference. Make sure how Classes work in Python! At least, understand the basics. Even I until today don't know what super() does.

Links that helped us:

And many, many, many StackOverflow posts...

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: kannick

79170587

Date: 2024-11-08 15:18:09
Score: 2.5
Natty:
Report link

I withdraw the question!

I have found my mistake! I assumed that the raspberry pi 5 has the same pagesize as the raspberry pi 4, 4kB like a x86_64. The raspberry pi 5 uses a kernel MMU configuration with 16k pagesize.

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

79170583

Date: 2024-11-08 15:17:09
Score: 1
Natty:
Report link

The solution is to use a single query with GROUP BY and a Grafana transformation that transposes the table:

SELECT roomid AS "room id", SUM(mvalue) AS "energy consumption in the room" FROM periodic_measurements WHERE ($__timeFilter(mtimestamp) AND apartmentid = $apartment AND metric = 5) GROUP BY roomid;

enter image description here

Reasons:
  • Whitelisted phrase (-1): solution is
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Berni Hacker

79170576

Date: 2024-11-08 15:16:08
Score: 4
Natty:
Report link

Just wanted to pop by to say that I did eventually come up with a solution in case anyone stumbles upon this thread having the same issue. I'm not sure that the non-pickleability of the dataset applies to all TF datasets, but since in this case it was relevant, that is what needed to be addressed (or worked around).

What I did was put the TFRecord files on distributed storage (UC Volume in this case) and then instantiate the TF dataset object inside the objective function. I imagine in some cases there could be some overhead there, but even with an image dataset of about 8k images, that took well less than a second, so it was fine. That also tends to be approach for any other objects that won't pickle (which did end up being the case after getting the dataset thing sorted); just build it inside the objective function. That can be the dataset from objects on distributed storage, it can be the model itself, or it can be anything really.

This might be a totally basic "duh" answer to folks in the know, but it was my first time trying to actually leverage the power of a Spark cluster, so I was definitely in over my head and could've used the insight. Maybe someone else will be in the same boat and will benefit from this answer as well. Cheers!

Reasons:
  • Blacklisted phrase (1): Cheers
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: snakeeyes021

79170572

Date: 2024-11-08 15:15:08
Score: 2.5
Natty:
Report link

The solution is to use contentView instead of contentViewController.

Use:

onboardWindow?.contentView = NSHostingView(rootView: contentView)

Instead of:

onboardWindow?.contentViewController = NSHostingController(rootView: contentView)

I don't know why it broke. If somebody knows, please let me know.

Reasons:
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (2.5): please let me know
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Vojta Böhm

79170569

Date: 2024-11-08 15:15:08
Score: 2.5
Natty:
Report link

OK, I managed to get this sorted out. It seems I was looking in the wrong place. I Googled "Connecting to an MDF File in .NET 6.0" (which is the version of .NET I am using) and discovered that I need to go into "Server Explorer" (NOT "Data Sources"!) and connect to my .mdf file from there. It turns out I don't need to use an earlier version of .net.

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Student228

79170567

Date: 2024-11-08 15:14:07
Score: 0.5
Natty:
Report link

I agree with @DazWilkin, that you would need to profile your application to figure out exactly what’s going on and if/what can be done to significantly improve it.

If warmup requests aren't enough, the typical way is setting the min_idle_instances to 1 in the app.yaml’s scalability configurations to minimize the impact of cold start times.

Hope this helps!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @DazWilkin
  • Low reputation (0.5):
Posted by: KikoZam

79170562

Date: 2024-11-08 15:13:07
Score: 0.5
Natty:
Report link

As of at least Phaser v3.86.0 it is now like this (using a dash instead of an underscore):

create() {
    // ...
    this.input.keyboard.on('keydown-W', this.yourFunction, this);
    // ...
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user1160006

79170547

Date: 2024-11-08 15:09:06
Score: 1.5
Natty:
Report link

For me, what worked was:

  1. Enforcing SSL in my app (built on Ruby on Rails)
  2. Adding to GoDaddy the DNS record provided by Heroku's domain management. xxxx.herokuapp.com did not work at all !
Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Angelo Igitego

79170544

Date: 2024-11-08 15:08:06
Score: 3.5
Natty:
Report link

i have same problem- i need to use Persian date picker instead of default date picker into the material design component. i try to create custom template for (and use Arash persian date picker component )it but don't work- this is my code :

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters;assembly=MaterialDesignThemes.Wpf"
                    xmlns:internal="clr-namespace:MaterialDesignThemes.Wpf.Internal;assembly=MaterialDesignThemes.Wpf"
                    xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf"
                    xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
                    xmlns:PersianDateControls="clr-namespace:Arash.PersianDateControls;assembly=PersianDateControls">
    <ResourceDictionary.MergedDictionaries>


        <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.blue.xaml" />
        <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Secondary/MaterialDesignColor.Lime.xaml" />
        <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Shadows.xaml" />
        
        <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Calendar.xaml" />
        <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBox.xaml" />
        <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" />
        <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesign2.Defaults.xaml" />
        <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Green.xaml" />
        <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBox.xaml" />

    </ResourceDictionary.MergedDictionaries>
    <Style x:Key="MaterialDesignPersianDatePicker" TargetType="{x:Type DatePicker}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type DatePicker}">
                    <Grid>
                        <!-- TextBox to display selected date -->
                        <TextBox x:Name="PART_TextBox"
                             VerticalAlignment="Center"
                             HorizontalContentAlignment="Center"
                             Style="{StaticResource MaterialDesignTextBoxStyle}"
                             IsReadOnly="True"
                             Text="{Binding SelectedDate, RelativeSource={RelativeSource TemplatedParent}, StringFormat='yyyy/MM/dd'}" />

                        <!-- Button to open Persian Date Picker popup -->
                        <Button x:Name="PART_Button"
                            HorizontalAlignment="Right"
                            VerticalAlignment="Center"
                            Style="{StaticResource MaterialDesignIconButtonStyle}"
                            >
                            <materialDesign:PackIcon Kind="Calendar" />
                        </Button>

                        <!-- Popup containing Persian Date Picker -->
                        <Popup x:Name="PART_Popup"
                           Placement="Bottom"
                           StaysOpen="False"
                           AllowsTransparency="True"
                           PlacementTarget="{Binding ElementName=PART_TextBox}">
                            <PersianDateControls:PersianCalendar
                            x:Name="PersianDatePicker"
                            SelectedDate="{Binding SelectedDate, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
                            Background="{DynamicResource MaterialDesignPaper}"
                            BorderBrush="{DynamicResource MaterialDesignDivider}"
                            BorderThickness="1" />
                        </Popup>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <!-- Optional: Add additional Material Design properties for colors, padding, etc. -->
    </Style>


</ResourceDictionary>

Reasons:
  • Blacklisted phrase (0.5): i need
  • Blacklisted phrase (1): i have same problem
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): i have same problem
  • Low reputation (1):
Posted by: Hassan

79170512

Date: 2024-11-08 14:58:04
Score: 2
Natty:
Report link

I spent several hours trying to figure out about the ignore_result=False parameter. Maybe it will help someone.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Шамиль Хайдаров

79170510

Date: 2024-11-08 14:57:01
Score: 9.5 🚩
Natty: 4
Report link

did u find an solution? i'm having the same issue

Reasons:
  • RegEx Blacklisted phrase (3): did u find an solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i'm having the same issue
  • Contains question mark (0.5):
  • Starts with a question (0.5): did
  • Low reputation (1):
Posted by: oumayma messaoudi

79170508

Date: 2024-11-08 14:57:01
Score: 0.5
Natty:
Report link

It seems that there is no inherent way to do this with configs or standard OpenAPI conventions. What I found is that creating a vendor extension that holds a boolean as to whether to use that class response or not in each operation then using it in template files is a way to override this. Specifically, using JavaJaxRS, customize the returnTypes.mustache template.

YAML Example:

openapi: 3.0.1
info:
servers:
paths:
    /sample:
        get:
            x-response: true

returnTypes.mustache changes:

{{#vendorExtensions.x-response}}Response{{/vendorExtensions.x-response}}{{! non-generic response:}}
{{^vendorExtensions.x-response}}{{!
}}{{{returnType}}}{{!
}}{{/vendorExtensions.x-response}}

One thing to consider is that doing this will override the useGenericResponse flag. If you want to continue having that option available, you'll have to account for that being set or not in the template.

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

79170504

Date: 2024-11-08 14:56:00
Score: 2
Natty:
Report link

I have updated the code with the final answer.

After the first call to CryptAcquireContext fails with error "Keyset does not exist" I make a second call to CryptAcquireContext with dwFlags parameter set to CRYPT_NEWKEYSET. This succeeded, and when it is run again, the first call now succeeds. The first CSP with PROV_RSA_FULL type: Microsoft Base Cryptographic Provider v1.0 now has a default Keyset. This implies none of my CSPs with PROV_RSA_FULL type had a default Keyset.

Thanks to bartonjs for catching the pszName parameter issue. "pszName is the name of the CSP, but you're passing it to CryptAcquireContext as the name of a key container" With this fixed, the first call to CryptAcquireContext still returned the same error "Keyset does not exist".

https://github.com/MicrosoftDocs/win32/blob/docs/desktop-src/SecCrypto/example-c-program-using-cryptacquirecontext.md is an example of creating a Keyset

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

79170484

Date: 2024-11-08 14:52:59
Score: 1
Natty:
Report link

In a confirmation phase of your package name you have to write it completely , here you just typed com instead of com.example.chatapp . If you can't type it completely , open it in android studio and try with terminal of android studio. I already faces with this issue and fixed it like this solution.

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

79170480

Date: 2024-11-08 14:51:59
Score: 2
Natty:
Report link

I use it in my yml file:

- name: Setup C/C++ Compiler
  id: setup-compiler
  uses: rlalik/setup-cpp-compiler@master
  with:
    compiler: gcc-latest

- name: Verify GCC Installation
  run: |
    gcc --version
    g++ --version

From this github: https://github.com/rlalik/setup-cpp-compiler

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

79170476

Date: 2024-11-08 14:50:59
Score: 2
Natty:
Report link

I fixed that. Changed my files which contain unvalid characters and fixed it.

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

79170469

Date: 2024-11-08 14:48:58
Score: 1
Natty:
Report link

If you are using multiple targets in a separate thread, you can proceed as follows:

export default pino(
  {
    level: 'debug',
    redact: {
      paths: ['req', 'res'],
      remove: true,
    },
  },
  transport,
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: William Magnabosco

79170462

Date: 2024-11-08 14:47:57
Score: 5.5
Natty: 5
Report link

@SScotti did you have to make any code changes? Trying to understand if the resolution was on your side or the eClinicalWorks side.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @SScotti
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Dan Bonistalli

79170457

Date: 2024-11-08 14:43:56
Score: 1.5
Natty:
Report link

Try to check below things. It will help you to solve your problem.

  1. Ensure you’re running the app in Debug mode, as changes in Debug mode typically take effect immediately without needing to restart the app.

  2. Enable Hot Reload in your project.

  3. Clear your browser cache. ( Sometimes, a caching issue might prevent changes from appearing ).

  4. Perform a full rebuild of the solution.

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

79170453

Date: 2024-11-08 14:42:56
Score: 1.5
Natty:
Report link

What u actually need to do is to change the way u are implementing ur models by converting it to a binary.

so that its:

class Announcements(models.Model): 
image = model.BinaryField()

this way u cn store it directly

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: wuh-yne

79170447

Date: 2024-11-08 14:40:55
Score: 5.5
Natty:
Report link

Is there a flavour of markdown that supports that?

Yes: markdown-it mostly does (as https://github.com/11ty/eleventy/issues/2438#issue-1271419451 well explains).

How do I do that?

markdownit().disable('code')
Reasons:
  • Blacklisted phrase (1): How do I
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is there a
  • Low reputation (0.5):
Posted by: RokeJulianLockhart

79170445

Date: 2024-11-08 14:39:55
Score: 1
Natty:
Report link

Answer

  1. Open the Required Port in the Firewall:
    In my case, the problem was that Ubuntu's firewall (ufw) was blocking traffic on port 5000. You can allow this traffic by running:

    sudo ufw allow 5000
    

    This should open the port for external connections, allowing the macOS container to access usbfluxd on the host.

  2. Restart usbfluxd on macos (if necessary):
    After updating the firewall, restart usbfluxd to ensure the changes take effect.
    enter image description here

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

79170438

Date: 2024-11-08 14:37:54
Score: 1
Natty:
Report link

A solution was provided by @kadyb and Ezder. In order to make this work during github actions, a suitable source of geos and installation of sf from source will be required. This is taken care of by default for Mac and Windows, but some more work is needed for linux.

Within the: .github/worflows directory you will need to modify up to 2 files, one is used for building the pkgdown website, the other is for the tests.

the R-CMD-check.yaml will need to be edited to this:

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
  push:
    branches: [main, master]
  pull_request:
    branches: [main, master]

name: R-CMD-check.yaml

permissions: read-all

jobs:
  R-CMD-check:
    runs-on: ${{ matrix.config.os }}

    name: ${{ matrix.config.os }} (${{ matrix.config.r }})

    strategy:
      fail-fast: false
      matrix:
        config:
          - {os: macos-latest,   r: 'release'}
          - {os: windows-latest, r: 'release'}
          - {os: ubuntu-latest,   r: 'devel', http-user-agent: 'release'}
          - {os: ubuntu-latest,   r: 'release'}
          - {os: ubuntu-latest,   r: 'oldrel-1'}

    env:
      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
      R_KEEP_PKG_SOURCE: yes

    steps:
      - uses: actions/checkout@v4

      - uses: r-lib/actions/setup-pandoc@v2

      - uses: r-lib/actions/setup-r@v2
        with:
          r-version: ${{ matrix.config.r }}
          http-user-agent: ${{ matrix.config.http-user-agent }}
          use-public-rspm: true

      - uses: r-lib/actions/setup-r-dependencies@v2
        with:
          extra-packages: any::rcmdcheck
          needs: check
          
      - name: Update GEOS
        if: runner.os == 'Linux'
        run: |
          sudo apt-get install software-properties-common
          sudo add-apt-repository ppa:ubuntugis/ppa
          sudo apt-get update
          sudo apt-get install libgeos-dev

      - name: Commpile sf from source
        if: runner.os == 'Linux'
        run: install.packages("sf", type = "source", repos = "https://cran.rstudio.com/")
        shell: Rscript {0}

      - uses: r-lib/actions/check-r-package@v2
        with:
          upload-snapshots: true
          build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'

and the pkgdown.yaml which will allow the website to render also needs to be updated:

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
  push:
    branches: [main, master]
  pull_request:
    branches: [main, master]
  release:
    types: [published]
  workflow_dispatch:

name: pkgdown.yaml

permissions: read-all

jobs:
  pkgdown:
    runs-on: ubuntu-latest
    # Only restrict concurrency for non-PR jobs
    concurrency:
      group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
    env:
      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
    permissions:
      contents: write
    steps:
      - uses: actions/checkout@v4

      - uses: r-lib/actions/setup-pandoc@v2

      - uses: r-lib/actions/setup-r@v2
        with:
          use-public-rspm: true

      - uses: r-lib/actions/setup-r-dependencies@v2
        with:
          extra-packages: any::pkgdown, local::.
          needs: website
          
      - name: Update GEOS
        if: runner.os == 'Linux'
        run: |
          sudo add-apt-repository ppa:ubuntugis/ppa
          sudo apt-get update
          sudo apt-get install libgeos-dev

      - name: Commpile sf from source
        if: runner.os == 'Linux'
        run: install.packages("sf", type = "source", repos = "https://cran.rstudio.com/")
        shell: Rscript {0}

      - name: Build site
        run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
        shell: Rscript {0}

      - name: Deploy to GitHub pages 🚀
        if: github.event_name != 'pull_request'
        uses: JamesIves/[email protected]
        with:
          clean: false
          branch: gh-pages
          folder: docs

What has happened with both is the addition of:

      - name: Update GEOS
        if: runner.os == 'Linux'
        run: |
          sudo add-apt-repository ppa:ubuntugis/ppa
          sudo apt-get update
          sudo apt-get install libgeos-dev

      - name: Commpile sf from source
        if: runner.os == 'Linux'
        run: install.packages("sf", type = "source", repos = "https://cran.rstudio.com/")
        shell: Rscript {0}

Which allows for a suitable GEOS installation and sf from source.

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

79170423

Date: 2024-11-08 14:32:53
Score: 0.5
Natty:
Report link

Ok. The solution is like suggested on the micronaut docu (https://micronaut-projects.github.io/micronaut-test/4.0.0-M8/guide/index.html#junit5) Instead of using @Spy on all "normal" implementations. I just had to use

    @MockBean(ClassToBeMockedImpl.class)
    public ClassToBeMocked classToBeMocked() {
        return mock(ClassToBeMocked.class);
    }

on the class I want o mock. So all the field injection were uncessary.

Reasons:
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Zonko

79170409

Date: 2024-11-08 14:29:52
Score: 2
Natty:
Report link

I would simply use v[length(v):0]

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

79170402

Date: 2024-11-08 14:27:51
Score: 0.5
Natty:
Report link

I've provided some hints in the similar topic: How to Access Number of Views for Pages on Data Center (On-prem) Confluence?

The question there was explicitly restricted to Confluence Data Center (i.e. not cloud version of Confluence). The short summary of my reply by named topic is: there is no suitable official REST API for Data Center version available, but there are some tricks, which could be useful (however the interface might be restricted for usual users).

Current topic is not limited by Data Center version and in the Cloud version of Confluence - the REST API interface was extended, so now it could provide the statistical information. Please see the details here: https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-analytics/#api-group-analytics

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

79170378

Date: 2024-11-08 14:20:50
Score: 0.5
Natty:
Report link

Navigate to a screen in a nested navigator In React Navigation, navigating to a specific nested screen can be controlled by passing the screen name in params. This renders the specified nested screen instead of the initial screen for that nested navigator.

For example, from the initial screen inside the root navigator, you want to navigate to a screen called media inside settings (a nested navigator). In React Navigation, this is done as shown in the example below:

React Navigation

https://docs.expo.dev/router/advanced/nesting-navigators/

navigation.navigate('root', {
  screen: 'settings',
  params: {
    screen: 'media',
  },
});
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Geeker One

79170354

Date: 2024-11-08 14:12:47
Score: 0.5
Natty:
Report link

If you have access to script console can disable all jobs with

import hudson.model.*

disableChildren(Hudson.instance.items)

def disableChildren(items) {
  for (item in items) {
    if (item.class.canonicalName) {
      if (item.class.canonicalName == 'com.cloudbees.hudson.plugins.folder.Folder') {
          disableChildren(((com.cloudbees.hudson.plugins.folder.Folder) item).getItems())
      } else if (item.class.canonicalName != 'org.jenkinsci.plugins.workflow.job.WorkflowJob') {
        item.disabled=true
        item.save()
        println("DISABLED: ${item.name}")
      }
    }
  }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Erik Anderson

79170343

Date: 2024-11-08 14:08:46
Score: 1.5
Natty:
Report link

Late answer, but I had success using this: https://webpack.js.org/configuration/other-options/#ignorewarnings

For example:

module.exports = {
    ...
    ignoreWarnings: [
        {
            message: /WARNING in.*node_modules.esri-leaflet-geocoder.*/
        }
    ]
}
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jan Wegger

79170330

Date: 2024-11-08 14:05:45
Score: 2.5
Natty:
Report link

I'm having same trouble. I tried email sending with PHPMailer script from below link.

https://github.com/PHPMailer/PHPMailer

Email sent with this script but not sending from Laravel

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

79170321

Date: 2024-11-08 14:01:43
Score: 1
Natty:
Report link

install pkg for pkg-config, will help, if you dont have.

I make it work in my wsl env when i have the problem when libsqlite3-dev installed.

after sudo apt install pkg-config it can be work fine

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

79170315

Date: 2024-11-08 13:59:43
Score: 0.5
Natty:
Report link

ed dreaming. Every night, while others rested, Sam was up, working on his vision."

[Cut to Sam facing challenges, setbacks, exhausted, but pushing through]

Narrator: "Yes, he faced setbacks. Many times, he felt like giving up. People doubted him. But every time he fell, he got back up. He knew that success wasn’t just about talent or luck—it was about resilience."

[Scene shifts to a later time: Sam is now successful, standing in front of a company he built, helping others succeed]

Narrator: "Years later, Sam achieved his dreams. Not only was he successful, but he was also able to help others chase their own goals. His story wasn’t just about wealth; it was about proving that anyone can overcome the odds if they believe in themselves and never give up."

[Closing shot: Sam talking to a crowd, inspiring them with his journey]

Narrator: "Sam’s story is a reminder: no matter where you start, with vision, hard work, and persistence, anything is possible. Start today, push through, and let nothing hold you back. Your success story is waiting to

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

79170314

Date: 2024-11-08 13:59:43
Score: 1.5
Natty:
Report link

I was facing the same problem as you, and I could run the app after updating the Cocoapods to version 1.16.2. To do that, run the command below in your terminal.

sudo gem install cocoapods

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Y. Sampaio

79170313

Date: 2024-11-08 13:59:43
Score: 0.5
Natty:
Report link

Increasing the maximum-pool-size in your connection pool allows for more concurrent database connections. However, to take advantage of this, you need to ensure that your inserts are processed in multiple threads. By default, Spring Data JPA runs saveAll() in a single thread, using only one database connection at a time, regardless of the connection pool size.

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

79170308

Date: 2024-11-08 13:56:42
Score: 1
Natty:
Report link

It is in the documentation now (at least as of oracle 19).

drop_constraint_clause::=

drop ( 
  primary key |
  constraint *constraint_name* |
  unique (*column*, ...) 
) ... [ (drop | keep) index ]

(I did not want to copy paste the image, as I am not sure that's okay with oracle; I hope the notation is self-explanatory).

https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/ALTER-TABLE.html#GUID-552E7373-BF93-477D-9DA3-B2C9386F2877__I2103997

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

79170299

Date: 2024-11-08 13:53:41
Score: 1.5
Natty:
Report link

Relative imports in Python, from one directory up

Let's imagine you have this directory structure:

dev/
    my_project/
        config.py
        sandbox/
            test.py

And you want to cd into my_project and run test.py, where test.py imports config.py. Python doesn't allow this by default: you cannot import anything from above your current directory, unless you use sys.path.insert() to insert that upper directory into your system path first, before attempting the import.

So, here's the call you want to make:

cd dev/my_project
./sandbox/test.py

And here's how to allow test.py to import config.py from one directory up:

test.py:

#!/usr/bin/env python3

import os
import sys

# See: https://stackoverflow.com/a/74800814/4561887
FULL_PATH_TO_SCRIPT = os.path.abspath(__file__)
SCRIPT_DIRECTORY = str(os.path.dirname(FULL_PATH_TO_SCRIPT))
SCRIPT_PARENT_DIRECTORY = str(os.path.dirname(SCRIPT_DIRECTORY))
# allow imports from one directory up by adding the parent directory to the 
# system path
sys.path.insert(0, f"{SCRIPT_PARENT_DIRECTORY}")

# Now you can import `config.py` from one dir up, directly!
import config

# The rest of your imports go here...


# The rest of your code goes here...

References

  1. My original answer where I first posted this content: How do I get the path and name of the python file that is currently executing?

Going further

  1. In Bash, which can be rather Pythonic by using if [ "$__name__" = "__main__" ], relative imports are more natural, and are done as follows:
    1. [main resource] My article on my website: GabrielStaples.com: How do you write, import, use, and test libraries in Bash?
    2. My answer: Importing functions from a shell script
    3. My answer: How do I get the directory where a Bash script is located from within the script itself?
Reasons:
  • Blacklisted phrase (1): How do I
  • Blacklisted phrase (1): How do you
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Gabriel Staples

79170292

Date: 2024-11-08 13:52:41
Score: 1
Natty:
Report link

With datatables (I'm using v 2.1.8) you can change color with CSS :

/* order arrows default */
table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order::after,
table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order::after {
    color: red;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Cyrille37

79170283

Date: 2024-11-08 13:50:40
Score: 17
Natty: 7
Report link

Did you manage to solve it? I have the same problem on iOS with React Native when using react-native-nfc-manager. Any solution?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (1.5): Any solution
  • RegEx Blacklisted phrase (3): Did you manage to solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • RegEx Blacklisted phrase (2): Any solution?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Ailton Aires

79170267

Date: 2024-11-08 13:46:39
Score: 1
Natty:
Report link

Unless you are interested in no code tools like Power Automate, where we have some plugins like this one, to create a custom connector will require some developer skills.

If you are interested in following the dev part, you should start with basic tutorials and once mastered, you will be able to bend it to your need. By the way, there are also free 101 trainings.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: denis-grigor

79170261

Date: 2024-11-08 13:46:39
Score: 1
Natty:
Report link

I think this is what you want. Make color is optional and is not nullable

from pydantic import Field

...
  color: str = Field(None)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: rumbarum

79170256

Date: 2024-11-08 13:43:38
Score: 3
Natty:
Report link

This bug has been fixed in org-mode upstream for quite some time, so it should now work for you out of box.

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

79170227

Date: 2024-11-08 13:37:37
Score: 3
Natty:
Report link

Issue seems to be fixed in Android Studio Meerkat. I myself have not been able to get this to work in Ladybug.

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

79170214

Date: 2024-11-08 13:32:36
Score: 1
Natty:
Report link

Looks like adding allowDangerousHtml:true to your options should allow the html elements to get through unchanged.

See the readme: https://github.com/micromark/micromark/blob/main/packages/micromark/readme.md#options

import { micromark } from 'micromark';
import { gfm, gfmHtml } from 'micromark-extension-gfm';

const mdd = `
# Title
<div>
  This is HTML inside markdown.
  <img src="image.jpg" alt="Example image" />
</div>
`;
console.log(micromark(mdd, { allowDangerousHtml:true, extensions:[ gfm() ] }));
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ray Wallace

79170205

Date: 2024-11-08 13:29:35
Score: 1
Natty:
Report link

i get the Answer Use the

php artisan vendor:publish --tag=laravel-pagination

Cmd to Create the Bootstrap Vendor file for Pagination and Then i have change the

            <div class="mt-4">
                {{ $distributorStock->links() }}
            </div> 
        </div>

code to this

  {{ $distributorStock->links('vendor.pagination.bootstrap-4') }}

  {{ $distributorStock->links('vendor.pagination.bootstrap-4') }}

then i get this output

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

79170197

Date: 2024-11-08 13:27:34
Score: 0.5
Natty:
Report link

Double check your private key. As detailed in the error message it was EC and not RSA.

Editing a single line would solve your issue:

client_key = OpenSSL::PKey::EC.new(File.read('/root/client/client.key'), keypass)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: 473183469

79170188

Date: 2024-11-08 13:25:33
Score: 0.5
Natty:
Report link

Just do this and it will clean it for you:

jq 'del(.metadata.widgets)' YourNotebook.ipynb > YourNotebook.ipynb

Please note that it will work only if Jupyter JSON format is stable in that respect.

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

79170183

Date: 2024-11-08 13:23:33
Score: 2.5
Natty:
Report link

'sudo rm -rf /opt/anaconda3'

i.e. ~ removed

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

79170175

Date: 2024-11-08 13:21:32
Score: 4
Natty:
Report link

enter image description here

I found that 'index.pdf' is coming from the title as you mentioned, but I don’t know how to modify it because this is a popup opened by the Edge browser. –

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Resul Bekir Şahin

79170149

Date: 2024-11-08 13:13:30
Score: 0.5
Natty:
Report link

Yes it does allocate all memory at once.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: talex moved to Codidact

79170141

Date: 2024-11-08 13:10:29
Score: 2
Natty:
Report link

Use the Unicode.

paste('my table title', '\U00B9, \U00B2, \U00B3')

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

79170134

Date: 2024-11-08 13:08:28
Score: 1
Natty:
Report link

Short answer

Instead of

resource :pages do
  get 'home' => 'pages#home'
end

use

get 'home/:id', to: 'pages#home'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Anton Bogdanov

79170121

Date: 2024-11-08 13:05:28
Score: 1.5
Natty:
Report link

I want to intercept function calls and found that proxies can do that

Far too complicated. All you need is a wrapper function:

// Trapping a function call with another function
const taggedTemplate = (...argArray) => {
  console.log("apply");
  return target(...argArray);
};

The proxy doesn't achieve anything else here.

I quickly found that the params passed to the function are not intercepted. Why is that?

Because only taggedTemplate is a proxy (or wrapped function), and the apply trap triggers when that particular taggedTemplate function object is called. There is no proxy involved in Num(). The expression taggedTemplate`my fav number is ${Num()}` is no different than doing

const value = Num();
taggedTemplate`my fav number is ${value}`

Is there any way to do that?

No.

Reasons:
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (0.5): Why is that
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Bergi

79170110

Date: 2024-11-08 12:59:24
Score: 8.5 🚩
Natty: 5.5
Report link

i am actually stuck with the same situation, did you find its solution?

Reasons:
  • RegEx Blacklisted phrase (3): did you find
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mubariz Ali

79170104

Date: 2024-11-08 12:57:23
Score: 1
Natty:
Report link

if you mean relative to the screen, you should use the code below

this.iw = window.innerWidth;
this.ih = window.innerHeight;

then use this code

      let tree = this.physics.add
          .sprite(500*this.iw, 300*this.ih, "tree")
          .setScale(0.5*(this.iw/this.ih));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Coco

79170087

Date: 2024-11-08 12:48:21
Score: 1.5
Natty:
Report link

Shortly, no. Regressors cannot know this. Your problem is a multi-class classification problem. You need to use classifier for your problem. Classifier model predicts probabilites of three labels. And sum of them will be 1 (100%).

https://scikit-learn.org/stable/modules/generated/sklearn.multioutput.MultiOutputClassifier.html

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

79170086

Date: 2024-11-08 12:48:21
Score: 3
Natty:
Report link

This issue seemed to have resolved on its own. I don’t really have an answer to why this happened. I’m going to assume it was a carrier issue limited to a small group of users.

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

79170082

Date: 2024-11-08 12:46:19
Score: 7 🚩
Natty: 4
Report link

I don't have the source code for the project but my server got crashed. Now I have changed the server and I got this server error in the new server.

<%@ control language="vb" autoeventwireup="false" inherits="MSFB.Header, App_Web_s7kv-y21" %>

What should I do now?

Reasons:
  • Blacklisted phrase (2): What should I do
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: MohanTech

79170081

Date: 2024-11-08 12:46:18
Score: 3.5
Natty:
Report link

Add bellow line, before your CMD ["/weather-api"]

RUN apk add libc6-compat

Full answer https://stackoverflow.com/a/66974607/8289710

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: KamWebDev

79170073

Date: 2024-11-08 12:45:18
Score: 1
Natty:
Report link

If 'android.defaults.buildfeatures.buildconfig = true' is not enough, then perhaps the menu will help: Build -> Rebuild Project.

A 'java (genereted)' folder containing the 'BuildConfig' class should then be created in the project navigator.

Build -> Rebuild must be called separately for each build (release, debug, ...) so that the class is created.

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

79170072

Date: 2024-11-08 12:44:18
Score: 1
Natty:
Report link

Since Go 1.22, we can use the reflect.TypeFor function to get a reflect.Type value:

func main() {
    errorType := reflect.TypeFor[error]()
    err := errors.New("foo")
    println(reflect.TypeOf(err).Implements(errorType))
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: xianyukang

79170064

Date: 2024-11-08 12:42:17
Score: 0.5
Natty:
Report link

In the code you shared, the initial position uncertainties have a standard deviation of about 45 meters (=sqrt(2*10^3)). The process noise at each step is the same order of magnitude. So the filter's uncertainty in its position just from the model is on the order of tens or low hundreds of meters.

The measurement noise that you are adding has a standard deviation of 2.5 degrees in latitude and longitude. Let's do some quick math on that. The radius of the ISS orbit is about 6778000 meters. We can find the uncertainty in meters using the arc length formula: s = r * theta = (6778000) * (2.5 * pi / 180) = 295746. So the uncertainty in each measurement is on the order of hundreds of thousands of meters.

What will the filter do when it knows the position of the spacecraft accurate to tens of meters and then gets a measurement that's only accurate to hundreds of thousands of meters? It will, correctly, almost completely ignore the measurement. If you want the filter to pay attention to the measurements, then I would suggest turning the measurement noise way down. For example, if you wanted the measurements to have an uncertainty of 100 meters, a noise standard deviation of 0.0008 degrees is about what you would want.

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

79170059

Date: 2024-11-08 12:40:17
Score: 2.5
Natty:
Report link

Use a Cronusmax Plus (set via the Cronus Pro software to be a PS3/PC input and PS3/PC output adapter) connected to a PS3 to PS2 Brook Superconverter connected to a PS2 to Gamecube controller adapter. One these are connected together you can connect the program port of your Cronusmax Plus to your PC and you can set it up for any controller plugged into your PC to go out into your system of adapters to ultimately be recognized as a Gamecube controller signal.

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Wired-Up Retro of Youtube

79170053

Date: 2024-11-08 12:37:16
Score: 3.5
Natty:
Report link

Thanks @Sinatr !! By setting Background property on Border element worked. For the next Google searches, now I have this and it's working

<Border Height="40" VerticalAlignment="Top"
        Background="{StaticResource ColorPrimary500}"
        x:Name="TitleBar" 
        Panel.ZIndex="1">
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Sinatr
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Dawid

79170042

Date: 2024-11-08 12:33:14
Score: 2
Natty:
Report link

Actually the problem is flowbite uses index.html for including dependecies so in react router v7 it not works so on same page if we refresh page

it works this is a big problem with flowbite js components

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: web devlopment king