79449931

Date: 2025-02-19 00:38:24
Score: 1
Natty:
Report link

Updating madhead's answer with the new plugin id, this seems to work for me:

Add this to build.gradle:

plugins {
  id "com.gradleup.shadow" version "8.3.0"
}

and run ./gradlew shadowJar

According to the docs it looks like the plugin id changed from com.github.johnrengelman.shadow to com.gradleup.shadow

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

79449919

Date: 2025-02-19 00:31:21
Score: 6.5 đŸš©
Natty: 6
Report link

I came across this article as I am also looking to use automation for Analytics and Data Connectors. https://charbelnemnom.com/update-microsoft-sentinel-analytics-rules/#:~:text=In%20this%20step%2C%20you%20create,the%20Runbook%20into%20Azure%20Automation.

Reasons:
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (2): I am also looking
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: TheDonanator

79449917

Date: 2025-02-19 00:31:21
Score: 0.5
Natty:
Report link

I'm not sure this will fix things but have you just tried to send the GroupID by itself?

mailMessage.SetAsm(unsubscribeGrpId)

Also, I've noticed if you don't have a valid group ID (which you find in the SendGrid Web Dashboard -> Suppressions -> Unsubscribe Groups), it will not give you an error but the email will not be sent.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Mike Smith

79449914

Date: 2025-02-19 00:30:21
Score: 0.5
Natty:
Report link

The problem you're facing is that the injectJavaScript method in your React Native WebView isn't executing the showMiddlemarker and hideMiddlemarker functions as expected. This is a common issue when working with WebView and JavaScript injection, and it usually boils down to timing, scope, or communication issues between React Native and the WebView.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Cafer YĂŒkseloğlu

79449912

Date: 2025-02-19 00:27:20
Score: 1
Natty:
Report link

I had a similar issue.

INFO: Appending 'datas' from .spec Unable to find 'C:\Users\ ... \RootFolder\export.png' when adding binary and data files.

My code was:

QAction(QIcon(resource_path("AppImages\\Theme\\Dark\\export.png")), "Export Config", self)

resource_path is a function from: https://stackoverflow.com/a/72060275/26503307

Firstly, I tried

pyinstaller --onefile --noconsole --windowed --add-data "export.png:AppImages/Theme/Dark" ... my.py

Then changed to:

--add-data "AppImages/Theme/Dark/export.png:AppImages/Theme/Dark/"

it solved my problem. So I think you need to use the path as it declared in your code. I think it should be something like this (however, I am not sure about regex part (*.json)):

("\venv\Lib\site-packages\branca\*.json", "\venv\Lib\site-packages\branca"),
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Artem Dementiev

79449909

Date: 2025-02-19 00:23:19
Score: 2
Natty:
Report link

I finally found the option that controls this: Tools/Options/Text Editor/C/C++/Advanced/Text Editor/Auto Surround Mode. If I set it to "Never", it stops happening. I've decided to set it to "Quotes Only" rather than "Never" as that seems handy at times, assuming I remember it's there. VS should detect that my '<' is not the start of some kind of template parameter list.

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

79449907

Date: 2025-02-19 00:22:19
Score: 2
Natty:
Report link

As at February 2025, Azure / Entra ID has a preview feature to allow for expression matching against subject claims: https://docs.azure.cn/en-us/entra/workload-id/workload-identities-flexible-federated-identity-credentials?tabs=github

They're calling it Flexible Federated Identity Credentials (for now?)

For now only GitHub, GitLab, and Terraform Cloud issued tokens are supported.

Frustrating for myself, it does not work for GitHub enterprise issuer

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Phil

79449897

Date: 2025-02-19 00:12:17
Score: 0.5
Natty:
Report link

Here is one way to easily show a star (yellow in this example) with a star-shaped outline (black in this example):

