79567575

Date: 2025-04-10 21:08:19
Score: 1
Natty:
Report link

You may not have many extensions but one bad one could slow you down. I would try disabling them one by one and seeing if it effects performance.

If your auto save is on, try turning that off and seeing if it effects anything. Eclipse used to get really slow on me when I would save the project to onedrive, so maybe check where it is saving to, though I wouldn't expect a small project in vscode be that bad for syncing.

Other than that, I would definitely try a reinstall if you haven't already, fixes a surprising number of issues.

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

79567574

Date: 2025-04-10 21:08:19
Score: 2
Natty:
Report link

I received the same message while running liquibase with postgres. After some research I found out that the problem was in the postgres driver. Postgres driver version 42.7.5 was not compatible with liquibase 4.27.0. Version 42.7.4 of the prostgres driver works just fine.

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

79567572

Date: 2025-04-10 21:06:19
Score: 1
Natty:
Report link

To periodically obtain, update, and compare data in Android, use WorkManager for reliable background tasks, even after app restarts. It’s perfect for fetching data like Aurora Borealis visibility updates. Store previous results in a local database (e.g., Room), and compare new data using simple logic or DiffUtil for efficient UI updates. This setup ensures your app always shows the latest data — whether it's forecasts, locations, or any changing real-time info.

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

79567557

Date: 2025-04-10 20:55:16
Score: 1
Natty:
Report link

I got mine working after running this command in docker:

docker run -p 8000:5000 -e DOTNET_URLS=http://+:5000 --name=<container_name> <image_name>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Hoang Minh

79567549

Date: 2025-04-10 20:49:15
Score: 3.5
Natty:
Report link

You probly cannot believe it but for us, the reason is someone added an AndroidClientID to our iOS Google plist. It works once I have this field removed.enter image description here

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

79567547

Date: 2025-04-10 20:48:14
Score: 4
Natty:
Report link

It sounds like you use OSS. If so, a better way of doing this is described here: https://aps.autodesk.com/blog/new-feature-support-direct-s3-migration-inputoutput-files-design-automation

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

79567544

Date: 2025-04-10 20:44:13
Score: 1
Natty:
Report link

It seems like for loop is more preferable here

a = []
for b in c:
    try:
        a.append(SomeClass.SomeMethod(doc, b).Name)
    except Exception:
        a.append(None)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: poisoned_monkey

79567540

Date: 2025-04-10 20:39:11
Score: 4.5
Natty: 6
Report link

I'm trying to use this code, but it gives an error with files larger than 50 Megas.
Do I need to change anything in this code?

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Dani Carla

79567534

Date: 2025-04-10 20:35:10
Score: 2.5
Natty:
Report link

