79210134

Date: 2024-11-21 07:49:12
Score: 1
Natty:
Report link
@RequestMapping("user")
    public User data() {
        User user = new User();
        user.setAge(22);
        user.setName("kt");
        return user;
    }

Specify request mapping method for example GET or POST based on requirement and try. @RequestMapping will be use like below.

@RequestMapping(path = "/user", method = RequestMethod.GET) OR @RequestMapping(path = "/user", method = RequestMethod.POST)

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @RequestMapping
  • Low reputation (0.5):
Posted by: Satyajit Bhatt

79210126

Date: 2024-11-21 07:45:11
Score: 2.5
Natty:
Report link

This issue has been resolved. Those with similar problems can refer to the solution

  1. Go to Done
  2. Select all (checkbox)
  3. Move to inbox (button)
  4. Go to inbox
  5. Select all (checkbox)
  6. Select all X (blue link)
  7. Done (button)
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Neko Kafuu

79210120

Date: 2024-11-21 07:42:10
Score: 3
Natty:
Report link

Solved the problem by downgrading to postgreSQL 16.4. After installing version 16.4 I followed through docs tutorial 'libpq-build' and my app linked without any 'undefined reference' or 'undefined symbol' errors with linker commands presented in the docs.

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

79210106

Date: 2024-11-21 07:39:10
Score: 0.5
Natty:
Report link

If you have access to the dev tools in the dashboard,

then you can increase the max_shards_per_node,

PUT /_cluster/settings
{
  "persistent": {
    "cluster.max_shards_per_node": 1500
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Subash

79210100

Date: 2024-11-21 07:36:09
Score: 4
Natty:
Report link

upgrade to version 1.4.2 is ok

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hà Phạm Đắc

79210098

Date: 2024-11-21 07:35:08
Score: 4.5
Natty:
Report link

The problem was solved in this way: https://book.cakephp.org/5/en/orm/behaviors/translate.html#querying-translated-fields

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

79210097

Date: 2024-11-21 07:35:08
Score: 1
Natty:
Report link

Here’s how you can disable AutoFill for a UITextField:

let textField = UITextField()
textField.textContentType = .none

Disabling AutoFill in Interface Builder

  1. Select your UITextField in Interface Builder.
  2. In the Identity Inspector, locate the Text Content Type field.
  3. Set it to None.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: K.pen

79210079

Date: 2024-11-21 07:29:07
Score: 1
Natty:
Report link

To get timestamps in Azure Text to Speech synthesized audio, you need to use the SSML (Speech Synthesis Markup Language) with the wordBoundary or sentenceBoundary tag and enable the prosody feature.

Use SSML with wordBoundary or sentenceBoundary:

Azure Text to Speech supports adding SSML tags to capture word or sentence boundaries in the synthesized speech. These tags generate timestamps for each word or sentence. Enable Timestamps in API Request:

You need to set the IncludeWordBoundary or IncludeSentenceBoundary in the synthesis request.

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

79210059

Date: 2024-11-21 07:23:06
Score: 3.5
Natty:
Report link

It is resolved after raising that ticket but aws support takes long time (12 days appx.) to resolve.

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

79210041

Date: 2024-11-21 07:17:04
Score: 4
Natty:
Report link

The problem have solved: I changed the version to 2019.2, and , everything get OK

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

79210029

Date: 2024-11-21 07:13:03
Score: 2
Natty:
Report link

you may try this method.

  1. kill the terminal
  2. run the terminal
  3. check in browser it does show the subsequent routed pages of login/signup
Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: neelam goswami

79210015

Date: 2024-11-21 07:08:02
Score: 4
Natty:
Report link

my_controller.value.intialize is false or local video from cache but for network video is true and working fine on iOS.

If still not working try to encode url: String videoUrl = "your_video_url"; String encodedUrl = Uri.encodeFull(videoUrl);

Reasons:
  • Blacklisted phrase (2): still not working
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: sahil patel

79209999

Date: 2024-11-21 06:59:00
Score: 3
Natty:
Report link

I got this error when the .java file was present outside the “src” folder. It got fixed after moving into the “src” folder.

Please see the picture.

enter image description here

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

79209992

Date: 2024-11-21 06:55:59
Score: 1
Natty:
Report link

How would you prove it on paper? I'd say probably not by induction. Maybe you already have the inverse of +n?

Note that there is also the lia tactic for solving linear integer arithmetic problems. You just need to import it with the following command.

From Coq Require Import Lia.
Reasons:
  • Blacklisted phrase (1): How would you
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How would you
  • High reputation (-1):
Posted by: Théo Winterhalter

79209990

Date: 2024-11-21 06:55:59
Score: 4
Natty: 4
Report link

I am facing a situation. example.com/blog displays the blog page (excerpts). Click on any article. It is displayed. Click on a Page Number below. The site flashes 404. The blog section on the front page has the URL example.com/blog/blog. This works well. Is the setting like that, or do I have a problem?

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

79209986

Date: 2024-11-21 06:54:59
Score: 0.5
Natty:
Report link

I used

(year, month, date, hours, minutes, seconds)

with

new Date(2024, 3, 1, 0, 0, 0) // 1 April 2024 00:00:00 local time. month 0-based.

This worked on Safari and other browsers correctly.

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

79209982

Date: 2024-11-21 06:53:58
Score: 2
Natty:
Report link

This plugin got a recent update to run on Apache Netbeans 23: https://github.com/Chris2011/nb-codeoutline. It provides a minimap for each editor.

Reasons:
  • Blacklisted phrase (1): This plugin
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: wumpz

79209976

Date: 2024-11-21 06:49:57
Score: 3.5
Natty:
Report link

please aware that the Properties page is depend on Configuration build. You may need to check that select correct Configuration build in Project Property page. enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Lê Văn Hiếu

79209973

Date: 2024-11-21 06:48:56
Score: 1.5
Natty:
Report link

for some reason this started working after I deleted Little Snitch. It was probably blocking some network calls

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

79209972

Date: 2024-11-21 06:48:56
Score: 2.5
Natty:
Report link

Just click the page settings >> General Settings >> Page Layout from Elementor canvas to Elementor Full width. It solve my problem

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

79209971

Date: 2024-11-21 06:47:55
Score: 6 🚩
Natty: 5.5
Report link

How to remove the symbol on the Filter by price search bar in WooCommerce?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Ali Shahbaz

79209970

Date: 2024-11-21 06:46:55
Score: 1.5
Natty:
Report link

To fix this issue, you need to normalize the dates and handle them consistently across your React app, MongoDB, and Express API:

  1. Normalize Dates to UTC When selecting a date range in your React Calendar component, ensure you strip the time component and work with UTC dates:

javascript Copy code const normalizeDate = (date) => { const utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate())); return utcDate; }; Use this function when saving dates to MongoDB.

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

