79509142

Date: 2025-03-14 13:05:50
Score: 0.5
Natty:
Report link

As a workaround (not a fix) we currently are excluding Edge from the CSP tests that need to interact with these external scripts in a certain way.

So we have the following:

All browsers except Edge + CSP + basic interactions with external scripts = Yes. Edge browser + CSP + basic interactions with external scripts = Yes. All browsers except Edge + CSP + complex interactions with external scripts = Yes. Edge browser + CSP + complex interactions with external scripts = No.

So we are covering CSP on all browsers including Edge, and we're doing basic interactions with the external scripts on all browsers including Edge. But for the CSP and complex interactions with those scripts, we do all browsers except Edge.

We're getting the coverage we need to ensure our complex interactions are good with those scripts because Edge is mostly just Chrome anyway, and we're getting all the CSP checks we need. So we know our code is good - and that's really what we're here to test.

We just have a combination of Next + CSP + Edge + External scripts outside our control when we're interacting with them in a complex way that is failing. It's just a test setup failure.

Any solution is really going to be some kind of command/parameter that forces the CSP to ignore the errors, and by skipping that rare combination in the test suite we're doing that already.

Reasons:
  • Blacklisted phrase (1.5): Any solution
  • Whitelisted phrase (-1): solution is
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Dee2000

79509141

Date: 2025-03-14 13:05:50
Score: 3.5
Natty:
Report link

Because EC2 machine and block volume bothe are independent AWS resources. Hence it's not necessary to destroy EC2 instance when you are changing block volume storage.

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

79509136

Date: 2025-03-14 13:03:49
Score: 3.5
Natty:
Report link

Use Backslash_symbol, Backslash_symbol and so on.

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

79509134

Date: 2025-03-14 13:01:49
Score: 1
Natty:
Report link

Create a custom rule and check any array with the desired constraints. https://codeigniter4.github.io/userguide/libraries/validation.html#creating-a-rule-class

Sample class:

class IdRules
{
    /**
     * Use as 'required|valid_ids[100,intval,string]'
     */
    public function valid_ids($value = null, string $params, array $data = [], ?string $error = null): bool
    {
        $rules = explode(',', $params);

        if (! is_array($value)) {
            $error = 'Not array';

            return false;
        }

        if (count($value) > $rules[0]) {
            $error = 'The array is too large';

            return false;
        }

        foreach ($value as $k => $v) {
            // validation `ids` and return `bool`
            if (gettype($k) === $rules[1]) {}
            if (gettype($v) === $rules[2]) {}
        }

        return true;
    }
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ozornick

79509131

Date: 2025-03-14 13:00:49
Score: 0.5
Natty:
Report link

This is probably due to the attribute value containing quote characters. The presence of a quote character in an attribute value breaks attribute filtering:

https://repost.aws/questions/QUyUJ6EvX6So2I1MAS-c-dmg/an-sns-message-with-a-double-quote-in-any-attribute-is-filtered-out-is-this-a-bug

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

79509115

Date: 2025-03-14 12:51:47
Score: 4
Natty:
Report link

apache commons...

StringUtils.substringBeforeLast(principalName, "@")

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: CodeDaddy

79509111

Date: 2025-03-14 12:50:46
Score: 3
Natty:
Report link

DBSchema supports ScyllaDB, allowing you to easily connect and visualize your data. Here’s a link to the setup guide:

https://www.scylladb.com/2024/07/31/how-to-visualize-scylladb-tables-and-run-queries-with-dbschema/

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

79509100

Date: 2025-03-14 12:44:44
Score: 8 🚩
Natty: 6.5
Report link

I am facing the same issue , but less secure apps is deprecated so what do I use??

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Njingti Shanelle

79509093

Date: 2025-03-14 12:41:43
Score: 7.5 🚩
Natty: 6
Report link

just got the same issue. Thanks for the post.

Do you have any simpler alternatives that dont require setting up a lambda?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): Do you have any
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Ariel Nurieli

79509082

Date: 2025-03-14 12:37:42
Score: 1
Natty:
Report link

To answer your first question: While yes, you can run Truffle languages without the Graal compiler, performance is going to be abysmal, as Truffle heavily relies on dedicated optimizations provided by Graal.

Consequently, you can also run TRegex as a regular Java library without Graal, but performance is probably going to be worse than java.util.Regex if you do that.

If there is any demand for it, I can put together a drop-in replacement for java.util.regex containing TRegex as a standalone maven library, but to really get any benefit out of it, I'd highly recommend using it in conjunction with Graal.

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

79509071

Date: 2025-03-14 12:30:41
Score: 2
Natty:
Report link

in your terminal paste this command

npm -D postcss postcss-cli autoprefixer
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Renan Valerio

79509067

Date: 2025-03-14 12:28:40
Score: 2
Natty:
Report link

Check the manual of the reader, chapter 6.2.3.3. Transparent Exchange Command. You have to wrap mifare read commands (e.g. block 0: 0x30, 0x00) into APDUs with Data Object '95h Transceive – Transmit and Receive'. After read out of all blocks with NDEF data you can create the URL to be openend.

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

79509066

Date: 2025-03-14 12:28:40
Score: 1.5
Natty:
Report link

I found an answer.

MRNbarcodeText.dispatchEvent(new Event('change'));

I didn't know I had to let my razor page know that information had changed on the page. This isn't the case in MVC.

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

79509065

Date: 2025-03-14 12:28:40
Score: 2
Natty:
Report link

This should be an issue of androidx.compose.ui. Same issue was reported, see here. From the release notes of androidx.compose.ui, this issue was fixed in version 1.7.0-alpha03, see Version 1.7.0-alpha03

Reasons:
  • RegEx Blacklisted phrase (1): Same issue
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: cmoaciopm

79509058

Date: 2025-03-14 12:24:39
Score: 17.5 🚩
Natty:
Report link

Skip to main content
Stack Overflow
Products
OverflowAI
Search…
Umer Masood's user avatar
Umer Masood
1, 1 reputation
●22 bronze badges
Home
New
Questions
Tags
Saves
Users
Companies
Labs
Discussions
Collectives
Communities for your favorite technologies. Explore all Collectives

Teams
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams

Looking for your Teams?



carousel using jQuery
Asked 11 years ago
Modified 11 years ago
Viewed 18k times

Report this ad
4

I know there are plugins available out there, but I'm trying to make one of myself but before that I'm trying to understand the concept of making it as an infinite/circular carousel. Here is my jsfiddle so far.. http://jsfiddle.net/hbk35/KPKyz/3/

HTML:

    <div id="carousel_wrapper">
    <ul>
        <li>
            <div>0</div>
        </li>
        <li>
            <div>1</div>
        </li>
        <li>
            <div>2</div>
        </li>
        <li>
            <div>3</div>
        </li>
        <li>
            <div>4</div>
        </li>
        <li>
            <div>5</div>
        </li>
        <li>
            <div>6</div>
        </li>
        <li>
            <div>7</div>
        </li>
    </ul>
