79388482

Date: 2025-01-26 12:06:22
Score: 4
Natty: 4.5
Report link

To anyone still facing this issue, can refer this: https://github.com/proyecto26/react-native-inappbrowser/issues/451#issuecomment-2275538714

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

79388480

Date: 2025-01-26 12:05:22
Score: 1.5
Natty:
Report link

to complement the answer https://stackoverflow.com/a/79301018/17570148:

If you only change the values ​​of the id "com.android.application" version "8.1.0" apply false, and update grladle to 8.3, you may have some problem related to incompatibility between the target JVM versions configured for the Java compiler (in my case; 1.8) and the Kotlin compiler (in my case; 17).

enter image description here enter image description here

To solve this inconsistency, it is necessary to align the target JVM versions for both compilers. In the android/app/build.gradle file:

android { 
    ... 
    
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_17 // change the version here (VERSION_17 is my case)
        targetCompatibility JavaVersion.VERSION_17 // change the version here (VERSION_17 is my case)
    }

    // if your file doesn't have this line, you need to add it to ensure that the Kotlin compiler uses the same JVM version as the Java compiler:
    kotlinOptions {
        jvmTarget = "17" // 17 in my case
    }
}
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aurelio Fernam

79388471

Date: 2025-01-26 12:01:21
Score: 1.5
Natty:
Report link

write clear in the terminal the above answers also work but then the powershell cursor is confused when you type the next command

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

79388457

Date: 2025-01-26 11:50:19
Score: 2
Natty:
Report link

There is currently a known issue for this: https://github.com/tauri-apps/tauri/issues/11823

It currently doesn't seem to be possible to properly add resource files on Android. I haven't found any workaround yet, but I asked in the linked GH issue above.

My Android App just crashed and it took me some time to figure out that this is related to file reading.

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

79388451

Date: 2025-01-26 11:47:18
Score: 2.5
Natty:
Report link

I installed Debian 10 and php version 7.3.

This seems to work.

Php 8 allows brackets around table name but this does not.

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

79388447

Date: 2025-01-26 11:46:18
Score: 1
Natty:
Report link

Thanks to these comments, I could figure out what are going on under this issue.

While looking into this issue, I could find more pelicuralities.

  1. Performing SetRenameInformationFile within an exe as a standard user(without elevation) without a manifest specifiying requestedExecutionLevel in trustinfo(which handles execution level) triggers this issue.
  2. This issue occurs when trying to rename ADS under os drive(which is typically C:), while it does not occur in additional drives.

Difference between c++ and go program.

This is indeed related to the manifest file and the UAC virtualization as it is documented that

Specifying requestedExecutionLevel node will disable file and registry virtualization.

And this happens only in 32-bit program as UAC virtualization is only supported for 32-bit apps(as it is for pre-vista apps compatiblity, in which 64-bit was not popular and not used widely). When using g++ for compiling exe file, it embeds default manifest using pre-generated object file located in {mingw-root}/lib/default-manifest.o, which contains manifest file such as

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level="asInvoker"/>
      </requestedPrivileges>
   </security>
  </trustInfo>
  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
    <application>
      <!--The ID below indicates application support for Windows Vista -->
      <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
      <!--The ID below indicates application support for Windows 7 -->
      <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
      <!--The ID below indicates application support for Windows 8 -->
      <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
      <!--The ID below indicates application support for Windows 8.1 -->
      <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
      <!--The ID below indicates application support for Windows 10 -->
      <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
    </application>
  </compatibility>
</assembly>

which is mostly embed into exe file by default for several compilers(Visual Studio, mingw-64-gcc, rust, ...). However, golang does not embed or provide manifest for exe files by itself as they decided to make it a developer's responsibility to do that by themselves. 😢

Return value of ERROR_INVALID_NAME from SetFileInformationByHandle

As noted in the question, the error value ERROR_INVALID_NAME which is translated from STATUS_OBJECT_NAME_INVALID comes from luafv which stands for Least authorized User Account File Virtualization Filter Driver, which is used for UAC virtualization. From luafv!LuafvPerformRename the part where STATUS_OBJECT_NAME_INVALID(0xc0000033) comes into the scene it does something like

iterVal = 0;
if (uNameLen != 0) {
    do {
        if ((*(short *)(namePtr + iterVal * 2) == 0x5c) || (*(short *)(namePtr + iterVal * 2) == 0x3a)) 
        {
          esi = 0xc0000033;
          goto EXIT;
        }
        iterVal = iterVal + 1;
      } while (iterVal < uNameLen);
    }
  }

// ...

EXIT:
// release allocated objects...

return;

which reads through WCHAR(uint16) values from the name buffer to be used for renaming, if there is any backslash \(0x5c) or colon :(0x3a), it will set a register(particulary ESI) to 0xc0000033 then skip the actual call to FltSetInformationFile then do the releasing of the allocated resources. As every name used for renaming ADS starts with : according to the document, it is obvious that luafv cannot be used to rename ADS. So, it looks like renaming ADS does not work with UAC virtualization.

As, go currently supports Windows versions later than Windows 10, go compiled programs should not need compatibility for pre-vista Windows. Currently, to make 32-bit go compiled programs work without issue, manually embedding manifest file from the above(to also fix some potential issues) is the solution.

Remaining question

While trying to figure out why renaming ADS fails for files under os drive, I have checked that the directories I used for testing has ACL that allow the runner of the process to rename streams. As I was not using directories under C:\Windows, C:\Program Files which required administrator rights to access files inside them, I think that such issue should not happen for unrestricted directories. I wonder if Windows has drive-specific security setting for each drive but I could not find any reference about it.

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

79388444

