79120745

Date: 2024-10-24 07:14:49
Score: 2
Natty:
Report link

Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Control Panel\Desktop

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

79120737

Date: 2024-10-24 07:11:49
Score: 1.5
Natty:
Report link

You can draw based on the current scroll position, which is available through the AutoScrollPosition property of the Panel. When you scroll, the panel's position changes, so the drawing needs to shift accordingly.

Avoid excessive use of Invalidate() as it can lead to performance issues.

Draw directly on the Graphics object passed in the PaintEventArgs to manage proper scrolling behavior.

Of course as @Idle_Mind said, embedding a large enough PictureBox in a panel and adding scroll bars to the panel is a simpler solution.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Idle_Mind
  • Low reputation (0.5):
Posted by: Jiachen Li-MSFT

79120730

Date: 2024-10-24 07:07:47
Score: 0.5
Natty:
Report link

This seems to be due to the List's layout behaviour. I don't know any solution other than not using a List in this case.

Here's some reproducible code where you can uncomment the List to see the difference.

import SwiftUI

struct ButtonContextMenuTest: View {
    
    var body: some View {
        // List {
            Section {
                ScrollView(.horizontal, showsIndicators: false) {
                    LazyHStack(spacing: 15) {
                        ForEach(0..<8) { index in
                            Button(action: {
                                //action here...
                            }) {
                                VStack(spacing: 10) {
                                    Image(systemName: "plus")
                                        .resizable()
                                        .aspectRatio(contentMode: .fit)
                                        .frame(width: 30, height: 30)
                                        .cornerRadius(10)
                                    
                                    Text("Button")
                                        .foregroundColor(.primary)
                                        .font(.footnote)
                                        .multilineTextAlignment(.center)
                                        .padding(.top, 5)
                                        .frame(width: 80)
                                }
                                .frame(width: 80, height: 100)
                                .background(.thinMaterial, in: RoundedRectangle(cornerRadius: 12))
                            }
                            .contextMenu {
                                Button("HELLO"){
                                }
                            }
                            
                        }
                    }
                    .padding()
                }
            }
        }
    // }
}

#Preview {
    ButtonContextMenuTest()
        .preferredColorScheme(.dark)
}

When not in a List, the contextMenu behaves as expected:

enter image description here

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrei G.

79120695

Date: 2024-10-24 06:57:46
Score: 0.5
Natty:
Report link

You can set an offset like that manually or by using matplotlib.ticker:

import numpy as np
import matplotlib.pyplot as plt
import matplotlib.ticker as ticker


T     = np.arange(0, 101, 0.01)

R_e   = 1.68799673810490
R     = np.sin(T) + R_e

fig, ax = plt.subplots(1, 1)
ax.plot(T, R)

formatter = ticker.ScalarFormatter(useOffset=True, useMathText=True)
formatter.set_scientific(True)
formatter.set_powerlimits((1, 1))  # defines when to apply scientific notation

ax.xaxis.set_major_formatter(formatter)
ax.yaxis.set_major_formatter(formatter)

plt.show()

enter image description here

If this answer solves your problem, you can accept it.

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: M谩rton Horv谩th

79120686

Date: 2024-10-24 06:54:45
Score: 1
Natty:
Report link

The default page in each subfolder is Index.cshtml.

To set a different page see: How to configure razorpages to not use Index.cshtml as the default page in folders under the Pages folder

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

79120674

Date: 2024-10-24 06:50:44
Score: 3
Natty:
Report link

Files info for deng and reham angencey they have time traveled we just need info files for deng and reham for the good of mankind

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

79120671

Date: 2024-10-24 06:50:44
Score: 2
Natty:
Report link

Lemmatization is the algorithmic process of determining the lemma of a word based on its intended meaning. Unlike stemming, lemmatization depends on correctly identifying the intended part of speech and the meaning of a word in a sentence, as well as within the larger context surrounding that sentence, such as neighbouring sentences or even an entire document. lemmatization is more powerful than stemming

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

79120661

Date: 2024-10-24 06:46:43
Score: 0.5
Natty:
Report link

Create class and define static constants there.

export class Settings {
  static something: 'someone';
  static apiUrl = '/api';
  static defaultPageSize = 5;
}

Can be used anywhere in the application.

url = Settings.apiUrl;

Confirmed to work with TS ver 5.5. Type safety. No javascript hackery needed.

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

79120657

Date: 2024-10-24 06:46:43
Score: 2.5
Natty:
Report link

Is there anything else I need to do get the backups working?

Enabling Geo-Redundant Backup Storage (GRS) for an Azure SQL Database eliminates the need for extra manual measures to guarantee the creation and functionality of backups. Azure SQL Database automatically manages backups

Azure SQL Database automatically performs backups of your database without requiring any intervention.

I tried the same in my environment and got first backup in few minutes: enter image description here

I take few minutes to create the backup. Check you have SQL DB Contributor or SQL Server Contributorroles assigned to you in azure server.

Check if you have below permissions:

Permission Access level Use case
Microsoft.Sql/locations/longTermRetentionBackups/read Read To list the long-term retention backups for every database on every server in a location.
Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionBackups/read Read To list the long-term retention backups for every database on a server.
Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups/read Read To list the long-term retention backups for a database.

I cannot see any 'Recovery Services vaults' in our Azure account. Is this necessary for backups?

No, Recovery Services vaults is not Require for Azure SQL backup. SQL Server database that's running on an Azure virtual machine (VM) that will get backed up to an Azure Backup Recovery Services vault.

If all configurations are correct but backups are still not visible, then you can contact Azure Support to further investigation.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): Is there any
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (2): working?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there any
  • High reputation (-1):
Posted by: Pratik Lad

79120644

Date: 2024-10-24 06:43:43
Score: 0.5
Natty:
Report link