</div>
<br>
<div id="buttons">
    <button id="left">left</button>
    <button id="right">right</button>
</div>
JS:

var container = $("#carousel_wrapper");

var runner = container.find('ul');
var liWidth = runner.find('li:first').outerWidth();
var itemsPerPage = 3;
var noofitems = runner.find('li').length;

runner.width(noofitems * liWidth);
container.width(itemsPerPage*liWidth);

$('#right').on('click',function(){
   runner.animate({scrollLeft: -liWidth},1000);
});


$('#left').on('click',function(){
    runner.animate({scrollLeft: liWidth},1000);
});
CSS:

div#carousel_wrapper{

    overflow:hidden;
    position:relative;
}

ul {
    padding:0px;
    margin:0px;
}
ul li {
    list-style:none;
    float:left;
}
ul li div {
    border:1px solid white;
    width:50px;
    height:50px;
    background-color:gray;
}
I do not want to use clone and detach method. Is there any other way to do that? Please anyone would like to guide me where I'm making mistake. I'm newbie to stack overflow and javascript/jquery also..trying to learn on my own. Forgive me I'm trying since to put my code onto the question, couldn't get neat and separate like others.

Thanks!!

javascriptjquerycsscarousel
Share
Edit
Follow
edited Feb 27, 2014 at 19:31
asked Feb 27, 2014 at 19:22
harshes53's user avatar
harshes53
42911 gold badge77 silver badges1717 bronze badges
2
We need a reinventing-the-wheel tag on SO – 
Dryden Long
 CommentedFeb 27, 2014 at 19:24
The code in the fiddle doesn't match the code in your question. – 
j08691
 CommentedFeb 27, 2014 at 19:27
@j08691 my apologies. the fiddle is updated. thanks. – 
harshes53
 CommentedFeb 27, 2014 at 19:32
Are you looking to implement the carousel from jquery framework or any other framework – 
Someone
 CommentedFeb 27, 2014 at 19:50
@Someone using jQuery framework. actually I'm trying to make plugin of it. and to make it circular/infinite. – 
harshes53
 CommentedFeb 27, 2014 at 19:58
Show 2 more comments
2 Answers
Sorted by:

Highest score (default)
3

Here you go an infinite. Could be done with less code for sure. http://jsfiddle.net/artuc/rGLsG/3/

HTML:

<a href="javascript:void(0);" class="btnPrevious">Previous</a>
<a href="javascript:void(0);" class="btnNext">Next</a>
<div class="carousel">
    <ul>
        <li>1</li>
        <li>2</li>
        <li>3</li>
        <li>4</li>
        <li>5</li>
        <li>6</li>
        <li>7</li>
        <li>8</li>
        <li>9</li>
        <li>10</li>
        <li>11</li>
        <li>12</li>
        <li>13</li>
        <li>14</li>
    </ul>
</div>
CSS:

.carousel{
        padding-top: 20px;
        width: 357px;
        overflow: hidden;
        height: 50px;
        position: relative;
    }.carousel ul{
        position: relative;
        list-style: none;
        list-style-type: none;
        margin: 0;
        height: 50px;
        padding: 0;
    }.carousel ul li{
        position: absolute;
        height: 25px;
        width: 50px;
        float: left;
        margin-right: 1px;
        background: #f2f2f2;
        text-align: center;
        padding-top: 25px;
    }
JS:

$(function(){
        var carousel = $('.carousel ul');
        var carouselChild = carousel.find('li');
        var clickCount = 0;
        var canClick = true;

        itemWidth = carousel.find('li:first').width()+1; //Including margin

        //Set Carousel width so it won't wrap
        carousel.width(itemWidth*carouselChild.length);

        //Place the child elements to their original locations.
        refreshChildPosition();

        //Set the event handlers for buttons.
        $('.btnNext').click(function(){
            if(canClick){
                canClick = false;
                clickCount++;

                //Animate the slider to left as item width 
                carousel.stop(false, true).animate({
                    left : '-='+itemWidth
                },300, function(){
                    //Find the first item and append it as the last item.
                    lastItem = carousel.find('li:first');
                    lastItem.remove().appendTo(carousel);
                    lastItem.css('left', ((carouselChild.length-1)*(itemWidth))+(clickCount*itemWidth));
                    canClick = true;
                });
            }
        });

        $('.btnPrevious').click(function(){
            if(canClick){
                canClick = false;
                clickCount--;
                //Find the first item and append it as the last item.
                lastItem = carousel.find('li:last');
                lastItem.remove().prependTo(carousel);

                lastItem.css('left', itemWidth*clickCount);             
                //Animate the slider to right as item width 
                carousel.finish(true).animate({
                    left: '+='+itemWidth
                },300, function(){
                    canClick = true;
                });
            }
        });

        function refreshChildPosition(){
            carouselChild.each(function(){
                $(this).css('left', itemWidth*carouselChild.index($(this)));
            });
        }
    });
Share
Edit
Follow
edited Feb 27, 2014 at 21:09
answered Feb 27, 2014 at 20:30
artuc's user avatar
artuc
9131111 silver badges2020 bronze badges
There was a bug when you fast click. Added finish() method to JS fiddle: jsfiddle.net/artuc/rGLsG/2 – 
artuc
 CommentedFeb 27, 2014 at 20:38
works like a charm! awesome this is what i was looking for... thanks!! but theres a small issue with it.. if you keep pressing next button, you will find an space between 1&2 li elements. – 
harshes53
 CommentedFeb 27, 2014 at 20:55
1
Yep, neither animate nor finish seems to work if you click really fast. I implemented a dirty solution to it. Please see the updated fiddle: jsfiddle.net/artuc/rGLsG/3 also removed one useless function. – 
artuc
 CommentedFeb 27, 2014 at 21:07 
yeah i see the problem with your updated fiddle. if u click left continuously and fast, u will see the first element not there + some random space in between. else previous button works awesome!! thanks though! – 
harshes53
 CommentedFeb 27, 2014 at 21:52
i think if we can fix the random space issue! – 
harshes53
 CommentedFeb 27, 2014 at 21:56
Show 1 more comment

Report this ad
3

Here you go: http://jsfiddle.net/KPKyz/5/

JS

var container = $("#carousel_wrapper");

var runner = container.find('ul');
var liWidth = runner.find('li:first').outerWidth();
var itemsPerPage = 3;
var noofitems = runner.find('li').length;

runner.width(noofitems * liWidth);
container.width(itemsPerPage*liWidth);

$('#right').click(function() {
    $( runner  ).animate({ "left": "-=51px" }, "slow" );
});


$('#left').click(function() {
    $( runner  ).animate({ "left": "+=51px" }, "slow" );
});
CSS

div#carousel_wrapper{

 overflow:hidden;
 position:relative;
 width:500px;
 height: 100px;
}