79209961

Date: 2024-11-21 06:45:54
Score: 0.5
Natty:
Report link

I came up with this to better demonstrate what I intended to do. The example below works but however it obviously 'replaces' the class, where I need it to add the additional class.

In index.php

echo '<main class="' . apply_filters( 'jm_content_area_wrap', 'content' ) . '" role="main">';

Then say in a page template I can use this

// Add .bg-primary class
function jm_test_class( $test_class ) {

    $test_class = 'content bg-primary'; // This replaces the .original class, rather than adding to it, so I need to add .content back.
    return $test_class;

}
add_filter( 'jm_content_area_wrap', 'jm_test_class' );
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: James Mitchell

79209954

Date: 2024-11-21 06:43:54
Score: 2
Natty:
Report link

Question : What we do if the import AppRoutes from "@routes/index.tsx"; Is not recognized by the compiler when they aren't relative . I mean when they are out of the directory src/ but in App.tsx or index.tsx

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

79209939

Date: 2024-11-21 06:36:51
Score: 1
Natty:
Report link

Took a bunch of experimenting and reading through tonic source code, and I still have some things I don't understand, but the functional answer is to first, implement the NamedService trait for each layer:

use tonic::transport::server::NamedService;

impl<T> NamedService for EndpointTimer_1<T>
where
    T: NamedService,
{
    const NAME: &'static str = T::NAME;
}

Note, that the error type for the layer's service must be Infallible, e.g.

use std::convert::Infallible;

impl<T, RequestBody, ResponseBody> Service<tonic::codegen::http::Request<RequestBody>>
    for EndpointTimer_1<T>
where
    T: Service<
            tonic::codegen::http::Request<RequestBody>,
            Response = tonic::codegen::http::Response<ResponseBody>,
            Error = Infallible,
        > + Send,

instead of the example-provided type Error = Box<dyn Error + Send + Sync>;. AFAICT this works because the protobuf-generated server is Infallible as well? Unsure, would appreciate an explanation of this by anyone in the know.

Finally, services can be registered by wrapping them in layers individually:

let mut server_builder = Server::builder()
    .layer(ConcurrencyGauge::new());

let provider_1 = provider_1_impl::new(&CONFIG)?;
let server_1 = Server_1::new(provider_1);

let provider_2 = provider_2_impl::new(&CONFIG)?;
let server_2 = Server_2::new(provider_2);


let router = server_builder
    .add_service(EndpointTimer_1::new(Server_1))
    .add_service(EndpointTimer_2::new(Server_2));
router.serve(addr).await?;

Note that this is using the Timer itself, which takes a Service as an argument to new(), and not the Layer around it.

Reasons:
  • Blacklisted phrase (1.5): would appreciate
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
Posted by: gmoss

79209938

Date: 2024-11-21 06:36:51
Score: 1.5
Natty:
Report link
  1. Use ZIP Installation
  2. Reinstall VS Code
  3. Update Registry Path on HKEY_CURRENT_USER\Software\Microsoft\Visual Studio Code Look for entries like InstallLocation or UninstallString
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: pain

79209935

Date: 2024-11-21 06:35:51
Score: 0.5
Natty:
Report link

I replaced import androidx.compose.runtime.getValue with import androidx.compose.runtime.* and it worked.

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

79209914

Date: 2024-11-21 06:30:50
Score: 2
Natty:
Report link

Issue is solve with syncfusion_flutter_charts version 26.2.14 builds and runs with Flutter stable release 3.24.0.

Referance Link: https://github.com/syncfusion/flutter-widgets/issues/2008

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

79209912

Date: 2024-11-21 06:28:49
Score: 1.5
Natty:
Report link