It's caused by the client connecting to an outdated socket. To simply solve this, just SSH into the server, and kill all processes for VS code:

ps -fu $USER | grep vscode | grep -v grep | awk '{print $2}' | xargs kill

Then you can restart VS code (with remote SSH) and try again.

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

79120643

Date: 2024-10-24 06:43:43
Score: 4.5
Natty: 5
Report link

Use the reserved keyword tag robot:flatten. For refference check - https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#flattening-keyword-during-execution-time

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

79120639

Date: 2024-10-24 06:40:41
Score: 0.5
Natty:
Report link

It depends on how your code is structured. How are the struct members exposed? Are they public? You could encapsulate them by making the struct members private and the method public. Then, by returning ref from the method, you can ensure that no copies are made.

It could look something like this:

public class MyClass
{
  private MyStruct _myStruct;

  public ref MyStruct GetMyStruct()
  {
    return ref _myStruct;
  }
}

Again this is just how I understood your problem. Another solution might be better depending on your case since you have claimed it's not your personal project.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user27314112

79120632

Date: 2024-10-24 06:38:39
Score: 8 馃毄
Natty: 5.5
Report link

Can someone explain to me why we have to use sh instead of /bin/bash? i dont get it.... im new in this.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can someone explain
  • RegEx Blacklisted phrase (1.5): im new
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Can someone
  • Low reputation (1):
Posted by: derr

79120620

Date: 2024-10-24 06:32:37
Score: 0.5
Natty:
Report link

You could use reactable and reactable.extra see reactable.extra documentation for custom input

Created an example code snippet using your example here;

library(shiny)
library(reactable)
library(reactable.extras)

shinyApp(
  ui = fluidPage(
    reactable.extras::reactable_extras_dependency(),
    reactableOutput("react"),
    hr(),
    textOutput("button_text"),
    textOutput("text")
  ),
  server = function(input, output) {
    output$react <- renderReactable({
      # preparing the test data
      df <- data.frame(
        Name = c('Dilbert', 'Alice', 'Wally', 'Ashok', 'Dogbert'),
        Motivation = c(62, 73, 3, 99, 52),
        Actions = c('Fire'),
        stringsAsFactors = FALSE,
        Text = c(""),
        row.names = 1:5
      )
      reactable(
        df,
        columns = list(
          Actions = colDef(
            cell = button_extra("button", class = "button-extra")
          ),
          Text = colDef(
            cell = text_extra(
              "text"
            )
          )
        )
      )
    })
    output$button_text <- renderText({
      req(input$button)
      values <- input$button
      paste0(
        "Button: ",
        string_list(values)
      )
    })

    output$text <- renderText({
      req(input$text)
      values <- input$text
      paste0(
        "Dropdown: ",
        string_list(values)
      )
    })
  }
)
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Zekiye

79120617

Date: 2024-10-24 06:32:37
Score: 2
Natty:
Report link

BlocSelector (context.select) is the default method for only listen to a part of state changes.

https://bloclibrary.dev/flutter-bloc-concepts/#contextselect

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

79120614

Date: 2024-10-24 06:31:37
Score: 0.5
Natty:
Report link

Answer of @Basj as a function:

def resize_image_to_fit_to_box(img: np.array, max_width: int, max_height: int):
    f1 = max_width / img.shape[1]
    f2 = max_height / img.shape[0]
    f = min(f1, f2)  # resizing factor
    dim = (int(img.shape[1] * f), int(img.shape[0] * f))
    resized = cv2.resize(img, dim)
    return resized
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Basj
Posted by: maniac

79120610

Date: 2024-10-24 06:30:36
Score: 1
Natty:
Report link

Uninstall Docker on Windows Server

Uninstall-Package and Uninstall-Module cmdlets to remove the Docker module use the below command :

Uninstall-Package -Name docker -ProviderName DockerMsftProvider Uninstall-Module -Name DockerMsftProvider

Next Clean up Docker data and system components use the below command:

Get-HNSNetwork | Remove-HNSNetwork

*Then remove Docker's default networks on Windows Server use the below command:

Get-ContainerNetwork | Remove-ContainerNetwork

Finally, remove Docker's program data from your system use the below command:

Remove-Item "C:\ProgramData\Docker" -Recurse

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

79120607

Date: 2024-10-24 06:29:36
Score: 0.5
Natty:
Report link

Please copy the system.memory.dll file to this folder C:\Users\xxxx\source\repos\project Setup.

I had also got the same error in building a service. I manually copied the missing dlls . It worked for me.

Thanks

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

79120601

Date: 2024-10-24 06:28:36
Score: 3
Natty:
Report link