ul {
 padding:0px;
 margin:0px;
 position: absolute;
 top:50px;
 left: 0px;
 width:300px;
 height: 50px;
 overflow: hidden;
 }
 ul li {
   list-style:none;
  float:left;
 }
ul li div {
  border:1px solid white;
  width:50px;
  height:50px;
  background-color:gray;
}
Share
Edit
Follow
answered Feb 27, 2014 at 19:53
Ani's user avatar
Ani
4,52344 gold badges2828 silver badges3232 bronze badges
Thanks, was looking for something like that without additinoal plugins – 
user133408
 CommentedFeb 27, 2014 at 19:58
1
Oh..I thought you were OP :P ...My bad – 
Ani
 CommentedFeb 27, 2014 at 19:59 
@Ani thats awesome. two more question. why i cannot use liWidth if I'm not aware of the width? how can i make it circular/infinite?? appreciate it. – 
harshes53
 CommentedFeb 27, 2014 at 20:02
1
Oh...I didn't knew you want circular...hold on – 
Ani
 CommentedFeb 27, 2014 at 20:04
Add a comment
Your Answer
Reminder: Answers generated by AI tools are not allowed due to Stack Overflow's artificial intelligence policy

Some of your past answers have not been well-received, and you're in danger of being blocked from answering.

Please pay close attention to the following guidance:

Please be sure to answer the question. Provide details and share your research!
But avoid …

Asking for help, clarification, or responding to other answers.
Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.

Start asking to get answers

Find the answer to your question by asking.

Explore related questions

javascriptjquerycsscarousel
See similar questions with these tags.

The Overflow Blog
Can climate tech startups address the current crisis?
What we learned at TDX 2025
Featured on Meta
Community Asks Sprint Announcement - March 2025
Meta Stack Exchange site maintenance scheduled starting Monday, March 17,...
Policy: Generative AI (e.g., ChatGPT) is banned
Stacks Editor development and testing
Is it better to redirect users who attempt to perform actions they can't yet...
Hot Meta Posts
14
What is the role of this new bottom notice on questions, below the answer box?

Report this ad

Report this ad
Linked
0
Scrolling/carousel with interval
-1
jQuery carousel - disable next/previous link when last item on the list is reached
Related
0
jQuery carousel
0
Circular Carousel (jQuery)
0
Make a carousel with divs
0
Carousel Jquery/Javascript
4
Trying to create a carousel effect with jQuery
0
how to make a jquery carousel
3
Make a carousel using JavaScript
0
Please help me with this carousel
0
Using JQuery to carousel through divs
0
How can i make this carousel working with JS and CSS?
Hot Network Questions
Has the Trump administration explained how they're going to get people to the Moon/Mars if they're reducing the size of NASA?
Building an 8080 based computer
PTIJ: Why did Mordechai insist on Esther ploughing (החרש תחרישי) at such a crucial moment?
Does this average exist?
Is the US debt "crisis" fake?
Is Oz a real place?
With what to replace uBlock Origin now after Google Chrome nerfed it?
What arguments can a developer make to management that he could be Product Owner for his Scrum team?
Is crypto sniping illegal?
Did Trump campaign against gay people?
Do any Tribes actively involve kinfolk in the fight for Gaia?
Why are the download sizes so much bigger than they actually are?
How can visa officials know I ‘visa shopped’
Converting EU motors 230V 30A for U.S. use
How do I start a tie from a grace note to another note in Lilypond?
Am I better off concocting my own chain wax?
How to Reorder Piecewise Function Compositions
What is the swap.img in Disk Analyzer
Did Asimov ever comment on whether the name of this Foundation character was a deliberate clue?
How would a society with no wood reliably heat itself?
"Naïve category theory", or, pedagogy and how to Introduce natural transformations?
Why Do We Take the Derivative of the Basis Vector When Calcuating the Acceleration in Polar Coordinates?
The arrows are not aligning
How to mount a headboard intended for bed to a wall instead?
 Question feed

Stack Overflow
Questions
Help
Chat
Products
Teams
Advertising
Talent
Company
About
Press
Work Here
Legal
Privacy Policy
Terms of Service
Contact Us
Cookie Settings
Cookie Policy
Stack Exchange Network
Technology
Culture & recreation
Life & arts
Science
Professional
Business
API
Data
Blog
Facebook
Twitter
LinkedIn
Instagram
Site design / logo © 2025 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2025.3.14.23870

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): guide me
  • Blacklisted phrase (0.5): how can i
  • Blacklisted phrase (0.5): How can i
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): How do I
  • Blacklisted phrase (1): Is there any
  • Blacklisted phrase (0.5): i cannot
  • Blacklisted phrase (3): Please anyone
  • RegEx Blacklisted phrase (3): Please help me
  • RegEx Blacklisted phrase (1.5): reputation
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): See similar question
  • Low reputation (1):
Posted by: Umer Masood

79509056

Date: 2025-03-14 12:23:38
Score: 1
Natty:
Report link

People forgot to mention lokalise ota sdk, that's what this question was asking for, but technically I don't like the solution.

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

79509052

Date: 2025-03-14 12:22:38
Score: 3
Natty:
Report link

C2DM (Cloud to Device Messaging) is outdated and has been replaced by Firebase Cloud Messaging (FCM). While FCM is excellent for sending push notifications to Android devices (e.g., alerting users of new messages when the app is in the background), it’s not ideal for real-time chat. FCM introduces potential delays, as it relies on Google’s infrastructure to deliver messages, which may not meet the instant delivery needs of a chat app.
Instead of managing your own WebSocket server or relying on FCM, I recommend using HPKV’s real-time pub/sub feature. HPKV is a key-value store that offers real-time key monitoring through a managed WebSocket-based pub/sub system. This approach simplifies your architecture by providing instant updates without the overhead of running your own server or message broker (like RabbitMQ or Kafka)

For more context, check out this article which demonstrates a similar approach with NextJS. While it’s web-based, the principles apply to Android with some adjustments.

Reasons:
  • Blacklisted phrase (1): this article
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ehsan

79509049

Date: 2025-03-14 12:21:38
Score: 3.5
Natty:
Report link

enter image description here

Just right click on the top most bar of your vs code (area in red circle), and select "Command Center".

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

79509046

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

I want to save the data locally on my watch no matter what. It seems like I should be using Jetpack Datastore here

Yes, but see this note:

If you need to support large or complex datasets, partial updates, or referential integrity, consider using Room instead of DataStore. DataStore is ideal for small, simple datasets and does not support partial updates or referential integrity.


it makes sense to have a standalone app

Yes, that's the general recommendation, and it doesn't look like in your case, the phone is needed to increase/decrease counters:

We recommend that Wear OS apps work independently of a phone so users can complete tasks on a watch without access to an Android phone


Should I be using Datastore on the watch and then use something like Wearable Data Layer API to sync the data between mobile and watch, whenever they are connected?