enter image description hereIn my case (PyCharm 2024.1 (Community Edition) Build #PC-241.14494.241, built on March 28, 2024):

  1. Press Run in main menu, select Edit configuration

  2. Press Modify options, select Emulate terminal in output console

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

79567522

Date: 2025-04-10 20:24:06
Score: 11 🚩
Natty: 5.5
Report link

i am getting the same error did everything but no resolution please help.

Reasons:
  • RegEx Blacklisted phrase (3): please help
  • RegEx Blacklisted phrase (1): i am getting the same error
  • RegEx Blacklisted phrase (1): i am getting the same error did everything but no resolution please
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i am getting the same error
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shreyansh Parashar

79567520

Date: 2025-04-10 20:23:06
Score: 0.5
Natty:
Report link

I'm not sure if this applies to the OP but I had successfully used the Android Studio device emulator previously, then didn't use Android Studio for several months and then when I started using it again the device emulator no longer worked.

After a bit of digging I discovered that it currently doesn't work because my Lenovo laptop graphics chip, a Intel UHD 620 only supports Vulkan 1.3.215 which results in the warnings "Please update the emulator to one that supports the feature(s): VulkanVirtualQueue" and also "Your GPU 'Intel(R) UHD Graphics 620' has driver version 1.3.215, and cannot support Vulkan properly on windows" This information came from the Idea.log that you can find in "Help/Show Log In Explorer" in Android Studio.

To test that this was the issue I simply created my own device in Device Manager and in "Additional Settings" and set the acceleration to "Software". (However it runs so slowly that for me it's unusable).

I believe what happened is when I upgraded Android Studio it also upgraded the Vulkan requirements, which is why it stopped working.

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

79567514

Date: 2025-04-10 20:20:05
Score: 14.5
Natty: 7
Report link

Are there any updates? I am having a similar problem with dependencies on Codemagic. Were you able to solve the problem?

Reasons:
  • Blacklisted phrase (1): I am having a similar problem
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • RegEx Blacklisted phrase (3): Were you able
  • RegEx Blacklisted phrase (0.5): any updates
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am having a similar problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Manu Gibst

79567502

Date: 2025-04-10 20:12:03
Score: 0.5
Natty:
Report link

Writing this answer, I will assume that whomever is reading it, will be using an AUTOSAR Dem implementation from a vendor. If that is the case, look for "root cause" inside the vendor's reference manual.

This behaviour occurs because when you have a combined event, inside the stored data you will have a "master" event ID, as all combined events reference one event. That means whatever ID is stored could potentially differ from the one that triggered the DTC storage.

As a result, the Dem cannot employ status data restoration upon startup for the combined event after a power reset (the status block does not get saved in this case). To circumvent this issue, you need to add a second "root cause" event ID, either in the snapshot or extended data. This variable is internal to the Dem, hopefully, so you don't need to add any higher-level logic.

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

79567499

Date: 2025-04-10 20:11:03
Score: 0.5
Natty:
Report link

An easier way is to use the gmap parameter of background_gradient() with the absolute values of the column of interest.

df.style.background_gradient(
    subset = ['D/D Change'],
    cmap='RdYlGn',
    gmap = abs(df['D/D Change'])
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: PJ_

79567494

Date: 2025-04-10 20:07:02
Score: 1
Natty:
Report link

There might be a firewall service running on remote server and hence it is blocking the access.

$ sudo su
# apt install firewalld (If not installed)
# firewall-cmd --permanent --add-port=22/tcp

Or


$ apt install firewalld (If not installed)
$ sudo ufw allow 22/tcp
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sejal jadhav

79567490

Date: 2025-04-10 20:06:01
Score: 1.5
Natty:
Report link

Try setting maxInMemorySize and the following spring properties together:

spring:
  codec:
    max-in-memory-size: 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kaushik Mandal

79567489

Date: 2025-04-10 20:05:01
Score: 3
Natty:
Report link

I found out that the new upgrade to MacOS Sequoia 15.4 broke the debugging in Goland. The same thing happened to me even though mine was a new install at Sequoia 15.4. The latest Goland 2025.1 RC resolves the issue. I expect a new VSCode version, which is my preferred IDE, would also resolve the issue.

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

79567482

Date: 2025-04-10 20:00:00
Score: 1
Natty:
Report link

you can find answer here firebase.google.com/docs/cloud-messaging/…
Try to put title and message into notification object instead of data object

{
  "message":{
    "token":"..",
    "notification":{
      "title":"title",
      "body":"here your message"
    },
    "data" : {
      "custom_arg_1" : "custom_arg_1",
      "custom_arg_2" : "custom_arg_2"
    }
  }
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alex

79567481

Date: 2025-04-10 20:00:00
Score: 1.5
Natty:
Report link

pip install --upgrade pip setuptoolsUpdate pip and setuptools
pip install --upgrade --force-reinstall setuptoolsReinstall setuptools
pip cache purgeClear the pip cache
pip install numpy --no-build-isolationInstall numpy without pyproject.toml isolation

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

79567466

Date: 2025-04-10 19:50:57
Score: 1.5
Natty:
Report link

I am not sure if I am correct, but with what I know,
When a subscription is purchased it is purchased on the email present in the Google Play Store, irrespective of what email user enters while entering the email and password.

So if and when the user tries to login in a new device as long as the email(or account) in Google Play Store is same, it should bypass the subscription screen.

This is what I have implemented

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: dakshil kanakia

79567465

Date: 2025-04-10 19:50:57
Score: 2.5
Natty:
Report link

Thanks, @margusl, that worked, though I did some adaptations. I used markdownToHTML in stead of pandoc_convert, because that converted bulleted lists and stuff better.

In the end, this is what I used:

fx <- function(x) {str_flatten(markdownToHTML(text=x, fragment.only = TRUE))}

and then:

data <- data %>% mutate(`Description` = map_chr(data$Description, fx))

which worked perfect.

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @margusl
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rinke

79567461

Date: 2025-04-10 19:48:56
Score: 5.5
Natty:
Report link

How you grab span should work. What's the error you are getting though?

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

79567457

Date: 2025-04-10 19:46:56
Score: 0.5
Natty:
Report link

After some time experimenting I've discovered a way to do this. Python's winrt binding library exposes the GlobalSystemMediaTransportControlsSessionManager, after getting the current session you can call get_timeline_properties(), which in turn will give you a GlobalSystemMediaTransportControlsSessionTimelineProperties object, that exposes a couple of useful attributes, including the current position of a playing track. Some credit goes to this question.

So, assuming current_session from the linked question, a simple one-liner to get the position is:
current_session.get_timeline_properties().position.seconds

Note: It seems it likes to lag for about 2 seconds behind the actual track, and there's no finer resolution, only full seconds are supported it seems.

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

79567442

Date: 2025-04-10 19:37:54
Score: 1
Natty:
Report link

May be already covered earlier, you only need

git diff --compact-summary
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Fairoz

79567437

Date: 2025-04-10 19:34:52
Score: 11.5 🚩
Natty: 5.5
Report link

hey were you able to figure this out Robert?

Reasons:
  • RegEx Blacklisted phrase (3): were you able to figure this out
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rene Chukwuemeka

79567432

Date: 2025-04-10 19:32:51
Score: 5
Natty: 5
Report link

My time to shine - I made an utility for that ;)

https://github.com/Tomurisk/Conopida

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

79567430

Date: 2025-04-10 19:31:51
Score: 0.5
Natty:
Report link

I know this is very old but i just had the same issue heavily on my Linux Mint System and in my case, it seemed to be a driver related problem so i also had to check for any updates:

sudo apt update && sudo apt upgrade

If it says any upgrades weren't concluded (due to phasing), check if they aren't causing the problem and execute them manually by typing:

sudo apt install 'upgrade-name'

After that, what i did was to press the Super key and type: "Startup Applications". Then search for the Blueman Applet setting and turn it off. Now, Reboot the system and enable bluetooth manually by pressing the Bluetooth icon on the System Settings (Control Center) menu under the hardware section.

Reasons:
  • RegEx Blacklisted phrase (0.5): any updates
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gabriel Gomes

79567413

Date: 2025-04-10 19:20:48
Score: 0.5
Natty:
Report link

After trying several approaches, I found that many solutions would fail when trying to parse an entire project of sub-folders and convert everything. I tried using globstar for recursive matching but that would fail if the directory had spaces in it which was problematic for me.

The method that worked best for me was using the find command to specifically locate files, using the name parameter for the file extension.

I created a new file at the root of my project called convert_tga_to_png.sh and made it executable using the command:

chmod +x convert_tga_to_png.sh

Inside the file I wrote one find command which located all the files with .tga.meta extension and used the git mv command to rename it to .png.meta, and another find command which located all files with .tga extension and converted them to .png using ImageMagick. If the conversion was successful, i used git rm to delete the original .tga file.

I also added a check at the beginning to make sure ImageMagick is installed.

#!/bin/bash

# Check if ImageMagick is installed
if ! command -v magick &> /dev/null
then
  echo "Error: ImageMagick (magick) is not installed."
  exit 1
fi

echo "Starting rename and convert process..."

# Count total files first
meta_total=$(find . -type f -name "*.tga.meta" | wc -l)
tga_total=$(find . -type f -name "*.tga" | wc -l)
total_files=$((meta_total + tga_total))
count=0

echo "Total operations to perform: $total_files"

echo
echo "Renaming .tga.meta -> .png.meta"

find . -type f -name "*.tga.meta" -print0 | while IFS= read -r -d '' file; do
  newfile="${file%.tga.meta}.png.meta"
  if mv "$file" "$newfile"; then
    ((count++))
    echo "[$count/$meta_total] Renamed: $file -> $newfile"
  else
    echo "[$count/$meta_total] ERROR renaming: $file"
  fi
done

echo
echo "Converting .tga -> .png using ImageMagick"

find . -type f -name "*.tga" -print0 | while IFS= read -r -d '' file; do
  newfile="${file%.tga}.png"
  if magick "$file" "$newfile"; then
    rm "$file" # delete original tga file
    ((count++))
    echo "[$count/$tga_total] Converted: $file -> $newfile"
  else
    echo "[$count/$tga_total] ERROR converting: $file"
  fi
done

echo
echo "Done!"

Then I ran the file, making sure Git Bash was set to the right directory, and this command was the correct relative path to the script:

./convert_tga_to_png.sh
Reasons:
  • Blacklisted phrase (1.5): any solution
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nopunintendo

79567408

Date: 2025-04-10 19:17:47
Score: 1
Natty:
Report link

After much experimentation and such, I think I've solved my comprehension problem. Essentially, I've been bringing a PostgreSQL (PG) mentality to this situation and that has prevented me from seeing the bigger picture here.

Here's what I've learned:

Thanks to everyone who helped me.

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

79567407

Date: 2025-04-10 19:16:47
Score: 1
Natty:
Report link

setValue should have two arguments. The first argument is the name of the input, second is the new value.

const name = 'input';
setValue(name, '');

https://react-hook-form.com/docs/useform/setvalue

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

79567405

Date: 2025-04-10 19:15:46
Score: 2.5
Natty:
Report link

After enabling verbose logging on the Polarion server, I saw it was failing due to a 'missing start boundary' error. So, turns out that setting the 'Content-Type' in the header manually messes the request up. Removing that solved the problem.

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

79567403

Date: 2025-04-10 19:14:46
Score: 0.5
Natty:
Report link

Thank you so much everyone for such quick answers!

Even though the Factory method pattern feels like a very concrete way of going forward, I chose the __new__ method override suggested by Juanpa, mainy because I'm lazy :)

My PDFRenderer class now looks something like this

def __new__(cls, *args, **kwargs):
        if settings.USE_PDF_RENDERER.lower() == "reportlab":
            # Keep it here to avoid circular import
            from .reportlab import ReportlabRenderer
            cls = ReportlabRenderer
        else:
            raise ValueError(f"Unsupported PDF renderer: {settings.USE_PDF_RENDERER}! Ensure the 'USE_PDF_RENDERER' setting is set to 'reportlab' in the project settings.")

        return object.__new__(cls)

where the project settings (django) parameter decides which renderer to opt for. Overall this fits in nicely with the Django way of doing it so I chose to go this route.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mitrajeet Golsangi

79567389

Date: 2025-04-10 19:05:43
Score: 2.5
Natty:
Report link

Changing it to languageOptions: { globals: globals.node} worked for me.

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

79567385

Date: 2025-04-10 19:01:42
Score: 1
Natty:
Report link

Add this line in the beginning of your html file

{% load staticfiles %} 

Or this one, if you use old version of Django

{% load static %} 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: poisoned_monkey

79567383

Date: 2025-04-10 19:01:42
Score: 1.5
Natty:
Report link
// main.dart
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:flutter_colorpicker/flutter_colorpicker.dart';
import 'package:animated_text_kit/animated_text_kit.dart';

void main() => runApp(const VipeRoomApp());

class VipeRoomApp extends StatelessWidget {
  const VipeRoomApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'VipeRoom',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        fontFamily: GoogleFonts.pressStart2p().fontFamily, // Fuente retro
      ),
      home: const MainMenu(),
    );
  }
}