You can use KafkaJS ( https://kafka.js.org/ ) by cy.task

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Tomasz Wojciechowski

79120585

Date: 2024-10-24 06:23:35
Score: 1.5
Natty:
Report link

I managed to solve the problem, the following way:

define !rename4 (vlist = !charend('/'))
!let !count = 1
!let !incr = 1
!let !incrtwo=2
!let !subtr=-1
!do !vname !in (!vlist)   
    !let !len=!length(!vname)
    !let !lastbutonecharacter = !length(!concat(!blank(!len), !blank(!subtr))) 
    !let !lastletter= !substr(!vname, !len, !incr)
    !if (!lastletter = A) !then 
    !let !count=1  
    !ifend
    !let !newname0 = !substr(!vname, 1, !lastbutonecharacter) 
    !let !newname1 = !concat(!newname0,"_")
    !let !newname = !concat(!newname1, !count)
    rename variables (!vname = !newname).
    !let !count = !length(!concat(!blank(!count), !blank(!incr)))
!doend
!enddefine.

the main problem was that I had no idea about what commands I can use in an SPSS macro. In the IBM community Jon Oeck helped me out: it can be found in SPSS help menu in the command syntax reference (under define-enddefine).

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

79120572

Date: 2024-10-24 06:17:34
Score: 0.5
Natty:
Report link

I finally got this solution. It works. And yes, it is for Indusoft o Aveva Edge.

Function getColumnNames(tableName)
    Dim sql, numCur, numRows, row, txt
    sql ="Select name FROM sys.columns WHERE object_id = OBJECT_ID('" & tableName & "') ORDER BY column_id Asc"
    numCur = $DBCursorOpenSQL("sqlExpress", sql)
    numRows = $DBCursorRowCount(numCur)

    For row=1 To numRows
      $namesInDB[row-1] =  $DBCursorGetValue(numCur,"name")
      $DBCursorNext(numCur)
    Next

    $variablesInDB = numRows
    $DBCursorClose(numCur)
   
End Function
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user27926789

79120567

Date: 2024-10-24 06:16:33
Score: 0.5
Natty:
Report link

This is how I like to run Sanity Studio. Alongside .env file I have env.js file that looks like this:

export const studioApiVersion = process.env.SANITY_STUDIO_API_VERSION
export const studioProjectID = process.env.SANITY_STUDIO_PROJECT_ID
export const studioDataset = process.env.SANITY_STUDIO_DATASET
...

When I want to use an env variable I import it:

import { studioProjectID, studioDataset } from './env'

It works locally, deployed on the Sanity Studio domain, and on Cloudflare Pages, which I like to use.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Guest

79120563

Date: 2024-10-24 06:15:33
Score: 3.5
Natty:
Report link

Android SDK 34 is supported on 2021.3.41f1+ versions of Unity

Android SDK to Unity versions availability#

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

79120562

Date: 2024-10-24 06:14:33
Score: 3
Natty:
Report link

The for loop behavior has changed since go 1.22. Take a look at this.

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

79120559

Date: 2024-10-24 06:11:32
Score: 0.5
Natty:
Report link

Add this into your Js your code will work

  const links = document.querySelectorAll('.links')
      links.forEach(link => {
      link.addEventListener('click', () => {
      dropDownMenu.classList.remove('open')
      toggleBtnIcon.classList = 'fa-solid fa-bars'
}); });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rushabh Gandhi

79120552

Date: 2024-10-24 06:07:31
Score: 4
Natty:
Report link

Settings -> Editor -> File Encodings and switch everything to UTF-8

enter image description here

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

79120551

Date: 2024-10-24 06:07:31
Score: 3
Natty:
Report link

Suddenly my C# applicication gave me this "Login failed for user" error. I copied the ConnectionString from my appsettings.json into my Secrets.json and the error was gone.

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

79120548

Date: 2024-10-24 06:06:31
Score: 4
Natty: 4.5
Report link

https://wordpress.org/plugins/product-subtitle-for-woocommerce/

Use above plugin you will get all the solution regarding product subtitle..

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

79120540

Date: 2024-10-24 06:03:30
Score: 2.5
Natty:
Report link

I am also getting 'System.Runtime.InteropServices.COMException (0x800703FA)' when interacting with AD (IIS AppPool identity is set to a specific service account). Restarting AppPool didn't work for me. I had to restart the webserver to get it working.

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

79120534

Date: 2024-10-24 06:01:27
Score: 8.5 馃毄
Natty: 5
Report link

Did you ever find a solution to this. I encountered the same issue today?

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever find a solution to this
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: Dr Adrian Colquhoun

79120532

Date: 2024-10-24 06:00:27
Score: 4
Natty:
Report link

I tried different, but solved UTF-16 LE BOM

Notepad++ UTF-16 LE BOM

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

79120524

Date: 2024-10-24 05:56:26
Score: 2
Natty:
Report link

If you're using Visual Studio Code or another IDE.

Try to check if some of your plugins have conflicts with the code. For example, I got that problem with PHP IntelliPhense's plugin.

Maybe that will work.

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

79120519

Date: 2024-10-24 05:55:23
Score: 11 馃毄
Natty: 6.5
Report link

did you find a solution to the problem? I am facing the same problem

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • RegEx Blacklisted phrase (3): did you find a solution to the problem
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am 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 the
  • Low reputation (1):
Posted by: Yandas

79120504

Date: 2024-10-24 05:51:21
Score: 1.5
Natty:
Report link

I dug around in the nvim logs present in the "nvim-data" directory. I noticed there that the crash was due to the pyright LSP which was using python 3.12.

Here was the problem, the python 3.12 installation was done using the Microsoft store and that was causing the problem. I uninstalled python using MS store and reinstalled it using the official python installer from python.org .

This fixed the crashing issue, though I am still unsure of what exactly was different in the MS store version that was causing the crash.

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

79120500

Date: 2024-10-24 05:50:21
Score: 4.5
Natty:
Report link

You have to use the lower version of JSON-server to resolve this issue. npm i -g [email protected] --save

check this --> https://www.npmjs.com/package/json-server/v/0.17.4 as well

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mani R

79120497

Date: 2024-10-24 05:48:20
Score: 0.5
Natty:
Report link

Windows - 10 or 11 | chrome browser

I am assuming that you have at least 2 chrome profiles.

Just follow simple steps to have desktop icon with specific user profile

  1. Login (if not login) and open chrome with profile 1
  2. Open chrome settings by clicking 3 dots icon
  3. Click on "Customize your chrome profile"
  4. Turn on "Create desktop shortcut" toggle.
  5. See desktop, An shortcut icon will be there of profile 1
  6. Repeat steps for other profiles also

Another easy way to have taskbar icons of different profiles

  1. Open all chrome profiles by clicking user icon right to address bar and selecting user profile
  2. In taskbar, right click chrome icon of that profile
  3. Choose "Pin to taskbar"

Now there may be one another problem with some guys. Let say you have two profiles - Profile1 and Profile2. You may be able to pin Profile2 icon in taskbar but not of Profile1 (default Profile), it remains as normal chrome icon.

Sometimes chrome ask you to choose user profile when you click on that (Profile1) icon.

Also chrome remembers last opened profile, and opens it automatically.

To get rid of this problem, and make sure when you click on that normal icon, it must open Profile1 (or may be some other profile)

Steps

  1. Just make a desktop shortcut of that profile (let say Profile1) by going into chrome settings as explained above.
  2. Right click on that desktop shortcut icon and open properties.
  3. In properties dialog box, move to "shortcut" tab
  4. Look for "Target" and copy target path. It must be like ("C:\Program Files\Google\Chrome\Application\chrome.exe" --profile-directory="Default") for default profile.
  5. Right click on chrome icon in taskbar, look for "Google Chrome".
  6. Right click over "Google Chrome", and open properties.
  7. Paste target address in Target input("C:\Program Files\Google\Chrome\Application\chrome.exe" --profile-directory="Default")
  8. You are done.

Now whenever you click over this icon, it will not ask or open some other profile.

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

79120486

Date: 2024-10-24 05:45:19
Score: 4.5
Natty: 2
Report link

have the same question.
from "local" Vscode remote-ssh into "remote" machine, remote machine has conda environments installed, but from "command pallete" type in "Python: select interpreter", this command does not found. so can't choose remote virtual environment.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): have the same question
  • Low reputation (1):
Posted by: steve

79120485

Date: 2024-10-24 05:44:18
Score: 1.5
Natty:
Report link

You need to make sure that your column sort order is the same in all of the unions. if each query works fine and it doesn't after applying the union, then probably your sort order for columns is different. for example:

select col1, col2, col3 from table1 union select col1, col2, col3 from table2

I hope this can fix your problem.

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

79120481

Date: 2024-10-24 05:42:18
Score: 0.5
Natty:
Report link

This implementation below worked!

 protected virtual void AMProdItem_InventoryID_FieldUpdated(PXCache cache, PXFieldUpdatedEventArgs e, PXFieldUpdated baseHandler)
        {
            baseHandler?.Invoke(cache, e);
            var row = (AMProdItem)e.Row;
            if (row?.InventoryID == null) return;

            var item = InventoryItem.PK.Find(Base, row.InventoryID);
            if (item == null) return;

           var itemExt = PXCache<InventoryItem>.GetExtension<INInventoryItemExt>(item);
            // Check if the custom checkbox (UsrAutoGenerateNumberChecker) is not ticked
            if (itemExt?.UsrAutoGenerateNumberChecker != true)
            {
        // If the checkbox is not checked, exit the method without making any changes
              return;
           }
            cache.SetValueExt<AMProdItem.preassignLotSerial>(row, true);
        }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tharidhi P

79120480

Date: 2024-10-24 05:42:18
Score: 2
Natty:
Report link

It depends on where you host the application. If it's in Azure, the best approach is to use managed identity, since it eliminates the need for clientId and clientSecrets. When it's outside of Azure and you use a deployment pipeline like Github Actions, I'd store it in the Github Secrets for accessing it during the deployment. Or last option, when it's a manual deployment on a server you could store it in the environment variable on the system to inject them securly during runtime.

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

79120468

Date: 2024-10-24 05:39:17
Score: 1.5
Natty:
Report link

Little modification to This Answer of acharuva

df['color'] = df.apply( lambda x: 'red' if x == 'Z' else 'green', axis=1)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Paras

79120463

Date: 2024-10-24 05:35:17
Score: 2.5
Natty:
Report link

In Ubuntu I went to the folder ~/.password-store and deleted the subdirectory with all it's content regarding docker-credential-helpers. Then I ran command docker login and logged in via web browser. New folders appeared under .password-store and I was now able to build images without problems regarding secrets.

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

79120451

Date: 2024-10-24 05:30:16
Score: 1
Natty:
Report link

This is expected behavior like mentioned in Documentation and tutorials. You need wrap the PickAsync() call inside a try Catch Block.

   try
   {
     await Filepicker.PickAysnc()
   }
   catch(Exception ex)
   {
     //Do stuff if user cancels picker
   }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bhavanesh N

79120441

Date: 2024-10-24 05:23:15
Score: 1
Natty:
Report link

In your Manifest -:

<meta-data android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />

In your gradle -:

implementation 'com.google.android.gms:play-services-ads:23.4.0'

For latest version -: https://mvnrepository.com/artifact/com.google.android.gms/play-services-ads

Enjoy!!

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

79120437

Date: 2024-10-24 05:21:14
Score: 0.5
Natty:
Report link

Elysia uses Bun.serve internally, and bun uses uWS internally which has default timeout of 10s as stated in the issue https://github.com/oven-sh/bun/issues/13392

You can pass idleTimeout option like .listen({idleTimeout: 30}) but you might need to upgrade the bun version to use them.

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

79120436

Date: 2024-10-24 05:21:14
Score: 1.5
Natty:
Report link

Encountered the same error Can be fixed with official docs

from nltk.tokenize import word_tokenize
nltk.download('punkt')
nltk.download('wordnet')
hypos = "The quick brown fox jumps over the lazy dog" 
refs = "A fast brown fox leaps over a lazy dog" 

score = meteor_score([word_tokenize(refs)], word_tokenize(hypos)) 

print(f"METEOR Score: {score:.4f}")
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nimesh M Maslekar

79120433

Date: 2024-10-24 05:20:14
Score: 1.5
Natty:
Report link

If you use vite, use define instead.

export default defineConfig({
  define: {
    __VUE_PROD_HYDRATION_MISMATCH_DETAILS__: 'false'
  }
});
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: yuhenabc

79120426

Date: 2024-10-24 05:16:11
Score: 6.5 馃毄
Natty:
Report link

i am having same issue in this too

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): i am having same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Coderx