Or does it make more sense to use a cloud storage, like AWS, to upload the data to the cloud and synchronize the devices independently of each other?

Yes, Wear Data Layer API will take care of "synchronize the devices independently of each other whenever they are connected" for you:

Data is transferred in one of the following ways:

  1. Directly, when there is an established Bluetooth connection between the Wear OS device and another device.
  2. Over an available network, such as LTE or Wi-Fi, using a network node on Google's servers as an intermediary.

More resources on this:


if someone has some guidance on that as well, I would appreciate that

Reasons:
  • Blacklisted phrase (1.5): would appreciate
  • Whitelisted phrase (-1): in your case
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Gustavo Pagani

79509036

Date: 2025-03-14 12:14:36
Score: 1
Natty:
Report link

You're using the wrong EventArgs class. You need TappedEventArgs

private void OnFrameClick(object sender, TappedEventArgs e)
{
    if(e.Parameter is Shipment shipment)
    {
        //TODO
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: UršKA

79509033

Date: 2025-03-14 12:12:36
Score: 2
Natty:
Report link

It seems that it's no longer possible in Meta Quest v74. They've blocked access to the accounts, but they still appear when running adb shell dumpsys accounts.

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

79509025

Date: 2025-03-14 12:08:35
Score: 2.5
Natty:
Report link
In my case, just Close Project and Open Project.
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: LeoRibeiro

79509018

Date: 2025-03-14 12:07:34
Score: 1.5
Natty:
Report link

I have same issue today. After windows update, process that I use several years stops working.

In my case solution was:

Hope it helps someone

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have same issue
  • Low reputation (1):
Posted by: Michal

79509011

Date: 2025-03-14 12:05:34
Score: 3
Natty:
Report link

I have just fixed it. Instead "Digest Auth" you should configure it in web UI like "digest/basic".

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

79508981

Date: 2025-03-14 11:51:31
Score: 2
Natty:
Report link

A new browser extension for Google Chrome and Firefox has been released. More details about the extension can be found in the blog post: JetBrains Xdebug Helper – Official Release.

The relevant documentation has also been updated: Browser Debugging Extensions in PhpStorm. Give them a try!

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

79508975

Date: 2025-03-14 11:50:30
Score: 10.5 🚩
Natty: 5.5
Report link

i have the same issue, someone managed to fix it?

Reasons:
  • Blacklisted phrase (1): i have the same issue
  • RegEx Blacklisted phrase (1.5): fix it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: alona zarenkin

79508968

Date: 2025-03-14 11:48:29
Score: 2.5
Natty:
Report link

Super late to this thread but want to put an answer in for anyone who comes in later.

You can now use AdminUserGlobalSignOut via the Cognito API to revoke all active identity tokens for a specified user.

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

79508959

Date: 2025-03-14 11:43:28
Score: 3
Natty:
Report link

if(object == sharedObject.data()) return true; // If Equal

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: DINESH KUMAR C

79508942

Date: 2025-03-14 11:38:27
Score: 0.5
Natty:
Report link
if 'options' in self.__dict__:
    del self.options

If you don't want to get errors if cache not set

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

79508932

Date: 2025-03-14 11:33:26
Score: 1
Natty:
Report link

No need for any tokens nor api version:


curl --write-out "%{http_code}\n" -o /dev/null -sL http://localhost:4440/
200

200 response means it is up and running.

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

79508903

Date: 2025-03-14 11:23:23
Score: 1.5
Natty:
Report link

This work for me:
1. Uninstall current "VS Build Tool" and install "VS Community 2022" with below modules:

2. Reboot the computer

3. Re run "yarn" in vscode folder

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

79508900

Date: 2025-03-14 11:22:23
Score: 0.5
Natty:
Report link

As an addition to the previous answers:

Since C# 12, collection expressions can also be used. This simplifies the conversion to:

List<ProfitMargin> profitMargin = [.. await conn.QueryAsync<ProfitMargin>(sqlQuery, new { QuoteId = QuoteIds.ToArray()})]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Grimm

79508889

Date: 2025-03-14 11:18:22
Score: 2
Natty:
Report link

there is new lib named ChartForgeTk it's intercative and modern

pip install ChartForgeTK
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ghassen Saïdi

79508882

Date: 2025-03-14 11:16:22
Score: 1.5
Natty:
Report link

Don't yet have enough reps to leave this as a comment.

Can you attach your cloudbuild.yaml and a screenshot (with enough detail) of your error to your question. I'd need some more insight into the components of your current setup to properly assist.

That said, basically the issues looks to be coming from the wrong project ID. I'd probably start by tracking that down.

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

79508878

Date: 2025-03-14 11:14:20
Score: 10 🚩
Natty: 5.5
Report link

I am facing a similar issue while trying to deploy a Hyperledger Fabric blockchain network for my final year project.

You mentioned that switching to WSL2 helped you resolve the problem. Could you please share the detailed steps you followed to:

1. Set up WSL2 and Ubuntu.

2. Install Hyperledger Fabric.

3. Deploy the network and run the sample chaincode successfully.

I would really appreciate your guidance, as I have been struggling to resolve this issue. Thank you in advance!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (2.5): Could you please share
  • RegEx Blacklisted phrase (3): Thank you in advance
  • No code block (0.5):
  • Me too answer (2.5): I am facing a similar issue
  • Low reputation (1):
Posted by: sudhakar P

79508866

Date: 2025-03-14 11:09:18
Score: 4
Natty:
Report link

They have root key key at their api docs at the top of the page "Download the Attestation Report Root CA Certificate here"
https://api.portal.trustedservices.intel.com/content/documentation.html

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: nagibator228

79508862

Date: 2025-03-14 11:08:18
Score: 11.5
Natty: 7.5
Report link

i have the same problem as you . If you did find the solution, can you share it with us ?

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • RegEx Blacklisted phrase (2.5): can you share
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: med anis dev

79508858

Date: 2025-03-14 11:08:17
Score: 7 🚩
Natty: 5
Report link

i followed that same documentation, still can't able too integrate mappls with react native. please help me if knw more

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): please help me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rakshith A V

79508851

Date: 2025-03-14 11:04:16
Score: 1
Natty:
Report link
function session_regenerate_id(bool $delete_old_session = false): bool {}

This is how the function is created, so just call the function without passing params

session_regenerate_id();

or

session_regenerate_id(false);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: John Roshan

79508848

Date: 2025-03-14 11:03:16
Score: 0.5
Natty:
Report link

And here is the OpenSCAD version, credit to user3717023 for the answer:

/* [Hidden] Constants */
point_color="lime";
golden_ratio = (sqrt(5)+1)/2; //1.618

/* [Dimensions] */
boundary_diameter = 120;
point_diameter = 4;

/* [Spiral] */
point_count = 450;
alpha=0;
golden_angle_coeff = 1.0;//0.99995;// e.g. 0.9995;

boundary_radius = boundary_diameter/2;
points_radius = point_diameter/2;
golden_angle = (360 - (360 / golden_ratio)) * golden_angle_coeff; //aka 137.5;

function radius(k,n,b) = (k > n-b) ?  1 : sqrt(k-1/2)/sqrt(n-(b+1)/2);
    
module sunflower( point_count, outer_radius, angle_stride, alpha) 
{    
    boundary_points = round(alpha * sqrt(point_count));  
    for (k = [1:point_count])    {
        r = radius(k, point_count, boundary_points) * outer_radius;
        theta = k * angle_stride;          
        rotate([0,0,theta]) translate([r,0,0]) children();
    }
}

union() {
    cylinder(d=boundary_radius*2, h=3, $fn=50);
    sunflower(point_count, boundary_radius-points_radius, golden_angle, alpha)
        color(point_color) cylinder(r=points_radius, h=3.5);
}

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): user3717023
Posted by: Crog