Select Project in your XAE Shell (or Visual Studio). Check properties window. Under deployment category you will find 'Theme Name' property. Set it to theme you want as default. This should always start your client in selected theme.

You mentioned something similar in your question, if you are testing this in published server, you will need to publish again with new property.

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

79209909

Date: 2024-11-21 06:28:49
Score: 1
Natty:
Report link

It's irrelevant in your case, but in mine I was missing the implements ShouldQueue on my job class if it may be of help to anyone

Reasons:
  • Whitelisted phrase (-1): in your case
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: lulzshadowwalker

79209908

Date: 2024-11-21 06:28:49
Score: 3
Natty:
Report link

6 Days later...

While I was looking for alternative installer to solve my problem, I come across this guide:

https://www.advancedinstaller.com/user-guide/control-events.html#section133

The specific information that I needed:

Set reinstall mode - ReinstallMode This event allows the author to specify the validation mode or modes during a reinstall. For the Argument field it can use a combination of these values:

o - reinstall if the file is missing or is an older version

e - reinstall if the file is missing or is an equal or older version

As it turns out, my current project actually supports this.

And now that I knew what I have to do, I did additional search, and as it turns out, people are using this:

MSI with WIX: setting REINSTALLMODE="amus" triggers "LGHT1076: ICE40: REINSTALLMODE is defined in the Property table. This may cause difficulties"

One line in the code for setting REINSTALLMODE to "emus" and everything does what I want it to do:

User edited files survive upgrade. Binaries get overridden even with same version.

Reasons:
  • Blacklisted phrase (1): this guide
  • Blacklisted phrase (1): I have to do
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: H.A.H.

79209907

Date: 2024-11-21 06:28:49
Score: 2
Natty:
Report link

In solidity, there are 2 ways to represent uint values.

And the number FIELD_PRIME = 0x800000000000011000000000000000000000000000000000000000000000001 is a valid uint256 value in hexadecimal format. Its not an address as @Satoshi mentioned. Its a positive integer value, which is what uint256 requires.

Thx

Reasons:
  • Blacklisted phrase (1): Thx
  • Has code block (-0.5):
  • User mentioned (1): @Satoshi
  • Low reputation (0.5):
Posted by: Steven

79209903

Date: 2024-11-21 06:25:49
Score: 3
Natty:
Report link

I think you can create functions in the code and if certain condition is true you can just call the function instead of using goto.

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

79209901

Date: 2024-11-21 06:23:48
Score: 4
Natty: 5
Report link

i have tried this command "netstat -ano | findstr :1099" but nothing is showing – help me

Reasons:
  • Blacklisted phrase (1): help me
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Duong

79209899

Date: 2024-11-21 06:23:48
Score: 2.5
Natty:
Report link

Rebuld solution works for me. keep in mind it is not fixed solution.

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rayees Akram

79209892

Date: 2024-11-21 06:18:46
Score: 7
Natty: 8.5
Report link

I need to use node18x,so how to avoid the error???

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): ???
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user9987636

79209889

Date: 2024-11-21 06:17:45
Score: 6 🚩
Natty:
Report link

i am using struct in arduino. i am passing structure by reference. and accessing the members using -> and changing the value stored. but when function terminates and program returns to void loop the change didn't happened.

kindly help me resolve this please.

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (3): kindly help
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: mubeen alam khan

79209887

Date: 2024-11-21 06:15:44
Score: 1
Natty:
Report link

What can lead to flickering?

The issue you're experiencing arises from the way the change event is triggered and handled when you modify filesField.files in the dismiss(). Specifically, when you remove a file and update filesField.files, it triggers the change event, which in turn causes your change event listener to recreate the entire file list. This results in flickering and the unexpected removal of elements from the DOM during drag-and-drop operations.

What's solution?

  1. You can try to manage files independently. Create your own array(filesArray) with files to keep track of the selected files, instead of relying on filesField.files
  2. Modify dissmiss(): it should remove files from filesArray without modifying filesField.files, this will help to prevent triggering change event
  3. Try to update filesField.files before submission: reconstruct filesField.files from filesArray while submitting the form
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What can
  • Low reputation (1):
Posted by: Islombek Salimov

79209885

Date: 2024-11-21 06:13:44
Score: 2
Natty:
Report link

This is not an answer, but a minor contribution to help find similar units and references.

I've seen a similar controller from Mitsubishi called PAR21-MAA. it could to share the name of other similar controllers, at least it will help find contributors.

Indeed it operates on 12V on single wire - there is no polarity on connection as indicated in the installation manual. Since it also provides power to run the controller, the communication is so-called parasitic communication. a similar system is used by dallas chips, the most famous being ds18b20.

Mitsubishi provides a bridge from 5-wire CN105 to a single wire system called m-net. In m-net system, each unit has an address 01-50.

I suppose this means that the main outdoor unit has address 0.

Reasons:
  • Blacklisted phrase (1): not an answer
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: tugglan

79209882

Date: 2024-11-21 06:12:43
Score: 0.5
Natty:
Report link

Here's the modified part of my code.My codes worked fine.

 <Frame> 
   <ScrollView> 
     <StackLayout> 
           <WebView x:Name="webView" BackgroundColor="LightBlue" Source=" 
            {Binding HtmlContent}"> 
           </WebView>
     </StackLayout>
  </ScrollView> 