79120418

Date: 2024-10-24 05:11:10
Score: 5
Natty:
Report link

Hey i am posting my answer because other developer can take advantage

In my case i was using the transporter application to push the build to app store. i tried many things but there was no any solution Than after i update the transporter application and its works

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): Hey i am
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Mitul Bhadeshiya

79120403

Date: 2024-10-24 05:03:06
Score: 10.5 馃毄
Natty: 4.5
Report link

Hi @Danica Iam still getting request header too large error in each of the Api request I hit, I have mapped the database url in docker compose and application properties same only for produvt service , inventory service and order service.But still facing same issue.Any help in this issue would be good.Do I need to make changes anywhere in Api gateway configuration.Pls suggest

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (2.5): Pls suggest
  • No code block (0.5):
  • Me too answer (2.5): facing same issue
  • User mentioned (1): @Danica
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Nikita Manektalia

79120402

Date: 2024-10-24 05:02:05
Score: 5.5
Natty:
Report link

Please find the below link and follow the given steps.

https://medium.com/@sheikmd254/how-to-install-docker-on-windows-server-and-containerize-an-iis-web-server-in-docker-part-1-0caaa4138aa8

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: sheik

79120395

Date: 2024-10-24 04:59:04
Score: 1
Natty:
Report link

this is not flutter but in my case, experimentalForceLongPolling: true did not work. this can be your simple solution if you're stuck in the same error in typescript front-end development.