79508840

Date: 2025-03-14 11:00:15
Score: 2
Natty:
Report link

I tried the dummy code with NVDA V2024.4.2.35031 and Chrome V134.0.6998.89 and everything worked, it seems your problem is due to a browser or screen reader issue. As you stated in the comment's the problem was due to the browser being outdated.

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

79508836

Date: 2025-03-14 10:58:15
Score: 2
Natty:
Report link

Blockchain needs to be a trust-less network where you can rely on storing value transfers safely. Leading zeroes on every block are achieved by iterating a nonce value, that ensures immutability because there is no other way to get the right hashes without re-doing all proof of work to find it. You cannot rely on a regular database because on a decentralized peer to peer network, someone would be able to alter some data on its own benefit breaking the trustless system

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

79508821

Date: 2025-03-14 10:53:14
Score: 2.5
Natty:
Report link

Looking at the documentation, CDK construct for SNS Text Messaging doesn't exist nor do CloudFormation template for it.

CDKTF has it because, as far as I know, TF doesn't use CloudFormation but uses AWS API instead.

If you look at https://github.com/markilott/aws-cdk-configure-sns/blob/main/lib/sns-config-stack.ts#L108-L123, it's using AwsCustomResource. That's what you can do as well, create your own CustomResource.

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

79508808

Date: 2025-03-14 10:46:12
Score: 4
Natty:
Report link

I guess I'll just do a backup and restore then.

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

79508796

Date: 2025-03-14 10:43:11
Score: 2
Natty:
Report link

I don´t know what is contained in your HPV_subtypes object, but if it is the tibble that can be created from the code below, then you´re passing a vector to the d argument in graph_from_data_frame . Instead you need to pass a dataframe with two columns (the first two in your dataframe), usually named from and to, which specify the association between your components in the dataframe. The remaining columns are regarded as edge attributes, if the vertices argument is NULL , which is the default. Have a look at the example from the ?graph_from_data_frame help page.

What do you want to achieve with this code? is it just for visualization, or do you want to use this graph for computation purposes?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: ChickenTartR

79508795

Date: 2025-03-14 10:43:11
Score: 1
Natty:
Report link

Try to Debugging with Developer Tools:

  1. Open Developer Tools: Right-click on the page, select "Inspect" or press F12 on your keyboard.
  2. Use the "Elements" Tab: Check the structure of the page. Look for any unwanted divs, containers, or elements that are creating the background or unnecessary padding/margins.
  3. Check Styles in the "Styles" Tab: You can also see which CSS properties are being applied to certain elements. Look for padding, margins, or background color that could be coming from an unexpected source.
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Anto Navis

79508791

Date: 2025-03-14 10:41:11
Score: 0.5
Natty:
Report link

Wow thank you very much @Topaco for such a detailed answer - I tried it and it worked perfectly.

To answer the key derivation part of my own question, here's a faster performing version of the same key derivation. (Testing both the one you suggested Topaco (with the modifications you suggested) and this one, this was about 3x faster (I guess because it uses OpenSSL's deprecated MD5 functions which I read somewhere are faster performing than the new EVP functions).

char keyandiv[144];
unsigned char key[128];
unsigned char iv[16];
unsigned char digest[16];
int countingsize;
MD5_CTX ctx;
while (countingsize < 144 ) {
    MD5_Init(&ctx5);

    if (countingsize > 0) {
    MD5_Update(&ctx, digest, sizeof(digest));
    }
    MD5_Update(&ctx, password, sizeof(password));
    MD5_Update(&ctx, (unsigned char*)salt, sizeof(salt));
    MD5_Final(digest, &ctx5);   

    for (int j = 1; j < 10000; j++) {
        MD5_Init(&ctx);
    MD5_Update(&ctx, digest, sizeof(digest));
    MD5_Final(digest, &ctx);
    }

    memcpy(keyandiv + countingsize, digest, sizeof(digest));
    countingsize += sizeof(digest);
}

strncpy((char*) &key, keyandiv, 128);
for(int i5=128; i5<144; i5++){
    iv[i5-128] = keyandiv[i5];
}
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Whitelisted phrase (-1): it worked
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Topaco
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: singlethread

79508787

Date: 2025-03-14 10:40:10
Score: 7 🚩
Natty:
Report link

Any resolution? I have the same issue. For me I can't docker pull anything also, e.g. docker pull postgres.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yasser Ansari

79508768

Date: 2025-03-14 10:30:07
Score: 11 🚩
Natty: 6.5
Report link

Did you find solution? I have the same problem.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): Did you find solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find solution
  • Low reputation (1):
Posted by: Michał Kostrzewa

79508756

Date: 2025-03-14 10:25:05
Score: 1
Natty:
Report link

You may use multitail utility

multitail -l "command1" -l "command2"

It spits screen and show output in different views

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

79508754

Date: 2025-03-14 10:24:05
Score: 1
Natty:
Report link

It's back to normal now for me, I rolled back to a previous commit with the Firebase App Hosting interface, it worked, and triggered a new rollout from my branch, it worked as well.

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

79508753

Date: 2025-03-14 10:24:05
Score: 4.5
Natty: 5
Report link

Generic HTTP(S)/JSON Connector and https://botium.atlassian.net/wiki/spaces/BOTIUM/pages/38502401/Writing+own+connector this both pages do not exist

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

79508751

Date: 2025-03-14 10:23:05
Score: 1
Natty:
Report link

I recently encountered a requirement to encrypt and decrypt messages in my project. After some research, I found a way to achieve this using @metamask/eth-sig-util. Below is the approach I used ( this is only available for Metamask as only Metamask is allowing encryption/decryption until now ).

Encryption
To encrypt the message, I used the encrypt function from @metamask/eth-sig-util:

import { encrypt } from "@metamask/eth-sig-util";

const encrypted = encrypt({
 publicKey: encryptionPublicKey,
 data: inputMessage, // The message to encrypt
 version: "x25519-xsalsa20-poly1305",
});