Date: 2025-01-26 11:45:18
Score: 1
Natty:
Report link

As pointed out by @jokuskay, my code was using the incorrect BuildConfig class. For some reason, I was importing Google's Firebase BuildConfig into my activity with the line of code import com.google.firebase.BuildConfig. That was a mistake and simply deleting this line fixed the issue.

Thanks @jokuskay!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jokuskay
  • User mentioned (0): @jokuskay
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: FTM

79388439

Date: 2025-01-26 11:40:17
Score: 1.5
Natty:
Report link

You can just use the GradientExplainer.

explainer = shap.GradientExplainer(fusion_model, [background_images,background_tabular])
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hithesh Jay

79388438

Date: 2025-01-26 11:40:16
Score: 6 🚩
Natty: 5
Report link

I need help with this, om being attacked for no reason and these people are just embedding malware unto my phone and disrupting the whole system

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (2.5): I need help
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rascal_Str13tlife_ Meza

79388435

Date: 2025-01-26 11:38:14
Score: 5
Natty: 6.5
Report link

I am using Python for the Delft3D FM model and also met that problem. I would like to know if you find a solution to that or not. Thank you

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1.5): I would like to know
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: LongTrinhVN

79388434

Date: 2025-01-26 11:38:14
Score: 0.5
Natty:
Report link

I've this class "Vettore" and I need to read an input file with a function (i dont know how to adapt a "ReadfromFile" funcion to classes) and and store them to objects of a class Vettore. I also need to order the content of the class with selection sort

enter code here
class Vettore{

public: 
 

Vettore(); 
Vettore(int N); 


~Vettore();

//copy constructor 
Vettore(const Vettore&); 

//assignement operator 

Vettore& operator=(const Vettore&);


unsigned int GetN() const {return m_N;};
void SetComponent(int, double);
double GetComponent(int) const;
double& operator[](int); 

void Scambia(int, int);

private: 

int m_N; 
double * m_v; 

};
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aurora Pavanello

79388431

Date: 2025-01-26 11:35:13
Score: 8.5
Natty: 7
Report link

i got the same problem. have you found the solution?

Reasons:
  • Blacklisted phrase (1): i got the same problem
  • RegEx Blacklisted phrase (2.5): have you found the solution
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Avinash Soni

79388417

Date: 2025-01-26 11:25:10
Score: 3
Natty:
Report link

You can read a comprehensive article I wrote for the JavaScript tutorial: WeakRef and FinalizationRegistry. Where the use of weak references is described in detail.

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

79388414

Date: 2025-01-26 11:21:10
Score: 1
Natty:
Report link

I also got same issue. For me user access token worked. rather than app access token.

public async Task<string> GetAccessToken()
    {
        if (_authToken == null)
        {
            var tenantId = Configuration.TenantId;
            var clientId = Configuration.ClientId;

            var authority = $"https://login.microsoftonline.com/{tenantId}";

            var scopes = new string[] { "https://domain.sharepoint.com/.default" };

            var cca = PublicClientApplicationBuilder.Create(clientId)
                .WithRedirectUri("http://localhost")
                .WithAuthority(new Uri($"https://login.microsoftonline.com/{tenantId}"))
                .Build();

            var result = await cca.AcquireTokenInteractive(scopes).ExecuteAsync();
            return _authToken = result.AccessToken;
        }
        return _authToken;

    }

But don't forget to add redirect URL in Azure. under Home>>App registartions>>App>>Authentication.

Azure Redirect URI

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

79388413

Date: 2025-01-26 11:21:10
Score: 3.5
Natty:
Report link

[str(x).encode('utf-8') for x in row]

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

79388409

Date: 2025-01-26 11:15:08
Score: 1
Natty:
Report link

I have written a script below for quickly connecting using adb pair and adb connect on Mac: https://gist.github.com/bartwell/05cb8f4e2a913229ea652fe1eed956e7

Usage:

./script.sh 192.168.0.101
./script.sh 192.168.0.101 --restart-server
./script.sh -h
Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: BArtWell

79388402

Date: 2025-01-26 11:10:08
Score: 2.5
Natty:
Report link

Shortcuts in PowerCenter allow you to reference the same source, target, or transformation multiple times without creating redundant definitions, making your development process more efficient.

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

79388401

Date: 2025-01-26 11:09:07
Score: 4
Natty:
Report link

You can use infinite-carousel-vue

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lê Trung Tấn

79388390

Date: 2025-01-26 10:56:04
Score: 2
Natty:
Report link

For any other types of app than Web App, google doesn't produce Client Secret. If you really need client secret, then you must set your application type web.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Al Walid Ashik

79388389

Date: 2025-01-26 10:56:04
Score: 1.5
Natty:
Report link

Open your terminal in the root directory of your Flutter project.

Run the following commands:

flutter clean
flutter pub get
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: vijaykarthik

79388384

Date: 2025-01-26 10:54:04
Score: 3.5
Natty:
Report link

i'm using: https://textlab.tools/markdown-validator in order to check my markdown and other text formats

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

79388376

Date: 2025-01-26 10:45:01
Score: 13.5
Natty: 8.5
Report link

hey did you got any solution???

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): ???
  • RegEx Blacklisted phrase (3): did you got any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Muzamil Haider

79388375

Date: 2025-01-26 10:44:00
Score: 2
Natty:
Report link

It’s likely due to ScrollTrigger not recalculating positions on load. Calling ScrollTrigger.refresh() after the layout finalizes, like erome, makes it work!

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

79388361

Date: 2025-01-26 10:31:58
Score: 3
Natty:
Report link

Does your CNN model expects 2 inputs? if yes just use the GradientExplainer instead of DeepExplainer.