// --------------------------
// Pantalla Principal
// --------------------------
class MainMenu extends StatelessWidget {
  const MainMenu({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.black,
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            AnimatedTextKit(
              animatedTexts: [
                ColorizeAnimatedText(
                  'VIPEROOM',
                  textStyle: const TextStyle(fontSize: 40.0),
                  colors: [Colors.purple, Colors.cyan, Colors.pink],
                ),
              ],
            ),
            const SizedBox(height: 30),
            _buildNeonButton('Crear Perfil', () {
              Navigator.push(
                context,
                MaterialPageRoute(builder: (context) => const ProfileEditor()),
              );
            }),
            _buildNeonButton('Explorar Salas', () {}),
          ],
        ),
      ),
    );
  }

  Widget _buildNeonButton(String text, VoidCallback onPressed) {
    return Container(
      margin: const EdgeInsets.all(10),
      decoration: BoxDecoration(
        borderRadius: BorderRadius.circular(10),
        gradient: const LinearGradient(
          colors: [Colors.purple, Colors.cyan],
        ),
        boxShadow: [
          BoxShadow(
            color: Colors.cyan.withOpacity(0.5),
            blurRadius: 10,
          ),
        ],
      ),
      child: ElevatedButton(
        style: ElevatedButton.styleFrom(
          backgroundColor: Colors.transparent,
          shadowColor: Colors.transparent,
        ),
        onPressed: onPressed,
        child: Padding(
          padding: const EdgeInsets.all(15.0),
          child: Text(
            text,
            style: TextStyle(
              fontFamily: GoogleFonts.pressStart2p().fontFamily,
              color: Colors.white,
            ),
          ),
        ),
      ),
    );
  }
}

// --------------------------
// Editor de Perfil
// --------------------------
class ProfileEditor extends StatefulWidget {
  const ProfileEditor({super.key});

  @override
  _ProfileEditorState createState() => _ProfileEditorState();
}

class _ProfileEditorState extends State<ProfileEditor> {
  Color _backgroundColor = Colors.black;
  String _selectedMusic = 'Synthwave_Theme.mp3';

  void _changeBackgroundColor() {
    showDialog(
      context: context,
      builder: (BuildContext context) {
        return AlertDialog(
          title: const Text('Elige un color'),
          content: SingleChildScrollView(
            child: ColorPicker(
              pickerColor: _backgroundColor,
              onColorChanged: (color) {
                setState(() => _backgroundColor = color);
              },
            ),
          ),
        );
      },
    );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Personaliza tu VipeRoom'),
        backgroundColor: Colors.black,
      ),
      body: Stack(
        children: [
          Container(color: _backgroundColor),
          Positioned(
            top: 20,
            right: 20,
            child: Column(
              children: [
                _buildControlButton('Color', _changeBackgroundColor),
                _buildControlButton('Música', () {}),
                _buildControlButton('Plantillas', () {}),
              ],
            ),
          ),
          // Vista previa del perfil
          Center(
            child: Container(
              width: 300,
              height: 500,
              decoration: BoxDecoration(
                border: Border.all(color: Colors.cyan, width: 3),
                borderRadius: BorderRadius.circular(20),
              ),
              child: const Center(child: Text('Previsualización')),
          ),
        ],
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () {},
        backgroundColor: Colors.purple,
        child: const Icon(Icons.check, color: Colors.white),
      ),
    );
  }

  Widget _buildControlButton(String label, VoidCallback onPressed) {
    return Container(
      margin: const EdgeInsets.all(5),
      decoration: BoxDecoration(
        color: Colors.black.withOpacity(0.7),
        borderRadius: BorderRadius.circular(10),
      ),
      child: IconButton(
        icon: Text(label, style: const TextStyle(color: Colors.cyan)),
        onPressed: onPressed,
      ),
    );
  }
}
Reasons:
  • Blacklisted phrase (2): Crear
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Juan Salgado