const encryptedString =
 "0x" + Buffer.from(JSON.stringify(encrypted)).toString("hex");

Decryption
To decrypt the encrypted message, I used eth_decrypt provided by MetaMask:

const decrypted = await window.ethereum.request({
method: "eth_decrypt",
params: [encryptedData, address],
});

This approach worked seamlessly in my project. Hope this helps someone facing a similar issue! 🚀

Let me know if you have any questions.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing a similar issue
  • Low reputation (1):
Posted by: Fayk

79508743

Date: 2025-03-14 10:19:03
Score: 1.5
Natty:
Report link

CloudFront still expects CachedMethods when using ForwardedValues. Although the AWS SDK v2 marks it as deprecated, u must explicitly set it when ForwardedValues is defined.I think u should modify your newBehavior struct by adding the CachedMethods field under ForwardedValues

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nguyễn Minh Chiến

79508742

Date: 2025-03-14 10:18:03
Score: 2
Natty:
Report link

I was facing the same issue and based on trial an error I found out that updating the deploymentMethod to "zipDeploy" worked.

For some reason using "runFromPackage" or even "auto" both slots points to the same deployed package.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Otávio Azevedo

79508740

Date: 2025-03-14 10:18:03
Score: 0.5
Natty:
Report link

After trying :

find /var/www/html -type d -exec chmod 755 {} \; to give permissions for folders

find /var/www/html -type f -exec chmod 644 {} \; to give permissions for files

What did it for me was this command :

sudo chown -R www-data:www-data /var/www/html

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

79508736

Date: 2025-03-14 10:17:03
Score: 1.5
Natty:
Report link

The problem is still there (Xcode 16.2, MacOS 15.3.2). As far as I can tell, it occurs when the same custom font is both distributed in the catalyst app and also installed on Mac. The app runs on under Mac Catalyst from Xcode, but the generated app will not open on Mac. A workaround is to disable the custom font on Mac in Font Book (or remove it)

I have reported as FB16864964

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

79508734

Date: 2025-03-14 10:16:02
Score: 4
Natty:
Report link

https://www.npmjs.com/package/react-to-print React-to-print will work for it install and follow guide, happy coding!

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

79508729

Date: 2025-03-14 10:15:02
Score: 2.5
Natty:
Report link
  1. Download the latest protobuf version from https://github.com/protocolbuffers/protobuf/releases

  2. search for runtime_version.py within the download

  3. copy that file into the folder given by the error message (...Lib\site-packages\google\protobuf)

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

79508720

Date: 2025-03-14 10:13:01
Score: 2
Natty:
Report link

I think it could be due to accumulated stale connections. My suggestions are:

1, Adjusting the maximum pool size would also help.

2, Closing established connections when your app shutsdown so they can be returned back to the pool. Check if you forgot that.

3, As the answer above says, adjusting the settings for connection timeout, and socket timeout and maxidletime might also fix the issue.

You can find the docs here, check it out.

Reasons:
  • Blacklisted phrase (0.5): check it out
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nathnael Dereje

79508716

Date: 2025-03-14 10:12:01
Score: 3.5
Natty:
Report link

the result is great! if you are using amd cpus, try it!

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

79508711

Date: 2025-03-14 10:10:01
Score: 1
Natty:
Report link

You can also want to use a function with two arguments: name and item. In this case mapply() is your friend:
score <- list(name1 = 1, name2 = 2)
res <- mapply(names(score), score, FUN=function(nm, it) it*nchar(nm))

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

79508710

Date: 2025-03-14 10:09:00
Score: 2
Natty:
Report link

SELECT top 1 CONCAT(P.FNAME, ' ', P.SNAME, ' ', COUNT(E.EPI_NO)) AS Info FROM EPISODES E

JOIN PRESENTERS P ON E.PRES_ID = P.PRES_ID

GROUP BY P.PRES_ID, P.FNAME, P.SNAME

ORDER BY COUNT(E.EPI_NO) DESC

This gives the fname and lname of the Presenter who has done the max number of episodes.

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

79508705

Date: 2025-03-14 10:04:59
Score: 1
Natty:
Report link

@Ruikai Feng, you are absolutely right! I cannot believe I have used such a naive, faulty approach :-(. I have added a simple Microsoft.Playwright test to verify the erroneous behavior. After that, I have refactored the CustomAuthenticationStateProvider to Implement the IAuthenticationStateProvider directly and use HttpContext to obtain the custom request header:

public class CustomAuthenticationHandler : IAuthenticationHandler 
{
  public const string SchemeName = "CustomAuthenticationScheme"; 
  private const string UserNameHeaderName = "X-Claim-UserName";
  
  private HttpContext? _httpContext;
  
  public CustomAuthenticationHandler()
  {
  }
  
  public Task<AuthenticateResult> AuthenticateAsync()
  {
    if (this._httpContext is null)
    {
      return Task.FromResult(AuthenticateResult.Fail("No HttpContext"));
    }
    if (!this._httpContext.Request.Headers.TryGetValue(UserNameHeaderName, out var userName) || (userName.Count == 0))
    {
      return Task.FromResult(AuthenticateResult.Fail("No user name found in the request headers."));
    }
    return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(CreateClaimsPrincipal(userName.ToString()), SchemeName)));
  }
  // Code omitted for clarity
  public Task InitializeAsync(AuthenticationScheme scheme, HttpContext context)
  {
    this._httpContext = context;
    return Task.CompletedTask;
  }
  
  private ClaimsPrincipal CreateClaimsPrincipal(string userName = "DEFAULT")
  {
    var claims = new[] { new Claim(ClaimTypes.Name, userName) };
    var identity = new ClaimsIdentity(claims, SchemeName);
    return new ClaimsPrincipal(identity);
  }
}

Register the provider with a custom scheme in the DI container:

// Add our custom authentication scheme and handler for request headers-based authentication..
  builder.Services.AddAuthentication(options =>
  {
    options.AddScheme<CustomAuthenticationHandler>(
      name: CustomAuthenticationHandler.SchemeName, 
      displayName: CustomAuthenticationHandler.SchemeName);
  });

I hope that this is finally the correct way to do the authentication based on trusted request headers. I would really like to hear your opinion.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Ruikai
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Palo Mraz

79508699

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

You can achieve this in VS Code by updating the settings:

Go to Settings and set "window.titleBarStyle" to "native".

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

79508696

Date: 2025-03-14 09:59:58
Score: 1.5
Natty:
Report link

I found a good explanation of why those messages are failing. Hope it helps.
Explanation

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jaime

79508694

Date: 2025-03-14 09:59:58
Score: 1
Natty:
Report link