Use this

explainer = shap.GradientExplainer(model, X_train[0:10])

refernce: https://github.com/shap/shap/blob/master/notebooks/image_examples/image_classification/Multi-input%20Gradient%20Explainer%20MNIST%20Example.ipynb

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Hithesh Jay

79388360

Date: 2025-01-26 10:30:58
Score: 2
Natty:
Report link

This error is also a symptom of trying to sync the slave from itself. Ensure you are syncing from another node.

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

79388353

Date: 2025-01-26 10:25:56
Score: 5
Natty: 4.5
Report link

Has anybody figured out how to specify a table?

I have hundreds of tables with complicated names. I want a user to input a specific table they want to query and THEN have the agent act on that specific table.

Is that possible?

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: blacklotus63

79388352

Date: 2025-01-26 10:22:55
Score: 2.5
Natty:
Report link

In a function declaration the return type is specified after the -> It should be clear form the name of the function the intention is to never return. What type should such a function have?

It's the "never" type, see https://doc.rust-lang.org/reference/types/never.html

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

79388346

Date: 2025-01-26 10:18:54
Score: 2.5
Natty:
Report link

You need to use the escaped version of <, which is <. Similarly, > should be replaced with > if required.

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

79388336

Date: 2025-01-26 10:09:53
Score: 1
Natty:
Report link

The scrollbar doesn't overlay on top of content, even if you set its position: absolute;. Instead, there are few customizable options available for scrollbars, like adjusting the track and thumb colors, changing the height and width, or toggling visibility (using display property). Firefox supports some of these customizations as well.

If you're looking for more control over your scrollbar's appearance, you can either create your own scrollbar (check out this tutorial) or use a library like simplebar, which simplifies the process. If your are using react make sure to use react-simplebar

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Muhammad Saqib

79388331

Date: 2025-01-26 10:05:52
Score: 1.5
Natty:
Report link

You can't reference list's variable location in memory through the variables it was created from. Consider this example:

a = 1; b = 2; c = 3
l = [a, b, c]
a = 5
print(a, b, c, str(l)) # Will print "5 2 3 [1, 2, 3]"

Once you modify variable a, element l[0] will point to a different location in memory. Check out this article to learn more about how memory works in python.

Reasons:
  • Blacklisted phrase (1): this article
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: CodingTea

79388330

Date: 2025-01-26 10:04:52
Score: 2.5
Natty:
Report link

num = int(input("Enter num for multiplication table : "))

for i in range(1,11): print(f"{num} x {i} = {num*i}")

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ayushman Dutta Chowdhury

79388317

Date: 2025-01-26 09:57:51
Score: 3
Natty:
Report link

In my case I hadn't followed the shadcn installation instructions, which details adding the bits (and many other things) mentioned in @mubashir's answer and the linked issue

https://ui.shadcn.com/docs/installation/vite

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @mubashir's
  • Low reputation (0.5):
Posted by: Blake

79388313

Date: 2025-01-26 09:52:50
Score: 1
Natty:
Report link

You can view metrics of different runs using Chat View follow these steps:

  1. Click Chat view
  2. Select the runs that you wanna view
  3. Click Add chart and configure the metrics that you wanna view

MLFlow Multi-runs Chart View

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

79388309

Date: 2025-01-26 09:51:50
Score: 1.5
Natty:
Report link

This behaviour is as expected.

Simple explaination:-

Libuv does not assign a thread from thread pool to a file. When there are multiple I/O (file read) request comes to libuv it will creates multiple tasks of each file read operation. Task is to read a given chunk. And this assignment of task to threads is random as its a asynchronous request. Once a thread completes its task then libuv provides another task to read another chunk of any random file.

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

79388306

Date: 2025-01-26 09:46:49
Score: 0.5
Natty:
Report link

I forgot to use adapter.notifyDataSetChanged(). It is working now.

myArrayList = Database.getSharedObject(getActivity()).getMyList();
adapter.setItems (myArrayList);
adapter.notifyDataSetChanged();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sunny Jha

79388299

Date: 2025-01-26 09:41:48
Score: 3.5
Natty:
Report link

save colors with shared preferences

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

79388292

Date: 2025-01-26 09:35:47
Score: 3
Natty:
Report link

pip uninstall moviepy

than

pip install moviepy==1.0.3

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

79388287

Date: 2025-01-26 09:32:46
Score: 1
Natty:
Report link
  var iframe = document.getElementById("myFrame");
  var elmnt = iframe.contentWindow.document.getElementsByTagName("button")[0];

elmnt.click();

wenn man klick in einem Frame simulieren will muss man die var "iframe" nennen.

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

79388281

Date: 2025-01-26 09:28:46
Score: 3.5
Natty:
Report link

@user5047085 'if you write to the named pipe once, it seems to stop working after that'. If you open the pipe with O_RDWR (not O_RDONLY) it will keep working.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @user5047085
  • Low reputation (1):
Posted by: M.A. Campbell

79388279

Date: 2025-01-26 09:26:45
Score: 7.5 🚩
Natty: 5.5
Report link

ريان عبد الحليم محمد عبده الصوفي

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: ريان عبد الحليم الصوفي

79388255

Date: 2025-01-26 09:08:40
Score: 2
Natty:
Report link

Somehow my answer got turned into a comment...

I believe this relates to your problem: Access imported functions from evaled code

Here is the annotation to the eval() function from the MDN documentation: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#script

"It will be parsed as a script, so import declarations (which can only exist in modules) are not allowed."

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

79388254

Date: 2025-01-26 09:07:40
Score: 1.5
Natty:
Report link

enter image description hereThis is my working code