79567373

Date: 2025-04-10 18:54:41
Score: 0.5
Natty:
Report link

what if we use the below maven dependency

<!-- https://mvnrepository.com/artifact/tech.grasshopper/extentreports-cucumber7-adapter -->
<dependency>
    <groupId>tech.grasshopper</groupId>
    <artifactId>extentreports-cucumber7-adapter</artifactId>
    <version>1.14.0</version>
</dependency>

and getting below error

java.lang.NullPointerException: Cannot invoke "com.aventstack.extentreports.ExtentTest.info(String)" because the return value of "java.lang.ThreadLocal.get()" is null
    at com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter.addTestStepLog(ExtentCucumberAdapter.java:516)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): what if we use the
  • Low reputation (1):
Posted by: Nikhil Jagade

79567371

Date: 2025-04-10 18:51:40
Score: 1
Natty:
Report link

I actually fixed this using direct scale as a property instead of transform function:

scale: 1.5
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: A.Rahman Al-Khateeb

79567366

Date: 2025-04-10 18:45:38
Score: 0.5
Natty:
Report link

You need to use new channel for each Crawl. Each Crawl must be a go-routine (in the main function too). In order to crawl every url ONLY ONCE you need structure, with sync.Mutex and map[string]bool (i choose boolean type cause i do not found set data sctructure in standard libary). Also decision was inspired by https://stackoverflow.com/a/13223836/9475552 .

package main

import (
    "fmt"
    "sync"
)

type Fetcher interface {
    // Fetch returns the body of URL and
    // a slice of URLs found on that page.
    Fetch(url string) (body string, urls []string, err error)
}

type UrlCache struct {
    mu   sync.Mutex
    urls map[string]bool
}

func (uc *UrlCache) Add(key string) bool {
    uc.mu.Lock()
    defer uc.mu.Unlock()
    if _, ok := uc.urls[key]; ok {
        return true
    } else {
        uc.urls[key] = true
        return false
    }
}

var cache UrlCache = UrlCache{urls: make(map[string]bool)}

// Crawl uses fetcher to recursively crawl
// pages starting with url, to a maximum of depth.
func Crawl(url string, depth int, fetcher Fetcher, results chan string) {
    defer close(results)
    // TODO: Fetch URLs in parallel.
    // TODO: Don't fetch the same URL twice.
    // This implementation doesn't do either:
    if depth <= 0 {
        return
    }
    cache.Add(url)
    body, urls, err := fetcher.Fetch(url)
    if err != nil {
        results <- err.Error()
        return
    }
    results <- fmt.Sprintf("found: %s %q\n", url, body)
    temp_results := make(map[int]chan string)
    for i, u := range urls {
        if !cache.Add(u) {
            temp_results[i] = make(chan string)
            go Crawl(u, depth-1, fetcher, temp_results[i])
        }
    }

    for _, temp_res := range temp_results {
        for tr := range temp_res {
            results <- tr
        }
    }

    return
}

func main() {
    crawl_results := make(chan string)
    go Crawl("https://golang.org/", 4, fetcher, crawl_results)

    for r := range crawl_results {
        fmt.Println(r)
    }
}

// fakeFetcher is Fetcher that returns canned results.
type fakeFetcher map[string]*fakeResult

type fakeResult struct {
    body string
    urls []string
}

func (f fakeFetcher) Fetch(url string) (string, []string, error) {
    if res, ok := f[url]; ok {
        return res.body, res.urls, nil
    }
    return "", nil, fmt.Errorf("not found: %s", url)
}

// fetcher is a populated fakeFetcher.
var fetcher = fakeFetcher{
    "https://golang.org/": &fakeResult{
        "The Go Programming Language",
        []string{
            "https://golang.org/pkg/",
            "https://golang.org/cmd/",
        },
    },
    "https://golang.org/pkg/": &fakeResult{
        "Packages",
        []string{
            "https://golang.org/",
            "https://golang.org/cmd/",
            "https://golang.org/pkg/fmt/",
            "https://golang.org/pkg/os/",
        },
    },
    "https://golang.org/pkg/fmt/": &fakeResult{
        "Package fmt",
        []string{
            "https://golang.org/",
            "https://golang.org/pkg/",
        },
    },
    "https://golang.org/pkg/os/": &fakeResult{
        "Package os",
        []string{
            "https://golang.org/",
            "https://golang.org/pkg/",
        },
    },
}
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: c0meal

79567365

Date: 2025-04-10 18:42:37
Score: 3
Natty:
Report link

There is an issue in Kubernetes GitHub. According to this issue it was solved in 1.32

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

79567358

Date: 2025-04-10 18:38:36
Score: 3
Natty:
Report link
header 1 header 2
cell 1 cell 2
cell 3 cell 4
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Siyaa Siyaa

79567355

Date: 2025-04-10 18:37:36
Score: 0.5
Natty:
Report link

The way it is written above is correct except for one thing only, the password is declared as a byte array instead of char array which is then type cast to byte at the processing stage so this

t0 = INVCRC32(t0,(uint8_t)passw[x]);

and this are the answers:

char passw[10] = {
        '1','2','3','4','5','6','7','8','9','0'
    };
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: diviserbyzero

79567347

Date: 2025-04-10 18:32:35
Score: 0.5
Natty:
Report link
from moviepy.editor import *
from moviepy.video.fx.all import fadein, fadeout, resize
from PIL import Image
import numpy as np

# Load the image and convert to 1080p
image = Image.open("red_ball_image.png").convert("RGB")
image = image.resize((1920, 1080))
image_np = np.array(image)