</Frame>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: liyu

79209877

Date: 2024-11-21 06:11:42
Score: 8.5 🚩
Natty:
Report link

I faced the same issue (I think this is because the exam tester send a 0 as fd when there are no argv for the tester main. However, I did not find out how to pass it. Any updates? Thanks in advance!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Thanks in advance
  • RegEx Blacklisted phrase (0.5): Any updates
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mim

79209874

Date: 2024-11-21 06:09:42
Score: 3.5
Natty:
Report link

Slamberrrt Lmmfao hey cheater in a fellow cheater too

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

79209859

Date: 2024-11-21 06:04:40
Score: 1
Natty:
Report link
duckdb:


(
df1.assign(col1=df1.agg(list,1)).sql
 .select("*,col1.list_sort('desc').list_position(Bob)-1 col2")
)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: G.G

79209852

Date: 2024-11-21 06:02:39
Score: 1
Natty:
Report link

Update 2024: Now you can find resources while are idle using AWS Compute Optimizer

Ref: https://aws.amazon.com/about-aws/whats-new/2024/11/aws-compute-optimizer-idle-resource-recommendation/

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

79209851

Date: 2024-11-21 06:00:39
Score: 4
Natty: 4
Report link

Go to File -> Option -> Formulas -> uncheck R1C1 reference style

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

79209850

Date: 2024-11-21 06:00:39
Score: 1
Natty:
Report link

Update 2024 Now you can scale down Aurora to 0

https://aws.amazon.com/about-aws/whats-new/2024/11/amazon-aurora-serverless-v2-scaling-zero-capacity/

( this should be the accepted answer)

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

79209849

Date: 2024-11-21 06:00:38
Score: 4.5
Natty:
Report link

Your code looks correct; here are my suggestions.

  1. My best guess is that something you may have specified in the Nlog config is overriding the configurations in appsettings.json.

To test this, could you add the following inside services.AddLogging()? Since this filter is at the code level, It should help override NLog settings.

logging.AddFilter("Microsoft.EntityFrameworkCore.Database.Command", LogLevel.Warning);

  1. Do you have an Nlog.config file, and if so, confirm if a more permissive rule is specified for Microsoft.EntityFrameworkCore.Database.Command?
Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have an
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: chandanbsd

79209847

Date: 2024-11-21 05:59:38
Score: 0.5
Natty:
Report link

Run your app on the simulator and take a screenshot on it using command + s. I am running an iPhone 15 simulator and the screenshot taken through it worked instantly. 2024.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sudeep Rao

79209834

Date: 2024-11-21 05:54:37
Score: 0.5
Natty:
Report link
    public void fnDecimalOrganizer<T>(ref List<T> objEntItems, int iRowIndex)
    {
        var Item = objEntItems[iRowIndex];
        if (Item == null) return;

        var properties = typeof(T).GetProperties();
        foreach (var prop in properties)
        {
            Type type = prop.PropertyType;
            if (!type.Equals(typeof(System.Decimal)) || prop.Name.Contains("Cheque")) continue;
            if (prop.GetValue(Item).ToString().Trim().Length.Equals(0)) continue;

            prop.SetValue(Item, Convert.ToDecimal(String.Format("{0:0.00000}", prop.GetValue(Item))));
        }
    }    same issue
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28408106

79209829

Date: 2024-11-21 05:52:37
Score: 1
Natty:
Report link

Hi all after a lot of efforts I fixed above issue. Actually above nested containers are coming because of I was not properly closing BEGIN_MARKED_CONTENT_SEQ(BDC) and BEGIN_MARKED_CONTENT (BMC) operators. so keep in mind before starting another operator(like BDC or BMC) first close current operator. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): I fixed
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Nitish Kumar

79209820

Date: 2024-11-21 05:48:36
Score: 2.5
Natty:
Report link

Restarting the server worked for me.

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

79209819

Date: 2024-11-21 05:48:36
Score: 1.5
Natty:
Report link

Try:

"server": "webpack serve --config webpack.dev.js"
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: defimeditations

79209817

Date: 2024-11-21 05:48:36
Score: 0.5
Natty:
Report link

Based on @mklement0's answer and with the same caveats, here's an in-memory solution that doesn't require serialization:

# Make a back-up of the environment variables
$env_bak = @(Get-ChildItem env:)
    
... my stuff ...
    
# Restore environment variables
Get-ChildItem env: | Remove-Item
$env_bak | % { Set-Item "env:$($_.Name)" $_.Value }

Operating on all of the environment variables seems like a risky proposition, so here's an alternative, filtering only those variables of interest:

# Make a back-up of selected environment variables
$env_bak_vars = @("MY_VAR", "THAT_THING", "PROJECT_DIR")
$env_bak = @(Get-ChildItem env: | Where-Object Name -CIn $env_bak_vars)
    
... my stuff ...
    
# Restore selected environment variables
Get-ChildItem env: | Where-Object Name -CIn $env_bak_vars | Remove-Item
$env_bak | % { Set-Item "env:$($_.Name)" $_.Value }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @mklement0's
  • Low reputation (0.5):
Posted by: pupitetris