const db = getFirestore(FirebaseApp, 'your firestore id')

yes. please specify your firestore ID. it took me 4 hours to figure out. even chat GPT could not solve it

Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: M.K. Kim

79120389

Date: 2024-10-24 04:57:04
Score: 2
Natty:
Report link

I was able to access the custom field using this line of code since I needed to access the custom field from Shipping tab of Customers screen from SOOrderEntry graph.

var locationExt = cache.GetExtension<PX.Objects.CR.Standalone.LocationExt>(row);
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tharidhi P

79120380

Date: 2024-10-24 04:51:02
Score: 6
Natty: 7
Report link

why dont you include the dismiss review as github?

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): why do
  • Low reputation (1):
Posted by: Leo Bravo

79120378

Date: 2024-10-24 04:49:59
Score: 8.5 馃毄
Natty: 4
Report link

When apply the loss matrix, the xerror can be > 1. The vignette specified that "The cross-validated error has been found to be overly pessimistic when describing how much the error is improved by each split. This is likely an effect of the boundary effect mentioned earlier." Using min xerror or the 1-SE rule doesn't seem to apply. Do you have any suggestions?

Reasons:
  • RegEx Blacklisted phrase (2): any suggestions?
  • RegEx Blacklisted phrase (2.5): Do you have any
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Meo

79120377

Date: 2024-10-24 04:49:59
Score: 3
Natty:
Report link

You can try:

  1. installing the Go extension
  2. placing your cursor on the empty instance
  3. pressing Ctrl + Shift + R (or the MacOS equivalent) for "Rewrite" / "Refactor"
  4. choosing "Fill StructName"

screenshot after step 3

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

79120369

Date: 2024-10-24 04:43:58
Score: 1.5
Natty:
Report link

Normal merge branches and resolve conflicts.It will automatically solve your conflicts in pull request. If you want to merge devbranch into Main

Steps to merge and resolve conflicts:

  1. git checkout devbranch
  2. git pull devbranch
  3. git checkout main
  4. git pull main
  5. git merge devbranch
  6. resolve conflicts using merge editor
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: bhavani thyagaraju

79120365

Date: 2024-10-24 04:41:58
Score: 0.5
Natty:
Report link

I have found a workaround - change the location of DerivedData folder in Xcode Workspace settings (File -> Workspace Settings) to something else.

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

79120362

Date: 2024-10-24 04:38:57
Score: 3
Natty:
Report link

Spring Mobile is no longer active. You need to switch to a different library.

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

79120361

Date: 2024-10-24 04:37:57
Score: 3
Natty:
Report link

Keep in mind that if you open the file in W or A mode a UTL_FILE.get_line will give you this error: ORA-29283: invalid file operation: invalid file access [29432]

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

79120350

Date: 2024-10-24 04:30:56
Score: 1.5
Natty:
Report link

You forgot to assign the name to the border sublayer.

if !isAlreadyAdded 
{
  border.name = Self.kLayerNameGradientBorder 
  layer.addSublayer(border)
}

Please correct the code.

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

79120347

Date: 2024-10-24 04:27:55
Score: 4
Natty:
Report link

since i not have enough reputation to comment i will answer here. as @Meet says in comment. it's because you set grid-cols-4 so justify-items-center not gonna works.

Reasons:
  • Blacklisted phrase (1): to comment
  • RegEx Blacklisted phrase (1.5): enough reputation to comment
  • Has code block (-0.5):
  • User mentioned (1): @Meet
  • Low reputation (1):
Posted by: Juju Lian

79120345

Date: 2024-10-24 04:24:54
Score: 0.5
Natty:
Report link

Use Optional

@Query(value = """
                SELECT .......                                                                                                           
        """, nativeQuery = true)
Optional<ProfileView> findByCustomerId(......);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Brijesh

79120339

Date: 2024-10-24 04:19:53
Score: 2
Natty:
Report link

In the ggalign package, I have added a pie layer function. We can draw pie chart without depend on the coord_polar.

    library(ggalign)
    set.seed(123)
    data <- expand.grid(X = factor(1:20), Y = factor(1:18))
    data$Category <- rep(c("A", "B", "C"), each = 120)
    data$Value <- runif(360)
    ggplot(data, aes(x = X, y = Y, angle = Value * 360, fill = Category)) +
        geom_pie() +
        theme_void()