# Create a 10-second clip
clip = ImageClip(image_np).set_duration(10)

# Add slow zoom-in effect
def zoom_effect(get_frame, t):
    zoom = 1 + 0.02 * t  # Adjust zoom intensity
    return resize(ImageClip(get_frame(t)), zoom).get_frame(t)

zoomed_clip = clip.fl(zoom_effect)

# Add fade in and out
final_clip = fadein(zoomed_clip, 1).fadeout(1)
final_clip = final_clip.set_audio(None)

# Export to MP4
final_clip.write_videofile("the_red_ball_intro.mp4", fps=24)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30236959

79567344

Date: 2025-04-10 18:29:34
Score: 0.5
Natty:
Report link

You could use ModelMapper https://modelmapper.org/user-manual/

This is a very simple example:

public class SettingsBase {
    int dataMember;
}

public class Settings {
    int dataMember;
}

Use ModelMapper in this way:

public SettingsBase clone(Settings settings) {
   return new ModelMapper().map(settings, SettingsBase.class);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: CaptainPyscho

79567337

Date: 2025-04-10 18:26:32
Score: 6.5 🚩
Natty:
Report link

I have this same issue. The answer above did not work. Was a solution ever found?

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user3691608

79567329

Date: 2025-04-10 18:22:31
Score: 2.5
Natty:
Report link

If you absolutely must use that plugin and it has a bad dependency, you can exclude the dependency.

See: https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html

You could then possibly manually declare to include the tools jar in the pom yourself.

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

79567328

Date: 2025-04-10 18:22:31
Score: 0.5
Natty:
Report link

Adding bigger and bigger offsets will bring the values closer together in the absolute scale, but if you similarly scale your axis then counterintuitively the lower values will be bunched together more the larger you make the offset.

x <- c(100, 150, 200, 250, 1500)

par(mfrow=c(1,3), mar=rep(2, 4))
lapply(1:3, \(e) plot(log(x+10^e), x, ann=FALSE))

increasing offsets bunch lower values closer together

The solution isn't so much the offset -- the smaller the better but that'll only get you so far. What you want is a log-log(-log? -log?) transform:

## Stack those logs! (more works too)
my_transform <- function(x) log(log(x + 1E-3))
my_inverse <- function(x) exp(exp(x)) - 1E-3

my_trans <-  scales::trans_new("yes_mate", transform = my_transform, inverse = my_inverse)

ggplot(mtcars, aes(x = disp, y = 1, color = disp)) +
  geom_point(size = 5) +
  scale_x_continuous(
    trans = my_trans,
    limits=c(100, 1500),
    breaks = c(100, 500, 1000, 1500)
  )

log-log brings all values closer together

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: PBulls

79567324

Date: 2025-04-10 18:20:30
Score: 2
Natty:
Report link

I also encountered this problem, but fortunately I had another phone with the same Google account and was able to obtain the subscription information completely, so I determined that it was a problem caused by Google Play. I reinstalled a new version of Google Play on the problematic phone and the problem was solved.

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

79567320

Date: 2025-04-10 18:18:29
Score: 1
Natty:
Report link

I know this has been answered but nowdays you can just use.

[animation-iteration-count:10]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Geri Dremák

79567317

Date: 2025-04-10 18:16:29
Score: 3.5
Natty:
Report link

I could not create tailwind.config.js while creating an app with vite.

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

79567315

Date: 2025-04-10 18:13:28
Score: 0.5
Natty:
Report link

You can run docker info to get the state of Live restore:

$ docker info
[...]
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: thecarpy

79567314

Date: 2025-04-10 18:12:28
Score: 1.5
Natty:
Report link

The loading.tsx file must be returning a component, make sure the component name is Loading and not loading. Currently, it is being treated as a function and not a component, if there are any hooks that are being called and used inside of the loading component, it would throw this error.

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

79567312

Date: 2025-04-10 18:11:27
Score: 3
Natty:
Report link

"rand()%anynumber" does not return "anynumber" itself e.g. 5%5 is 0.

You have to add +1

rand()%(anynumber+1)

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

79567310

Date: 2025-04-10 18:11:26
Score: 10.5 🚩
Natty:
Report link

Hello https://stackoverflow.com/users/766458/apoellitsi
how did you manage to grant the ALLOW_ENCRYPTED_VALUE_MODIFICATIONS to the user? I am facing the same error when I try to grant it to the user.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • RegEx Blacklisted phrase (3): did you manage to
  • RegEx Blacklisted phrase (1): I am facing the same error
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same error
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Richard

79567304

Date: 2025-04-10 18:09:26
Score: 1
Natty:
Report link

For mui v7

<Grid container>
  <Grid
    size={6}
    sx={{
      overflow: "hidden",
      textOverflow: "ellipsis",
    }}
  >
    <Typography noWrap>LOOOOOONG TEXT THAT keeps going and going and going</Typography>
  </Grid>
</Grid>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: eleventhaus

79567303

Date: 2025-04-10 18:08:25
Score: 2.5
Natty:
Report link

Good evening Samuel,

I am one of the devs of the exams2forms package and had a short exchange with Achim today. Great to hear that you are putting the package to good use - and beyond!

Just had about 1h today, trying to adjust our package to work with revealjs (thanks @Achim for the minimal). I have updated webex.css and wrote a demo quarto document.

Version

I am using the latest development version of our package, if you try it yourself please:

Demo file (qmd) and rendered output

I have uploaded the .qmd I am using as a gist on GitHub:

Rendered via quarto render devslides.qmd (Quarto 1.5.55, R 4.4.2, Ubuntu 24.04.2 LTS) this is what I get:

I've tested it locally with Chromium, Firefox, and Brave and everything seems to work fine. Except the word "Solution." on the last slide.

Look and feel

This is just a quick fix (proof of concept); we will need to adjust a few things to make it fit the revealjs format (tbd).

All the best!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): Good evening
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Achim
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Reto Stauffer

79567300

Date: 2025-04-10 18:06:24
Score: 10.5 🚩
Natty:
Report link

I have the same problem. Have u solved it?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (1.5): solved it?
  • 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: Pablo González

79567292

Date: 2025-04-10 18:00:22
Score: 4.5
Natty:
Report link

I think so, if it has javascript

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

79567280

Date: 2025-04-10 17:54:20
Score: 2
Natty:
Report link

61570369441544 nazmul11

61570464358528 rustom11

