79476067

Date: 2025-02-28 16:04:11
Score: 1
Natty:
Report link

You should indicate the name of the package you want to remove: RUN dpkg -r tar.
However, it is not certain that this will remove the same version of the deb file.

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

79476057

Date: 2025-02-28 16:01:10
Score: 1.5
Natty:
Report link

Oracle does not support Entity Framework rowversion properties.

https://docs.oracle.com/en/database/oracle/oracle-database/23/odpnt/entityUnsupported.html

I use a date column for this purpose, and attribute the associated property in the entity class with [ConcurrencyCheck].

You do need an update trigger to set the column to sysdate.

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

79476052

Date: 2025-02-28 16:00:09
Score: 4.5
Natty: 4.5
Report link

what's inside linear reg in t-view is here:

https://sourceforge.net/p/ta-lib/code/HEAD/tree/trunk/ta-lib/c/src/ta_func/ta_LINEARREG.c#l33

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Starts with a question (0.5): what's in
  • Low reputation (1):
Posted by: D G

79476050

Date: 2025-02-28 15:58:09
Score: 1.5
Natty:
Report link

Achieved. My mistake were I need to wait the WebView2 to complete. The correct code is:

std::string htmlContent = R"(
    <html>
    <body>
        <h1>Hello world!</h1>
    </body>
    </html>
    )";
MyWebView.EnsureCoreWebView2Async().Completed([MyWebView,htmlContent](auto&&, auto&&) {
    MyWebView.NavigateToString(winrt::to_hstring(htmlContent));
});
Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Vicente Flich

79476045

Date: 2025-02-28 15:55:08
Score: 2
Natty:
Report link

I got a best effective solution for this, Just uninstall all your mysql file, then go to the c drive in the directory wtite C:\programdata and then follow the files delete the "mysql" one. Now again install mysql and reset your password. simple

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

79476040

Date: 2025-02-28 15:52:07
Score: 2
Natty:
Report link

i changed targets for django job in prometheus.yml from

- targets: ['store_backend:8888']

to

- targets: ['backend:8888']

and it works

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

79476029

Date: 2025-02-28 15:48:07
Score: 1
Natty:
Report link

If you want your API to continue working without authentication, go to the specific object (API Object, Main Procedure, Business Component, or Data Provider) and set the “Integrated Security Level” property to “None”. This way, it won’t require a user or perform permission checks.

By default, it requires authentication, so you’ll need to use a security token and OAuth in that case.

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

79476026

Date: 2025-02-28 15:46:06
Score: 2.5
Natty:
Report link

In WebSphere Liberty’s server.xml, make sure your data source is set to non-transactional:

<dataSource id="myAppDatasource" 
            jndiName="jdbc/myAppDatasource" 
            transactional="false">
    <jdbcDriver ... /> <!-- Add driver details here -->
    <properties ... /> <!-- Add properties if needed -->
</dataSource>

Refer this document : https://openliberty.io/docs/latest/transaction-service.html

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ajay Paul

79476024

Date: 2025-02-28 15:45:06
Score: 4
Natty: 4.5
Report link

Most likely the issue is with App Tracking Transparency https://github.com/facebook/facebook-ios-sdk/issues/2365

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

79476017

Date: 2025-02-28 15:44:05
Score: 0.5
Natty:
Report link

The main reason why the logos (social icons) appear dimmer than the glowing text is due to differences in how text-shadow works on text versus icon fonts (like Font Awesome).

Why is this happening? 1. Icon Rendering Difference: Font Awesome icons are vector-based and are rendered differently from regular text. The text-shadow effect doesn’t have the same visual intensity on icon fonts. 2. Opacity of the Parent Container: The .card has opacity: 0.8; which dims everything inside, including the glow effect on the icons. 3. Shadow Intensity: The text-shadow applied to the icons is weaker in comparison to the animated text.

How to Fix the Glow for Icons

Here are some fixes you can apply to match the glow effect: 1. Remove opacity from .card Opacity affects the entire container and its children. Instead, use rgba backgrounds for transparency:

   .card {
  background: linear-gradient(135deg, rgba(245, 243, 243, 0.1), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.18);
  /* Remove opacity: 0.8; */
}

2. Use a Stronger Glow on Icons Increase the intensity and spread of the glow on hover and default states:

    .social-icons a {
  font-size: 40px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
  text-shadow: 0 0 10px rgba(255, 255, 255, 1),
               0 0 25px rgba(255, 255, 255, 0.8),
               0 0 50px rgba(255, 255, 255, 0.6);
}

.social-icons a:hover {
  text-shadow: 0 0 20px rgba(255, 255, 255, 1),
               0 0 40px rgba(255, 255, 255, 0.9),
               0 0 60px rgba(255, 255, 255, 0.8);
}
Reasons:
  • RegEx Blacklisted phrase (0.5): Why is this
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ravindu Danthanarayana

79476008

Date: 2025-02-28 15:41:05
Score: 4.5
Natty:
Report link

see the @ControllerAdvice https://docs.spring.io/spring-framework/reference/web/webflux/controller/ann-advice.html. In your endpoint you send the valid case and for other problem you throw an error and handle with the controller advice

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @ControllerAdvice
  • Low reputation (1):
Posted by: user29839341

79476007

Date: 2025-02-28 15:41:05
Score: 0.5
Natty:
Report link

Currently I'm struggling with this topic some time, so I can extend the answer about how to do it if your library is configured outside of your app and you want to import the styles from it.