enter image description here

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

79120329

Date: 2024-10-24 04:15:51
Score: 0.5
Natty:
Report link

There is a typo in the below statement. The property item is incorrect, it is items.

Original code

function drop(e, board, item) {
   ...
   const currentIndex = currentBoard.item.indexOf(currentItem)
   ...
}

Corrected Code

function drop(e, board, item) {
   ...
   const currentIndex = currentBoard.items.indexOf(currentItem)
   ...
}

Test run by fixing the typo

a) On load of the app

Browser display - On load of the app

b) After the drag and drop of a onto b

Browser display - After the drag and drop of a onto b

c) After the drag and drop of a onto c

Browser display - After the drag and drop of a onto c

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

79120319

Date: 2024-10-24 04:06:49
Score: 2.5
Natty:
Report link

ryanjdillon's answer worked for me. Now I have a decent coverage!

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: whoami

79120313

Date: 2024-10-24 04:03:49
Score: 3
Natty:
Report link

I was facing this problem in server actions BuddyShield and HighShipping. I had two folder BuddyShield and HighShipping inside which the file page.tsx, that was the problem don't keep the name of the file in server actions as page.tsx, you will get a type error, just name it anything else

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

79120305

Date: 2024-10-24 03:58:48
Score: 1.5
Natty:
Report link

how about

You can follow these steps to get clean logs from your Flutter app:

First, run the Flutter app in CLI A using:

flutter run

Then, open another terminal (CLI B) and run:

flutter logs

In CLI B, you will only see the logs generated by your print statements, without the extra system log noise.

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

79120302

Date: 2024-10-24 03:55:47
Score: 2
Natty:
Report link

Either register CustomHttpRequestHandler as transient

services.AddTransient<CustomHttpRequestHandler>();

or just simply returns a new instance

AddHttpMessageHandler(() => return new CustomHttpRequestHandler())

Here is a reference: Your custom HttpClient delegating handlers should be transient

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

79120291

Date: 2024-10-24 03:43:45
Score: 0.5
Natty:
Report link

If you're encountering the "Missing CA-certificate in Java keystore" issue at Red Bird Digital Marketing, it means that the Java application or service you're running is unable to find the necessary Certificate Authority (CA) certificate in its keystore. Here's how you can address it:

Steps to Resolve

Identify the Missing CA Certificate:

Check the error logs to see which CA certificate is missing or causing the issue. If you鈥檙e using SSL/TLS for a service at Red Bird Digital Marketing, ensure that the server or external service you鈥檙e connecting to has a valid certificate chain.

Download the CA Certificate:

Obtain the required CA certificate from a trusted source, such as the official website of the CA provider.

Ensure the certificate is in the correct format, such as .crt or .cer. Import the CA Certificate into Java Keystore:

keytool -import -alias yourCAalias -keystore /path/to/your/keystore -file /path/to/ca-certificate.crt

Replace /path/to/your/keystore with the actual location of your Java keystore and /path/to/ca-certificate.crt with the location of the CA certificate file.

Verify the Import:

keytool -list -keystore /path/to/your/keystore

This should show the newly imported CA certificate under the alias you provided.

Restart Java Application: After the CA certificate is imported, restart the Java application or server to ensure that the changes take effect.

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

79120290

Date: 2024-10-24 03:42:45
Score: 0.5
Natty:
Report link

Based on the issue referenced in @NikoSams answer, you just need to add "allowUnreachableCode": true to your tsconfig.json and it won't automatically remove dead code; you don't need to completely disable fixes on file save.

It's not listed as a setting because the extension at fault is the built-in typescript extension, and it gets its "settings" from your tsconfig.json, if present.

{
    "compilerOptions": {
        "allowUnreachableCode": true,
        ...
    },
    ...
}

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @NikoSams
Posted by: Noah May

79120287

Date: 2024-10-24 03:38:44
Score: 0.5
Natty:
Report link

Convert your stateless widgets into State full widgets override init method. Remove your build method code and covert to like this.

 @override
  initState() {
       if (!kReleaseMode) {
      _emailController.text = '';
      _passwordController.text = '';
      _selectUrl.text = baseUrl;
},}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dipak Prajapati

79120282

Date: 2024-10-24 03:37:43
Score: 0.5
Natty:
Report link

To remove "index.html" from URLs in Weebly, you cannot use an .htaccess file because Weebly is a hosted platform and doesn鈥檛 give access to server-level files like .htaccess. However, there are alternative approaches to achieve cleaner URLs without the "index.html" in Weebly:

Steps to Remove index.html from URLs in Weebly: Use Clean Permalinks: Weebly automatically creates "clean" URLs if you structure your website correctly. When creating a page, ensure that you don't include "index.html" in the page name or title. Weebly will automatically generate a URL without "index.html" if you follow these steps.

Rename the Page:

Go to the Pages section in the Weebly editor. Select the page that currently ends in "index.html". Look for the Page Name or Page Title field and change it to a simple, clean name like "home" or any other relevant name. Weebly should automatically generate the URL without the "index.html" ending. Disable "Show Index" Option: In Weebly, ensure that there are no manual settings or options enabled that force the display of "index.html". Weebly by default tries to keep URLs clean, so there should be no need for the extra file extension.

Check for External Links or Navigation Issues: If external links or internal navigation menus are directing users to URLs ending with "index.html", update them to link to the base URL (e.g., example.com instead of example.com/index.html). You can manually adjust navigation links in Weebly鈥檚 editor by editing the menu structure under Pages.

SEO Settings:

Go to Settings > SEO. Ensure that you haven't manually set URLs or SEO options that include "index.html". Weebly鈥檚 SEO features allow you to manage and clean up how URLs appear to both search engines and users. Limitations: Weebly is a hosted platform with limited control over certain aspects of URL structure, unlike self-hosted platforms where you can configure server settings. If after following the above steps you still see "index.html" in the URL, it鈥檚 possible that Weebly鈥檚 default behavior is causing this for certain page types. In such cases, contacting Weebly support for further assistance might help clarify if a specific setting is causing the issue.

By using these methods, you should be able to remove "index.html" from the visible URLs in Weebly without needing server-side control.

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

79120279

Date: 2024-10-24 03:35:41
Score: 10 馃毄
Natty: 5
Report link

Thanks for this, I have the exact same question. For the code above, do you replace $AndroidSource Folder with a path? Similarly, to you replace $WindowsTargetFolder with a path? Lastly, how can you copy over SMS text messages from Google Pixel 4a into your Windows PC? Is there a way to test this? Even though I backed up my phone (or so I think), the data is super sensitive, and I really want to be sure that the command doesn't delete anything. Thank you in advance!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Is there a way
  • RegEx Blacklisted phrase (3): Thank you in advance
  • No code block (0.5):
  • Me too answer (2.5): I have the exact same question
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Paulina

79120273

Date: 2024-10-24 03:31:39
Score: 3
Natty:
Report link

The recommended answer does not work on a persistent volume with a status of Lost.

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

79120270

Date: 2024-10-24 03:29:39
Score: 0.5
Natty:
Report link

I've already found a way to solve this with this line of code:

app = Flask(__name__, template_folder="../templates", static_folder="../static")

after setting the static folder it worked, but remember! use the 2 points before the slash or it won't work.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ronald Poveda

79120260

Date: 2024-10-24 03:25:35
Score: 0.5
Natty:
Report link

Today, I have faced exactly same problem and the solution was similar to @nealium . I am writing here for future reference for others. (ChatGPT was not able to solve with there list of 9-10 possibilities or may be i was not able to write good prompt).

  1. Connect to your postgress sudo -u postgres psql
  2. Connect to your DB , example, books. psql$ \connect books
  3. Check all tables just to verify. \dt
  4. Now check django_migrations table. SELECT * from django_migrations; it will tells what are migrations that are applied and if your migration for the app is there then manange.py migrate app_name will have no effect as explained in the question.
  5. Either delete the row/s mentioning the same migrations number for the app, for example, 0001_ for app_name. DELETE FROM django_migrations WHERE app = 'author'; it will delete all applied migrations created for app name 'author' and you can continue with new makemigrations and migrate OR
  6. Delete the table migrations table , NOTE : only when it is a development stage and not much data or features have been added.
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @nealium
  • Low reputation (1):
Posted by: Ajit kumar

79120257

Date: 2024-10-24 03:24:34
Score: 1
Natty:
Report link
uvicorn.run(
        app,
        host="0.0.0.0",
        port=FAST_API_PORT,
        log_level="critical",  # set log level to critical
        # Disable access logging. block console output
        access_log=False,       
        log_config=None,
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: RinggaV

79120251

Date: 2024-10-24 03:19:33
Score: 0.5
Natty:
Report link

I would use assume role within the lambda function to send emails with corss account. You can create a role in your root account which will have access to SES and assume role.

In your dev account you can assume that role to send emails. Hope this helps

refer javascript_sts_code_examples

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

79120244

Date: 2024-10-24 03:15:32
Score: 2
Natty:
Report link

I tested it in VS2017 and VS2022 and the results are as follows:

VS2017: enter image description here

VS2022: enter image description here

VS2017 does have the problem you mentioned, but VS2022 can display the LocalEps value normally whether you hover the mouse or in the Watch window. After all, VS2017 is a product from many years ago, and it is normal to lack some functions. It is recommended that you use the latest version of VS2022.

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

79120228

Date: 2024-10-24 03:04:30
Score: 1
Natty:
Report link

This error seems to pop up sometimes if you're using a Reddit account created using OAuth with a 3rd party service ("Sign in with Google" or "Sign in with Apple").

You may need to create a Reddit password (separate from your 3rd party service) or disconnect those services entirely. Both can be done on the Reddit website here.

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

79120227

Date: 2024-10-24 03:03:30
Score: 2
Natty:
Report link

Add local listener

Steps to trigger stripe events

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

79120203

Date: 2024-10-24 02:27:01
Score: 4
Natty:
Report link

The one in the video has probably changed the color theme. You can change the VSCode theme with Ctrl+k,Ctrl+S shortcut.

Offical doc: https://code.visualstudio.com/docs/getstarted/themes

If you want to create your own theme, then check this out: How can I create my own theme for vs code?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Amadeusz Liu

79120186

Date: 2024-10-24 02:15:00
Score: 5.5
Natty: 7
Report link

https://docs.expo.dev/router/advanced/shared-routes/

check this article from expo:)

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ian Woongsoo Lee

79120182

Date: 2024-10-24 02:07:59
Score: 2.5
Natty:
Report link

Late to the party here, I am actively developing a tool that works with Visual Studio named Blitz Search. It handles large amounts of files. Open source and free.

https://natestah.com

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

79120180

Date: 2024-10-24 01:55:57
Score: 1
Natty:
Report link

Without looking at the logs, It will be difficult to give you a definitive answer, however, I think you need to have a full implementation of the call callbacks especially the ones which are used to setup media this one should be in the onCallMediaState()

            r = self.getMedia(mi.index)
            self.am = pj.AudioMedia.typecastFromMedia(r)
            pj_ep = pj.Endpoint.instance()
            aud_dev_mgr = pj_ep.audDevManager()
            playback_dev_media = aud_dev_mgr.getPlaybackDevMedia()
            capture_dev_media = aud_dev_mgr.getCaptureDevMedia()
            self.am.startTransmit(playback_dev_media)
            capture_dev_media.startTransmit(self.am)