61570574752330 rustom11

61569857757982 rustom11

61570613001429 rustom11

61570318622362 rustom11

61570271795278 rustom11

61570457638961 rustom11

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

79567272

Date: 2025-04-10 17:48:18
Score: 1.5
Natty:
Report link

You can use,

sort -o file.txt file.txt

to do an in-place sort.

Cheers!

Reasons:
  • Blacklisted phrase (1): Cheers
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Luis Guzmán

79567270

Date: 2025-04-10 17:47:18
Score: 1
Natty:
Report link

Try to insert return false; after calling the alert function (I think addEventListener expects a return in this case):

<button id="myBtn">Click me</button>

document.getElementById("myBtn").addEventListener("click", function() {
    alert("Button clicked!");
    return false;
});

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

79567269

Date: 2025-04-10 17:47:18
Score: 3
Natty:
Report link

You emulator device can see your development machine at a special address of 10.0.22:<port> likes like a localhost but to the developers machines instead.

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

79567264

Date: 2025-04-10 17:42:17
Score: 2.5
Natty:
Report link

So I got it working and edited the base.css file:

.p-datepicker-input:hover {border-width: 0.15rem !important;}

Somehow it did not work, when I added the exact the same lines to the style section of the vue component.

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Han Solo

79567241

Date: 2025-04-10 17:26:13
Score: 4.5
Natty:
Report link

thank you very much ,that's what exactly iam looking for. GOD bless

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nabeel Saeed

79567234

Date: 2025-04-10 17:18:10
Score: 5.5
Natty:
Report link

In the docs, they seem to insist on having a Request object parsed to the endpoint. Is this the case even for the global limiter ?

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

79567233

Date: 2025-04-10 17:18:10
Score: 3.5
Natty:
Report link

I can reproduce on chrome 135

Filed a bug here: https://issues.chromium.org/issues/409717085

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

79567232

Date: 2025-04-10 17:18:10
Score: 0.5
Natty:
Report link

Could you use the log() function in ggplot?

library(ggplot2)
library(scales)

# Using mtcars dataset
data(mtcars)

mtcars[1,"disp"] <- 1500

ggplot(mtcars, aes(x = log(disp), y = 1, color = log(disp))) +
  geom_point(size = 5)

Created on 2025-04-10 with reprex v2.1.1

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: tassones

79567229

Date: 2025-04-10 17:15:10
Score: 1
Natty:
Report link

Unfortunately it seems conda commands are no longer supported in the Spyder console. The developers recommend you launch Anaconda prompt and install/update packages through that interface instead. This workaround worked for me.

https://github.com/spyder-ide/spyder/issues/21933

Hey @seamuswade, thanks for reporting. I think the problem in this case is that you're trying to run the conda commands you posted above in Spyder's IPython console.

Conda is expected to be run in a system terminal (i.e. cmd.exe). So, to update Spyder please close it first, open the Anaconda prompt and then run the update commands on it again.

Let us know if that works for you.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Whitelisted phrase (-1): worked for me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • User mentioned (1): @seamuswade
  • Low reputation (1):
Posted by: Chris

79567219

Date: 2025-04-10 17:08:08
Score: 0.5
Natty:
Report link

This one worked for me:

:root body[data-notebook='notebooks'] {
  --jp-notebook-max-width: 100% !important;
}
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yachee Leo

79567215

Date: 2025-04-10 17:06:07
Score: 2.5
Natty:
Report link
from matplotlib import pyplot as plt
import pandas as pd

# Datos del cuadro comparativo
data = {
    "Aspecto": [
        "Definición",
        "N° de capas",
        "Capa 7: Aplicación",
        "Capa 6: Presentación",
        "Capa 5: Sesión",
        "Capa 4: Transporte",
        "Capa 3: Red",
        "Capa 2: Enlace de datos",
        "Capa 1: Física",
        "Uso actual",
        "Protocolos comunes"
    ],
    "Modelo OSI": [
        "Modelo de referencia de 7 capas que estandariza funciones de redes.",
        "7 capas",
        "Interacción directa con el usuario y aplicaciones.",
        "Traducción de datos, cifrado, compresión.",
        "Establece, mantiene y termina sesiones entre dispositivos.",
        "Control de flujo, segmentación, confiabilidad (TCP/UDP).",
        "Enrutamiento de datos, direcciones IP.",
        "Control de acceso al medio físico, direcciones MAC.",
        "Transmisión de bits por el medio físico (cables, señales).",
        "Más educativo y teórico.",
        "No define protocolos específicos."
    ],
    "Modelo TCP/IP": [
        "Modelo práctico de 4 capas que describe cómo se comunican los datos en internet.",
        "4 capas",
        "Aplicación: Combina las capas 5, 6 y 7 de OSI.",
        "Incluida en la capa de Aplicación.",
        "Incluida en la capa de Aplicación.",
        "Transporte: También usa TCP y UDP.",
        "Internet: Maneja direccionamiento y enrutamiento.",
        "Acceso a la red: Combina las capas 1 y 2 de OSI.",
        "Incluida en Acceso a la red.",
        "Base real de las redes y comunicaciones en internet.",
        "TCP, IP, HTTP, FTP, DNS, etc."
    ]
}

# Crear DataFrame
df = pd.DataFrame(data)

# Ajustar el tamaño de la figura
fig, ax = plt.subplots(figsize=(14, 8))
ax.axis('off')
table = ax.table(cellText=df.values, colLabels=df.columns, loc='center', cellLoc='left', colColours=['#cce5ff']*3)
table.auto_set_font_size(False)
table.set_fontsize(9)
table.scale(1.2, 2.0)

plt.tight_layout()
plt.savefig("cuadro_comparativo_osi_tcpip.png", dpi=300)
plt.show()
Reasons:
  • Blacklisted phrase (1): cómo
  • Blacklisted phrase (2): Crear
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Luis Segura

79567190

Date: 2025-04-10 16:46:02
Score: 2.5
Natty:
Report link

$abc-primary: mat.m2-define-palette(mat.$m2-indigo-palette); $abc-accent: mat.m2-define-palette(mat.$m2-pink-palette, A200, A100, A400);

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

79567188

Date: 2025-04-10 16:45:01
Score: 7.5 🚩
Natty: 6
Report link

When I added this code, it just adds an extra one. Is there a way to delete the default one when uses a custom one? Thanks a bunch!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Is there a way
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When I add
  • Low reputation (1):