import the necessary libraries as bellow for the .tsx file.

import React, { useRef } from 'react';
import { useReactToPrint } from 'react-to-print';

Create necessary button,

<Button
    variant="contained"
    color="primary"
    onClick={() => handlePrint && handlePrint()} // Wrap the call in an anonymous function
>
Print Profile
</Button>

Creat the function,

const printRef = useRef<HTMLDivElement>(null); // Ref for printable content

const handlePrint = useReactToPrint({
    contentRef: printRef,
    documentTitle: `Principal_Profile_${ttUserId}`,
    onAfterPrint: () => console.log('Printing completed'),
});

After these steps I was success and was able to print the content in the typescript file as I needed.

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

79388252

Date: 2025-01-26 09:07:40
Score: 0.5
Natty:
Report link

Long story shot:

It's an interesting and sometimes subtle aspect of Java! Even if you don’t explicitly use the static keyword, any interface declared inside a class is implicitly static by definition. --ChatGPT

This means you can reference it without creating an instance of the enclosing class, and it behaves independently of any specific instance of the outer class.

I might be late to the party here.
But as I'm learning more about Java, I find it really interesting. chatGPT told me this :

Double-check your understanding. Java won't allow truly non-static interfaces nested in classes.

which has brought me here so to say.
I was debating this with ChatGPT, as it stated that inner interfaces are static.
I removed the 'static' keyword from its definition and my code worked, only for it to later tell me that even without the keyword, an inner interface is still static.

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

79388242

Date: 2025-01-26 08:58:38
Score: 3.5
Natty:
Report link

don't those params used in class' methods have a role of private fields? Seems to me that they do. And for me the most logical way of naming them would be starting with underscore: class Service1(IService2 _service2)

what do you think?

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

79388237

Date: 2025-01-26 08:54:37
Score: 1.5
Natty:
Report link

This can be an issue with the region you are currently trying to work with CodeDeploy. I was trying to work with ap-south-2 region but it was consistently disabled regardless of efforts. I tried switching to ap-south-1 and it worked without any other effort.

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

79388231

Date: 2025-01-26 08:50:37
Score: 2
Natty:
Report link

You need to run your app on a non-reserved port production Flask server, and then make sure to run a reverse proxy such as nginx for speed and so you can serve to port 80 or 443 and for speed. Don't run your Flask server as root as it's insecure, only the proxy.

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

79388227

Date: 2025-01-26 08:47:36
Score: 2
Natty:
Report link

Not sure if your question was answered but I think you can find the answer here : Swiftui append to a struct array doesn't work.

The problem you have is basically because you have everything in a view but should use something like ObservableObject: instead. The view is reloaded and cleared each time so that's why your entries are reset constantly.

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

79388225

Date: 2025-01-26 08:46:36
Score: 2.5
Natty:
Report link

I would maybe look into gorm transactions as you are touching two tables at the same time.

Can try to develop if needed.

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

79388221

Date: 2025-01-26 08:42:34
Score: 6 🚩
Natty: 4
Report link

If anyone was wondering how to also sort classes in php files, such as on CMS like WordPress, I am using this plugin: https://marketplace.visualstudio.com/items?itemName=heybourn.headwind

Reasons:
  • Blacklisted phrase (1): this plugin
  • Blacklisted phrase (2): was wondering
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Matteo Feduzi

79388218

Date: 2025-01-26 08:35:32
Score: 1
Natty:
Report link

When I change the code as following I was success.

const printRef = useRef<HTMLDivElement>(null);    
const handlePrint = useReactToPrint({
    contentRef: printRef,
    documentTitle: `My_HeaderText_Print_${userId}`,
    onAfterPrint: () => console.log('Printing completed'),
  });
console.log(componentRef.current);

react-to-print version 3.0.4

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Uthpalavi Dias

79388212

Date: 2025-01-26 08:33:31
Score: 2.5
Natty:
Report link

"My Android app is specifically designed for tablet, and I do not want it to run on mobile phones"

Only a jerk would want that, let the user decide, it's their prerogative not yours. #powertotheusers

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

79388196

Date: 2025-01-26 08:21:30
Score: 1
Natty:
Report link

Currently there is an ansible module to easily perform an interactive (GUI) login.

- name: Set autologon for user1 with a limited logon count
  community.windows.win_auto_logon:
    username: User1
    password: str0ngp@ssword
    logon_count: 5
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Евгений Акимов

79388193

Date: 2025-01-26 08:19:29
Score: 4
Natty:
Report link

To better understand the sensor HAL, I want to find out how does the system read data from this sensor, and which function is used to access data from the kernel? Does anyone have any insights on this?

The HAL gets sensor data using callback routines, being generated from lower layers. The initialize() call from HAL takes a callback function as a parameter. Android sensor HAL provides batch() function to configure sampling period and maximum allowable latency. The callback functions are called based on configured sampling period. Now it is up to vendor to implement these APIs. Please see documentation at:Sensor HAL 2.0.

Sensor Driver

I built a GKI kernel for my phone and identified common/drivers/iio/imu/st_lsm6dsx, assuming it was the sensor's driver. I attempted to disable it by removing it from the Makefile. However, the sensor continued to function, indicating that this was not its driver. At least, on my phone, they didn't use this driver.

To achieve power saving and to offload sensor calculations, many mobile SoC vendors provide a separate core for sensor interfacing. Hence for given SoC the sensor driver may not be found in its kernel source code. Please refer target SoC features to know if it contains a separate sensor core.

Reasons:
  • RegEx Blacklisted phrase (3): Does anyone have any insights
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: vinap

79388182

Date: 2025-01-26 08:10:27
Score: 2.5
Natty:
Report link