Just a reminder that @import annotation is now deprecated (https://sass-lang.com/documentation/at-rules/import/)

Note: This solution works for angular 19 and ng-packagr 19 version.

To make it work in by using ng-packagr, according the documentation https://angular.dev/tools/libraries/creating-libraries#managing-assets-in-a-library, you need to create an _index.scss file and manually point to it in your package.json by adding "exports" section like that:

"exports": {
  ".": {
   "sass": "./_index.scss"
  }
}

To your ng-package.json you need to add the assets:

"assets": ["src/assets", "./_index.scss"] // src/assets contains your all scss files

Then in your index file you need to forward your all styles inside:

@forward './src/assets/some-scss-in-my-lib'
@forward './src/assets/some-scss-in-my-lib_2'

And then in your main app to properly fetch all those styles you just need to do the following:

@use '@your-shared-library-name' as *

If you have just one scss file in your library I guess you can put your styles to the _index.scss without forwarding.

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

79475981

Date: 2025-02-28 15:29:01
Score: 6.5 🚩
Natty:
Report link

Have you managed to move the permission across environments? I'm finding it will not update the value of viewallfields in change sets or cli between environments. Struggling to work out what I've missed as I can retrieve the values, just does not deploy

Reasons:
  • Blacklisted phrase (3): Have you managed
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Johnsnow

79475978

Date: 2025-02-28 15:28:01
Score: 2
Natty:
Report link

In my case the IKernelMemory object ImportTextAsync method encountered this same exception however it was just a first chance exception (was handled and my code continued past the call and everything worked). You could report this issue on https://github.com/microsoft/kernel-memory.

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

79475973

Date: 2025-02-28 15:23:00
Score: 3.5
Natty:
Report link

you can enable Jar/BootJar tasks to build jar files inside the container.

reference: https://docs.spring.io/spring-boot/gradle-plugin/packaging.html

for docker container config: https://github.com/GoogleContainerTools/jib/blob/master/jib-gradle-plugin/README.md#build-to-docker-daemon

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

79475971

Date: 2025-02-28 15:22:00
Score: 1
Natty:
Report link

New lines are not escaped, probably the tests that you are using is printing the output in some other format. Here are two examples that you can try:

FROM alpine

ENV FOO="Hello\nWorld!"

CMD ["sh", "-c", "echo -e ${FOO}"] 

and

FROM alpine

ENV FOO='echo -e "Hello\nWorld!"'

CMD ["sh", "-c", "$FOO"] 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bako

79475969

Date: 2025-02-28 15:22:00
Score: 1.5
Natty:
Report link

The queues are not defined in JDNI thus the bridge fails

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

79475966

Date: 2025-02-28 15:19:59
Score: 5.5
Natty: 4
Report link

I'm attempting the same migration. In my case, the table structure is successfully exported and loaded into PostgreSQL, but the COPY or INSERT statements (.SQL file) are not being generated or directly imported into the specified PostgreSQL database.

Has anyone faced this issue? Any suggestions on what might be going wrong?

Reasons:
  • RegEx Blacklisted phrase (2): Any suggestions
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Gayu thulasi

79475959

Date: 2025-02-28 15:15:58
Score: 1
Natty:
Report link
    ' Save file
    savePath = folderPath & "Report_" & SafeFileName(key) & ".xlsb"
    If Dir(savePath) <> "" Then Kill savePath
    Application.DisplayAlerts = False
    regionWorkbook.Sheets(1).Delete ' Remove the default empty sheet
    Application.DisplayAlerts = True
   regionWorkbook.SaveAs FileName:=savePath, FileFormat:=xlExcel12
   regionWorkbook.Close SaveChanges:=False
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: mukesh gupta

79475954

Date: 2025-02-28 15:11:58
Score: 1
Natty:
Report link

If you want to suppress a specific console output, you may use onConsoleLog handler.

test: {
  ...
  onConsoleLog(log) {
    if (log.includes('injection "feathersClient" not found') return false
  }
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: VChet

79475943

Date: 2025-02-28 15:08:57
Score: 3.5
Natty:
Report link

The Above was the clue for my fix. in Machine config DBProviderFactories there was a MySQLEntry, removed it and VS Data Sources worked again.

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Darin Johnson

79475942

Date: 2025-02-28 15:08:57
Score: 0.5
Natty:
Report link

What worked for me was adding a dot in front of the first slash, so instead of:

docker cp ex.txt my_container:/my_folder/

it should be

docker cp ex.txt my_container:./my_folder/
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: user2463644

79475940

Date: 2025-02-28 15:07:57
Score: 1.5
Natty:
Report link

The problem appears to be that your is "/sat", whereas the rest of your configuration including your URL is built as if it were "/prog".

IMO the error code for this case should be 404, but Wildfly returns a 405 when a POST, PUT, or DELETE URL is not recognized.

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

79475938

Date: 2025-02-28 15:06:56
Score: 0.5
Natty:
Report link

Here is a simple solution with a subquery. In the subquery we find records where Flag_Val is equal to "N".

SELECT Rec_ID, Flag_Val FROM table1 WHERE Flag_Val = 'Y' AND
Rec_ID IN (SELECT Rec_ID FROM table1 WHERE Flag_Val = 'N');
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ivan Yuzafatau

79475933

Date: 2025-02-28 15:05:56
Score: 4
Natty: 4
Report link

Did you take a Fiddler trace and send it to O365 Support? That will help them figure it out quickly.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Brian F.

79475932

Date: 2025-02-28 15:05:56
Score: 0.5
Natty:
Report link

It seems as though this changed at some point. Using JDK17 I have discovered that the correct syntax is:

@see ClassName#ClassName()

So if you're referencing the constructor in a class named Foo that takes a String argument, you will use:

@see Foo#Foo(String)

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

79475930

Date: 2025-02-28 15:04:55
Score: 1.5
Natty:
Report link

Probably you should go with flex here instead of grid.

.ncinc_data {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dalantren

79475924

Date: 2025-02-28 15:04:55
Score: 2
Natty:
Report link

I encountered the same issue. When I choose to visualize the activations in layer4 of ResNet50, the heatmap is almost identical. However, when I visualize layer3 or layer2, the target location is clearly highlighted.

Could this indicate overfitting in the final layer? In other words, it seems that the earlier layers have already learned enough features, so the final layer doesn't need to do much learning—just passing the features through is sufficient for accurate prediction. Alternatively, it’s possible that the final layer is learning more global features, while the earlier layers focus on more local features, which might explain why the target location is less precise in the heatmap.

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

79475923

Date: 2025-02-28 15:04:55
Score: 2.5
Natty:
Report link

It was a century ago... yet I think it should be:

@assert(length(f) == length(breakpts)+1)

in the previous function!

Stefano

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

79475913

Date: 2025-02-28 15:00:54
Score: 1.5
Natty:
Report link

To configure WireMock for accurate URL and query parameter matching:

Use explicit query parameter matching with withQueryParam to ensure required parameters like key and access_token are included.

Handle dynamic values using regex matchers (e.g., matching(".*")) for flexible parameter matching.

Verify requests to confirm WireMock received the expected parameters.

Debug unmatched requests by adding a catch-all stub to log or return a 404 for unmatched requests.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Богдан Лямзин

79475911

Date: 2025-02-28 15:00:54
Score: 3.5
Natty:
Report link

simply try grep instead of grepl should do

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

79475903

Date: 2025-02-28 14:58:54
Score: 0.5
Natty:
Report link

For anyone looking for Spring Data Elasticsearch config application.yml for Elastic Search version 8.x

spring:
  elasticsearch:
    username: elastic
    password: changeme
    uris: http://localhost:9200
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Isuru

79475901

Date: 2025-02-28 14:57:54
Score: 1.5
Natty:
Report link

The answer as mentioned in the comments is:

export const fn = functions.runWith({ secrets: getSecrets() }).auth.user().onCreate(...

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

79475890

Date: 2025-02-28 14:51:53
Score: 1.5
Natty:
Report link

This may not answer your question, but I think it's because the user doesn't have any data in the system.

If you can provide a seeder or a default database data, the user may be able to skip the installation process.

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

79475889

Date: 2025-02-28 14:51:53
Score: 0.5
Natty:
Report link

Well, I have a solution! Joomla rewrites the "src" tag, so I now set it dynamically as follows:

<script>
  
 function loadVideo(videoUrl, videoTitle) {
  const videoDisplay = document.querySelector('.video-display');
  videoDisplay.innerHTML = ''; 

  const videoPlayer = `
    <h3>${videoTitle}</h3>
    <video width="100%" height="auto" controls autoplay>
      <source data-src="${videoUrl}" type="video/mp4">
    </video>
  `;

  videoDisplay.innerHTML = videoPlayer; 

  // Set the actual src dynamically
  const sourceElement = videoDisplay.querySelector('source');
  sourceElement.setAttribute('src', sourceElement.getAttribute('data-src'));
}
</script>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: v0idation

79475886

Date: 2025-02-28 14:50:52
Score: 1
Natty:
Report link

Adding one note to @aymericbeaumet's answer ... It seems possible to also omit the file part in url if there's only one file in the gist. For example:

curl -s https://gist.githubusercontent.com/karpathy/d4dee566867f8291f086/raw

prints

"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np

# data I/O
...

as of 2025-02-28.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @aymericbeaumet's
  • Low reputation (0.5):
Posted by: Kaiwen

79475870

Date: 2025-02-28 14:41:50
Score: 6 🚩
Natty: 4.5
Report link

Also have the same problem currently. It sounds like the most efficient approach in 13 is to use IPuslishedContentQuery.

https://docs.umbraco.com/umbraco-cms/13.latest/reference/querying/ipublishedcontentquery

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Also have the same problem
  • Low reputation (1):
Posted by: highlife

79475869

Date: 2025-02-28 14:41:50
Score: 1.5
Natty:
Report link

This issue exists when you try to run client component in server components without defining 'use client' in it

suppose you have -layout ( server component ) -page ( server component ) -page-component ( client component without defining 'use client')

and when you call 'page-component.tsx' in layout or page component it doesn't work well

if you didn't understand let me know

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

79475866

Date: 2025-02-28 14:40:49
Score: 1
Natty:
Report link

For those who cannot use session ensure you use a stateless() state and then do something like this

    Socialite::driver('google')->with([
        'state' => http_build_query([
            'utm_source' => $request->query('utm_source') ?? 'none',
            'utm_medium' => $request->query('utm_medium') ?? 'none',
        ])
    ])->stateless()->redirect();

also see https://github.com/laravel/socialite/issues/373#issuecomment-703706139

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

79475865

Date: 2025-02-28 14:40:49
Score: 1
Natty:
Report link

Maybe there's someone how's still needing some help. I just switched from windows to mac, and I've been dealing with this error since then. What fix it for me was, before doing anything. Run in the terminal watchman, and after that npm start. That is working for me, I hope it does for you too.

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

79475858

Date: 2025-02-28 14:36:48
Score: 2
Natty:
Report link

PHP sessions are stored in $_SESSION, not $S_SESSION [PHP manual].

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

79475857

Date: 2025-02-28 14:36:48
Score: 2
Natty:
Report link

For my setup (Gradle 8.8 + IntelliJ 2024.2.1 + Windows 10), the options proposed by RockandRoll do not work. What works is to right-click in the source code and choose "Compile and Reload file" (application needs to be running in debug mode for this option to appear).

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

79475852

Date: 2025-02-28 14:32:48
Score: 1.5
Natty:
Report link

I have experienced same problem. It can be tested by external simple test.html file with form

<form name="someForm" action="http://localhost:3000/some-url" method="POST"></form>

In requested url in req.headers sometimes present req.cookie, and sometimes not. When not - of course session was deleted. I could not find reason of this. My solution was simple. Make middleware before app.use(session({})

app.use((req,res) => {
    if (req.path === '/some-url') {
        //logic
    }
})
app.use(session({})

But i would like to know really reason of this, not a work around.

Reasons:
  • Blacklisted phrase (1.5): i would like to know
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dmo

79475842

Date: 2025-02-28 14:29:47
Score: 5.5
Natty:
Report link

i have the same error but windows 10 and ruby 2.7.5, rails 7.0.1, gem install msgpack -v '1.4.2' -- --with-cflags=-Wno-error=incompatible-pointer-types

Reasons:
  • RegEx Blacklisted phrase (1): i have the same error
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i have the same error
  • Low reputation (0.5):
Posted by: Harold Meza

79475835

Date: 2025-02-28 14:26:45
Score: 4
Natty:
Report link

I have the same problem using debian 12. This was what i have in renderd.conf

[mapnik]
plugins_dir=/usr/lib/mapnik/3.0/input
font_dir=/usr/share/fonts/truetype/dejavu
font_dir_recurse=false

I have to change plugins_dir to /usr/lib/mapnik/3.1/input

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (0.5):
Posted by: user3486626

79475825

Date: 2025-02-28 14:22:44
Score: 0.5
Natty:
Report link

When you activate GAM, the REST WS you have start using OAuth as this document states and you need to provide the Client_Id, user, and password to the consumer.

The consumer needs to get an Access token with this credentials before trying to post to whe WS and all the calls to the REST web services should include this token on the header.

The following example is a complete sample code that shows how to GET the products list ("DPProduct" is a Data Provider exposed as REST web service), which is a secure web service (GAM is enabled in the KB). The Client Id is taken from the application defined automatically in GAM Backend.

Use HTTPClient data type to consume the REST web service.

//First get the access_token through an HTTP POST

&addstring ='client_id=be47d883307446b4b93fea47f9264f88&grant_type=password&scope=FullControl&username=test&password=test'

&httpclient.Host= &server
&httpclient.Port = &port

&httpclient.BaseUrl = &urlbase + '/oauth/'  
&httpclient.AddHeader("Content-Type", "application/x-www-form-urlencoded")
&httpclient.AddString(&addstring)
&httpclient.Execute('POST','access_token')

&httpstatus = &httpclient.StatusCode
msg('Http status: ' + &httpstatus,status)
&result = &httpclient.ToString()

&AccessTokenSDT.FromJson(&result) // Load the AccessToken in a SDT which has this structure (*)

//call DPProduct web service

&httpclient.BaseUrl = &urlbase + '/rest/'
&httpclient.AddHeader("Content-Type", "application/json")
&httpclient.AddHeader('Authorization','OAuth ' + &AccessTokenSDT.access_token)
&httpclient.AddHeader("GENEXUS-AGENT","SmartDevice Application")
&httpclient.Execute('GET','DPProduct')

This is another example, this time using the GAMRepository.GetOauthAccessToken() method

//First get the access_token 
&httpclient.Host= &server
&httpclient.Port = &port

&GAMOauthAdditionalParameters.ClientId = "f719771ad52a42919a221bc796d0d6b0"
&GAMOauthAdditionalParameters.ClientSecret = &ClientSecret
&GAMLoginAdditionalParameters.AuthenticationTypeName = !"local"
&AccessTokenSDT = GAMRepository.GetOauthAccessToken(!"admin", !"admin123",&GAMLoginAdditionalParameters,&GAMOauthAdditionalParameters,&GAMSession,&GAMErrors)

//call DPProduct web service
&httpclient.BaseUrl = &urlbase + '/rest/'
&httpclient.AddHeader("Content-Type", "application/json")
&httpclient.AddHeader('Authorization','OAuth ' + &AccessTokenSDT.access_token)
&httpclient.AddHeader("GENEXUS-AGENT","SmartDevice Application")
&httpclient.Execute('GET','DPProduct')

If you want your REST API to be consumed with no security as before activating GAM, you can set the property "Integrated Security Level" to NONE on the API.

Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Guido Lorenzatti

79475819

Date: 2025-02-28 14:21:44
Score: 0.5
Natty:
Report link

After turning on throwing filesystem exceptions in Laravel config/filesystems.php, parameter throw => true

Chrome debugger showed that exception is was thrown after call to chmod(). GeeseFS documentation says that chmod is not supported. Big Problem.

However, I found that I can remove 'visibility' parameter in this config file config and problematic chmod() will not be called!

In GeeseFS access rights in are specified when you mount filesystem anyway.

'disks' => [

        'local' => [
            'driver' => 'local',
            'root' => storage_path('app'),
            'throw' => false,
        ],

        'public' => [
            'driver' => 'local',
            'root' => storage_path('app/public'),
            'url' => env('APP_URL').'/storage',
            /*    'visibility' => 'public', // calls chmod() that does not work with GeeseFS. Access rights in GeeseFS are specified when you mount filesystem.*/
            'throw' => true,
        ],

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

79475816

Date: 2025-02-28 14:20:44
Score: 0.5
Natty:
Report link

Perhaps it is late for this answer but in the PrimeNG docs this can be found:
https://primeng.org/button#template

  <p-button [outlined]="true">
    <svg width="35" height="40" viewBox="0 0 33 35" fill="none" xmlns="http://www.w3.org/2000/svg" class="block mx-auto">
        <path d="..." fill="var(--primary-color)" />
    </svg>
  </p-button>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: 0x777

79475814

Date: 2025-02-28 14:19:43
Score: 1
Natty:
Report link

In my case the problem was that I had both the Python plugin and the Jupyter plugin installed, and Jupyter was crashing. I had ignored the Jupyter crash messages, since I wasn't currently using Jupyter features. But F12 was broken and I couldn't find "Python: Select Interpreter" via ctrl + shift + p.

I disabled the Jupyter plugin, restarted, and selected the right interpreter then F12 began to work again.

Versions:

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

79475811

Date: 2025-02-28 14:17:43
Score: 1.5
Natty:
Report link

Type:

pip config -v list

It will show all the configuration files that you can create.

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

79475808

Date: 2025-02-28 14:15:43
Score: 1.5
Natty:
Report link
for k in h:
    v.append(h.count(k)+1)

This is right in vase v and h are already available. This is not everything in the code.

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

79475807

Date: 2025-02-28 14:14:42
Score: 5.5
Natty: 7
Report link

Wont this just include the entire category? How do you whitelist specific application token IDs if you are blocking with .all code wise and i let user select whitelist applications via the family picker?

Reasons:
  • Blacklisted phrase (1): How do you
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chris Code

79475806

Date: 2025-02-28 14:14:42
Score: 1
Natty:
Report link

For my future self.

from matplotlib import rcParams

rcParams["axes.formatter.min_exponent"] = 3  # or another large value
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: StSav012

79475804

Date: 2025-02-28 14:14:42
Score: 4.5
Natty:
Report link

Are you still looking for the tool? I just made the small tool for this, you can check here https://github.com/ianthefish/simple-canvas-tool

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

79475794

Date: 2025-02-28 14:10:41
Score: 2.5
Natty:
Report link

So I learned about /var/tmp and that it's path on macOS. Fixed the issue by creating command line tool (project in Xcode) and exported bin file on my macOS and imported it in my speech recognition project. Here is the sample code I found from Apple doing this:

https://developer.apple.com/documentation/speech/recognizing-speech-in-live-audio

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

79475786

Date: 2025-02-28 14:09:40
Score: 5
Natty:
Report link

for example,when batch-size=1 and 2,the text is '无经验描述',the result embedding is differententer image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: hou五五

79475784

Date: 2025-02-28 14:08:38
Score: 11 🚩
Natty:
Report link

Did you find a solution to this? i'm facing the same problem.

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • RegEx Blacklisted phrase (3): Did you find a solution to this
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i'm facing the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution to this
  • Low reputation (1):
Posted by: user2471191

79475781

Date: 2025-02-28 14:07:38
Score: 0.5
Natty:
Report link

From Apple App Review Guidelines:

3.1.3(a) “Reader” Apps: Apps may allow a user to access previously purchased content or content subscriptions (specifically: magazines, newspapers, books, audio, music, and video). Reader apps may offer account creation for free tiers, and account management functionality for existing customers. Reader app developers may apply for the External Link Account Entitlement to provide an informational link in their app to a web site the developer owns or maintains responsibility for in order to create or manage an account. Learn more about the External Link Account Entitlement.

Netflix has a "Reader App" entitlement so if your app does not qualify as a Reader App, you likely cannot provide an external link for purchases under Apple's guidelines.

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

79475780

Date: 2025-02-28 14:07:38
Score: 2
Natty:
Report link

For building large data sets in Bash, I'd strongly advise to generally use an array.

It'll scale much better, also offering much better handling and filtering performance, than concatenated strings - most especially, for very large sets of >5000 elements (depending on your machine's resources).

An exception to that 'rule of thumb' would be, to e. g. invoke a very efficient filtering tool like grep once (not in large loops) over a large data set.

Also, I've found while loops to be a bit more efficient than for and more flexible, in many cases, especially, if indices/counters are involved.

The best-scaling way I've found, to build large, concatenated strings, is building and then converting an array natively.

A comparative example to the URL concat problem above:

#! /bin/bash

url="http://www.$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w $((4096-15)) | head -n 1).com"

items=2000

# Build array of items and measure time
startTime="$EPOCHREALTIME"
while [[ $((i++)) -lt $items ]]; do 
    tmpArr+=("$url")
done
stopTime="$EPOCHREALTIME"
awk 'BEGIN {printf "%s %f\n", "SECONDS ARRAY building from loop:", '"$stopTime"' - '"$startTime"'};'

# Bash/native expansion of array to string and measure time
# Mind temporary IFS restriction and '[*]' to wrap on and expand newlines
startTime="$EPOCHREALTIME"
_IFS="$IFS"; IFS=$'\n'
tmpVar="${tmpArr[*]}"
IFS="$_IFS"
stopTime="$EPOCHREALTIME"
awk 'BEGIN { printf "%s %f\n", "SECONDS VAR from array expansion:", '"$stopTime"' - '"$startTime"'; }'

# Directly concat strings
tmpVar=
startTime="$EPOCHREALTIME"
while [[ $((i++)) -lt $items]]; do
    tmpVar+="$url"$'\n'
done
stopTime="$EPOCHREALTIME"
awk 'BEGIN { printf "%s %f\n", "SECONDS VAR direct building:", '"$stopTime"' - '"$startTime"'; }'

# Looped printf output concatenation
startTime="$EPOCHREALTIME"
tmpVar="$(
    for (( i=0; i < $items; i++ )); do
        printf '%s\n' "$url"
    done
)"
stopTime="$EPOCHREALTIME"
awk 'BEGIN { printf "%s %f\n", "SECONDS VAR from printf loop:", '"$stopTime"' - '"$startTime"'; }'

# Print tmpVar concatenated string
#echo -e "\nVAR ELEMENTS:"
#printf '%s\n' "$tmpVar"

For 2.000 items, directly concatenating a string may still work fast enough.

This will change quickly, though, for a higher number of items (depending on your system's resources).

Where the effort for building an array and converting it natively, is minimal and will increase only linearly, the time for directly concatenating strings will grow exponentially - up to stalling your script; the chosen solution above will show even worse performance:

Items: 2.000

SECONDS ARRAY building from loop: 0.073598

SECONDS VAR from array expansion: 0.129333

SECONDS VAR direct building: 0.641954

SECONDS VAR from print loop: 1.196127

For 5.000 items:

SECONDS ARRAY building from loop: 0.201801

SECONDS VAR from array expansion: 0.326866

SECONDS VAR direct building: 4.797142

SECONDS VAR from print loop: 6.986455

For 10.000 items:

SECONDS ARRAY building from loop: 0.378829

SECONDS VAR from array expansion: 0.674607

SECONDS VAR direct building: 18.280629

SECONDS VAR from print loop: 27.756085

For 100.000 items:

SECONDS ARRAY building from loop: 3.748199

SECONDS VAR from array expansion: 6.427268

SECONDS VAR direct building: ??? >20 minutes

SECONDS VAR from print loop: ???

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

79475778

Date: 2025-02-28 14:07:38
Score: 3
Natty:
Report link

More than two groups are soft with my battle.

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

79475777

Date: 2025-02-28 14:07:38
Score: 3.5
Natty:
Report link

Fun Neflinedvphivds Vids Vids Dev Sfv Fedvwvfrw Frfrw We’d Few Few Few

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

79475772

Date: 2025-02-28 14:06:38
Score: 3
Natty:
Report link

More than two groups are long to his mistake.

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

79475771

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

if you use like this your child content come with 100% height.you have to use "height: fit-content" and "display: flex;" along with "position:absolute;"

article {
    height: fit-content ; /* Add this line if its not working */
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    background: whitesmoke;
    position:absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
  
}

check this sample "https://codepen.io/kuttisenthil/pen/ZYELWaP"

Reasons:
  • Blacklisted phrase (1): its not working
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: senthilkumar

79475769

Date: 2025-02-28 14:05:37
Score: 3
Natty:
Report link

More than two groups are cheap at his hobby.

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

79475747

Date: 2025-02-28 13:58:36
Score: 0.5
Natty:
Report link

Ah, I see what you're running into! Microsoft's Translator glossaries do support phrase replacements, but they can be a bit finicky. A few things to check:

  1. Formatting Issues in the TSV

    • Make sure your TSV file is truly tab-separated (some text editors might insert spaces instead).
    • Try opening the file in a plain text editor and ensure there’s exactly one tab between the source phrase and the replacement.
  2. Case Sensitivity

    • Microsoft's system can be case-sensitive sometimes. Try making your phrase replacements all lowercase and test again.
  3. Phrase Boundaries

    • Glossary replacements work best when the phrase appears as a standalone unit. If "Phrase To Replace" is embedded in a longer sentence, it might not trigger correctly.
  4. Encoding

    • Save the TSV file as UTF-8 without BOM if you haven't already. Some tools default to other encodings that might mess with how Translator reads it.
  5. Quotes Don’t Matter

    • You were right to test with and without quotes, but normally, quotes shouldn't be needed in the TSV.
  6. Re-upload & Clear Cache

    • Try re-uploading the glossary and restarting the app just in case it's caching an older version.

If none of that works, I’d test the same phrase with a simpler structure (just "test phrase" → "replacement") to see if it’s an issue with how Translator handles multi-word phrases in general.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Monkey.D Amith

79475742

Date: 2025-02-28 13:56:35
Score: 2.5
Natty:
Report link

From the DIE of the variable you can get its refaddr and then use the DWARFInfo function get_CU_containing(refaddr) to get the CU containing this refaddr (which should be unique to the variable of your interest

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

79475740

Date: 2025-02-28 13:55:35
Score: 3.5
Natty:
Report link

The Galego language "ga" is not supported by Flutter. See this page to find all supported languages:

https://api.flutter.dev/flutter/flutter_localizations/GlobalMaterialLocalizations-class.html

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

79475737

Date: 2025-02-28 13:51:34
Score: 1.5
Natty:
Report link

For the Vertical (y-axis) the baseline will be on the vertical direction and by default it will start on left side so there is no effect of using align-items: baseline for flex-direction: column.

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

79475724

Date: 2025-02-28 13:46:32
Score: 1.5
Natty:
Report link

Here, 3 codes are true to tell you the sixth letter of the strings.

print('her method'[5])
print('my chapter'[5])
print('our bottle'[5])
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Goat

79475712

Date: 2025-02-28 13:41:31
Score: 3
Natty:
Report link

Here's what worked:

Thanks!

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

79475707

Date: 2025-02-28 13:38:31
Score: 3.5
Natty:
Report link

We fixed the issue by switching from django.core.cache.backends.memcached.MemcachedCache to django_redis.cache.RedisCache

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

79475696

Date: 2025-02-28 13:36:30
Score: 3
Natty:
Report link

when I look at the example provided by supabase (here) I see some differences with your code, particularly your lack of schema prefixes for the function and not setting the search path. The supabase doco (here) also says when executing the function as definer you must also specify the search path.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): when I
  • Low reputation (1):
Posted by: tristan

79475693

Date: 2025-02-28 13:35:30
Score: 2.5
Natty:
Report link

For me, in IntelliJ 2024.2.1 with the settings shown by @derkoe, IntelliJ does not detect changes in the source code automatically and does not ask to rebuild and reload the classes. However, I can trigger it manually by right-clicking in the source code and choosing "Compile and Reload file" (application needs to be running in debug mode for this option to appear).

Reasons:
  • No code block (0.5):
  • User mentioned (1): @derkoe
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: BenPortner

79475671

Date: 2025-02-28 13:29:27
Score: 7 🚩
Natty:
Report link

Use the same code with the new variables, that might work. Also, cb[2], according to what I see, does not exist. If this is not the case, please share with me the whole project. If possible, share the whole project next time so would-be answerers can debug your code.

Reasons:
  • Blacklisted phrase (2): share the whole
  • RegEx Blacklisted phrase (2.5): please share
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: William Van Voorst

79475669

Date: 2025-02-28 13:29:27
Score: 1
Natty:
Report link

Command sequence for extracting the accounts of the transmission platform with YT-DLP Linux and others commands.

Command/essential: --legacy-server-connect

yt-dlp --username="$user" --password="$pass" --prefer-insecure --no-check-certificates --legacy-server-connect --print-to-file "after_move:filepath" "$path_file" --no-keep-video -o "%(title)s.%(ext)s" --print-to-file "%(title)s" "$title_file" -P "/data/data/com.termux/files/home/storage/downloads" -f $ID_video+$ID_audio --continue --no-mtime --no-warnings --merge-output-format mp4 --output-na-placeholder "[Dato indeterminado]" --no-part --embed-subs --no-keep-fragments $url

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

79475659

Date: 2025-02-28 13:25:26
Score: 5
Natty: 5.5
Report link

Glass UI HTML FORM Source Code https://codelabpro.com/bootstrap-signup-form-html-css-source-code/

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

79475653

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

I was able to fix in DBeaver 22.0.3 by going to the settings found in File -> Properties -> Editors -> Data Editor -> Data Formats -> select Timestamp from the "Type" drop down. I changed from the default to MM/dd/yyyy HH:mm

Looks like the default datetime export in dBeaver is interpreted incorrectly in excel. You can also add back in ":SS" to the end if seconds are needed for your export

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

79475651

Date: 2025-02-28 13:24:26
Score: 2.5
Natty:
Report link

add your vault.json to /volumes/config/, for example if your docker-compose.yaml in /Users/java/vault - add it to /Users/java/vault/volumes/config/

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

79475647

Date: 2025-02-28 13:23:25
Score: 1
Natty:
Report link

main issues is with your childContext using useMemo, which is not synchronizing at the time so Use refs in your parent context array and also Create a registration process where children register with the parent.

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

79475645

Date: 2025-02-28 13:22:25
Score: 4.5
Natty: 4.5
Report link

You can download php login form from here https://codelabpro.com/php-login-form-source-code/

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

79475634

Date: 2025-02-28 13:18:24
Score: 1
Natty:
Report link

I think this is what happened in your flow:

  1. Hibernate loads the User from the database, which has a UserRole with id = 2ee569d5-91dc-4eb9-82f7-7ce7d76b158a.
  2. A new UserDto is sent, containing a UserRole with id = 150179b8-a235-452f-aaeb-a536174a0f94.
  3. modelMapper.map(userDto, user) overwrites the entire UserRole object in User, replacing it with a new instance from UserDto.
  4. Hibernate detects that the UserRole associated with User has changed from the old id to a new id, but the identifier of a managed entity cannot be changed → Hibernate throws an error:
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: le dat

79475633

Date: 2025-02-28 13:18:24
Score: 2
Natty:
Report link

The Metaplex repository under Metaplex Foundation is deprecated and has been for a while. All relevant protocols exist in their own repository. I would recommend searching for what you're trying to do on the Developer Hub at https://developers.metaplex.com

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

79475632

Date: 2025-02-28 13:18:24
Score: 1
Natty:
Report link

Your setup looks correct. Connection string that you should use is:

mongodb://mongodb:27017

If you have still issues, please dobule check:

  1. Are you running your solution by docker-compose up ?? Only docker-compose will work since docker-compose creates network and DNS resolution between services.
  2. Is your mongodb service really running after docker-compose up? Are there any logs in this container? Maybe there is a problem with this container, it goes done and that's why database is unavailable.
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Kynes

79475617

Date: 2025-02-28 13:08:22
Score: 1
Natty:
Report link

To resolve this save permalinks once again. Log in to your WordPress admin dashboard.

  1. Go to Settings → Permalinks.
  2. Note the current setting (so you can revert if needed).
  3. Select Plain and click Save Changes.
  4. Now, change it back to Post name (or your preferred structure) and Save Changes again.
  5. Check if your pages are working now.
Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Gauri Kaushik

79475613

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

type reset and enter. worked for me. Try it, i hope it will work for you too.

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

79475610

Date: 2025-02-28 13:05:21
Score: 0.5
Natty:
Report link

I've made a gnome-terminal-tabs script which makes this a little more easy.

You can run it like this:

gnome-terminal-tabs --command 'ls' --command 'htop'

It is available on https://github.com/leszekhanusz/gnome-terminal-tabs

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

79475608

Date: 2025-02-28 13:05:21
Score: 2
Natty:
Report link

what about the optimization of code? may be you can use stack and hashmap to store count of each element's greater element on their right

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: sandhya sharma

79475606

Date: 2025-02-28 13:04:21
Score: 0.5
Natty:
Report link

I have been working with Oracle and PostgreSQL, and I can confirm that neither of them supports table aliases in the SET clause, nor do they allow direct UPDATE with JOIN. Which database are you using?

I recommend rewriting your UPDATE statement using a subquery, like this:

@Modifying
@Query("UPDATE ActivityEnvironmentRelation aer "
       + "SET aer.isDeleted = 1, aer.updatedBy = :updatedBy "
       + "WHERE aer.activity.id IN ("
       + "  SELECT a.id FROM Activity a WHERE a.project.objectId = :projectId"
       + ")")
void deleteActivityEnvironments(@Param("projectId") Long projectId, @Param("updatedBy") User updatedBy);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Oleg Cheban

79475595

Date: 2025-02-28 13:00:20
Score: 2
Natty:
Report link

Kafka is adding multiple paths to your commandline , thus you might end up going beyond the limits of commandline (8191 characters), try to put it as close to root folder as possible (e.g. c:\k). This seems to be a duplicate of a question The input line is too long when starting kafka

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Václav Fanfule

79475593

Date: 2025-02-28 12:59:19
Score: 4
Natty:
Report link

There is any command in R in Bangalore.

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

79475592

Date: 2025-02-28 12:58:19
Score: 2
Natty:
Report link

outline :3px is the incorrect syntax of outline which is overriding your correct outline. You need to write as you have written in cardImg css solid 1px rgb(90, 87, 79); or refer to developer.mozilla

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is the in
  • Low reputation (1):
Posted by: Rishab Mehta

79475590

Date: 2025-02-28 12:57:19
Score: 0.5
Natty:
Report link

My problem was loop, where button located inside of foreach loop. Normally on single button, click event works on onclick, like this:

<button class="btn btn-primary" onclick=(() => OnDelete(5))>Delete</button>

But when it is inside loop, click evet should be decorated with @, like @onclick

<button class="btn btn-primary" @onclick=(() => OnDelete(product.Id))> delete </button>
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @onclick
Posted by: Shaahin

79475582

Date: 2025-02-28 12:55:18
Score: 0.5
Natty:
Report link

Starting from matplotlib version 3.3.0 you can do the following at the beginning

import matplotlib.pyplot as plt
plt.rcParams["figure.raise_window"]=False

Source: https://matplotlib.org/stable/users/prev_whats_new/whats_new_3.3.0.html#rcparams-for-controlling-default-raise-window-behavior

Credit to https://github.com/matplotlib/matplotlib/issues/22939#issuecomment-1113696066

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

79475579

Date: 2025-02-28 12:53:18
Score: 5.5
Natty:
Report link

I have the same issue. I tried comment all the props, then only add required one: date={new Date} and onChange={() => ...} then it works normally.

It should be one of your props causing the crash. Try commenting out one by one to find it out.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: lukenguyen_me

79475577

Date: 2025-02-28 12:53:18
Score: 2
Natty:
Report link

If your models are initialized in separate services and you need to perform a JOIN query in a particular service, you can handle this in multiple ways:

  1. Direct Database Query: Use raw SQL queries or ORM-based joins if all models share the same database.
  2. ORM Associations: If using Sequelize or TypeORM, define relationships and include associated models.
  3. API Calls Between Services: Fetch data from other services via REST API or GraphQL.
  4. Event-Driven Approach: Sync required data using message brokers like Kafka or Redis Pub/Sub.

For a detailed guide, check out this blog: How to Add JOIN Queries in Services with Separate Model Initialization

Reasons:
  • Blacklisted phrase (1): this blog
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Himanshu Raj

79475574

Date: 2025-02-28 12:52:17
Score: 4
Natty: 4.5
Report link

Ohm.js does do this perfectly well: https://ohmjs.org/docs/patterns-and-pitfalls#operator-precedence. Just make sure you avoid ambiguous recursion.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Антон Игоревич Злыгостев

79475569

Date: 2025-02-28 12:49:16
Score: 2.5
Natty:
Report link

We dont see any namespaces in your code

Issue is that u have namespace and class named the same

*looking for a way to solve that, alowing to keep the same name

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

79475567

Date: 2025-02-28 12:49:16
Score: 2
Natty:
Report link

The problem arose from the port forwarding via VSCode from my local machine to the remote Postgres database server. I switched to the ssh command line client and now the connections are closed properly.

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

79475563

Date: 2025-02-28 12:46:15
Score: 3
Natty:
Report link

The issue here was with security groups when i added additional rule to allow traffic from anywhere with in the vpc cidr range. It started working

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

79475562

Date: 2025-02-28 12:46:15
Score: 1
Natty:
Report link

I suppose you are using Inertia/React and <Link> component.

There is actually an easier way to bypass Cors. Place <a> tag instead of <Link> tag in your template.

<a href="/auth/social/{provider}">
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: jeckson