Posted by: ecv3vmax

79567179

Date: 2025-04-10 16:40:00
Score: 4
Natty:
Report link

actually resolved same problem by dowloading the rxtxSerial.dll from this site https://www.dllme.com/dll/files/rxtxserial/3f9e9e49d96aea344953c939a2638d01/download

and then putting it on: C:\Program Files\Java\jre1.8.0_431\bin

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

79567175

Date: 2025-04-10 16:38:59
Score: 10 🚩
Natty: 5
Report link

Scourrge I am facing the same issue. Would you mind sharing the solution?

Reasons:
  • Blacklisted phrase (2): Would you mind
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user5833132

79567166

Date: 2025-04-10 16:35:57
Score: 7.5 🚩
Natty:
Report link

I'm struggling with the exact same thing right now, the permission dialog only pops in the second launch. I moved my createNotificationChannel method to the top of my onCreate method in MainActivity (before asking for permissions) and it stills working only if I reopen the app. How did you solve it?

private void createNotificationChannel() {
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
       NotificationChannel channel = new NotificationChannel("id", "OTT", NotificationManager.IMPORTANCE_HIGH);
       channel.setDescription("Sending OTT");
       NotificationManager notificationManager = getSystemService(NotificationManager.class);
       notificationManager.createNotificationChannel(channel);
    }
}
Reasons:
  • Blacklisted phrase (1): How did you solve it
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Salvador Rodríguez Paredes

79567164

Date: 2025-04-10 16:34:57
Score: 0.5
Natty:
Report link

The older version of the Grid component (now called GridLegacy) is officially deprecated in Material UI v7. Upgrading to the newer Grid component does involve some breaking changes but the end result is a much nicer developer experience (IMO). The Upgrade to Grid v2 doc has all the info you need to make the jump (or, alternatively, to hang on to the Legacy Grid for now).

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

79567160

Date: 2025-04-10 16:32:56
Score: 2.5
Natty:
Report link

Just go here, this web site has web based table to c# class converters

codverter

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

79567158

Date: 2025-04-10 16:29:55
Score: 1
Natty:
Report link

I had the same problem to resolve. I'm not sure if you sent the document in pdf or jpg. I converted the pdf to jpg then I sent it to document intelligence and the results were the dots so I did not have to convert the inches.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ádám Géczi

79567156

Date: 2025-04-10 16:27:55
Score: 1.5
Natty:
Report link
location /{ 
#add
    proxy_buffering off;
    chunked_transfer_encoding off;
    proxy_connect_timeout 60s;
    proxy_read_timeout 120s;
    proxy_send_timeout 120s;
#add
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Builder Soul

79567155

Date: 2025-04-10 16:27:55
Score: 1.5
Natty:
Report link

for me to work like this:

connection = obd.OBD('COM2', protocol = "6", baudrate = "9600", fast = False, timeout = 30)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ruben P

79567154

Date: 2025-04-10 16:27:55
Score: 3.5
Natty:
Report link

Yeo's solution using regular expression search worked perfectly for me.

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

79567149

Date: 2025-04-10 16:23:54
Score: 1.5
Natty:
Report link

This solved my problem on a mac:

in Terminal:

sudo chown -R $(whoami) ~/.vscode

Then Run:

killall "Visual Studio Code"
open -a "Visual Studio Code"
`

Workedlike a charm for me

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

79567148

Date: 2025-04-10 16:22:53
Score: 2.5
Natty:
Report link

I have used solution of musicamante, thank you a lot!

Firstly I have to decrypt encrypted database to a QByteArray, then I writing decrypted data to aQTemporaryFile .

Next, copying database content that file to a QSqlDatabase stored in :memory: . After that, I overwrite temporary file`s content by zeroes(to make deletiong more safer) and deleting it.

If I want to write back changed data I need to create QTemporaryFile and copy :memory: database to it, afterwad copy content of file to QByteArray , ecnrypting it and writing to encrypted database file.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Olexandr Radchenko

79567141

Date: 2025-04-10 16:16:52
Score: 1.5
Natty:
Report link

As established when this question was posted, the in-house feature importance can not provide this information. However, it is possible to use outside explainers to extract it.

I have used the Shap TreeExplainer this way:

  1. Train XGBClassifer with several cohorts.

  2. Pass the trained classifier to a Shapley TreeExplainer.

  3. Run the explainer using a test dataset that consists of only one class.

We still need to extract the feature importance for each class separately using separate test datasets, but the model itself remains a multi-classifier.

It works because the feature importance is based on the test dataset. If you use a test dataset of only one class, you will get the importance related to that class. Any explainer that uses a test dataset should work this way as well.

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

79567137

Date: 2025-04-10 16:14:52
Score: 2
Natty:
Report link

Why not just add this to your .zshrc ?

export PATH="/usr/local/bin:$PATH"

Since VS Code installs code to /usr/local/bin/code, you’re good to go.

This way, it will work for other symlinks as well like brew.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why not
  • Low reputation (1):
Posted by: aceDevRime

79567132

Date: 2025-04-10 16:11:51
Score: 3.5
Natty:
Report link

For configs were not selected correctly in the VSCode

Make sure you have selected the correct configuration

enter image description here

playwright.config.ts - should be selected

enter image description here

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

79567114

Date: 2025-04-10 16:04:49
Score: 0.5
Natty:
Report link

# Create a new PDF with the updated extended schedule

updated_schedule = """

5:30 - 6:00 AM : Wake up + Freshen up

6:00 - 7:00 AM : Light revision (Formulas, Mechanisms, Concepts)

7:00 - 7:30 AM : Deep concept focus – Maths/Physics (rotate)

7:30 - 8:00 AM : Breakfast

8:00 - 12:30 PM : Classes (Physics/Chem/Maths as per schedule)

12:30 - 1:00 PM : Chill break

1:00 - 1:30 PM : Lunch

1:30 - 2:30 PM : Power nap / Relax

2:30 - 4:00 PM : PYQ solving (Subject rotates daily)

4:00 - 5:00 PM : Concept strengthening (Based on PYQ mistakes)

5:00 - 5:30 PM : Tea break + Chill

5:30 - 7:00 PM : Daily Practice Problems (DPPs)

7:00 - 7:30 PM : Wind up + Relax

7:30 - 8:00 PM : Dinner

8:00 - 9:30 PM : Full chapter revision (1 subject per day)

9:30 - 10:30 PM : Mock test review / Doubt clearing (self/videos)

10:30 - 11:30 PM : Organic reaction flow / Formula recap / Notes

11:30 - 12:00 AM : Wind down + Plan next day

12:00 AM : Sleep

"""

# Recreate the PDF

pdf = PDF()

pdf.add_page()

pdf.chapter_title("Updated Daily Timetable (5:30 AM to 12:00 AM)")

pdf.chapter_body(updated_schedule)

pdf.chapter_title("Weekly Plan")

pdf.chapter_body(weekly_plan_clean)

# Save the final PDF

final_pdf_path = "/mnt/data/Ajay_Extended_JEE_Advanced_Timetable.pdf"

pdf.output(final_pdf_path)

final_pdf_path

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

79567112

Date: 2025-04-10 16:03:48
Score: 3
Natty:
Report link

Usually it is sufficient just to disable "Support author" option in one of free plugins/theme.

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

79567099

Date: 2025-04-10 15:56:46
Score: 3
Natty:
Report link

Also you can disable chat.unifiedChatView to get back to the previous lauout. Look for it on the settings search box.

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

79567092

Date: 2025-04-10 15:53:45
Score: 1.5
Natty:
Report link

At <a href="https://kfcmenuca.info/category/kfc-menu/">KFC Menu</a>, it all starts with the chicken—freshly prepared in our kitchens every single day using the Colonel’s legendary secret blend of 11 herbs and spices. It’s not just food; it’s a tradition that’s been passed down since 1930, when Colonel Harland Sanders first served his iconic recipe to hungry travelers in Corbin, Kentucky. Today, that same crispy, golden Original Recipe® chicken is at the heart of every bucket we serve, hand-breaded and pressure-cooked to perfection. Whether you’re sharing a meal with family or grabbing a bite on the go, KFC delivers comfort, flavor, and Southern hospitality in every bite.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: KFC Menu Canada

79567091

Date: 2025-04-10 15:52:45
Score: 1
Natty:
Report link

Use the following.

YansWifiPhyHelper phy;
phy.SetErrorRateModel ("ns3::NistErrorRateModel");
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Argha Sen

79567089

Date: 2025-04-10 15:51:45
Score: 1
Natty:
Report link
  1. Make sure Chrome is installed and up to date.

  2. Ensure it's in your system PATH.

  3. Try running:

    python -m selenium --check-driver
    
    

    It’ll show if Selenium Manager can find Chrome.

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

79567072

Date: 2025-04-10 15:42:42
Score: 1.5
Natty:
Report link

Odoo does have a good support-team. Did you asked them ?

btw : LU is has Iso6523Code => 9925, so it should be :

<cbc:EndpointID schemeID="9925">LU12345678</cbc:EndpointID>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Mario Favere

79567067

Date: 2025-04-10 15:37:41
Score: 1
Natty:
Report link

Q3) Draw Fork Trees for the following Codes also predict what would be the output.