If you had provided the logs I would have been easy to pinpoint the source of the Call decline message. regards,

Reasons:
  • Blacklisted phrase (1): regards
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Peter Ulanga

79120175

Date: 2024-10-24 01:49:19
Score: 1
Natty:
Report link

I have this issue between AppSheets and Google Sheets, when I insert a new Google Sheet Lines with AppSheets.

How can I solve the arguments delimiters in AppSheets to match Google Sheets ?

Google Sheet Formula:

=IF(Ingresos_y_Egresos[Fecha]="";"";
   IF(Ingresos_y_Egresos[Imputaci贸n]="Egreso";
     IF(Ingresos_y_Egresos[Divisa]=ARS;
       IF(Ingresos_y_Egresos[Importe Operaci贸n]="";"";
          Ingresos_y_Egresos[Importe Operaci贸n]*-1
         )
       ;
       ""
       )
     ;
     ""
     )
    )

AppSheets Formula: (inserted in Google Sheet)

=IF(Ingresos_y_Egresos[Fecha]="","",IF(Ingresos_y_Egresos[Imputaci贸n]="Egreso",IF(Ingresos_y_Egresos[Divisa]=ARS,IF(Ingresos_y_Egresos[Importe Operaci贸n]="","",Ingresos_y_Egresos[Importe Operaci贸n]*-1),""),""))
Reasons:
  • Blacklisted phrase (0.5): How can I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Roberto Best

79120174

Date: 2024-10-24 01:46:18
Score: 3
Natty:
Report link

Thanks a ton for this it got me looking!

I did it with htmx and morph plugins. So cool htmx is becoming my favourite framework along alpine lol

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

79120173

Date: 2024-10-24 01:43:17
Score: 3
Natty:
Report link

Should be result = sum_array([1,2,3,4,5])

an array.

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

79120169

Date: 2024-10-24 01:40:17
Score: 1.5
Natty:
Report link

"default_value": "Pterodactyl Server", "user_viewable": true, "user_editable": true, "rules": "required|string|max:30" "rules": "required|string|max:30", "field_type": "text" }, { "name": "MOTD", "description": "Specify the message of the day", "env_variable": "MOTD", "default_value": "Welcome to the server", "user_viewable": true, "user_editable": true, "rules": "required|string|max:20" "rules": "required|string|max:64", "field_type": "text" } ]

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

79120167

Date: 2024-10-24 01:37:17
Score: 2.5
Natty:
Report link

For linux distribution with GLIBC 2.27, need to installer an older Blender version. For me, Ubuntu 18.04

cf. https://www.blender.org/download/requirements/

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

79120142

Date: 2024-10-24 01:22:08
Score: 4
Natty:
Report link

I created a plugin to solve this problem

next-disable-global-css

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

79120137

Date: 2024-10-24 01:19:07
Score: 2
Natty:
Report link

I don't know that there is a Pydantic way to specify the default value at validation time. However, if you don't want to modify the Thing class you could always subclass it in a private scope?

import pydantic


class Thing(pydantic.BaseModel):
    one: int
    two: str
    three: bool


def validate(data: dict[str, dict]):

    class _Thing(Thing):
        three: str = True

    adapter = pydantic.TypeAdapter(dict[str, _Thing])
    adapter.validate_python(data)


raw_data = {"this": {"one": 1, "two": "zwei"}, "that": {"one": 111, "two": "dos"}}
validate(raw_data)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Zac Scott

79120129

Date: 2024-10-24 01:11:06
Score: 1
Natty:
Report link

I gave up on building a static single EXE, but instead it is way easier just to pack everything into an Installer. Inno Setup is the one i used. If you want to learn how to use it, read here at my blog: https://qtnoobies.blogspot.com/2017/11/qt-tutorial-distributing-your.html

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

79120125

Date: 2024-10-24 01:09:05
Score: 0.5
Natty:
Report link

Convert the multi-line JSON to single-line using | jq -c .

ACCESS_POLICY_JSON=$(cat <<EOF | jq -c .
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowElasticsearchAccess",
      "Effect": "Allow",
      "Principal": {
        "AWS": "*"
      },
      "Action": "es:*",
      "Resource": "arn:aws:es:${AWS_REGION}:${AWS_ACCOUNT}:domain/es-dev-tenant/*"
    }
  ]
}
EOF
)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Nigel Sheridan-Smith

79120122

Date: 2024-10-24 01:09:05
Score: 3
Natty:
Report link

I wrote an article on how to customize Segmented Button in Flutter. Here is my research on this topic on Medium: https://medium.com/@wartelski/mastering-flutters-segmentedbutton-advanced-customization-techniques-8174db1b9f9e I hope it helps.

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Whitelisted phrase (-1): hope it helps
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ana W.

79120093

Date: 2024-10-24 00:44:00
Score: 1.5
Natty:
Report link
import { computed } from 'vue';
import { useStore } from 'vuex';

const store = useStore();

const con = computed(() => store.getters['moduleName/connected'];
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: js coolso

79120078

Date: 2024-10-24 00:33:58
Score: 3
Natty:
Report link

I'm on 0.76 and I got the same error, but I succeeded by upgrading my min ios version to 15.1

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

79120073

Date: 2024-10-24 00:31:57
Score: 0.5
Natty:
Report link

from the official google docs, set Content-Security-Policy:

script-src https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/
frame-src https://www.google.com/recaptcha/ https://recaptcha.google.com/recaptcha/
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: christk

79120053

Date: 2024-10-24 00:16:53
Score: 0.5
Natty:
Report link

The model.save() command saves all field information of the current model in db.

If you want to save only specific fields, add update_fields information.

model.save(update_fields=['aaa'])
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: django.seolpyo.com