Comet replied to this question saying API.get_panel_experiments() results containing hidden experiments is a known issue, and this is supposed to be fixed in a future release.

Comet also said this apperantly should not happen if your custom panel was created by pressing the Create your own panel link at the buttom instead of + Create new one at the top, but I don't see this link on my webapp (version 5.87.18), so this workaround is not verified.

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): see this link
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: David Taub

79388178

Date: 2025-01-26 08:08:26
Score: 2
Natty:
Report link

Steps:

  1. Just install the Visual Code 2022 ( https://visualstudio.microsoft.com/vs/ )
  2. While installing tick all the techs , it will cause to install all the realted packages. See this image to understand what am i saying exactly
  3. Then pip install llama-cpp-python

It totally works for Windows

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mrinal kangsa Banik

79388177

Date: 2025-01-26 08:08:26
Score: 0.5
Natty:
Report link

You are seeing Package3 as Package2.Package3 inside Package1 because there is no other package or any other files inside Package2 than Package3.

If you wanted to see the hierarchy you either need to add another files/packages inside the package2 or adjust the project settings to compact middle packages.

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

79388174

Date: 2025-01-26 08:04:25
Score: 1.5
Natty:
Report link

On current version regarding this date, I am using the following to get text:

console.log($('#select_id').select2('data')[0].text);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Luis Lara

79388170

Date: 2025-01-26 08:02:25
Score: 3.5
Natty:
Report link

Download and install the latest versions of the Visual C++ Redistributables.

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

79388153

Date: 2025-01-26 07:42:22
Score: 0.5
Natty:
Report link

You can create an event that opens a port in a browser when the ports becomes bound. Add this to your devcontainer.json file

"portsAttributes": {
    "4200": {
        "label": "Angular App",
        "onAutoForward": "openBrowser"
    }
},
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: el-davo

79388152

Date: 2025-01-26 07:41:21
Score: 0.5
Natty:
Report link

This feature is called chained comparisons (you can read the brief description in the python docs here)

To be absolutely honest, I had no idea the first option was even possible and you absolutely won't be going wrong using the second option (anyone who tells you otherwise has never used any other programming language).

At the same time, I can't find anything with a quick google search that says something negative about chained comparisons, and PEP8 has nothing to offer on the topic either.

Basically that leaves it up to personal preference and style. The general guidelines are to:

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

79388150

Date: 2025-01-26 07:40:20
Score: 9 🚩
Natty:
Report link

Estamos interesados en Btnkumar.

Estamos interesados en hablar con vosotros para que Btnkumar pueda aparecer en prensa y logre una mejor posición en internet. Se crearán noticias reales dentro de los periódicos más destacados, que no se marcan como publicidad y que no se borran.

Estas noticias se publicarán en más de cuarenta periódicos de gran autoridad para mejorar el posicionamiento de tu web y la reputación.

¿Podrías facilitarme un teléfono para aplicarte un mes gratuito?

Muchas gracias.

Reasons:
  • Blacklisted phrase (1): ¿
  • Blacklisted phrase (2): gracias
  • Blacklisted phrase (2): crear
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: paola

79388146

Date: 2025-01-26 07:36:19
Score: 2.5
Natty:
Report link

Would you be willing to report your problem to JetBrains? Please find information on Reporting performance problems and How to get a thread dump when IDE hangs and doesn't respond. Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Marit

79388140

Date: 2025-01-26 07:30:18
Score: 1.5
Natty:
Report link

A few months late, but it might be because you called the this.context.getApplicationContext().getContentResolver().insert(Telephony.Mms.CONTENT_URI, mmsValues); before you added anything to the mmsValues variable, so it might've just inserted an empty ContentValues to the content resolver, so try moving that line to right above the smsManager.sendMultimediaMessage.
Also try these too.
https://github.com/klinker41/android-smsmms
https://github.com/aosp-mirror/platform_development/blob/master/samples/ApiDemos/src/com/example/android/apis/os/MmsMessagingDemo.java

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

79388137

Date: 2025-01-26 07:28:18
Score: 2.5
Natty:
Report link

From the IntelliJ IDEA documentation on GitLab integration:

"The integration supports GitLab Community Edition and GitLab Enterprise Edition versions 14.0 and later."

Does your version of GitLab meet these requirements?

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

79388134

Date: 2025-01-26 07:26:17
Score: 2
Natty:
Report link

Usually a CSRF token is bound to a session. So in addition to the CSRF token I would expect you also need to sustain the session, which is typically done by sustaining a session cookie in the HTTP header.

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

79388130

Date: 2025-01-26 07:23:17
Score: 2
Natty:
Report link

Use s3manager.Downloader in Go SDK v2 for fast, efficient multi-part downloads from AWS S3. It handles large files seamlessly.

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

79388128

Date: 2025-01-26 07:21:16
Score: 0.5
Natty:
Report link

As far as I can find by searching the docs & settings, it's not possible to keep the search results open. It is however, very straightforward to reopen them and the original search & results should be preserved. If you want to, you could file a feature request in YouTrack. It would help if you could explain your workflow; what are you trying to achieve that would require the search results to remain open?. Personally I use search to navigate somewhere and would not need to keep them open, so I am trying to understand why you would.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Marit

79388123

Date: 2025-01-26 07:16:15
Score: 4
Natty: 4.5
Report link

i guess in this articel you will find the solution

How to block Node.js Api’s from 3rd party access.

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

79388120

Date: 2025-01-26 07:12:13
Score: 9.5 🚩
Natty:
Report link

Good afternoon, I ran into exactly the same problem, did you manage to find a solution?

Reasons:
  • Blacklisted phrase (1): Good afternoon
  • RegEx Blacklisted phrase (3): did you manage to find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29359784

79388119

Date: 2025-01-26 07:08:12
Score: 2
Natty:
Report link

In my case, I open live server settings in vs code and checked;

Live Server › Settings: Full Reload Live Server › Settings: Use Web Ext

Then started reload php serve and live server web extensions.

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

79388116

Date: 2025-01-26 07:06:12
Score: 1.5
Natty:
Report link

403 ERROR The request could not be satisfied. Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation. Generated by cloudfront (CloudFront)

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

79388114

Date: 2025-01-26 07:05:11
Score: 1
Natty:
Report link

This is a supplement to JvdV's answer:

I must admit it's impressive and enlightening. I guess I'm not the only one who always seeking for a general method to convert a string into 2-Dimensional array without looping and spliting substring populated by row delimiter. I've known that Application.Transpose will convert 1-D array which contains 1-D subarray as element into 2-D array, but I never realized that it can be combined with Index function in such an elegant way!

Now I extend this method to populate any customized size 2-D array in my project, only if I know the column number of that array, take an example:

Assume that I get a Recordset from ADO object by SQL query and retrieve data by .GetString Method (I can't use GetRows method becuz of Null value in the recordset), then divided the string into a N*4 size 2-dimensional array:

Dim adoCnnctn As New ADODB.Connection
Dim strRcrdSt As String
Dim arrRcrdSt As Variant
Dim arrFld1 As Variant, arrFld2 As Variant, arrFld3 As Variant, arrFld4 As Variant

strRcrdSt = adoCnnctn.Execute(strQry).GetString(adClipString, , ",", ",", "N/A")
arrRcrdSt = Split(Left(strRcrdSt, Len(strRcrdSt) - 1), ",")

With Application
    .ReferenceStyle = xlA1
    arrFld1 = Evaluate("=TRANSPOSE((ROW(1:" & (UBound(arrRcrdSt) + 1) / 4 & ")*4)-3)")
    arrFld2 = Evaluate("=TRANSPOSE((ROW(1:" & (UBound(arrRcrdSt) + 1) / 4 & ")*4)-2)")
    arrFld3 = Evaluate("=TRANSPOSE((ROW(1:" & (UBound(arrRcrdSt) + 1) / 4 & ")*4)-1)")
    arrFld4 = Evaluate("=TRANSPOSE((ROW(1:" & (UBound(arrRcrdSt) + 1) / 4 & ")*4)-0)")
    arrRcrdSt = .Transpose(Array( _
                .Index(arrRcrdSt, 1, arrFld1), _
                .Index(arrRcrdSt, 1, arrFld2), _
                .Index(arrRcrdSt, 1, arrFld3), _
                .Index(arrRcrdSt, 1, arrFld4)))
End With

Key points you must pay attetion to:

  1. Watch out the data type of those variables and arrays;
  2. Watch out the subscript of those arrays;
  3. The formula reference style must be xlA1,you can make this mandatory setting by VBA code or set it in the option menu by unchecking R1C1 reference style, otherwise Index function will return "Error 2015"

And thank you! @JvdV

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @JvdV
  • Low reputation (1):
Posted by: Meer Molix

79388106

Date: 2025-01-26 06:56:09
Score: 0.5
Natty:
Report link

If your password contains special characters like @, $ and &. Use url encoded version.

@ becomes %40 $ becomes %24 & becomes %26

replace with above characters. It should work

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Khader M A

79388105

Date: 2025-01-26 06:55:09
Score: 1
Natty:
Report link

I faced the same error , if you use linux you can just add the command fnm env --use-on-cd | Out-String | Invoke-Expression to your profile of shell. Otherwise , just run it in shell and fnm list then you can choose from the installed ones.

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

79388095

Date: 2025-01-26 06:46:07
Score: 1.5
Natty:
Report link

This can be caused by the "Prefer 32-bit" flag being checking in the project settings.

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

79388089

Date: 2025-01-26 06:44:07
Score: 0.5
Natty:
Report link

You have to specify the build packs as mentioned in below reference:

You can get more information about buildpacks from below reference in the Build pack section:

Here is how you can achieve it, by modifying pom.xml

<build>
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <configuration>
                <image>
                    <builder>paketobuildpacks/builder:base</builder>
                    <buildpacks>
                        <buildpack>gcr.io/paketo-buildpacks/amazon-corretto</buildpack>
                    </buildpacks>
                    <env>
                        <BP_JVM_VERSION>17</BP_JVM_VERSION>
                    </env>
                </image>
            </configuration>
        </plugin>
    </plugins>
</build>
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Syed

79388087

Date: 2025-01-26 06:42:07
Score: 2.5
Natty:
Report link

The issue likely comes from compatibility problems between Python versions, scikit-learn versions, or missing dependencies in your APK environment. Make sure the Python version used to train and save the model matches the one in your app. Also, check if all required libraries are correctly bundled in your APK.

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

79388085

Date: 2025-01-26 06:39:06
Score: 3
Natty:
Report link

Make sure you have installed AS "Mac with Apple chip" version.

Also, have you tried to install AS on the host (not VM)?

Reasons:
  • Whitelisted phrase (-1): have you tried
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: jokuskay

79388084

Date: 2025-01-26 06:39:06
Score: 0.5
Natty:
Report link

You need to add the following line with the channel name into your AndroidManifest.

<application
....
>
<meta-data android:name="CHANNEL" android:value="9apps_int"/>
...
</application>

P.S. I know it's an old question but yesterday this info would save me a lot of time :)

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

79388082

Date: 2025-01-26 06:37:05
Score: 1
Natty:
Report link

I had the same issue and switching to DGPU mode fixed it for me. Some bug with windows. Hope this helps :)

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

79388071

Date: 2025-01-26 06:27:03
Score: 0.5
Natty:
Report link

there might be issues in with version compatibility or wsl is not restarting with installation of new software. you can try after shuting down with wsl --shutdown command. or check if node.js binary is in your path of ubuntu,or add it manually. update nodejs or use --force if necessary. hope this helps. mine worked after a shutdown.

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pooja Patel

79388048

Date: 2025-01-26 06:16:58
Score: 9 🚩
Natty:
Report link

So sorry for jumpimg in but its urgent Hello my iphone was stolen and they got my apple id and changed every security details i got my company email when i bought a domain for google project and i can log into the du app but there is mo call log or option to call and msg forward to get my otp i have my iphone bill and i cant get mu apple id how can i make a divert before they close or change the simcard or how can i get the otb from du app please help thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): how can i
  • RegEx Blacklisted phrase (3): please help
  • RegEx Blacklisted phrase (2): urgent
  • RegEx Blacklisted phrase (1): i got my company email when i bought a domain for google project and i can log into the du app but there is mo call log or option to call and msg forward to get my otp i have my iphone bill and i cant get mu apple id how can i make a divert before they close or change the simcard or how can i get the otb from du app please
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29081132