Box(contentAlignment = Alignment.Center) {
    Icon(
        imageVector = Icons.Default.StarOutline,
        contentDescription = null,
        tint = Color.Black,
        modifier = Modifier.size(24.dp)
     )
     if (isStarred) {
       Icon(
           imageVector = Icons.Default.Star,
            contentDescription = null,
             tint = Color.Yellow,
             modifier = Modifier.size(18.dp)
      )
}

Sample of stars

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

79449890

Date: 2025-02-19 00:06:16
Score: 0.5
Natty:
Report link

If you’re looking to do a mail merge on top of a PDF, you’ve got a few routes to explore.

One option is to use some of the popular PDF libraries available in languages like Python. The idea is to either overlay your data onto an existing PDF or fill in designated form fields if your PDF is set up that way. Essentially, you’d have your PDF template and then use a tool to “stamp” or insert your personalized content wherever you need it.

If you’re not up for writing a bunch of code or just need something quick, there are online tools that can handle this for you. For example, there are a few no-code solutions that let you upload your PDF and a spreadsheet, then automatically merge the data. One such tool is Row2PDF (Disclaimer: I'm the author of this software), which makes the whole process pretty straightforward.

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

79449889

Date: 2025-02-19 00:05:15
Score: 2
Natty:
Report link

Comment Formula is a newer extension which supports this. So far, it seems to work quite well:

While editing that line, you see:

enter image description here

While not editing that line, you see:

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): is a
  • High reputation (-1):
Posted by: SRobertJames

79449880

Date: 2025-02-18 23:56:13
Score: 3.5
Natty:
Report link

I forgot to save it, and tried to run it. I was getting used to google colab's auto-save that I forgot to save the file and then run.

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

79449879

Date: 2025-02-18 23:54:12
Score: 6 đŸš©
Natty: 5.5
Report link

Any idea about this question, please?

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

79449878

Date: 2025-02-18 23:53:12
Score: 1.5
Natty:
Report link

your Piceatannol OC1=CC=C(C=C1)C=C(C2=CC(O)=CC(O)=C2)O :

enter image description here

Wikipedia one C1=CC(=C(C=C1C=CC2=CC(=CC(=C2)O)O)O)O :

enter image description here

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

79449868

Date: 2025-02-18 23:44:08
Score: 3
Natty:
Report link

From the Service Bus Explorer, you can export the definition(right click namespace or topics) to an xml file and examine the ForwardTo element to find where a message is forwarded from.

enter image description here

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

79449866

Date: 2025-02-18 23:42:08
Score: 3.5
Natty:
Report link

I am new to BuidConfig. Is it running on ephemeral storage? It could be exhausting the root volume of the Kube node. I found this, possibly related. I also found here some options to use volumes, maybe it helps?

Reasons:
  • RegEx Blacklisted phrase (1.5): I am new
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: bennythejudge

79449865

Date: 2025-02-18 23:42:08
Score: 2
Natty:
Report link

If python, node or other provided solutions aren't exactly what you looking for I've put together a short dotnet web server that seems to work with https and serves compressed unity files by default: https://github.com/ezpipeline/test-webgl

Leave a github issue post if it doesn't work as intended.

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

79449859

Date: 2025-02-18 23:37:07
Score: 1
Natty:
Report link

Using -rP option works for me. I think it's the best approach.

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

79449839

Date: 2025-02-18 23:23:05
Score: 1
Natty:
Report link

Following Code is running: I have access to the element I want to modify. The properties 'Label' and 'CommandURL' are set and are visible and available in the toolbar-dialog. 'Visible' and 'Enabled' are also set (in the toolbar-object), but they have no effect in the dialog. See the last 2 lines.

Sub DisableCommandInToolbar                                     REM here 'myCommand' in the toolbr 'myToolbar'

Dim uiSettings As Object
Dim moduleCfgMgr As Object
Dim i As Integer
Dim id As Integer
    
REM Access to the user interface settings
uiSettings = CreateUnoService("com.sun.star.ui.ModuleUIConfigurationManagerSupplier")
moduleCfgMgr = uiSettings.getUIConfigurationManager("com.sun.star.text.TextDocument")

REM Retrieve the list of all toolbars
oUIToolbarInfos = moduleCfgMgr.getUIElementsInfo(3)             REM Load element information [3: toolbars. (1 = menu bars, 2 = context menus, 4 = status bars, 5 = floating windows)]

REM Find the index of the desired toolbar
REM there's no method like 'GetByName' so you have to find the index in a loop
For i = LBound(oUIToolbarInfos) to UBound(oUIToolbarInfos)      REM Iterate through all element info (id will later hold the element ID)
    OneToolbarInfo = oUIToolbarInfos(i)                         REM Current element info (also an array)
    sToolbarURL = OneToolbarInfo(0).Value                       REM thomething like: 'private:resource/toolbar/custom_toolbar_fa3a5975'
    sName = OneToolbarInfo(1).Value
    if sName = "myToolbar" then 
        id = i                                                  REM Index of the 'myToolbar' toolbar
        REM MsgBox "toolbar = " & "  " & sToolbarURL  & Chr(10) & "Item Index = " &  "  "  & id
        Exit For                                                REM Stop searching once found
    End if
Next i
    
Dim oLayoutMgr, TBar, oContext As Object
Dim ChildCount As Integer
Dim ChildName As String
Dim j As Integer   
Dim CmdIdx As Integer
Dim sToolbarURLSettings as object

CmdIdx = -1

REM Find the index of the desired command
REM there's no method like 'GetByName' so you have to find the index in a loop
oLayoutMgr = ThisComponent.CurrentController.Frame.LayoutManager    REM Get LayoutManager of the current document
TBar = oLayoutMgr.getElement(sToolbarURL)                           REM Retrieve the toolbar with the given URL (stored in sToolbarURL above)
If isNull(TBar) Then Exit Sub                                       REM If the toolbar does not exist, exit the subroutine
oContext = TBar.getRealInterface().getAccessibleContext()           REM Get the accessibility interface of the toolbar to access its elements
ChildCount = oContext.getAccessibleChildCount()                     REM Get the number of child elements (buttons, separators, etc.) in the toolbar
For j = 0 To ChildCount - 1                                         REM Loop through all elements in the toolbar
    ChildName = oContext.getAccessibleChild(j).getAccessibleName()  REM Get the name of the current toolbar element
    If ChildName = "myCommand" Then                                 REM if the element name matches the target command ...
    CmdIdx = j                                                      REM ... Store the index of the found command ...
    Exit For                                                        REM ... and exit the loop
    End If
Next j

sToolbarURLSettings = moduleCfgMgr.getSettings(sToolbarURL, True)   REM Retrieve the settings of the specified toolbar, allowing modifications (True = writable)
If CmdIdx <> -1 Then                                                REM if Command exists
    Dim newEntry(4) As New com.sun.star.beans.PropertyValue         REM Create a new entry to set parameters
   
    newEntry(0).Name = "CommandURL"
    newEntry(0).Value = "vnd.sun.star.script:myLibrary.myModule.myCommand?language=Basic&location=application"  REM The command itself

    REM Set the label
    newEntry(1).Name = "Label"
    newEntry(1).Value = "myCommand"                                 REM The visible name in the toolbar (eq. ChildName)
    
    REM Other supported types include SEPARATOR_LINE, SEPARATOR_SPACE, and SEPARATOR_LINEBREAK.
    newEntry(2).Name = "Type"
    newEntry(2).Value = com.sun.star.ui.ItemType.DEFAULT

    REM Optional additional properties like 'Enabled', 'Visible'
    newEntry(3).Name = "Enabled"                                    REM ist set in the toolbar but has no effect
    newEntry(3).Value = False                                       REM True has no effect also. Same as string: "False", "True"
    
    REM Make the command invisible
    newEntry(4).Name = "Visible"                                    REM ist set in the toolbar but has no effect
    newEntry(4).Value = False                                       REM True has no effect also. Same as string: "False", "True"
    
    REM next 2 line are working also, "CommandURL" and "Label" are shown in the Toolbar. But "Enabled" and "Visible" has no effect.
    sToolbarURLSettings.replaceByIndex(CmdIdx, newEntry)            REM Replace ...
    moduleCfgMgr.replaceSettings(sToolbarURL, sToolbarURLSettings)  REM .... the element ...
    
End If
End Sub
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: need2know

79449804

Date: 2025-02-18 22:56:00
Score: 5
Natty: 4
Report link

GAY GAY GAY GAY GAY GAY GAY GAYG AYG AYGA YAG A

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

79449802

Date: 2025-02-18 22:56:00
Score: 0.5
Natty:
Report link

You could also create a "wrapper" method (getFirstElement) on the SourceObject:

public class SourceObject {
public ArrayList<ListObject> list = new ArrayList<ListObject>();

public SourceObject() {
    list.add(new ListObject());
}

public getFirstElement(){
    return list.get(0);
}

So in your initial mapping you can say:

@Mappings({
    @Mapping(target="details.forename", source="firstElement.details.forename"),
    @Mapping(target="details.surname", source="firstElement.details.surname"),
})
DestinationObject toDestination(SourceObject source);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Hugo Martinez

79449801

Date: 2025-02-18 22:55:00
Score: 1
Natty:
Report link

If you are getting this error on IntelliJ please try this. I just ran into the same issue and found the problem was my annotation processor config.

wrong config

I don't know why that path was there or who added it but neither adding the proper path to the library helped.

Selecting "obtain processors from project classpath" fixed it.

fix

Reasons:
  • Whitelisted phrase (-1): try this
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Isidro.rn

79449796

Date: 2025-02-18 22:52:59
Score: 1
Natty:
Report link

Right now, imo, the best way (for scoped enum) is with a macro:

#define ENUM_VALUE(x) static_caststd::underlying_type_t<decltype(x)>(x)

That's guaranteed to work everywhere and at compile time, unlike the constexpr patterns.

If it was just about typing less, I wouldn't bother at all... but it's also less error prone than typing out the static_cast because it extracts the base type of the enum class.

But, as someone else mentioned, a very viable alternative is to use unscoped enums within their own namespace.

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

79449794

Date: 2025-02-18 22:52:59
Score: 2.5
Natty:
Report link

me pasĂł, el problema es que el esquema debe existir en la base de datos con nombre definido en la pripieddad spring.datasource.url: spring.datasource.url=jdbc:postgresql://host:5432/<DB_NAME>

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jhon CalderĂłn

79449793

Date: 2025-02-18 22:51:59
Score: 1
Natty:
Report link

If you are getting this error on IntelliJ please try this. I just ran into the same issue and found the problem was my annotation processor config.

wrong config

I don't know why that path was there or who added it but neither adding the proper path to the library helped.

Selecting "obtain processors from project classpath" fixed it.

fix

Reasons:
  • Whitelisted phrase (-1): try this
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Isidro.rn

79449773

Date: 2025-02-18 22:40:57
Score: 3.5
Natty:
Report link

The same query worked fine the next day. It might have been a problem with cached data.

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

79449763

Date: 2025-02-18 22:36:56
Score: 2
Natty:
Report link

I have tried using JLayeredPane to hold the splitpane/ tabbedpane/ Awt panel... but nothing worked.

Any suggestions or workaround is highly appreciated. Any suggestions on alternate way to get handle for JNI in this hierarchy is also highly appreciated.

It's mot a question of z-order or layer. AWT components have heavyweight peers that come from the operating system that Java is running on'S GUI toolkit. On the other hand, Swing is lightweight - defined in Java and not the OS. OS components always take precedence in screen display and with UI events.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): but nothing work
  • RegEx Blacklisted phrase (2): Any suggestions
  • Long answer (-0.5):
  • No code block (0.5):
  • High reputation (-2):
Posted by: ControlAltDel

79449758

Date: 2025-02-18 22:32:55
Score: 1
Natty:
Report link

The equivalent function in Crystal is Cstr() or ToText(). The online help provides excellent details.

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

79449756

Date: 2025-02-18 22:32:55
Score: 1.5
Natty:
Report link

open "./phpmyadmin/js/messages.php" and add:

declare(strict_types=1); //line 3... error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); // <--add this

do the same with "/phpmyadmin/config.inc.php"

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Neyton Luiz Dalle Molle

79449753

Date: 2025-02-18 22:29:54
Score: 0.5
Natty:
Report link

Using .getUI() to create Menu

I'll post my Comment as an Answer.

@LimeHusky Tried getUI(); thanks for the comment!

Class UI helps users create a custom menu bar on the editors user interface enabling them to add personalized functions.

Sample Code:

function myFunction() {
  const sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
  const ui = SpreadsheetApp.getUi();
  ui.createMenu('foo')
    .addItem('bar', 'foobar')
    .addToUi();
}

This might help to return to the cell A10 to A21 using for of loop.

function returnToLocation() {
  const sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
  const location = sheet.getCurrentCell().getA1Notation().replace(/\D/g, '');

  const ranges = [
    {currentLocation:600,targetLocation:"A10"},
    {currentLocation:550,targetLocation:"A11"},
    {currentLocation:500,targetLocation:"A12"},
    {currentLocation:450,targetLocation:"A13"},
    {currentLocation:400,targetLocation:"A14"},
    {currentLocation:350,targetLocation:"A15"},
    {currentLocation:300,targetLocation:"A16"},
    {currentLocation:250,targetLocation:"A17"},
    {currentLocation:200,targetLocation:"A18"},
    {currentLocation:150,targetLocation:"A19"},
    {currentLocation:100,targetLocation:"A20"},
    {currentLocation:50,targetLocation:"A21"}
  ];

  for (const {currentLocation, targetLocation} of ranges) {
    if (location >= currentLocation) {
      sheet.getRange(targetLocation).activate();
      break; // Breaking the loop if matches
    }
  }

}

References:

Class UI

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @LimeHusky
  • Low reputation (0.5):
Posted by: Lime Husky

79449751

Date: 2025-02-18 22:28:54
Score: 4
Natty: 4.5
Report link

In integration URI you must use the qualifier_invoke_arn value. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_function#qualified_invoke_arn-1

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

79449747

Date: 2025-02-18 22:25:53
Score: 0.5
Natty:
Report link

If you want to translate

$_POST can be written in python as

import cgi

form = cgi.FieldStorage()

My candid advice, just stick with php don't do it. But if you must! Make sure you have a fresh backup, because you can be left with a broken web platform.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Onyedikachi Oko - Dexter

79449746

Date: 2025-02-18 22:25:53
Score: 1
Natty:
Report link

I bet your mistake is simply that createStackNavigator() shall be apart from any component ;

...
import ScreenOne from "./src/screens/ScreenOne";
import ScreenTwo from "./src/screens/ScreenTwo";


const Stack = createStackNavigator();

export default function App() {
  return (
    <SafeAreaProvider>
...

You might want to take look at the documentation.

Otherwise, you may check out this similar question

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

79449729

Date: 2025-02-18 22:14:52
Score: 0.5
Natty:
Report link

Assuming you really just want to do what you ask...I don't see the need to tie this into the same programmatic interface, since you're effectively hacking through to a solution anyway. Decouple it from your infrastructure and just use another process script to do the excel open/close. Here is another link to an answer for how to do this, that should guide you: Open, save and close an Excel file from the command prompt without interaction

you could of course call it from this process, or set a scheduler/timer to activate it, and so on. Given the lack of other details, this should answer your question asked.

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

79449725

Date: 2025-02-18 22:12:50
Score: 4.5
Natty: 5
Report link

A description or link is enough https://rapef.info/code_201/

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: К Đ„

79449722

Date: 2025-02-18 22:09:50
Score: 1
Natty:
Report link

Read the Microsoft documentation.

Good News:

Bad News:

Source: Microsoft Documentation

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

79449721

Date: 2025-02-18 22:08:49
Score: 2
Natty:
Report link

See https://forum.posit.co/t/error-building-rcpp-1-0-13-when-deploying-shiny-app/196970 There was a problem in v1.0.13 of Rcpp, but it has been fixed and that newer version is now on CRAN, so if you install.packages("Rcpp") and retry it should go smoothly.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: smartse

79449715

Date: 2025-02-18 22:06:49
Score: 3
Natty:
Report link

There is no class named QuantumKernel, hence the error.

See the API ref https://qiskit-community.github.io/qiskit-machine-learning/apidocs/qiskit_machine_learning.kernels.html#module-qiskit_machine_learning.kernels for the classes that are there.

Also see the tutorials such as this one for quantum kernels https://qiskit-community.github.io/qiskit-machine-learning/tutorials/03_quantum_kernel.html

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

79449709

Date: 2025-02-18 22:02:48
Score: 4.5
Natty:
Report link

Replacing http://java.sun.com with https://jakarta.ee in wsdl_bindings.xml worked as shown in the screenshot below:

enter image description here

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

79449706

Date: 2025-02-18 22:01:47
Score: 2.5
Natty:
Report link

Share the script project with the service account email’s + include the scope auth/drive when requesting the service account token

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

79449703

Date: 2025-02-18 22:00:46
Score: 9.5 đŸš©
Natty: 4
Report link

Did you ever figure out a resolution to this? Having the same problem. Tokens randomly showing as "Unregistered" even on my test devices. But doesn't always happen.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever figure out a
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Having the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: datasci1987

79449701

Date: 2025-02-18 22:00:46
Score: 2.5
Natty:
Report link

I would recommend this one

No pre-setup or indexes required, the usage is like a json (I am the author)

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

79449700

Date: 2025-02-18 22:00:46
Score: 2.5
Natty:
Report link

Option is called CompressionEnabled. Set it to false

see https://learn.microsoft.com/en-us/aspnet/core/migration/70-80?view=aspnetcore-9.0&tabs=visual-studio

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

79449695

Date: 2025-02-18 21:58:45
Score: 0.5
Natty:
Report link

The solution is simple, but dangerous. The Oracle VM should ONLY be used for development and testing purposes, NEVER for a serious production system.

Now, that said, here's the solution:

Step one - turn off the firewall

In the Oracle VM, issue the following commands:

sudo systemctl stop firewalld

sudo systemctl disable firewalld

Step two - allow connections from anywhere

Edit the file: /opt/oracle/product/23ai/dbhomeFree/network/admin/listener.ora

Change localhost to 0.0.0.0

Use sudo and vim to do this.

Step three - restart the VM

That's it. It very dangerous for anything important, but this is just for dev and testing, right? Right?!

Reasons:
  • Whitelisted phrase (-1): solution is
  • Whitelisted phrase (-2): solution:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bob Roth

79449691

Date: 2025-02-18 21:56:45
Score: 0.5
Natty:
Report link

In the end, what worked was those 3 lines of code:

expr = V_r_integral_minus_V_theta_integral.subs(sp.sin(theta)**2, (1-sp.cos(2*theta))/2)
expr = sp.simplify(expr)
separated_expr = sp.collect(expr, [sp.cos(2*theta), sp.log(r), r**2])

So yeah, manually collect all terms, and manually use a trigonometric identity. I don't know if there's a more straightforward way to do it.

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

79449680

Date: 2025-02-18 21:46:43
Score: 2.5
Natty:
Report link

I had this issue - I managed to get into the admin area and just save and resave the permalinks. This fixed this issue. Hope it helps some else.

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: James H

79449657

Date: 2025-02-18 21:32:40
Score: 5
Natty: 5
Report link

Thank you for updating your post with the answer. Much appreciated :)

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): appreciated
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Muscleflex

79449650

Date: 2025-02-18 21:29:39
Score: 0.5
Natty:
Report link

After a day of fiddling what fixed it for me was:

ports:
      - "5434:5432" # So 5434 for local host, but still 5432 in the container

and then access by:

psql -h localhost -p 5434 -U root -d users
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Richard

79449644

Date: 2025-02-18 21:25:39
Score: 3
Natty:
Report link

When you run a CMD file from PowerShell, it's run by CMD.exe not by PowerShell. The error message is coming from Python.

This is not a PowerShell problem.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Sean Wheeler

79449643

Date: 2025-02-18 21:25:39
Score: 1
Natty:
Report link

Look into Integer.compare(a, b). It is something like this:

int sign = (a < b ? 1 : (a > b ? -1 : 0));

and choose a = 0 and b = col.

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

79449633

Date: 2025-02-18 21:19:37
Score: 1.5
Natty:
Report link

To clone a repo to a remote machine that has no access to the source machine, my recipe is:

See more details in a slightly longer text I just added to the FOSSIL forum: https://fossil-scm.org/forum/forumpost/4e51f8f957

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

79449632

Date: 2025-02-18 21:19:37
Score: 0.5
Natty:
Report link

It's kind of confusing, but the problem (as of writing this) is that the AddIdentity extension method used to register the identity services isn't included in the Microsoft.Extensions.DependencyInjection package (even though the API docs show it is oddly enough). It is part of the Microsoft.AspNetCore.Identity package. Add that package to your project and once you import it via a using statement then the method will be available to use to register the desired services.

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

79449619

Date: 2025-02-18 21:11:35
Score: 2
Natty:
Report link

The one of the problem may be with the Entity classes if you are dealing with MongoDB. Please check if you have @Indexed(unique=true) on your Id. If you did this please remove it and problem would be solved. This is because the _id is already unique for each document in the db. Thankyou.

Reasons:
  • Blacklisted phrase (1): Thankyou
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anurag sharma Pendyala

79449617

Date: 2025-02-18 21:10:34
Score: 7 đŸš©
Natty:
Report link

Was this issue resolved, as i am facing the same issue

Reasons:
  • RegEx Blacklisted phrase (0.5): Was this issue resolved
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i am facing the same issue
  • Single line (0.5):
  • Starts with a question (0.5): Was this is
  • Low reputation (1):
Posted by: binoj cherian

79449601

Date: 2025-02-18 21:04:32
Score: 1.5
Natty:
Report link
     print("   <td class=timx-fieldC >")
     print("     <input type=text id=1 name=var7 value='"+var1[7]+"'>")
     print("   </td><td></tr>")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tim Patterson

79449593

Date: 2025-02-18 21:02:32
Score: 1
Natty:
Report link

For me, this was only happening when Dependabot was the one who triggered the workflow (Dependabot was the "actor").

Workflows triggered by a Dependabot action are run as if they were in a fork, and don't have access to Organization or Repository secrets: GitHub Actions: Workflows triggered by Dependabot PRs will run with read-only permissions.

So, for now, I will be manually clicking "Merge" on my Dependabot Pull Requests since the next workflow in my CI/CD requires secrets.

See discussion here: GitHub Secrets sometimes empty

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

79449584

Date: 2025-02-18 20:58:30
Score: 2.5
Natty:
Report link

Make sure to do the mocks/add fixtures before freezing time. For me it was the other way around, that did it for me!

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

79449563

Date: 2025-02-18 20:49:28
Score: 4
Natty: 5.5
Report link

The answer posted by EricI uses both "\n\r" in the regular expression search. Do you need to use both? The other answers recommend searching for just "\n". Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: donohealy

79449559

Date: 2025-02-18 20:47:27
Score: 1.5
Natty:
Report link

I had the same problem because when I was creating a project, I chose a type of project "Unit test project" in VS 2019. When I tried to create a project of type "NUnit test project" - this problem was solved. Maybe my new experience will help to someone.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nataliya

79449554

Date: 2025-02-18 20:45:27
Score: 1
Natty:
Report link

Thank you all for your help! I found the bug location. It was rotationIncrement quaternion in function RotateTowards. I just added:

if (glm::any(glm::isnan(rotationIncrement))) 
    return from;

and it worked.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: John Stoner

79449524

Date: 2025-02-18 20:35:25
Score: 1
Natty:
Report link

To disable SSR correctly project-wide, you need to put this in +layout.js:

export const ssr = false;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Petr L.

79449520

Date: 2025-02-18 20:33:24
Score: 2
Natty:
Report link

The solution was to use it on appear, like so:

@main
struct ExampleApp: App {

    @UIApplicationDelegateAdaptor private var appDelegate: AppDelegate
    
    var body: some Scene {
        WindowGroup {
            ContentView()
                .onAppear(perform: {
                    appDelegate.app = self
                })
        }
    }
}

And inside AppDeligate it should start like this:

class AppDelegate: NSObject, UIApplicationDelegate {
    
    var app: ExampleApp?
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
Posted by: TheGreatCornholio

79449511

Date: 2025-02-18 20:28:23
Score: 1.5
Natty:
Report link

I guess you‘re calling /scalar/v1/ in your browser. Please try it again without the trailing slash /scalar/v1.

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

79449502

Date: 2025-02-18 20:24:22
Score: 2.5
Natty:
Report link

DO functions cannot return data directly, but they can declare cursors and those can be accessed after the DO function ends.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: lewis.michaelr

79449500

Date: 2025-02-18 20:23:22
Score: 1.5
Natty:
Report link

I found that VLC was treating my URL as a file, I just had to do this instead:

final Media media = new Media(mLibVLC, Uri.parse(IPTV_URL));
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: zuokuok

79449493

Date: 2025-02-18 20:21:22
Score: 1.5
Natty:
Report link

According to MDN: The beforeunload event is fired when the current window, contained document, and associated resources are about to be unloaded. The document is still visible and the event is still cancelable at this point.

If the user wants to close or refresh the tab, window, or browser, preventing that from happening would be annoying for users. This is because is no way to prevent users from doing this.

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

79449485

Date: 2025-02-18 20:19:21
Score: 1.5
Natty:
Report link

Thank you so much! This =N(CELL("width",A1)>0) formula worked for me. Happy to find a solution that didn't involve VBA.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: sjboyd81

79449473

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

I fixed the issue by setting a PIN (password) on my Android phone. After doing that, the RSA prompt appeared on the phone. It seems that the RSA prompt doesn't show up when the phone doesn’t have a password or PIN set for unlocking.

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

79449472

Date: 2025-02-18 20:14:20
Score: 4
Natty:
Report link

Since Joomla 5 you can create an override for the emails. Here is a short description: https://docs.joomla.org/J5.x:Managing_Mail_Template_Layout

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

79449470

Date: 2025-02-18 20:12:19
Score: 6 đŸš©
Natty:
Report link

If I understand correctly, you made component A depend on component B and now the test for A is failing because of resources needed by component B? Can you just mock component B in A's test?

This was covered before: Angular Unit Testing - Mock Child Component using Stub

or see something like: https://ng-mocks.sudo.eu/api/MockComponent/

Or can you post your test?

Reasons:
  • RegEx Blacklisted phrase (2.5): can you post your
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Randy

79449469

Date: 2025-02-18 20:12:19
Score: 1.5
Natty:
Report link

The standard C library provides mbstowcs and wcstombs which probably do everything that is required except using std::string and std::wstring. A std::string to std::wstring function based on mbstowcs would almost certainly be a lot faster than using std::wstringbuffer.

This the wc* and mb* function are required in C11 so should be supported everywhere but don't have any access to MSVC++ to check. A lot of programs use UTF 8 to avoid all the issues around byte order, how many bits fit in a wide character (32 bits in glibc, 16 bits on windows), etc.

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

79449466

Date: 2025-02-18 20:10:19
Score: 1.5
Natty:
Report link

Use this code.

In layout

@RenderSection("Style", false)

In page

@section Style
    {
        //style  
    }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: moslem aslani

79449460

Date: 2025-02-18 20:07:17
Score: 4
Natty: 5
Report link

Thank you!, i was facing the same problem

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: yach

79449452

Date: 2025-02-18 20:04:16
Score: 1.5
Natty:
Report link

The correct answer is that I need to add params with type: "string" ID, it actually had value type: "number"

@Crud({
  model: {
      type: User
    }, 
    params: {
      UserID: {
        field: 'UserID',
        type: 'string',
        primary: true
      }
    }
})
@ApiTags('users')
@Controller('users')
export class UserController implements CrudController<User> {
  
  constructor(public service: UserService) {

  }

  get base(): CrudController<User> {
    return this;
  }
}

Original answer found here: https://github.com/nestjsx/crud/issues/240#issuecomment-527350394

Reasons:
  • Blacklisted phrase (0.5): I need
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: dguard

79449444

Date: 2025-02-18 19:59:16
Score: 1
Natty:
Report link

If signInWithPopup from Google Firebase Authentication isn’t working on iOS when using Ionic + Capacitor, it's likely due to WebView limitations. iOS does not support pop-ups the same way browsers do, especially in WebViews.

Possible Issues & Fixes:

  1. signInWithPopup Doesn't Work on iOS WebViews Issue:

signInWithPopup() relies on pop-ups, which are blocked by WebViews in iOS. iOS does not allow pop-ups from WebViews due to security restrictions. signInWithPopup() works fine on browsers but not in an embedded WebView.

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

79449443

Date: 2025-02-18 19:59:16
Score: 1
Natty:
Report link

Subversion (as of 1.14.2 at least) comes with an svn-bisect tool. In debian, it is available in the subversion-tools package.

sudo apt install subversion-tools

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

79449439

Date: 2025-02-18 19:58:15
Score: 0.5
Natty:
Report link

Here is my final piece of code if someone needs it. It also extends the width of the column a little bit after Autofit.

        int i = 1;
        while (i <= ws.UsedRange.Columns.Count)
        {
            try
            {
                ws.Columns[i].AutoFit();                
            }
            catch
            {
                try
                {
                    ws.Columns[i].AutoFit();
                    ws.Columns[i].ColumnWidth = ws.Columns[i].ColumnWidth + 5;                     
                }
                catch
                {
                    ws.Columns[i].Width = 255;                       
                }
            }
            i++;
        }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: A B

79449438

Date: 2025-02-18 19:57:15
Score: 1.5
Natty:
Report link

Additional trick to save one keystroke: Remove the reference to the standard code snippets in the snippet manager.

I've changed the shortcut for evoking the snippet lookup to Ctrl < and now have to type Ctrl < tt Enter. So I have an additional 3 keystrokes next to my shortcut.

Why does this help: If you only have one folder that contains snippets for your langauge, they don't show up ;-)

Of course this won't work for everybody. But still ...

Also: If you need those code snippets, consider pushing (copying) them to your own snippet.

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

79449436

Date: 2025-02-18 19:55:15
Score: 1
Natty:
Report link

Using DFS with a Modified Stack For cycle detection using DFS in a directed graph, the basic idea is to traverse the graph and mark each node as visited. The nodes that are currently being explored (i.e., on the DFS call stack) are also marked. If we encounter a node that is already on the stack, we've detected a cycle.

However, DFS recursion can lead to stack overflow in graphs with large depths. To mitigate this:

Iterative DFS with an explicit stack: Instead of relying on recursive calls, use an explicit stack (or queue) to perform DFS iteratively. This avoids the recursion limit issue.

Optimized memory usage: Only store essential data (e.g., visitation state) and make sure to avoid storing unnecessary structures

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

79449434

Date: 2025-02-18 19:54:14
Score: 15 đŸš©
Natty: 6.5
Report link

Did you solve this issue? I am having the same issue here. The weird thing is that the change report worked. The server responded with a 202 code, but the device's status never got updated.

Everything else works perfectly, except for the Change Report.

Any help would be appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (3): Did you solve this
  • RegEx Blacklisted phrase (1.5): solve this issue?
  • RegEx Blacklisted phrase (3): Any help would be appreciated
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same issue
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you solve this is
  • Low reputation (1):
Posted by: Bruno Martins

79449430

Date: 2025-02-18 19:51:13
Score: 0.5
Natty:
Report link

Concatenation in JS is done through "+" operator and looks something like this:

const var1 = "foo"
const var2 = "bar"
const var3 = "foobar"
console.log(var1 + " " + var2 + " " + var3) // foo bar foobar
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sanyokk

79449422

Date: 2025-02-18 19:47:12
Score: 1
Natty:
Report link

I've had this problem, and I believe what fixed it for me was described here. Try doing this:

brew install postgresql

pip install "psycopg[binary,pool]" --force-reinstall --no-cache-dir
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Henrique Labella

79449412

Date: 2025-02-18 19:43:11
Score: 3
Natty:
Report link

Sid's answer worked very well and broke it down in a way that's easy to digest and understand.

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

79449409

Date: 2025-02-18 19:42:10
Score: 1.5
Natty:
Report link

I think the problem is not in your Kotlin code, but in your API itself

As I can see your api is not returning pure JSON code. It's returning some html code and below it the Json string. This will make Kotlin code unable to parse the data properly.

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

79449398

Date: 2025-02-18 19:37:10
Score: 3
Natty:
Report link

I upgraded android studio to lady bug then I upgraded android gradle plugin to the latest version 8.8.1 using the AGP upgrade assistant. I also changed the compile sdk to 35 and target sdk to 34. I was then able to compile and run my code with the dependency.

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

79449396

Date: 2025-02-18 19:36:09
Score: 1
Natty:
Report link

I've created exactly the tool you described: https://github.com/jhasse/minclude

It removes the includes in random order though. Also the downside that are mentioned in other answers are valid: It will remove a lot more than what is "used".

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: jhasse

79449370

Date: 2025-02-18 19:28:08
Score: 0.5
Natty:
Report link

In my case, IntelliJ created 2 module configurations: the old and the new. It was using the old one. I tried to delete it from Project Structure, but IntelliJ refused to delete it.

So I closed IntelliJ and deleted the module from the console with the following commands:

  1. Remove IntelliJ IDEA project files: rm -rf .idea find . -name "*.iml" -type f -delete

  2. Clean Gradle build: ./gradlew clean

  3. Remove Gradle caches for your specific project: rm -rf ~/.gradle/caches/modules-2/files-2.1/YOUR_FOLDER_HERE

    For example, if you are in a project com.enterprise.something.else, you should do: rm -rf ~/.gradle/caches/modules-2/files-2.1/com.enterprise

  4. Open IntelliJ and use "File -> Open Project" to import the project from scratch, allowing IntelliJ to reconfigure everything.

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

79449367

Date: 2025-02-18 19:25:07
Score: 0.5
Natty:
Report link

So this was already answered by kakkoko's comment. But I just wanted to put this into an answer so that the question is marked as solved.

So! Most compilers follow the Itanium abi, meaning that there is a defined interface. Essentially, when type_info and __fundamental_type_info are defined as the abi declares them (so matching the namespace, functions etc), then the compiler works some magic in the background and defines the type info for you!

I tried to put this into godbolt, but it seems it needs them to be defined in a separate file.

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

79449363

Date: 2025-02-18 19:23:06
Score: 0.5
Natty:
Report link

So apparently it was a WSL networking issue and a Nomad/Traefik issue, two in one.

I had to mount the traefik config files from Nomad to Docker like:

        volumes = [
          "etc/traefik/traefik.yml:/etc/traefik/traefik.yml",
          "etc/traefik/dynamic.yml:/etc/traefik/dynamic.yml"
        ]

Then I had to remove the port forwarding since Nomad does automatic NAT translation when bound to 0.0.0.0, then bind the ports in the hcl setup so that Nomad can handle that: ports = ["admin", "http"]

That results in Traefik being available on the WSL IP address (not localhost, as it's not found to 0.0.0.0) and is able to handle incoming traffic.

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

79449354

Date: 2025-02-18 19:20:06
Score: 1
Natty:
Report link

No. Linux does not write pages to swap if that same page exists in storage. ".text" pages, are the program and library code pages that are generally read-only and change on disk infrequently.

When the kernel is recouping dram, it examine LRU pages. If the page exists on disk it merely 'evicts' the page - it marks the page as not present in dram in the MMU, and then re-uses that dram page for other purposes. If the evicted page is later accessed, it will page-fault in from disk.

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

79449352

Date: 2025-02-18 19:19:06
Score: 3.5
Natty:
Report link

You can’t call functions that yields inside metamethods because Luau doesn’t support suspending coroutines inside metamethod functions.

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

79449350

Date: 2025-02-18 19:18:05
Score: 0.5
Natty:
Report link

I suspect that running uv run -m scripts.importmylist might solve your problem. Notice the -m or --module flag, which runs a python module. Also notice the dot instead of the slash and the lack of the .py ending.

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

79449349

Date: 2025-02-18 19:18:05
Score: 3
Natty:
Report link

Grails 6.2.3 is on Spring Boot 2.7.18 which supports a max tomcat version of 9.0.x.

https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-dependencies/2.7.18

Grails 7 will be on Spring Boot 3.4.x which supports Tomcat 10.1.x. https://grails.org/blog/2024-12-23-grails-7-m1.html

https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-dependencies/3.4.0

Grails 8 will likely be the first version to support Tomcat 11.

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

79449339

Date: 2025-02-18 19:13:04
Score: 2
Natty:
Report link

.1.3.6.1.2.1.2.2.1.7 is ifAdminStatus, 1 means the port is enabled/up, 2 means it's shutdown/down

.1.3.6.1.2.1.2.2.1.8 is ifOperStatus, if the admin status is down, this will be down. 1 means the port is admin up AND connected, 2, if the port is admin up, means the port is disconnected.

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

79449336

Date: 2025-02-18 19:12:04
Score: 1.5
Natty:
Report link

I think what you need here is replacing

make.left.right.greaterThanOrEqualToSuperview().inset(padding).priority(.required)

with

make.left.greaterThanOrEqualToSuperview().inset(padding)
make.right.lessThanOrEqualToSuperview().inset(padding)

For me it works perfectly fine now!

landscape portrait

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

79449331

Date: 2025-02-18 19:07:02
Score: 1
Natty:
Report link

using rm-pycache https://pypi.org/project/rm-pycache/

python3 -m pip install rm-pycache

rm_pycache()

you can specify the path, or otherwise will run in the current working directory.

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

79449311

Date: 2025-02-18 18:58:01
Score: 2.5
Natty:
Report link

You'd expect this issue to be solved by now right?, but yeah Microsoft

You can just use this dotnet tool instead https://github.com/dotnet-outdated/dotnet-outdated

update to the latest packages for your runtime by calling:

dotnet outdated -vl Major -u
Reasons:
  • RegEx Blacklisted phrase (1.5): solved by now right?
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: brodrigs

79449310

Date: 2025-02-18 18:56:00
Score: 4.5
Natty: 4.5
Report link

Here is a screen shot link:

Sort Order Lexicographic Options Setting

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

79449307

Date: 2025-02-18 18:54:59
Score: 3.5
Natty:
Report link

Or try dumber to (un)numbering Mardown sections, and add/remove Table(s) of Content.

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

79449304

Date: 2025-02-18 18:51:59
Score: 1.5
Natty:
Report link

Regarding your question:

Also how can we Disable Default MongoDB ObjectID's Generation and _v?`

Setting versionKey to false in your schema will disable versioning.

const mySchema = new mongoose.Schema({
    someField: String
}, { versionKey: false });

All top-level documents require an _id. The _id serves as the primary key.

Note: autoIndexId: false only worked in older versions of MongoDB (before v3.4)

Reasons:
  • Blacklisted phrase (1): how can we
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Stephen Taylor

79449301

Date: 2025-02-18 18:48:58
Score: 1
Natty:
Report link

Looks like we use https://aiohttp.readthedocs.io/en/stable ourselves: https://github.com/aio-libs/aiohttp-session/blob/4e14245e60140825979fcc7ec9d732f5aa16663f/docs/conf.py#L345

So, I'd try that.

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