79209810

Date: 2024-11-21 05:45:35
Score: 3
Natty:
Report link

It looks like this was a cookie issue on my browsers.

Clearing cookies and caches on my troublesome browsers helped this to work as expected.

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

79209808

Date: 2024-11-21 05:45:35
Score: 1.5
Natty:
Report link

how do I connect my app to firebase? Do I use the standard web JS SDK, or is there something else I should be using?

You can use standard web JS SDK as well as the react-native-firebase package.

when I was trying to add firebase to my android app on the firebase console, it mentioned adding the firebase SDK to a build.gradle file - something which my project doesn't have. So have a missed a step in my setup?

I was able to setup react-native-firebase with expo managed workflow without having to touch the native android or ios side so these steps are not required if you will be using react-native-firebase with expo managed workflow as all the native dealing will be done by expo config plugins.

Reasons:
  • Blacklisted phrase (1): how do I
  • Whitelisted phrase (-1.5): You can use
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): how do I
  • Low reputation (1):
Posted by: Psk

79209802

Date: 2024-11-21 05:43:34
Score: 0.5
Natty:
Report link

It is something with my local python. I've tried to run some code to get it busy

n = 100000
r = n + (n - 1)
for i in range(n):
    s = r - (n + i)
    h = r - (s * 2)
    print(' ' * s, '#' * h)

Time shows 5.01s that is too long. On another machine, time is less and there is no image tearing with the same code. Question is closed.

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

79209770

Date: 2024-11-21 05:29:30
Score: 3
Natty:
Report link

The warnings may very well be a quirk of VS 2022 Text Explorer.

I replicated a similar setup and didn't encounter a warning in JetBrains Rider, VS Code, or from the terminal with dotnet test.

Maybe try either of the above options as well and see if you run into similar warnings?

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

79209769

Date: 2024-11-21 05:29:30
Score: 4
Natty:
Report link

I use openbox sloved this question.

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

79209758

Date: 2024-11-21 05:23:29
Score: 2
Natty:
Report link

As mentioned here in the quickstart guide [1]: https://hive.apache.org/developement/quickstart/

I believe the host name of the program is hiveserver2 instead of localhost, I have got it up and running in docker.

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

79209757

Date: 2024-11-21 05:23:29
Score: 1
Natty:
Report link

conio.h is:

->Nonstandard (used in the older MS-DOS days for keyboard input)