79388031

Date: 2025-01-26 05:59:55
Score: 3.5
Natty:
Report link

The solution was to use an Oauth app instead of a Github app!

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

79388028

Date: 2025-01-26 05:57:55
Score: 2
Natty:
Report link

isNaN ( number ) The isNaN function is the %isNaN% intrinsic object. When the isNaN function is called with one argument number, the following steps are taken:

  1. Let num be ? ToNumber(number).
  2. If num is NaN, return true.
  3. Otherwise, return false. more info refer doc

Number.isNaN ( number )

  1. If Type(number) is not Number, return false.

  2. If number is NaN, return true.

  3. . Otherwise, return false. More info ref the doc

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

79388026

Date: 2025-01-26 05:56:54
Score: 0.5
Natty:
Report link

I actually just made a VS Code extension to solve this exact problem: Fold Single-Line Comments

It enables folding for consecutive single-line comments in Python (and other languages like Ruby, Shell, and YAML). To do this, it implements a FoldingRangeProvider that detects sequences of lines starting with '#':

if (trimmedText.startsWith('#')) {
    if (startLine === null) {
        startLine = i;
    }
    lastLine = i;
} else if (startLine !== null && lastLine !== null) {
    if (lastLine > startLine) {
        ranges.push(new vscode.FoldingRange(
            startLine, 
            lastLine,
            vscode.FoldingRangeKind.Comment
        ));
    }
}