Part a)

#include <stdio.h>

#include <unistd.h>

int main()

{

if (fork() || fork())

fork();

printf("1 ");

return 0;

}

Part b)

#include <stdio.h>

#include <unistd.h>

int main()

{

if (fork()) {

if (!fork()) {

fork();

printf("1 ");

}

else {

printf("2 ");

}

}

else {

printf("3 ");

}

printf("4 ");

return 0;

}

Part C)

#include <stdio.h>

#include <unistd.h>

int main()

{

if (fork() || fork())

fork();

printf("1 ");

return 0;

}

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

79567066

Date: 2025-04-10 15:37:41
Score: 3.5
Natty:
Report link

You should have the C/C++ Extension Pack installed to work with cmd+A+K+F

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

79567055

Date: 2025-04-10 15:33:39
Score: 1.5
Natty:
Report link

Make sure the test doesn't have both MockitoAnnotations.openMocks and @RunWith(MockitoJUnitRunner.class) enabled which results in modifying the Mock object reference and leads to incorrect stubbing, having one should serve the purpose.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Anil Konduru

79567047

Date: 2025-04-10 15:29:39
Score: 1
Natty:
Report link

In addition to Patrick's answer: You are @exporting those properties, therefore you can simply change their value in the editor from the Inspector itself. This applies to base Scene, inherited Scenes, and instanced Scene that belong to or extend your custom class.

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

79567030

Date: 2025-04-10 15:18:36
Score: 1.5
Natty:
Report link

In Notepad++, the XML Tools plugin's Pretty Print function indeed only adds indentation to the XML file to make it more readable, but it does not apply any syntax highlighting or colors. The color coding in Notepad++ comes from the syntax highlighting feature, which is separate from the indentation.

Ensure XML Syntax Highlighting is Enabled:

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

79567028

Date: 2025-04-10 15:16:35
Score: 1.5
Natty:
Report link

This change in the app.js file works as desired:

/*angular.module('app', [].controller('MainController', function() {
    this.num1 = 0;
    this.num2 = 0;
}));*/

var app = angular.module('app', []);
app.controller('MainController', function() {
    this.num1 = 0;
    this.num2 = 0;  
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: skipper0802

79567027

Date: 2025-04-10 15:15:35
Score: 0.5
Natty:
Report link

If going to the URI In a browser, it will just be doing an HTTP GET without a bunch of other parameters it needs, so I wouldn't be surprised by the 404. The URL looks correct though, it's described here:
https://learn.microsoft.com/en-us/entra/identity-platform/msal-authentication-flows#constraints-for-device-code

To answer question 2 - Microsoft have done this help article here:
https://learn.microsoft.com/en-us/partner-center/account-settings/find-ids-and-domain-names#find-the-microsoft-entra-tenant-id-and-primary-domain-name

but try the Disco urI, i.e. :
https://login.microsoftonline.com/{tenantId}/.well-known/openid-configuration

You can also see a more full example of the URI (for OAuth2) here :
https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-auth-code-flow#request-an-id-token-as-well-or-hybrid-flow
The example taken from that last link explains a bunch of extra params that are needed, as well as additional URI segments.

Hope this helps, Nick

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Nick Pattman

79567019

Date: 2025-04-10 15:10:33
Score: 4
Natty:
Report link

That's impossible to achieve. I already tried it before, but it didn't work. There may be some kind of incompatibility.

Best regards

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alejandro Martín López