->Windows-specific (so womp womp if you're using Linux or MacOS)

->Very laggy (I built a game with conio.h--most laggy thing on earth--the _getch() call is probably the culprit, but the system("cls") is also pretty slow.)

So in general, just use ncurses, but if you're lucky enough to be able to use conio.h, use it to start. ncurses is still probably better though, even though I haven't used ncurses personally.

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

79209733

Date: 2024-11-21 05:01:25
Score: 0.5
Natty:
Report link

This is an older question, so I don’t know whether you have been able to find a satisfactory answer.

Referring to the example from the ortools documentation you used, just add the cumulative constraint while keeping everything else the same (as each and any of the other constraints are still valid):

capacity = 2  # Maximum capacity of 2 machines in use at any time 
model.add_cumulative(
    [all_tasks[job_id, task_id].interval for job_id, job in enumerate(jobs_data) for task_id, task in enumerate(job)],
    [1] * len(all_tasks),  # Demand of 1 for every interval
    capacity
)

… basically, CP-SAT syntax of what Sascha explained

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

79209726

Date: 2024-11-21 04:57:24
Score: 3
Natty:
Report link

I have the same issue too. It started happening today morning and it was working fine. It only happened on 202410 because when I changed the version back to 202409 it worked fine.

I am calling https://api.linkedin.com/rest/me and I have the r_basicprofile permission.

"Not enough permissions to access: partnerApiIdentityMe.GET.20241001"
Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Whitelisted phrase (-1): it worked
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: Hao Lan

79209718

Date: 2024-11-21 04:49:23
Score: 2.5
Natty:
Report link

I've struggled with this too recently. The solution I've found was to ensure that the "Python" version that's associated with Python files, is the one with a rocket in its icon.

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

79209716

Date: 2024-11-21 04:48:23
Score: 2
Natty:
Report link

I'm not an expert in spring boot but I suspect it's because you defined two beans in the same name and they conflict/override.

See this on how to have two configs in one application: Spring Boot 2 Cassandra multiple keyspaces or clusters

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

79209704

Date: 2024-11-21 04:42:21
Score: 1.5
Natty:
Report link

I tried the above solution, but it gave an error, which was resolved by this code.

{{ MYCONSTANTS.HELLO | translate: { param: abc } }}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dharmendra Singh Patel

79209702

Date: 2024-11-21 04:42:21
Score: 2
Natty:
Report link
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Dinesh Kumar

79209701

Date: 2024-11-21 04:41:21
Score: 2.5
Natty:
Report link

.MapGet("{Id:guid}/string", async (Guid Id, Service service) =>...

I had a typo here where the bracket was misplaced to the end of the string

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

79209696

Date: 2024-11-21 04:39:21
Score: 2
Natty:
Report link

The plugin itself does not have Python API access.

There is a Python Plugins extension for Georefrencer available for download, but is listed as experimental.

https://plugins.qgis.org/plugins/GeorefExtension/version/3.0.5/

QGIS Python Plugins Repository Version: [3383] Georeferencer Extension 3.0.5 Experimental

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

79209694

Date: 2024-11-21 04:38:20
Score: 1
Natty:
Report link

I was having a similar issue trying to build my assets. It turns out that file extensions are case sensitive, so although according to the documentation 'jpg' are part of the known asset types, if your file is named '*.JPG', it will not recognize it as a plain 'jpg' image.

TL;DR: Make sure your file extensions are properly cased so Vite can interpret them correctly.

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

79209690

Date: 2024-11-21 04:36:20
Score: 0.5
Natty:
Report link

TL;DR - I implement the GetHashCode method wrong for ValueObject.

After creating a different project to test out the User and ChangePasswordCode, I find out that the problem lies in the UserId value object as it works fine when I use Guid as the primary key. At that time, I suspect that the change tracker may compare the 2 UserId in User and ChangePasswordCode entries and somehow doesn't match the 2. So the problem could be in the Equals and GetHashCode method that I implement for ValueObject.

By placing breakpoints in debug mode, I find out that the change tracker indeed calls the GetHashCode first before the Equals and it returns 2 different hash codes for the same UserId. I fix the GetHashCode method and it works now.

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

79209685

Date: 2024-11-21 04:34:19
Score: 1.5
Natty:
Report link

For JasperReports 7.0.1+ it's now ((net.sf.jasperreports.json.data.JsonDataSource)$P{REPORT_DATA_SOURCE}).subDataSource() not ((net.sf.jasperreports.engine.data.JsonDataSource)$P{REPORT_DATA_SOURCE}).subDataSource()

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

79209682

Date: 2024-11-21 04:33:19
Score: 0.5
Natty:
Report link

If you are using a Mac, follow these steps to resolve the issue with Android Studio not showing the emulator/device name:

Open Activity Monitor: You can find this by opening Spotlight Search (Cmd + Space) and typing "Activity Monitor."

Check for ADB Instances: Look for any instances of adb (Android Debug Bridge) that might be running. It’s common to have multiple instances running, which can cause conflicts.

Force Quit ADB: Select each adb process and click on the 'X' button in the top-left corner of the Activity Monitor window to force quit them.

Restart Android Studio: After force quitting all adb processes, restart Android Studio. By doing this, Android Studio should now be able to detect the running emulator or connected device.

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

79209681

Date: 2024-11-21 04:33:19
Score: 4
Natty:
Report link

According this article, you can explicitly specify the number of threads to use via the RhpcBLASctl library

Reasons:
  • Blacklisted phrase (1): this article
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jack4799

79209678

Date: 2024-11-21 04:32:18
Score: 2.5
Natty:
Report link

The .rc file shoule be encoded as utf-8 format, not utf-8(BOM) format. Open the file with notepad++ and choose encoding, change it to utf-8.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 民间小哥

79209676

Date: 2024-11-21 04:31:18
Score: 1.5
Natty:
Report link

This issue is indeed related to theme tabler. It can be fixed by uninstalling the theme with:

composer remove backpack/theme-tabler

and reinstalling it with:

composer require backpack/theme-tabler
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tariiq Dusmohamud

79209675

Date: 2024-11-21 04:31:18
Score: 2.5
Natty:
Report link

I change to IF-ELSE as workaround solution, it's simple way to solve this problem

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

79209672

Date: 2024-11-21 04:29:17
Score: 3.5
Natty:
Report link

Right click on the rack, select 'Edit style', delete the command 'childLayout=rack; and click Apply.

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

79209664

Date: 2024-11-21 04:23:16
Score: 0.5
Natty:
Report link

A motor or servo (if you choose to use a motor, you will need the L293D Motor driver) Picaxe 28X1 board and chip (this can be done with other microcontrollers, but I am using this one) A computer (Mac or PC, doesn't matter since the code will be on the board itself) AXEPad (Programming software for Picaxe, can be found for Mac OSX, Windows, and Linux)

NOTE: you will need a soldering iron and solder for this.Once you have your servo or motor connected, plug in the battery case, put three double A's into it, then plug the USB cable into the board and the computer. After that open up AXEPad. You are now ready to program it.

#Picaxe 28X1 #Terminal 4800 Do SerRxd b0 SerTxd( "You typed ", b0, CR, LF ) if b0 = "o" then 'the o can be changed to whatever letter you want (in this case o≠O, so you have twice as many options) servo 0,75 'this should be replaced by the motor command if you use a motor instead, It is high 4, low 5, or high 5, low 4 for one of them, or high 6, low 7, or high 7, low 6 for the other. wait 2 'this command is specifically for the servo, otherwise it will not turn all the way end if if b0="i" then 'again, this can be changed to suit your preferences and i≠I servo 0,225 'If you use a motor, switch the high and low values wait 2 'again, you don't need this if you are using a motor end if if b0 = "p" then servo 0, 150 'this centers the servo, put all values on low to stop the motor wait 2 end if Loop

Press f4, or go to PICAXE>check syntax to make sure everything is entered correctly, then press f5, or go to PICAXE>program to download the program to the board

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

79209662

Date: 2024-11-21 04:23:16
Score: 3.5
Natty:
Report link

After trying many solutions from Google and StackOverflow. I came to know that my code is correct the issue was with SMTP credentials. I have used other SMTP credentials and it worked.

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): StackOverflow
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: JIGNESH PATEL

79209649

Date: 2024-11-21 04:08:14
Score: 0.5
Natty:
Report link

Not good idea but maybe using controller to get table and in the view you can filter by where clause. example : controller.php

$ticket = DB::table('tiket');

and in the view you can using where clause. view.blade.php

@php
$ticket->where('tanggal', $tgl)->where('id_jadwal', $jadwal)->first();
@endphp
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Eka

79209648

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

install them first.

sudo apt install libhdf5-dev libcapstone-dev

then delete build dir.

rm -rf build

finally, rebuild it.

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

79209640

Date: 2024-11-21 04:03:13
Score: 3.5
Natty:
Report link

I think you should try to add layout for your panel first.

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

79209635

Date: 2024-11-21 04:00:12
Score: 1.5
Natty:
Report link

Try adding xlim(c(<lower_limit>, <upper_limit>)). From there, you can create another function to find where the 90th percentile (or another threshold) of your data lies - input that into your upper or lower limits.

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

79209617

Date: 2024-11-21 03:50:10
Score: 2.5
Natty:
Report link

In the left sidebar, under the list of repositories, select the "Manage notifications" dropdown menu and click Subscriptions. Select the notifications you want to unsubscribe from. In the top right, click Unsubscribe.

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

79209614

Date: 2024-11-21 03:48:10
Score: 2
Natty:
Report link

Apache Druid does not have native support for Oracle as a metadata storage option available. Instead, the error message specifies that the required Oracle extension is missing. Outside of the box, Druid natively supports PostgreSQL and Derby. Thus, if Oracle support is critical in your application, you would have to develop a custom extension or otherwise seek community-contributed plugins-though such efforts are not officially supported.

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

79209613

Date: 2024-11-21 03:47:10
Score: 2.5
Natty:
Report link

It is likely that Microsoft has locked down access to the IR camera for security, but I know some other people who have tried. From what I've been able to find, it seems like this was once possible on Windows 10 (with no recent news on Windows 11). Check out some prior attempts here and here

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

79209611

Date: 2024-11-21 03:46:09
Score: 0.5
Natty:
Report link

In Raft, the leader queues and processes requests in order rather than refusing them. Techniques like batching, pipelining, and asynchronous handling allow the leader to maintain high throughput and low latency, ensuring clients get a timely and consistent response.

Example:

Let’s say a leader is processing request1 when request2 arrives:

You can see its implementation here https://github.com/dhyanio/discache/blob/main/rafter/raft.go

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

79209600

Date: 2024-11-21 03:42:08
Score: 1
Natty:
Report link

Testing based on the yaml files shared by you, I don't have the same error and the pipeline works fine.

azure-pipelines.yml:

trigger:
- none

pool:
  vmImage: ubuntu-latest

extends:
  template: pipeline.yml
  parameters:
    DefaultSettings:
      Service1:
        Setting1: Value1
        Setting2: Value2
      Service2:
        Setting1: Value1

    Environments:
      Development:
        Settings:
          Service1:
            Setting2: DevelopmentValue2
          Service2:
            Setting1: DevelopmentValue1
      Test:
        Settings:
          Service2:
            Setting1: TestValue1

pipeline.yml:

parameters:
- name: DefaultSettings
  type: object
  default: []
- name: Environments
  type: object
  default: []

stages:
- stage: Pipeline
  jobs:
  - job: job
    steps:
    - script: |
        echo "ENVIRONMENTS: ${ENVIRONMENTS}"
        echo "DEFAULTSETTINGS: ${DEFAULTSETTINGS}"
      env:
        ENVIRONMENTS: ${{ convertToJson(parameters.Environments) }}
        DEFAULTSETTINGS: ${{ convertToJson(parameters.DefaultSettings) }}

- ${{ each environment in parameters.Environments }}:
  - template: environment.yml
    parameters:
      Environment: ${{ environment.Value }}
      DefaultSettings: ${{ parameters.DefaultSettings }}

environment.yml:

parameters:
- name: Environment
  type: object
  default: []
- name: DefaultSettings
  type: object
  default: []

stages:
- stage:
  jobs:
  - job: job
    steps:
    - script: |
        echo "ENVIRONMENT: ${ENVIRONMENT}"
        echo "DEFAULTSETTINGS: ${DEFAULTSETTINGS}"
      env:
        ENVIRONMENT: ${{ convertToJson(parameters.Environment) }}
        DEFAULTSETTINGS: ${{ convertToJson(parameters.DefaultSettings) }}


- template: environment-stages.yml
  parameters:
    Settings:
      ${{ each service in parameters.DefaultSettings }}:
        ${{ service.Key }}:
          ${{ each setting in service.Value }}:
            ${{ setting.Key }}: ${{ coalesce(parameters.Environment.Settings[service.Key][setting.Key], setting.Value) }}

environment-stages.yml:

parameters:
- name: Settings
  type: object
  default: []

stages:
- stage: 
  jobs:
  - job: job
    steps:
    - script: |
        echo "Settings: ${SETTINGS}"
      env:
        SETTINGS: ${{ convertToJson(parameters.Settings) }}

Result:

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same error
  • High reputation (-1):
Posted by: Ziyang Liu-MSFT

79209595

Date: 2024-11-21 03:38:08
Score: 3
Natty:
Report link

I setup my Docker file with node version:22-alpine3.19. Downgrading the NodeJS version works.

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

79209589

Date: 2024-11-21 03:36:07
Score: 1.5
Natty:
Report link

Cassandra Java Driver 3.11 is compatible with Cassandra 4. But cassandra-unit is using Cassandra Java Driver 4.x. So it seems to me that your dependency is messed up.

Cassandra Java Driver 4.x used modern designs and introduced a lot of breaking changes. Cassandra Java Driver 3.x is not maintained anymore. I would recommend you to upgrade your driver to 4.x.

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

79209588

Date: 2024-11-21 03:33:07
Score: 2.5
Natty:
Report link

run command

brew install pkg-config
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: GrandPa Island

79209584

Date: 2024-11-21 03:32:06
Score: 8.5 🚩
Natty: 5
Report link

I used Cypress below version 10 and it worked normally with connections to Oracle, basic scripts, I updated Cypress to version 13 and it no longer works, I receive the error ORA12560, do you know how to fix it?

Reasons:
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (1.5): how to fix it?
  • RegEx Blacklisted phrase (1): I receive the error
  • RegEx Blacklisted phrase (2.5): do you know how
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: RRP

79209576

Date: 2024-11-21 03:25:04
Score: 1.5
Natty:
Report link

Quite late to the party, but what about merging the jobs and adding the condition to the step?

jobs:
  build-deploy:
    runs-on: ubuntu-latest
    steps:
      - name build
        run: echo "build"

      - name test
        if: ${{ github.ref_name == 'main' }}
        run: echo "build"

      - name deploy
        run: echo "deploy"
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: Benoit

79209562

Date: 2024-11-21 03:21:04
Score: 3.5
Natty:
Report link
View this post on Instagram A post shared by Anastasiya Kvitko (@anastasiya_kvitko)

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

79209558

Date: 2024-11-21 03:14:02
Score: 4.5
Natty: 5
Report link

Can be multiple embedded.mobileprovision

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can
  • Low reputation (1):
Posted by: ios签名

79209555

Date: 2024-11-21 03:13:01
Score: 7 🚩
Natty: 6
Report link

Thank you for the code, this code can remove the shipping bar from woocommerce shipping orders and emails, but it will cause my account order to not see the shipping bar, please tell me how to make my account order can see the shipping bar normally and only remove the shipping bar from my emails, thank you again for the code, from China, thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1.5): tell me how to
  • RegEx Blacklisted phrase (2.5): please tell me how
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: godiy

79209546

Date: 2024-11-21 03:07:59
Score: 3.5
Natty:
Report link

wsl --unregister docker-desktop run this in your powershell as administrator

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

79209543

Date: 2024-11-21 03:06:58
Score: 1.5
Natty:
Report link

How about a simple loop on column A where we check if the string starts with any of those, and if so, put N and add the rest back on?

Sub Replace_NX_NC_NL()
    Dim ws As Worksheet
    Dim lastRow As Long
    Dim i As Long
    Dim originalText As String
    Dim modifiedText As String

    ' Set the worksheet to work on
    Set ws = ThisWorkbook.Sheets(1) ' Change the index or name as necessary
    
    ' Find the last row in column A
    lastRow = ws.Cells(ws.Rows.Count, "A").End(xlUp).Row
    
    ' Loop through each cell in column A
    For i = 1 To lastRow
        originalText = ws.Cells(i, "A").Value
        modifiedText = originalText
        
        ' Check if the string starts with NL, NC, or NX
        If Left(originalText, 2) = "NL" Or Left(originalText, 2) = "NC" Or Left(originalText, 2) = "NX" Then
            ' Replace the first occurrence of NL, NC, or NX with N
            modifiedText = "N" & Mid(originalText, 3)
        End If
        
        ' Paste the modified text into column C
        ws.Cells(i, "C").Value = modifiedText
    Next i

End Sub
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How
  • Low reputation (0.5):
Posted by: sillycone

79209534

Date: 2024-11-21 03:00:57
Score: 1
Natty:
Report link

For anyone who still struggling, I made it work using the code snippet below in python. Just pass the content_disposition argument when generating the SAS. Thanks to @user3102567 answer

output_sas_blob = generate_blob_sas(
        account_name=storage_acct,
        container_name=storage_cont,
        blob_name=blobname,
        account_key=storage_key,
        permission=BlobSasPermissions(read=True, write=True, create=True),
        expiry=datetime.utcnow() + timedelta(hours=1),
        content_disposition=f"attachment; filename = {filename} "
    )
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @user3102567
  • Low reputation (0.5):
Posted by: Chisskarzz

79209529

Date: 2024-11-21 02:57:57
Score: 0.5
Natty:
Report link

Use like this:

response = supabase.table("faculty").select("*").execute()
df1 = pd.DataFrame(response[5:])
df1

or

response = supabase.table("faculty").select("*").execute()
df1 = pd.DataFrame(response['data'])
df1

I am not sure if your table response is a string or an object.

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