Currently, it not will count empty lines as part of a foldable area, which is different from how VS Code officially supports it for JavaScript/TypeScript's single-line comments, but I personally thought it would be better that way. I'm not sure if there's enough demand to toggle it otherwise/set it as the default.

The extension automatically enables folding for consecutive single-line comments, and you can click the folding icon in the gutter (like in your C example) to collapse/expand them.

Here's a picture showing the gutter with Python code.

Here's how they look when folded.

You can also use the command "Fold Single-Line Comments" from the command palette to specifically fold only those single-line comments. There is currently no "Unfold Single-Line Comments," but it should not be too hard to add. The official Unfold All command will work with this, because we've simply consecutive single-line comments as viable folding areas.

Here's what that command looks like.

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

79388001

Date: 2025-01-26 05:31:49
Score: 2
Natty:
Report link

15 years later. How did it work out?

Also anyone now reading this in 2025. I would recommend a columnar database (snowflake, bigquery, clickhouse etc). And then let your visualization platform handle the semantic modeling

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Josh Pachner

79387999

Date: 2025-01-26 05:26:48
Score: 2
Natty:
Report link

React buddy waits for the dev server to expose the view at http://yourIPV4Address:5173/

but its not exposed to this address/network by default, you need to explicitly mention it in the script as answered by window10 rd.

in your package.json -> scripts change "dev": "vite" to "dev": "vite --host"

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

79387996

Date: 2025-01-26 05:22:47
Score: 1
Natty:
Report link

Here is a version that should work whatever the serialized contents are (whether they contain quotes, shell special characters or whatever):

  - name: Dump GitHub context
    run: |
      cat << 'EOF'
      ${{ toJSON(github) }}
      EOF
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: glandium

79387994

Date: 2025-01-26 05:15:47
Score: 1
Natty:
Report link

For colab:

!cp -r /usr/local/lib/python3.11/dist-packages/traitlets /usr/local/lib/python3.11/dist-packages/IPython/utils/

!mv /usr/local/lib/python3.11/dist-packages/IPython/utils/traitlets.py /usr/local/lib/python3.11/dist-packages/IPython/utils/traitlets.py.bkup
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kavinkumar M

79387988

Date: 2025-01-26 05:05:45
Score: 1.5
Natty:
Report link

No, the System.Speech type does work on PowerShell 7.6 preview.0. There's what I did:

Add-Type -AssemblyName System.speech
$PromptTTS = New-Object System.Speech.Synthesis.SpeechSynthesizer
$PromptTTS.Speak("Hello")

(but it does not returns something like in Windows PowerShell)

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

79387974

Date: 2025-01-26 04:43:41
Score: 13
Natty: 7.5
Report link

I have the same problem and the same question, can you help me?

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): can you help me
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Renato Nakamura

79387972

Date: 2025-01-26 04:38:40
Score: 3
Natty:
Report link

Turns out the error was elsewhere in my code - a hash table was only getting updated with the last label and associated data. So the issue was not with VoiceOver at all.

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