The issue arises because HashRouter uses # for routing, while Spotify authentication response also appends the access token after #, causing a conflict. When Spotify redirects back, the token gets mixed with the routing, making it difficult to extract. A workaround is to manually parse the URL fragment in JavaScript using window.location.href.split("#")1 to extract the token separately. Alternatively, consider using BrowserRouter and deploying your app on Vercel or Netlify, which support proper SPA routing. If you're interested in Spotify-related solutions, including accessing Spotify Premium features, you might find Spotifine.com helpful. It provides insights and downloads for enhancing your Spotify experience.

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

79508688

Date: 2025-03-14 09:57:58
Score: 3.5
Natty:
Report link

delete android studio pls worst IDE ever

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

79508685

Date: 2025-03-14 09:56:58
Score: 1.5
Natty:
Report link

I had a similar issue. I can select add docker-compose but I get the error "An error occured while sending request".

I had updated Microsoft.VisualStudio.Azure.Containers.Tools.Targets to newst version. I think it might be because I upgraded to .NET 9

Reasons:
  • RegEx Blacklisted phrase (1): I get the error
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Michael Skirda

79508681

Date: 2025-03-14 09:55:57
Score: 3
Natty:
Report link

strong password create

Download Simontok VPN https://si-montok.pro/

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Simontok APK

79508677

Date: 2025-03-14 09:55:57
Score: 3
Natty:
Report link

You could just use https://mvnpm.org/ (free) and just put the dependency you want in the pom!

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

79508666

Date: 2025-03-14 09:51:56
Score: 1.5
Natty:
Report link

So the only way you can a create a secure string that can be used on multiple machines is to use a key when you create the password.

On the first machine run the following to make the secure string

$Key = (3,4,2,3,56,34,254,192,1,1,2,23,42,54,33,233,1,34,2,7,6,5,35,43)

read-host -assecurestring | convertfrom-securestring -key $Key | out-file C:\Scripts\test\securestring_movable.txt

type in the password at the prompt

then copy the secure string file onto a another machine and run

$Key = (3,4,2,3,56,34,254,192,1,1,2,23,42,54,33,233,1,34,2,7,6,5,35,43)

$password = cat C:\Scripts\test\securestring_movable.txt | ConvertTo-SecureString -Key $Key

In my use case only the secure string file lives on the remote machine. I then use Zoho's Desktop Central or Heimdal to run the script remotely. That way the key and the secure string are not on the same machine.

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

79508660

Date: 2025-03-14 09:49:56
Score: 4.5
Natty: 5
Report link

Stakater Reloader supports this now: https://github.com/stakater/Reloader/pull/808

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

79508656

Date: 2025-03-14 09:47:55
Score: 0.5
Natty:
Report link

How about selecting the right url dynamically within your application. Sample say.

export const getApiUrl = () => {
  if (typeof window === 'undefined') {
    // Server
    return process.env.SERVER_PYTHON_API;
  } else {
    // Client
    return process.env.NEXT_PUBLIC_PYTHON_API;
  }
};

Then when making API calls, use the function to get the correct URL. Sample like

const fetchData = async () => {
  const apiUrl = getApiUrl();
  const response = await fetch(`${apiUrl}/your-endpoint`);
  const data = await response.json();
  return data;
};

With this you can work with both URL's. And update docker compose env with both url

 environment:
      - NEXT_PUBLIC_PYTHON_API=http://localhost:8000
      - SERVER_PYTHON_API=http://server:8000
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: Tobi Akintunlese

79508655

Date: 2025-03-14 09:47:55
Score: 0.5
Natty:
Report link

I got the answer.

In the bpy code at last I am doing:

const finalCode = `${userCode}\n\nfor obj in bpy.context.scene.objects:\n    obj.select_set(True)\nbpy.ops.wm.usd_export(filepath="/workspace/${outputName}", export_textures=True, export_materials=True, export_animation=True)`

this exports in Universal Scene Description(USD) and save in a file(/workspace/outputName). Since ${tempDir}:/workspace, which is why the file is stored in ${tempDir}/${outputName}

I could give the output to user now.

Solved!

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

79508651

Date: 2025-03-14 09:45:55
Score: 0.5
Natty:
Report link

In graph2vec using networkx, the label and feature should be numerical for the purpose of training. You did not use the right structure so it won't find the graphs

G.add_node(0, label = 1, feature=0.5)
G.add_node(1, label = 2, feature=1.2)
G.add_node(2, label = 3, feature=0.8)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Coco Q.

79508648

Date: 2025-03-14 09:44:54
Score: 4.5
Natty: 4
Report link

You can try the CANoe DLT Add-On to parse DLT messages: https://www.vector.com/int/en/download/canoe-add-on-for-autosar-diagnostic-log-and-trace-dlt-2-7-2/

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

79508639

Date: 2025-03-14 09:41:53
Score: 5
Natty: 5
Report link

Here is a lib that provide a @Transactional annotation for nestjs and drizzle (and others ORM) : https://papooch.github.io/nestjs-cls/plugins/available-plugins/transactional/drizzle-orm-adapter

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Transactional
  • Single line (0.5):
  • Low reputation (1):
Posted by: web cedric

79508637

Date: 2025-03-14 09:40:53
Score: 1
Natty:
Report link

Hey I was also having the same video/issue

The auth is being exported from @clerk/nextjs/server Updated doc on auth()and it is asynchronous function

use this while importing it

import { auth } from "@clerk/nextjs/server"

and

const page = async () => {

const { userId } = await auth(); ... }

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

79508630

Date: 2025-03-14 09:35:52
Score: 1.5
Natty:
Report link

Use command line arg ”--user-data-dir“ to run chrome as many physically separated instances as you want.

e.g.

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir=d:\chrome-profile\test

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

79508627

Date: 2025-03-14 09:34:52
Score: 2
Natty:
Report link

Initialize error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') at puppeteer_evaluation_script:5:95

"whatsapp-web.js": version updated from "1.23.0" to "1.26.0", It solved my problem.

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

79508607

Date: 2025-03-14 09:26:50
Score: 2.5
Natty:
Report link

Late answer but I had the problem now and solved it now with none of the proposed solutions.

Though I agree with @axiac about conditionally using a trait depending on its existence, I had a similar problem of conditional use of traits (based on other conditions).

class_alias() is your friend here.

https://stackoverflow.com/a/79508550/3872061

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @axiac
  • Low reputation (0.5):
Posted by: fpierrat

79508606

Date: 2025-03-14 09:26:50
Score: 1
Natty:
Report link

You need to do the setting to remove that behavior first, that you can find at

Settings > Tools > Actions on Save

Uncheck the Reformat code , you can pick some file types to apply this or not.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Dhana D.

79508595

Date: 2025-03-14 09:24:49
Score: 2
Natty:
Report link

I had a similar issue on PhpStorm 2023.3.8

Turned out that I've marked the directory as excluded. When I removed the exclusion the option to run the file as PHP was visible again.

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

79508593

Date: 2025-03-14 09:24:48
Score: 9 🚩
Natty: 5.5
Report link

I have the same problem as you, have you solved it?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (2): have you solved it
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Flec

79508590