79387966

Date: 2025-01-26 04:28:39
Score: 1
Natty:
Report link

you can cast

var query = myContext.Mammals
    .Include(mammal => ((Dog)mammal).Tail)
    .Include(mammal  => ((Bat)mammal).Wing)
    .Include(mammal  => ((Buffalo)mammal).Horns)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Lenny Woods

79387965

Date: 2025-01-26 04:28:39
Score: 1.5
Natty:
Report link

modify tsconfig.json file

{
  "compilerOptions": {
    "paths": {
      "@/*": [
        "./*"
      ]
    },
    //other options go here
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: rukonbd

79387961

Date: 2025-01-26 04:24:38
Score: 1.5
Natty:
Report link
const list = paddle.subscriptions.list();
const result = []; 

for await (const item of list) {
    result.push(item); 
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: chengfeng wang

79387954

Date: 2025-01-26 04:17:36
Score: 3.5
Natty:
Report link

dear friends please note the provided tutorial NOT WORKS maybe this used to work before, but as for Windows 10 22H2 this doesnt help in any way, i spent 3 hours tryung to replicate the process with no luck

instead, please reffer to this tutorial if you want to succeed

what is the main diference anyway ?

the syntax

the given here advice says

"C:\Users\MYNAME\Desktop\Win7AppId1.1.exe" C:\Users\MYNAME\Desktop\Xbox.lnk Microsoft.GamingApp_8wekyb3d8bbwe!Microsoft.Xbox.App

instead you need to cut the full adress and get rid of brackets of first object and provide brackets for next objects so the command now would look this

Win7AppId1.1 "Xbox.lnk" "Microsoft.GamingApp_8wekyb3d8bbwe!Microsoft.Xbox.App"

and now IT WORKS

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Blacklisted phrase (1): no luck
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Dell Latitude

79387951

Date: 2025-01-26 04:10:34
Score: 0.5
Natty:
Report link

what about delaying the reading of the target.attribute value with setTimeout, works rather consistently for me:

const observer = new MutationObserver(records => {
    for (const record of records) {
        if (record.type !== 'attributes') continue

        setTimeout( 
            function(delayedRecord) { 
                handleAttributeChange(
                    delayedRecord.attributeName!,
                    delayedRecord.oldValue,
                    delayedRecord.target.attributes.getNamedItem (delayedRecord.attributeName).value
                )
            }, 0, record )
    }
})

I've found that setting the timeout delay for 0ms runs the code in the next tick - usually when the attribute value has been updated.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: Sp8cestation Crew

79387941

Date: 2025-01-26 03:57:31
Score: 6.5 🚩
Natty:
Report link

Please provide more details of your code where you use <ConfigProvider> component?

Reasons:
  • RegEx Blacklisted phrase (2.5): Please provide
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Saleh Alikhani

79387940

Date: 2025-01-26 03:56:29
Score: 6.5 🚩
Natty:
Report link

I have the same issue and i already have done all the way you did . it might be a gitlab registry issue to get the image but sill have no clue.

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

79387929

Date: 2025-01-26 03:33:24
Score: 0.5
Natty:
Report link

Basic function for your operation is as follows:

template<typename L, typename R>
std::any Add(std::any l, std::any r) {
    return std::any(std::any_cast<L>(l) + std::any_cast<R>(r));
}

Note that above function uses c++ rules for finding a common type. You may wish to look at std::common_type or specializations.

Other than that, this problem is related to multiple dispatch. Popular languages usually don't bother with it and use single dispatch for all dynamically typed values (virtual functions) and sometimes end up with quirks such as __radd__ in python. You may also be interested in reading about as dynamic cast in C# for overloads

As discussed case is relatively simple, it can be achieved by having a std::map:

std::map<
    std::pair<std::type_index, std::type_index>,
    std::any (*)(std::any, std::any)
>

For such cases I prefer not to bother myself with metaprogramming and would write a codegen file, but for the sake of staying in c++ let's just use macros (and have 2N repetitions instead of N^2). In the end any solution will produce N^2 entities in the resulting machine code

#define IT(L, R) { \
    {std::type_index(typeid(L)), std::type_index(typeid(R))}, \
    &Add<L, R> \
},
#define FOR_T(R) \
    IT(short, R) IT(int, R) IT(double, R)

FOR_T(short) FOR_T(int) FOR_T(double)

Complete example below:

#include <any>
#include <map>
#include <typeindex>

template<typename L, typename R>
std::any Add(std::any l, std::any r) {
    return std::any(std::any_cast<L>(l) + std::any_cast<R>(r));
}

#define IT(L, R) { \
    {std::type_index(typeid(L)), std::type_index(typeid(R))}, \
    &Add<L, R> \
},
#define FOR_T(R) \
    IT(short, R) IT(int, R) IT(double, R)

using operator_dispatch_key = std::pair<std::type_index, std::type_index>;

std::map<operator_dispatch_key, std::any (*)(std::any, std::any)> all_ops = {
    FOR_T(short) FOR_T(int) FOR_T(double)
};

#include <iostream>

int main() {
    auto l = std::any(int(1));
    auto r = std::any(double(2.5));

    auto l_t = std::type_index(l.type());
    auto r_t = std::type_index(r.type());
    auto res = all_ops[std::make_pair(l_t, r_t)](std::move(l), std::move(r));

    std::cout
        << res.type().name()
        << ' '
        << std::any_cast<double>(res)
        << std::endl
        ;

    return 0;
}

Program returned: 0
Output: d 3.5

PS as your operators are "internal" you can just use an array of such maps for them. It won't work for type ids of std::any because they are not sequential

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