Date: 2025-03-14 09:23:48
Score: 3
Natty:
Report link

After hours of debugging, I came across this comment in github, which solves my problem. I hope those who face this issue can also look into this comment, which will be helpful, thank you! https://github.com/facebook/react/issues/11538#issuecomment-390386520

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Selvakumar Sekar

79508582

Date: 2025-03-14 09:21:48
Score: 1
Natty:
Report link

Remove all the dlls from your app and install the following:

For more details, you can refer to this forum post.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Dheeraj Malik

79508559

Date: 2025-03-14 09:11:46
Score: 0.5
Natty:
Report link

I created a library for generating presigned URLs for S3 objects: aws-simple-sign.

It works well with Cognitect's aws-api library, as it can reuse the same client (credentials).

Additionally, it supports Babashka, where the AWS Java SDK isn't available.

Tested with both AWS and MinIO, but it should work with any S3-compatible provider.

Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
Posted by: Jacob

79508543

Date: 2025-03-14 09:02:44
Score: 8.5 🚩
Natty: 5.5
Report link

Sorry, bro, I'm sorry I can't answer your question, but I actually want to ask you one, if that's OK. I'm finishing my studies in computer science and my thesis involves integrating BPEL orchestration with blockchain and smart-contracts. I'm having an enormous difficulty in being able to run BPEL somewhere. No modern IDE supports it natively any more and above all, I can't even configure Apache ODE on Tomcat, as it requires too old a version of Java. I read that you are using BPEL, could you tell me how you did it? How do I create a BPEL development environment?

Reasons:
  • Blacklisted phrase (1): How do I
  • RegEx Blacklisted phrase (2.5): could you tell me how you
  • RegEx Blacklisted phrase (0.5): sorry I can't
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Fonz Za

79508540

Date: 2025-03-14 09:01:43
Score: 2.5
Natty:
Report link

Laravel does not provide a direct money column type.
I think using decimal is the better option, but if u really need the money type then use raw SQL

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

79508536

Date: 2025-03-14 08:58:42
Score: 2
Natty:
Report link

I recently encountered an issue with Podman Desktop on my Apple Silicon MacBook, where the application failed to initialize properly. After some troubleshooting, I found a solution that might help others facing the same problem.

Problem Description

When launching Podman Desktop, the console displayed an error message indicating that the initialization failed. The specific error was related to permission issues, and the application did not start correctly.

Solution Steps

  1. Open Terminal
    Launch the Terminal application on your MacBook.

  2. Run Podman Desktop with Elevated Permissions
    Execute the following command to start Podman Desktop with sudo privileges:

    sudo /Applications/Podman\ Desktop.app/Contents/MacOS/Podman\ Desktop
    

    This command allows the application to initialize with the necessary permissions.

  3. Allow Initialization to Complete
    Keep the Terminal window open and let Podman Desktop complete its initialization process. This step is crucial as it ensures that all required directories and configurations are set up correctly.

  4. Exit and Restart Podman Desktop
    Once the initialization is complete, close the Terminal window and exit Podman Desktop. Then, restart the application normally (either from the Applications folder or via Spotlight).

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same problem
  • Low reputation (1):
Posted by: user29974548

79508527

Date: 2025-03-14 08:51:41
Score: 0.5
Natty:
Report link

If you use Quasar, there is openURL function:

import { openURL } from 'quasar'

openURL(
  'http://...',
  undefined,
  {
    target: '_blank'
  }
)

Docs:

  1. https://quasar.dev/quasar-utils/other-utils/#openurl
  2. https://developer.mozilla.org/en-US/docs/Web/API/Window/open#target
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Eugene Gr. Philippov

79508521

Date: 2025-03-14 08:49:41
Score: 2
Natty:
Report link

I also developed an application that listens to SMS. I did a lot of research but I couldn't solve this with Flutter. And I did it with Kotlin. If the application is going to be open all the time, you need to get permission from the user to ignore battery optimization. Don't forget to get permission for SMS too. (These may be sensitive permissions) If you want to review it, you can look here ->> https://github.com/dcicek/read_sms

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

79508507

Date: 2025-03-14 08:44:39
Score: 0.5
Natty:
Report link

to sort files by last modification time you can try :

find . -type f -printf "\n%TF-%TT %p" | sort

to sort by reverse order and to remove the prefix you can try :

find . -type f -printf "\n%TF-%TT %p" | sort -r | cut -d " " -f 2

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

79508499

Date: 2025-03-14 08:42:39
Score: 0.5
Natty:
Report link

I'm using Python 3.13 and ran into the same problem. I found out about the library pytubefix, which basically is a working version of pytube. I stumbled upon it randomly while checking out this github repository.

Try installing it using pythom -m pip install pytubefix, import it in your program and it should work just fine.

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

79508490

Date: 2025-03-14 08:38:38
Score: 4
Natty:
Report link

Using the @Embedded annotation will make it more troublesome to upgrade the database, and you should also pay attention to where it is referenced.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Embedded
  • Single line (0.5):
  • Low reputation (1):
Posted by: Taotao Xue

79508486

Date: 2025-03-14 08:38:38
Score: 2.5
Natty:
Report link

This happens because of the cross-domain, I also faced this problem in my project, and I couldn't resolve it so I served my front-end from the back-end. And deployed as a single domain now it will work.

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

79508483

Date: 2025-03-14 08:36:37
Score: 2.5
Natty:
Report link

I solved this issue by adding '%M2_HOME%\bin' as a system variable. Refer How to fix maven error in jenkins on windows: ‘mvn’ is not recognized as an internal or external command

Reasons:
  • Whitelisted phrase (-2): I solved
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chamali Vishmani

79508481

Date: 2025-03-14 08:35:37
Score: 0.5
Natty:
Report link

I guess this issue is resolved in the first comment. Putting it here in steps.

Set GOPATH and GOROOT paths in your environment (system variables)

GOPATH will be %USERPROFILES%\go , GOROOT is C:\Program Files\go

Add Path values for these two by appending the \bin folder.

GOROOT is the place of Go installation files

GOPATH is the Workspace for your projects and dependencies. This is where go stores all installed artifacts/dependency like maven .m2 repo in local. Contains your Go source code (src/), compiled binaries (bin/), dependencies (pkg/).

Apply the same analogy for mac. Restart the ide, it should work.

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

79508477

Date: 2025-03-14 08:32:36
Score: 0.5
Natty:
Report link

I had the same problem so I find your post.I don't know if you still need help,I found the problem.
The situation is that google make the Service Account to be a real google account,so it makes the progress becomes other account try to add file to your google account.Then I create a folder and set folder's sharing to anyone can edit. And I can finally add file.

Hope this can help you! sorry English is not my native language,my typing could look wierd :(

Reasons:
  • Blacklisted phrase (1): :(
  • Whitelisted phrase (-1): Hope this can help
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • Low reputation (1):
Posted by: user29974478