79185496

Date: 2024-11-13 15:11:02
Score: 1.5
Natty:
Report link

I had the same problem with VS Code 1.95.2 for my C Project. I had to rollback version for the 3years ago's version (2 versions back) to get back the small icon.

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

79185483

Date: 2024-11-13 15:08:00
Score: 5.5
Natty: 5
Report link

which flutter version that has the fix for this caching issue?

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): which
  • Low reputation (0.5):
Posted by: Warner

79185474

Date: 2024-11-13 15:04:59
Score: 3.5
Natty:
Report link

remove hidden and in CSS of the embed player add display : none, it will disapear from screen without disturbing property. I don't understand how so many idiots are here

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

79185452

Date: 2024-11-13 14:59:58
Score: 2
Natty:
Report link

In my case i forget @HiltViewModel to add on start of the ViewModel

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

79185451

Date: 2024-11-13 14:59:58
Score: 0.5
Natty:
Report link

To fix this issue, I have added below 2 lines in my local.settings.json file

"FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated",
"FUNCTIONS_V2_COMPATIBILITY_MODE": true,
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Jaydeep Shil

79185448

Date: 2024-11-13 14:58:58
Score: 1.5
Natty:
Report link

Flutter: Fix Rive Animation Controller Type Casting Error

Problem

When working with Rive animations in Flutter, you might encounter an error when trying to cast inputs using:

trigger = stateMachineController!.inputs.first as SMITrigger;

This error occurs because the type casting is invalid and unsafe.

Solution

Here's a complete working example showing how to properly handle Rive animation inputs:

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:rive/rive.dart';

class BirdAnimation extends StatefulWidget {
  const BirdAnimation({Key? key}) : super(key: key);

  @override
  State<BirdAnimation> createState() => _BirdAnimationState();
}

class _BirdAnimationState extends State<BirdAnimation> {
  Artboard? _birdArtboard;
  SMITrigger? trigger;
  SMIBool? dance;
  StateMachineController? stateMachineController;

  @override
  void initState() {
    super.initState();
    _loadRiveFile();
  }

  Future<void> _loadRiveFile() async {
    try {
      final data = await rootBundle.load('assets/bird.riv');
      final file = RiveFile.import(data);
      final artboard = file.mainArtboard;
      
      // Initialize state machine controller
      stateMachineController = StateMachineController.fromArtboard(
        artboard, 
        "birb"  // Your state machine name
      );
      
      if (stateMachineController != null) {
        artboard.addController(stateMachineController!);
        
        // Properly find and initialize inputs
        trigger = stateMachineController!.findSMI('look up');
        dance = stateMachineController!.findSMI('dance');
      }

      setState(() => _birdArtboard = artboard);
    } catch (e) {
      print('Error loading Rive file: $e');
    }
  }

  void _lookup() {
    if (trigger != null) {
      trigger!.fire();
    }
  }

  void _toggleDance() {
    if (dance != null) {
      dance!.change(!dance!.value);
    }
  }

  @override
  void dispose() {
    stateMachineController?.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Center(
      child: SizedBox(
        height: 400,
        width: 400,
        child: _birdArtboard == null
            ? const CircularProgressIndicator()
            : GestureDetector(
                onTap: _lookup,
                onDoubleTap: _toggleDance,
                child: Rive(
                  artboard: _birdArtboard!,
                  fit: BoxFit.contain,
                ),
              ),
      ),
    );
  }
}

Key Points

  1. Proper Input Initialization
// Instead of unsafe casting:
// trigger = stateMachineController!.inputs.first as SMITrigger;

// Use findSMI to safely get inputs:
trigger = stateMachineController!.findSMI('look up');
dance = stateMachineController!.findSMI('dance');
  1. Error Handling
try {
  // Load and initialize Rive file
} catch (e) {
  print('Error loading Rive file: $e');
}
  1. Null Safety
void _lookup() {
  if (trigger != null) {
    trigger!.fire();
  }
}

Usage Guide

  1. Add Rive Dependency
dependencies:
  rive: ^0.12.4  # Use latest version
  1. Add Asset to pubspec.yaml
flutter:
  assets:
    - assets/bird.riv
  1. Create State Machine in Rive
  1. Implement Interactions
GestureDetector(
  onTap: _lookup,      // Single tap to look up
  onDoubleTap: _toggleDance,  // Double tap to toggle dance
  child: Rive(...),
)

Common Issues & Solutions

  1. Input Not Found
// Check if input exists
final input = stateMachineController!.findSMI('input_name');
if (input == null) {
  print('Input not found in state machine');
}
  1. Controller Disposal
@override
void dispose() {
  stateMachineController?.dispose();
  super.dispose();
}
  1. Loading States
child: _birdArtboard == null
    ? const CircularProgressIndicator()
    : Rive(artboard: _birdArtboard!),

Best Practices

  1. Type-Safe Input Management
class RiveInputs {
  final SMITrigger? lookUp;
  final SMIBool? dance;

  RiveInputs({this.lookUp, this.dance});

  static RiveInputs fromController(StateMachineController controller) {
    return RiveInputs(
      lookUp: controller.findSMI('look up'),
      dance: controller.findSMI('dance'),
    );
  }
}
  1. Resource Management
// Load file once and reuse
late final Future<RiveFile> _riveFile;

@override
void initState() {
  super.initState();
  _riveFile = rootBundle.load('assets/bird.riv')
      .then((data) => RiveFile.import(data));
}
  1. Performance Optimization
// Use const constructor
const BirdAnimation({Key? key}) : super(key: key);

// Cache artboard
final artboard = file.mainArtboard.instance();

Debugging Tips

  1. Check State Machine Name
print('Available state machines: ${file.mainArtboard.stateMachineNames}');
  1. Verify Inputs
stateMachineController?.inputs.forEach((input) {
  print('Input: ${input.name}, Type: ${input.runtimeType}');
});
  1. Monitor State Changes
dance?.addListener(() {
  print('Dance state: ${dance!.value}');
});

Remember to:

Would you like me to explain any specific part in more detail?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Darshan Parmar

79185437

Date: 2024-11-13 14:56:57
Score: 1
Natty:
Report link

Apache NiFi allows you to configure environment variables that can be accessed by processors. You can set the server's timezone as an environment variable, for example: bash Copy code export TZ="Asia/Colombo" Then, in your NiFi processor, you can access this environment variable using NiFi Expression Language: text Copy code ${env:TZ} Use NiFi System Properties:

You can pass the timezone as a system property to NiFi by modifying the nifi.properties file or setting a JVM property. Add the following line to nifi.properties or configure it as a JVM parameter:

-Duser.timezone=Asia/Colombo

Then, in a processor, use:

${sys:timezone}

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

79185436

Date: 2024-11-13 14:56:55
Score: 9.5 🚩
Natty: 5
Report link

I'm getting same error as above and keeping it with session storage didn't solve it. Can someone please help. I'm using angular 15 and angular-auth-oidc-client library 15 version.

Reasons:
  • RegEx Blacklisted phrase (3): please help
  • RegEx Blacklisted phrase (1): I'm getting same error
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm getting same error
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jatin Gandhi

79185433

Date: 2024-11-13 14:55:54
Score: 0.5
Natty:
Report link
<MenuItem
      value={placeholder}
      disabled
      sx={{
        fontSize: { xs: "10px", sm: "12px", md: "14px", lg: "16px" },
        color: "#ADADAD",
        height: 0,
        visibility: "hidden",
        p: 0,
        minHeight: 0,
      }}
    >
      {placeholder}
    </MenuItem>
    {options.map((option) => (
      <MenuItem
        key={option}
        value={option}
        sx={{
          minHeight: "1rem",
          fontSize: { xs: "10px", sm: "12px", md: "14px", lg: "16px" },
        }}
      >
        {option}
      </MenuItem>
    ))}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28281786

79185431

Date: 2024-11-13 14:55:54
Score: 1.5
Natty:
Report link

enter image description here

My project based on vite,use @vitejs/plugin-react-swc replace @vitejs/plugin-react works for me

Reasons:
  • Whitelisted phrase (-1): works for me
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: microJ

79185420

Date: 2024-11-13 14:52:54
Score: 1.5
Natty:
Report link

I ran into the same problem, I want to style the buttons (background, icon etc.). I didn't find a way to do so.

But: with this rule I could disable the scroll buttons which in turn (re)enabled the traditional scrollbars which can be styled rather easily

QComboBox {
  combobox-popup: 0;
}

Found here https://forum.qt.io/topic/152637/qcombobox-unkown-top-and-botton-scrollers

FWIW apparently this depends on the style/theme of the operating system, and also on the window manager on Linux, it seems.

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

79185419

Date: 2024-11-13 14:52:54
Score: 0.5
Natty:
Report link

Dear friend this is my error i tried all the ways you have said but still same error: amir@DESKTOP-97BV8AA:~/storefront$ pipenv install mysqlclient Creating a virtualenv for this project Pipfile: /home/amir/storefront/Pipfile Using /usr/bin/python33.10.12 to create virtualenv... ⠸ Creating virtual environment...created virtual environment CPython3.10.12.final.0-64 in 237ms creator CPython3Posix(dest=/home/amir/.local/share/virtualenvs/storefront-Srl2ZNHg, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/amir/.local/share/virtualenv) added seed packages: pip==24.3.1, setuptools==75.2.0, wheel==0.44.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment! Virtualenv location: /home/amir/.local/share/virtualenvs/storefront-Srl2ZNHg Installing mysqlclient... ✔ Installation Succeeded Installing dependencies from Pipfile.lock (e4eef2)... All dependencies are now up-to-date! Upgrading mysqlclient in dependencies. Building requirements... Resolving dependencies... ✘ Locking Failed! ⠋ Locking packages...False Traceback (most recent call last): File "/home/amir/.local/bin/pipenv", line 8, in sys.exit(cli()) File "/home/amir/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 1157, in call return self.main(*args, **kwargs) File "/home/amir/.local/lib/python3.10/site-packages/pipenv/cli/options.py", line 52, in main return super().main(*args, **kwargs, windows_expand_args=False) File "/home/amir/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 1078, in main rv = self.invoke(ctx) File "/home/amir/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/amir/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/amir/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 783, in invoke return __callback(*args, **kwargs) File "/home/amir/.local/lib/python3.10/site-packages/pipenv/vendor/click/decorators.py", line 92, in new_func return ctx.invoke(f, obj, *args, **kwargs) File "/home/amir/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 783, in invoke return __callback(*args, **kwargs) File "/home/amir/.local/lib/python3.10/site-packages/pipenv/cli/command.py", line 207, in install do_install( File "/home/amir/.local/lib/python3.10/site-packages/pipenv/routines/install.py", line 310, in do_install new_packages, _ = handle_new_packages( File "/home/amir/.local/lib/python3.10/site-packages/pipenv/routines/install.py", line 114, in handle_new_packages do_update( File "/home/amir/.local/lib/python3.10/site-packages/pipenv/routines/update.py", line 75, in do_update upgrade( File "/home/amir/.local/lib/python3.10/site-packages/pipenv/routines/update.py", line 364, in upgrade upgrade_lock_data = venv_resolve_deps( File "/home/amir/.local/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 907, in venv_resolve_deps c = resolve(cmd, st, project=project) File "/home/amir/.local/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 771, in resolve raise RuntimeError("Failed to lock Pipfile.lock!") RuntimeError: Failed to lock Pipfile.lock!

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

79185417

Date: 2024-11-13 14:51:53
Score: 2
Natty:
Report link

Apologies, problem was as simple as a missing EOF character to the my_struct.cpp file ! At least the above should work for others interesting in trying out JNA!

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

79185415

Date: 2024-11-13 14:50:53
Score: 0.5
Natty:
Report link

Managed to configure SourceLink + Azure DevOps Symbols Server with the help of this video:

No need for additional project file configurations if .NET version is >= 8

<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <TargetFramework>net8.0</TargetFramework>
        <ImplicitUsings>enable</ImplicitUsings>
        <Nullable>enable</Nullable>
    </PropertyGroup>

</Project>

Azure DevOps pipeline YAML file

# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- master

pool:
  vmImage: windows-latest

steps:
- task: DotNetCoreCLI@2
  inputs: 
    command: 'pack'
    packagesToPack: '**/*.csproj' 
    versioningScheme: 'byPrereleaseNumber'
    majorVersion: '1'
    minorVersion: '0'
    patchVersion: '0'

- task: DotNetCoreCLI@2
  inputs: 
    command: 'push'
    packagesToPush: '$(Build.ArtifactStagingDirectory)/*.nupkg'
    nuGetFeedType: 'internal'
    publishVstsFeed: 'c4a7af6d-9593-4a8f-ab27-07194500dea0'

- task: PublishSymbols@2
  inputs:
    SearchPattern: '**/bin/**/*.pdb'
    IndexSources: false
    SymbolServerType: 'TeamServices'

VS Debugging settings

Don't forget to grant the necessary access permissions to your project build service in your feed's settings. I've spent some time until I figured why the Push task was failing all the time.

Artifacts -> YourFeed -> Feed Settings (gear icon) -> Permissions -> Add users/groups. Start typing your project's name, and it will appear there as "YourProjectName Build Service (YourOrgName)". Grant it the Feed Publisher permissions.

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

79185389

Date: 2024-11-13 14:40:49
Score: 1
Natty:
Report link

in v4 you trigger opening it like:

Fancybox.show([{ src: "#modalForm" }]);

in old versions

$.fancybox.open({src: '#modalForm', type: 'inline'});
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hebe

79185388

Date: 2024-11-13 14:39:49
Score: 1
Natty:
Report link

in v4 you trigger opening it like:

Fancybox.show([{ src: "#modalForm" }]);

in old versions

$.fancybox.open({src: '#modalForm', type: 'inline'});
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hebe

79185387

Date: 2024-11-13 14:39:49
Score: 2
Natty:
Report link

Came across this issue too and somehow found this - https://en.wikipedia.org/wiki/AltGr_key.

It seems like this is a hack in Windows to support Alt Gr on keyboards without the button (like on netbooks). Windows maps AltGr (right Alt) to Ctrl+Alt, and then maps Ctrl+Alt+[some key] to other characters.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Олег Александров

79185360

Date: 2024-11-13 14:33:48
Score: 1.5
Natty:
Report link

your problem is the ::continue:: is inside the loop try this.

for i = 1, #backupSource do if i == 2 then goto continue end end ::continue::

Try and let me know

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Daniel Rodrigues

79185358

Date: 2024-11-13 14:32:47
Score: 2
Natty:
Report link

I had this issue when trying to run configuration from IntelliJ IDEA - reloading the project with maven helped.

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

79185356

Date: 2024-11-13 14:32:47
Score: 4
Natty:
Report link

It was a silly spelling mistake.

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

79185346

Date: 2024-11-13 14:31:47
Score: 3
Natty:
Report link

Checkout this basic package from Go networking packages : https://pkg.go.dev/golang.org/x/net/websocket (though as it's said,this one is more actively maintained : https://pkg.go.dev/github.com/coder/websocket)

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

79185344

Date: 2024-11-13 14:30:47
Score: 2
Natty:
Report link

For anyone facing the same issue:

This error generally means that the service account linked to your Google Cloud Project doesn’t have the necessary permissions to access the DV360 platform.

To fix this, go to DV360 and add your service account as a user with the appropriate access level (e.g., Viewer or Editor).

Reasons:
  • Whitelisted phrase (-2): For anyone facing
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (1):
Posted by: Orabi

79185342

Date: 2024-11-13 14:30:47
Score: 4.5
Natty:
Report link

I'm working with slashed command, and I want to add autocomplete on arguments.

I created class named "AutoCompleteHandlerGeneral" derived from "AutocompleteHandler", and add an override on "GenerateSuggestionsAsync function".

I create a slashed command with argument like that "[Discord.Commands.Summary("nom_du_paramètre"), Autocomplete(typeof(AutoCompleteHandlerGeneral))]"

I add to the interaction handler this 2 functions :

    private async Task AutocompleteExecuted(SocketAutocompleteInteraction interaction)
    {
        var context = new SocketInteractionContext(_client, interaction);
        _interactionService.
        await _interactionService.ExecuteCommandAsync(context, services: _serviceProvider);
    }


    private async Task InteractionCreated(SocketInteraction interaction)
    {
        if (interaction.Type == InteractionType.ApplicationCommandAutocomplete)
        {
            var context = new SocketInteractionContext(_client, interaction);
            await _interactionService.ExecuteCommandAsync(context, services: _serviceProvider);
        }
    }

During execution, autocomplete window is opening in discord, but stay empty and display "Loading options failed". The 2 functions are called, but the execute commandasync seems to be call ... nothing ...

To help problem solving, I created a public simple bot on github to test it ... AutoCompleteBot ... But proposition window stay empty ....

Please help ! Thanks a lot

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Please help
  • RegEx Blacklisted phrase (1): I want
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: xNiux

79185335

Date: 2024-11-13 14:29:46
Score: 2.5
Natty:
Report link

Switching from musl to aarch64-unknown-linux-gnu worked.

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

79185327

Date: 2024-11-13 14:27:45
Score: 2.5
Natty:
Report link

I wonder if there is any option to configure the access for each folder? At least to configure on the roles that is able to view each folder.

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

79185321

Date: 2024-11-13 14:26:45
Score: 1.5
Natty:
Report link

Tried with [https://stackoverflow.com/questions/70248087/why-am-i-getting-a-csrf-token-mismatch-with-laravel-and-sanctum][previous posted link]:

Changed variables in my local .env: SESSION_DOMAIN=localhost SANCTUM_STATEFUL_DOMAINS=localhost

Moved back routes from web.php to api.php. Activated EnsureFrontendRequestsAreStateful usage with $middleware->statefulApi(); in app.php:

return Application::configure(basePath: dirname(__DIR__))
    ->withRouting(
        web: __DIR__ . '/../routes/web.php',
        api: __DIR__ . '/../routes/api.php',
        commands: __DIR__ . '/../routes/console.php',
        health: '/up',
    )
    ->withMiddleware(function (Middleware $middleware) {
        $middleware->statefulApi();

When I tried to log in, 401 are returned again: enter image description here

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

79185312

Date: 2024-11-13 14:25:45
Score: 0.5
Natty:
Report link

For "There is no deobfuscation file associated with this App Bundle. If you use obfuscated code (R8/proguard), uploading a deobfuscation file will make crashes and ANRs easier to analyse and debug. Using R8/proguard can help reduce app size."

On VS2022 Over your proyect goto properties


For "This App Bundle contains native code, and you've not uploaded debug symbols. We recommend that you upload a symbol file to make your crashes and ANRs easier to analyse and debug."

I'm still investigating

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

79185311

Date: 2024-11-13 14:25:45
Score: 0.5
Natty:
Report link

for me terminal icon disappeared only for 1 of my python project upon computer reboot, other project it was still there on bottom left section.

after a while I realised the 'terminal icon' is moved to right bottom on the very edge of pycharm window; which also can be dragged to left if needed but I like it on the right for now.

so, it could still be there in your case,but got re-arranged somehow.

Reasons:
  • Whitelisted phrase (-1): in your case
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tushar

79185309

Date: 2024-11-13 14:24:44
Score: 4
Natty: 5
Report link

you are a genious Janka! thanks you so much I actually forgot that

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

79185305

Date: 2024-11-13 14:24:44
Score: 4.5
Natty:
Report link

Restarting LxssManager in services.msc

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ludo brewbaker

79185298

Date: 2024-11-13 14:21:43
Score: 1
Natty:
Report link

After correcting the import at the begging of the script (by appending my PYTHONPATH), so my module is found by pytest, I faced the issue of: Some test functions worked whereas some other were raising the "ModuleNotFoundError".

The issue was in the @patch("path.to.import.mymodule"): this path was incomplete. It needs the same syntax as the imports in the beggining of the script.

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

79185297

Date: 2024-11-13 14:21:43
Score: 3
Natty:
Report link

In the Debug properties turn OFF the "Enable native code debugging" and the debugging will work in VS. At least it did for me.

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

79185287

Date: 2024-11-13 14:18:42
Score: 2
Natty:
Report link

Thanks to Ash Lander i was able to create image that have everything set-up for minikube

https://hub.docker.com/repository/docker/kemsekov/minikube-1.31/general

It have compatible versions of kube dependencies installed

You just need to create docker-compose file, launch it, attach to container and create cluster.

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

79185286

Date: 2024-11-13 14:17:41
Score: 5
Natty: 4
Report link

i have the same problem and this happened when i connected the project with firebase and i did this solution but it didnt work and still told me this (If you opt out of telemetry, an opt-out event will be sent, and then no further information will be sent. This data is collected in accordance with the Google Privacy Policy (https://policies.google.com/privacy). )

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Low reputation (1):
Posted by: Marah Shaqqoura

79185283

Date: 2024-11-13 14:16:39
Score: 7.5 🚩
Natty: 6
Report link

also getting these issues with excel docs that have macros, anyone know how resolve?

Reasons:
  • RegEx Blacklisted phrase (1.5): resolve?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Luke Varns

79185282

Date: 2024-11-13 14:16:39
Score: 1
Natty:
Report link

You need to downgrade to Python 3.11 as suggested in the error message for Kivy 2.3 as it conflicts with Python 3.12

conda install python=3.11

Then reinstall Kivy 2.3

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

79185280

Date: 2024-11-13 14:15:37
Score: 6 🚩
Natty: 5
Report link

I am not sure if this answer above is correct since:

https://pkg.go.dev/github.com/wasmcloud/wasmcloud/examples/golang/components/http-client-tinygo#section-readme

Can expert in tinygo/webassembly revisit the answer as provided by erik258 ?

https://github.com/tinygo-org/tinygo/issues/716

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28281095

79185278

Date: 2024-11-13 14:15:36
Score: 1
Natty:
Report link

You can do this using the new css feature.

color-mix('in xyz', #3F92DF, #fff)

https://developer.chrome.com/docs/css-ui/css-color-mix?hl=tr

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

79185277

Date: 2024-11-13 14:15:36
Score: 1.5
Natty:
Report link

Sure. Let's continue the discussion on the Github issue

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

79185275

Date: 2024-11-13 14:13:36
Score: 2.5
Natty:
Report link

Instead of calling the function inside the onclick property just assign the name of the function to the onclick property onclick="submitFunction"✅ onclick="submitFunction()"❌

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

79185267

Date: 2024-11-13 14:13:36
Score: 1
Natty:
Report link

Just had to solve this myself for version 3.0.x so I thought I would just jot this down to save others some time finding it.

PlayKeys.devSettings += "play.server.http.port" -> "8080"

Source: https://www.playframework.com/documentation/3.0.x/ConfigFile#Using-with-the-run-command

Confirmed as working for me on Version 3.0.5 running Java 11.0.15

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

79185264

Date: 2024-11-13 14:12:33
Score: 8 🚩
Natty:
Report link

Did any of you fixed this? I spent my whole day but still can't find the solution I'm using prisma for db and ngrok to make clerk secret, No matter what I do the route.ts file is not found

Reasons:
  • RegEx Blacklisted phrase (1.5): fixed this?
  • RegEx Blacklisted phrase (1.5): can't find the solution
  • RegEx Blacklisted phrase (2): can't find the solution
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did any of you fix
  • Low reputation (1):
Posted by: Mah Rukh

79185258

Date: 2024-11-13 14:11:33
Score: 1.5
Natty:
Report link

Thanks to @elMaczete (see answer above) following lines can be added to a Dockerfile (Ubuntu based)

# Modify the CPU_FLAGS matching your project (in this case a STM32L4xxx)
ARG CPU_FLAGS="-mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16"
RUN nosys=$(arm-none-eabi-g++ ${CPU_FLAGS} -print-file-name=libnosys.a) && \
    arm-none-eabi-objcopy --wildcard --remove-section .gnu.warning.* $nosys
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @elMaczete
  • Low reputation (0.5):
Posted by: ge45mue

79185251

Date: 2024-11-13 14:10:32
Score: 1.5
Natty:
Report link

Here's how to implement page navigation with your Rive-powered bottom navigation bar.

1. First, Create Your Pages

Create separate page widgets for each tab:

// chat_page.dart
class ChatPage extends StatelessWidget {
  const ChatPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const Center(
      child: Text('Chat Page'),
    );
  }
}

// Similar for other pages
class SearchPage extends StatelessWidget {...}
class TimerPage extends StatelessWidget {...}
class NotificationsPage extends StatelessWidget {...}
class ProfilePage extends StatelessWidget {...}

2. Modify TabItem Class

Add a title and page widget to your TabItem class:

class TabItem {
  TabItem({
    required this.stateMachine,
    required this.artboard,
    required this.title,
    required this.page,
    this.status,
  });

  UniqueKey? id = UniqueKey();
  String stateMachine;
  String artboard;
  String title;
  Widget page;
  late SMIBool? status;

  static List<TabItem> tabItemsList = [
    TabItem(
      stateMachine: "CHAT_Interactivity",
      artboard: "CHAT",
      title: "Chat",
      page: const ChatPage(),
    ),
    TabItem(
      stateMachine: "SEARCH_Interactivity",
      artboard: "SEARCH",
      title: "Search",
      page: const SearchPage(),
    ),
    TabItem(
      stateMachine: "TIMER_Interactivity", 
      artboard: "TIMER",
      title: "Timer",
      page: const TimerPage(),
    ),
    TabItem(
      stateMachine: "BELL_Interactivity", 
      artboard: "BELL",
      title: "Notifications",
      page: const NotificationsPage(),
    ),
    TabItem(
      stateMachine: "USER_Interactivity", 
      artboard: "USER",
      title: "Profile",
      page: const ProfilePage(),
    ),
  ];
}

3. Create a Main Navigation Screen

class MainScreen extends StatefulWidget {
  const MainScreen({Key? key}) : super(key: key);

  @override
  State<MainScreen> createState() => _MainScreenState();
}

class _MainScreenState extends State<MainScreen> {
  final PageController _pageController = PageController();
  int _selectedIndex = 0;

  @override
  void dispose() {
    _pageController.dispose();
    super.dispose();
  }

  void _onTabChange(int index) {
    setState(() {
      _selectedIndex = index;
    });
    _pageController.animateToPage(
      index,
      duration: const Duration(milliseconds: 300),
      curve: Curves.easeInOut,
    );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Stack(
        children: [
          // Pages
          PageView(
            controller: _pageController,
            physics: const NeverScrollableScrollPhysics(), // Disable swipe
            children: TabItem.tabItemsList.map((tab) => tab.page).toList(),
          ),
          // Custom Tab Bar
          Positioned(
            bottom: 0,
            left: 0,
            right: 0,
            child: CustomTabBar(
              onTabChange: _onTabChange,
            ),
          ),
        ],
      ),
    );
  }
}

4. Update CustomTabBar to Show Titles

Modify your CustomTabBar widget to include text labels:

class _CustomTabBarState extends State<CustomTabBar> {
  // ... existing code ...

  @override
  Widget build(BuildContext context) {
    return SafeArea(
      child: Container(
        margin: const EdgeInsets.fromLTRB(24, 0, 24, 8),
        padding: const EdgeInsets.all(1),
        constraints: const BoxConstraints(maxWidth: 768),
        decoration: BoxDecoration(
          borderRadius: BorderRadius.circular(24),
          gradient: LinearGradient(colors: [
            Colors.white.withOpacity(0.5),
            Colors.white.withOpacity(0)
          ]),
        ),
        child: Container(
          clipBehavior: Clip.hardEdge,
          decoration: BoxDecoration(
            color: RiveAppTheme.background2.withOpacity(0.8),
            borderRadius: BorderRadius.circular(24),
            boxShadow: [
              BoxShadow(
                color: RiveAppTheme.background2.withOpacity(0.3),
                blurRadius: 20,
                offset: const Offset(0, 20),
              )
            ],
          ),
          child: Row(
            mainAxisAlignment: MainAxisAlignment.spaceAround,
            children: List.generate(_icons.length, (index) {
              TabItem icon = _icons[index];

              return Expanded(
                key: icon.id,
                child: CupertinoButton(
                  padding: const EdgeInsets.all(12),
                  child: AnimatedOpacity(
                    opacity: _selectedTab == index ? 1 : 0.5,
                    duration: const Duration(milliseconds: 200),
                    child: Column(
                      mainAxisSize: MainAxisSize.min,
                      children: [
                        Stack(
                          clipBehavior: Clip.none,
                          alignment: Alignment.center,
                          children: [
                            Positioned(
                              top: -4,
                              child: AnimatedContainer(
                                duration: const Duration(milliseconds: 200),
                                height: 4,
                                width: _selectedTab == index ? 20 : 0,
                                decoration: BoxDecoration(
                                  color: RiveAppTheme.accentColor,
                                  borderRadius: BorderRadius.circular(2),
                                ),
                              ),
                            ),
                            SizedBox(
                              height: 36,
                              width: 36,
                              child: RiveAnimation.asset(
                                app_assets.iconsRiv,
                                stateMachines: [icon.stateMachine],
                                artboard: icon.artboard,
                                onInit: (artboard) {
                                  _onRiveIconInit(artboard, index);
                                },
                              ),
                            ),
                          ],
                        ),
                        const SizedBox(height: 4),
                        Text(
                          icon.title,
                          style: TextStyle(
                            fontSize: 12,
                            color: _selectedTab == index
                                ? RiveAppTheme.accentColor
                                : Colors.grey,
                          ),
                        ),
                      ],
                    ),
                  ),
                  onPressed: () {
                    onTabPress(index);
                  },
                ),
              );
            }),
          ),
        ),
      ),
    );
  }
}

5. Usage

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Rive Navigation Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MainScreen(),
    );
  }
}

Key Features

  1. Smooth Page Transitions

    • Uses PageView for smooth transitions between pages
    • Animated page changes
    • Disabled swipe navigation for better control
  2. State Management

    • Maintains selected tab state
    • Synchronizes page and tab selections
    • Proper disposal of controllers
  3. UI Customization

    • Animated tab indicators
    • Custom text styling for selected/unselected states
    • Smooth opacity transitions

Additional Tips

  1. Page State Persistence If you want to maintain page states when switching tabs:
PageView(
  controller: _pageController,
  physics: const NeverScrollableScrollPhysics(),
  children: TabItem.tabItemsList.map((tab) {
    return KeyedSubtree(
      key: ValueKey(tab.title),
      child: tab.page,
    );
  }).toList(),
)
  1. Adding Bottom Padding for iPhone
SafeArea(
  bottom: true,
  child: CustomTabBar(...),
)
  1. Handling Deep Links
void navigateToTab(String tabName) {
  final index = TabItem.tabItemsList.indexWhere((tab) => tab.title == tabName);
  if (index != -1) {
    _onTabChange(index);
  }
}

Common Issues and Solutions

  1. Page Not Updating

    • Ensure PageController is properly initialized and disposed
    • Verify onTabChange is being called
    • Check page widgets are properly rebuilt
  2. Animation Issues

    • Make sure Rive assets are properly loaded
    • Verify state machine names match exactly
    • Check animation controllers are properly initialized
  3. Memory Leaks

    • Dispose of controllers in dispose method
    • Clean up any subscriptions or listeners
    • Use StatefulWidgets appropriately

Remember to:

Would you like me to explain any part in more detail or show how to implement specific features?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Darshan Parmar

79185229

Date: 2024-11-13 14:02:31
Score: 3
Natty:
Report link

wait from 2 to 8 hours to active your records

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

79185219

Date: 2024-11-13 14:00:30
Score: 1
Natty:
Report link

Had a similar problem, but it must be said that I was working with an external folder where I kept the file I was trying to get the icon to work on and kept the node_modules/react-native-vector-icons for it.

In my case the solution was adding some assets/fonts folders to myProject/android/app/src/main and put the MaterialCommunityIcons.ttf file from the myExternalFolder/node_modules/react-native-vector-icons folder.

Before that I had installed react-native-vector-icons on my actual project (which used the file from the external folder) but when I removed it (the react-native-vector-icons module) again the icons still worked.

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

79185211

Date: 2024-11-13 13:59:30
Score: 3
Natty:
Report link

use template literal Instead of using "Bearer ${token}", use ` (backtick) symbol

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

79185190

Date: 2024-11-13 13:51:28
Score: 1
Natty:
Report link

This worked for what I wanted:

git log --no-walk

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Trevor de Koekkoek

79185178

Date: 2024-11-13 13:47:27
Score: 2
Natty:
Report link
SELECT CATALOG_LEVEL FROM SYSIBM.SYSDUMMY1;

from https://thehelpfuldba.com/identify-the-current-version-level-of-db2-z-os-via-an-sql-statement/

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

79185167

Date: 2024-11-13 13:46:27
Score: 2
Natty:
Report link

Using setStyle you have to set a layout like GridPane as the Content of the ScrollPane, set its' size and do something like

yourGridPane.setPrefSize(100, 100);

yourGridPane.setStyle("-fx-background-image: url('DungeonRoomImage.png')");

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

79185154

Date: 2024-11-13 13:44:24
Score: 12.5 🚩
Natty:
Report link

Have same issue after new xCode update. Did you fix it already?

Reasons:
  • RegEx Blacklisted phrase (3): Did you fix it
  • RegEx Blacklisted phrase (1.5): fix it already?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Have same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: HelloSzymon

79185141

Date: 2024-11-13 13:41:23
Score: 3.5
Natty:
Report link

In Symfony 7.1 needed attribute above handler

#[AsMessageHandler]

https://symfony.com/doc/current/messenger.html#creating-a-message-handler

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

79185139

Date: 2024-11-13 13:41:23
Score: 2
Natty:
Report link

to follow up on what bogey jammer wrote, i got sdk 35 working by setting gradle.properties to

android.aapt2FromMavenOverride=/data/data/com.termux/files/home/bin/aapt2

after following these steps (with an extra copy of both files to the dir above) https://www.reddit.com/r/termux/comments/1g83cyg/how_i_ran_unmodified_apktool_in_arm64_termux/

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

79185134

Date: 2024-11-13 13:39:22
Score: 1.5
Natty:
Report link

I am going to debug further to understand what's going on, but by simply changing the name of the parent python module from app to fastapp, the import worked in the Cloud Run environment.

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

79185123

Date: 2024-11-13 13:37:22
Score: 5.5
Natty: 4
Report link

Is there any way to do this without converting the .json? I'm templating .json files that need to stay unchanged.

Would post this as a comment, but stackoverflow wont let me log in for some reason

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Blacklisted phrase (1): Is there any
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Is there any
  • Low reputation (1):
Posted by: user28280413

79185117

Date: 2024-11-13 13:36:21
Score: 0.5
Natty:
Report link

In Excel you can use Data | Get Data | From Other Sources | From ODBC to retrieve from any database (including Snowflake) using ODBC

enter image description here

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Dave Welden

79185116

Date: 2024-11-13 13:36:21
Score: 2
Natty:
Report link

I did this and voila it got accepted. I dont know what is wrong with it. I wrote the entire code correct, still it didnt accept :|

UPDATE "meteorites_temp" SET
    "mass" = NULLIF("mass", ''),
    "year" = NULLIF("year", ''),
    "lat" = NULLIF("lat", ''),
    "long" = NULLIF("long", '');
Reasons:
  • Blacklisted phrase (1): know what is wrong
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Prasad Jadhav

79185110

Date: 2024-11-13 13:35:21
Score: 2
Natty:
Report link

My name is Ritu. I do tiktok I have a Facebook page. By profession I am a student studying in class five. I love to sing. I sing Amin sometimes. And I love one he is sujan sir of my school. I always dream that I am happily married to him. I am thinking about the exam ahead of me, this time I will take the exam first. Everyone will love me.

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

79185108

Date: 2024-11-13 13:34:20
Score: 0.5
Natty:
Report link

I was facing the same issue, but I needed to display it directly in the user's browser rather than prompting for a download.

so here is how I handled it:

$body = Http::withHeaders(['Content-Type' => 'application/pdf'])
  ->get('https://www.adobe.com/support/products/enterprise/knowledgecenter/media/c4611_sample_explain.pdf')
  ->body();

$headers = [
        "Content-type" => "application/pdf",
        "Content-Disposition" => "inline; filename=the-file.pdf",
        "Access-Control-Expose-Headers" => "Content-Disposition",
        "Pragma" => "no-cache",
        "Cache-Control" => "must-revalidate, post-check=0, pre-check=0",
        "Expires" => "0"
    ];

return response()->stream(function() use($body){
        $file = fopen('php://output', 'w');
        fwrite($file, $body);
        fclose($file);
    }, 200, $headers);
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mazen Bassiouni

79185096

Date: 2024-11-13 13:32:20
Score: 2.5
Natty:
Report link

Moving routes from api.php to web.php was special for using csrf checking.

At first I make sanctum csrf cookie GET call and take returned cookie value in header (this is done by axios) and send to backend.

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

79185093

Date: 2024-11-13 13:31:19
Score: 6.5
Natty: 7
Report link

I had a similar problem and installing the Gutenberg plugin fixed it... but WHY? How can we find the original conflict that caused it so we don't need the Gutenberg plugin?

Reasons:
  • Blacklisted phrase (1): How can we
  • Blacklisted phrase (0.5): WHY?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: LauraSuzy

79185084

Date: 2024-11-13 13:29:19
Score: 2
Natty:
Report link

I don't know if this will help anyone, but in my case, I had an after update trigger which couldn't write to a different table which expected an "integer" value, despite original table had LONGTEXT.

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

79185078

Date: 2024-11-13 13:28:19
Score: 0.5
Natty:
Report link

Somehow the behaviour regarding shared component subscriptions must have changed in one of the last releases. On the official oracle forum you can also find some issues with it that should be fixed in the latest version.

However I was only able to fix it by importing the application which contains the master components on command line and setting the offset to zero so that the authentication schemes keep their id:

apex_application_install.set_offset( p_offset => 0 );
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Nick

79185073

Date: 2024-11-13 13:26:18
Score: 3
Natty:
Report link

Someting like?

find "$path" -depth 2 -type d -mtime +"$days" -exec sh -c 'for dir; do echo "$(stat -c %Y "$dir") $dir" >> deletion_log.txt; rm -rf "$dir"; done' sh {} +
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Jan Suchanek

79185071

Date: 2024-11-13 13:25:18
Score: 1
Natty:
Report link

You need a couple of things in place. You need to have your webserver that implements SQL-databases also or your server needs to recognize that you can call an outside SQL-database querying program, that you may have to write yourself. I feel you want to be able to implement your own webserver and SQL-database management and querying program.

The HTML you write will be server-specific, meaning that it will not work with other servers that don't implement the same functionality using the same naming conventions. The Internet was designed to be personal when it comes to your homepage and having to make use of an external server as such is a drawback, because your are forced to work with their systems.

The HTML-conventions are really simple in terms of your form. You make use of a POST-request (METHOD="POST") to send data and with the ACTION-attribute, you either send your form data directly to the database management system, specifically the querying application, in the same way that you would send it to a PHP-page, or to the function-name that the server specifies you should use for SQL.

In case of a to the server external application you designed, your server has to be set up so it recognizes this application and the application needs to send back HTML to the client connecting to your server to display the result.

With elaborate search forms, you could opt to parse the query using JavaScript so you have an SQL-query. That way your server-side database querying application can be kept minimal in that it only has to interpret SQL queries. This way you can use it for different database structures custom-designed for every webpage you mean to use a database for, instead of every webpage needing a new application for every new specific database architecture, that parses the query rather than making use of javascript.

If you are not going to implement your own server and database system, your answer lies not in the many API's but in searching for a webserver that also implements SQL-functionality with a clear manual on how to use it. You really don't want an additional layer between your HTML, JavaScript, and the database. Quite frankly, you need to know exactly what your server does and with all of these external systems, who knows who ends up with your data?

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Emile Michel Hobo van Oranje

79185068

Date: 2024-11-13 13:24:17
Score: 3
Natty:
Report link

Oh dear.... my awful newb mistake. There was nothing wrong with the DAG. The start_date was in the future...

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

79185062

Date: 2024-11-13 13:23:17
Score: 2
Natty:
Report link
        <List sx={{
            '&.MuiList-root': {
                display: 'flex',
                flexDirection: 'row'
            }
        }}>
            ...
        </List>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Yevhenii

79185061

Date: 2024-11-13 13:23:17
Score: 1
Natty:
Report link

Some of the above seems kind of hacky and has changed. You can do the following and it will work.

TextField("Placeholder", text: $text)
  .onAppear {
    UITextField.appearance().clearButtonMode = .whileEditing
  }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Marco Espinoza

79185032

Date: 2024-11-13 13:16:16
Score: 1.5
Natty:
Report link

Had the same issue right now. Try using a different engine. fastparquet didn't work for me but pyarrow did.

df = pd.read_parquet(file_obj, engine="pyarrow")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sasa Trivic

79185030

Date: 2024-11-13 13:15:15
Score: 3
Natty:
Report link

In my case i have updated one upper version for cucumber related dependencies in pom and update the pom then run the test. And resolved the issue.

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

79185020

Date: 2024-11-13 13:12:15
Score: 0.5
Natty:
Report link

There are quite few 'jq' solutions around. Within my searches, this one from @JanB impressed the most.

Other people have outlined about how to extract floating point numbers from text. This one on Stack for instance.

In the end I wrote a short script program with a CLI interface that can be run as standalone or embedded.

floatversion -M "$(curl -sf "https://github.com/TuxVinyards/floatversion/releases" | grep 's/tag')"
1.0.0

floatversion -r "$(curl -sf https://github.com/qemu/qemu/tags | grep 's/tag')"
9.1.1  9.1.0  9.0.3  8.2.7  7.2.14  

floatversion -M "$(curl -sf https://github.com/qemu/qemu/tags | grep 's/tag')"
9.1.1
  floatversion --options  "quoted-input-source"

  Extracts point separated numbers, or semantic version numbers with optional suffixes,
  and other common variations upon, from a given string or text-file

  -h | --help         show help 
  -V | --version      show version
  -c | --col          show list as column instead of string (unless -M)
  -r | --rev          show list in reverse order  
  -a | --all          show all extracted values, not just unique 
  -n | --num          sort by standard numbering, not versioning
  -f | --full         check for additional sem. ver. suffixes,  eg. -beta
  -F | --filter       contains given items -F  "string  string  string" 
  -S | --starts       starting with -S  "string  string  string" 
  -D | --delete       doesn't contain: -D  "string  string  string" 
  -M | --max          outputs the highest/latest value in list, only, with '-r' shows lowest/earliest
  -g | --gt           A > B, returns true/false -g "A B" (.nums or sem ver, for -lt use B A)
  -v | --verbose      for problem output, show algorithm sequences (full version only) 
       --sort-v       use sort -V (if present) in preference to the default jq methods
       --no-svb       no falling back to 'jq' if 'sort -V' is unavailable, show error instead

  Without options, produces a single sorted string of all unique items found
  Filters output as string, column or max. Post-output grep requires columns.

  Tests show 'jq' sort methods as more reliable than 'sort -V' esp. with alpha suffixes
  All cases, returns false if none

On GitHub here

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

79185001

Date: 2024-11-13 13:06:13
Score: 1
Natty:
Report link

A colleague of mine just copied this regex from above in our codebase so I want to make an update here that nowadays browsers do widely support unicode.

var regexp = /^\p{Letter}+$/u;

var val1 = "Normal";
var val2 = "Połącz";
var val3 = "Illegal space char";

console.log(regexp.test(val1), regexp.test(val2), regexp.test(val3));
// ^--- true true false

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

79184993

Date: 2024-11-13 13:02:12
Score: 0.5
Natty:
Report link

You can unzip to specific folder-

%sh
unzip  /dbfs/mnt/<source path>/filename.zip  -d /dbfs/mnt/<destination path>/
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: akshat thakar

79184988

Date: 2024-11-13 13:01:12
Score: 1
Natty:
Report link

The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error.

Any cookie that is set with a size greater than the limit is ignored (and not set).

Most of the browsers have a limit on the size of cookies, check Browser cookie limits for some common browsers. When the total size of cookies exceeds this limit, browsers may reject the request. For example Chrome browser has 180 Cookie count limit per domain Total size of cookies 4096.

The error message Request Header Or Cookie Too Large. One of your headers is very big, and nginx is rejecting it. You are using nginx server, try to increase the buffer value and set it as large_client_header_buffers 4 32k.

Check your Kubernetes ingress annotations to ensure they are correctly applied and that the ingress controller is properly configured to handle large headers.

Refer to this document by Docdevs for more information

Note:

To support most browsers, cookies should not exceed 60 per domain, and total cookie size (across all cookies) should be less than or equal to 4093 bytes.

Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Kokila R

79184976

Date: 2024-11-13 12:57:11
Score: 2.5
Natty:
Report link

work for me:

  1. Delete .idea folder

  2. File -> Repair IDE -> Rescan Project Indexes (on the right bottom)

WebStorm 2024.1.5. MacOS

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alan-mid

79184974

Date: 2024-11-13 12:55:10
Score: 2
Natty:
Report link

Spacebring uses webhooks too, and they work really well! Basically, you can set them up to get real-time updates whenever something happens, like a booking or schedule change. It's super convenient because you don’t have to keep checking manually — the data just gets pushed to you. Makes everything smoother and keeps integrations in sync without any hassle. Really useful for keeping things dynamic!

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

79184963

Date: 2024-11-13 12:51:09
Score: 1.5
Natty:
Report link

This can often occur due to misconfigurations when setting up the test environment. What you can do is ensure that the environment is set up correctly. Another important thing is the mock implementations for services. If your services have methods that are expected to be called during the test, ensure that those methods exist in your mock and are set up to return the expected values.

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

79184960

Date: 2024-11-13 12:51:09
Score: 3
Natty:
Report link

the problems will be solved if you untick the marked area.

[open image] : https://i.sstatic.net/53PTWc2H.png

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

79184959

Date: 2024-11-13 12:50:08
Score: 3.5
Natty:
Report link

Thank you for the response. I have fixed this issue, the issue is that the script that i wrote is changing the columns to utf8mb4 but not retaining their old values for enum and default values

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: johnd3v

79184955

Date: 2024-11-13 12:49:08
Score: 3.5
Natty:
Report link

I have resolved this issue by following the below commands.

dotnet publish EDI_Portalwebapi.csproj /p:PublishProfile="Profile_name" /p:Password=<App-service_password>

https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/visual-studio-publish-profiles?view=aspnetcore-8.0#:~:text=PublishProfile%3D%3CFolderProfileName%3E-,MSDeploy%3A,-.NET%20CLI

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

79184954

Date: 2024-11-13 12:49:08
Score: 0.5
Natty:
Report link

The code is logically correct, but parts of it may need to be reviewed or changed to ensure that all errors are corrected. A few points to check more closely:

Not calling a module or library without a valid value: In code, you EditorView(null); You called without a valid value, which produces an error. This command may give an error if the CodeMirror library is not loaded correctly. Make sure CodeMirror is downloaded from the correct source.

Library access: It looks like EditorView is in the CodeMirror library, and you used a GitHub link to download it. Note that GitHub does not allow direct upload of JavaScript files by default. For CodeMirror to work properly, make sure you download it from a source, either a CDN or a local installation.

Lack of await support in normal script: In one of the sections, you have used await without inside the async function. From await, you must enter an async script or async function.

Compatibility with different browsers: The different behavior you see in browsers can be due to differences in security and each browser. To fix this problem and ensure consistency, handle your errors in different ways.

In general, if you make a mistake or don't execute the code correctly, you can check any error seriously and use valid errors to see the actual error message instead of the generic message.

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

79184952

Date: 2024-11-13 12:49:08
Score: 0.5
Natty:
Report link

to add a custom font family we must inject font into Quill

1- import and register a new font family to display in the list of fonts add this code above the component where using ReactQuill

// import ReactQuill and CSS file for snow theme
import ReactQuill from "react-quill";
import "react-quill/dist/quill.snow.css";
//init var to customize fonts
const Quill = ReactQuill.Quill;
const FontAttributor = Quill.import("attributors/class/font");
//add your font family names in this array
FontAttributor.whitelist = ["sofia"];
Quill.register(FontAttributor, true);

2- inside the component add ReactQuill with a toolbar containing font property

<ReactQuill
        theme="snow"
        value={""}
        modules={{
          toolbar: [[{ font: FontAttributor.whitelist }],],
        }}
      />

it will display like this so we must add CSS code to display the correct font family name with the effect font family in the text in ReactQuill

image for add custom font without effect or display font name

3- by CSS code we finish that notice the font called 'sofia'

/* Set dropdown font-families */
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="sofia"]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="sofia"]::before{
  font-family: "sofia", cursive;
  content: "Sofia";
}
/* Set effect font-families */
.ql-font-sofia {
  font-family: "sofia", cursive;
}

the result after all the changes

ReactQuill with custom fonts

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

79184950

Date: 2024-11-13 12:48:08
Score: 1
Natty:
Report link
Dim st As String
st = "Line 1" & vbCrLf & "Line 2"

This will concatenate "Line 1" and "Line 2" with a line break in between. You can also use vbNewLine for the same effect, but vbCrLf is generally more reliable across various environments where you might run the code.

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

79184945

Date: 2024-11-13 12:47:08
Score: 0.5
Natty:
Report link

« Si les éléments sont paginés, comment calculer la somme de leurs valeurs value des éléments avec la somme de la value de chaque item ? Exemple : »

{
"@context": "/api/contexts/Credit",
"@id": "/api/credits",
"@type": "hydra:Collection",
"hydra:member": [
    {
        "@id": "/api/credits/1",
        "@type": "Credit",
        "id": 1,
        "value": 200,
        "createdAt": "2019-03"
    },
    {
        "@id": "/api/credits/2",
        "@type": "Credit",
        "id": 2,
        "value": 200,
        "createdAt": "2019-04"
    }
],
"hydra:totalItems": 5,
"totalValues": 1400

}

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

79184938

Date: 2024-11-13 12:45:07
Score: 3.5
Natty:
Report link

android>gradle_properties

amount of code will run directly in the file directory.enter image description here

android.enableJetifier=true

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

79184934

Date: 2024-11-13 12:44:07
Score: 1
Natty:
Report link

A non scalable solution (it's de facto not a ci/cd) is to create a meaningless commit in the repo from the Vercel git owner. I personally did it directly from the git web console just to update the project.

Main drawbacks:

Main advantages:

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

79184931

Date: 2024-11-13 12:43:07
Score: 1
Natty:
Report link

I was taught to do it, then I made libs myself where I've done it. Then I came across libs where it was one. Then I realised how clear and easy it was just to use one namespace. Now I use one namespace in my libs and only in projects where they fetish it I would adapt and do it.

A lot of answers advocating to do so are really opinionated and the reasons 'why' have more to do with clean working and organising ethics rather than being a clear advantage if you use folder = namespace.

Bottomline: meh! Satisfy yourself or satisfy others. Either is good as long as you produce clean code, architecture and be tight and organised. :)

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

79184914

Date: 2024-11-13 12:39:06
Score: 2
Natty:
Report link

If you're using windows.

  1. Go to network status and click on properties
  2. Copy IPV4 address
  3. Open terminal and go to your project root folder.
  4. php artisan serve --host=youripv4address --port=8000
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vaishnavi K Shylaji

79184912

Date: 2024-11-13 12:38:05
Score: 2
Natty:
Report link

Since I couldn't find any proper solution, I decided to reinstall my entire gitlab ce server and set domain name instead of IP, everything went well. Also, I indicated http, then I had required ssl for my new domain through proxy manager node. It is quite simple. I messed it up at first and wasted my entire week)

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

79184910

Date: 2024-11-13 12:38:05
Score: 1.5
Natty:
Report link

to set alignment to edge of the chart simply set boundaryGap to true (echarts v.5)

xAxis: {
  boundaryGap: false,
  /* other options */
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ProgAli

79184908

Date: 2024-11-13 12:38:05
Score: 2.5
Natty:
Report link

here's the documentation that will guide you on how to set up your culture: https://docs.telerik.com/kendo-ui/globalization/intl/definecultureinfo

Once that set up, you'll be able to edit your date to a culture that suites you.

It works!

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

79184903

Date: 2024-11-13 12:36:04
Score: 4.5
Natty:
Report link

youre interface should have @local on top of it

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @local
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nasrat Salehi

79184901

Date: 2024-11-13 12:35:04
Score: 0.5
Natty:
Report link

You can use {{post?.title}} to keep element in DOM and show the value as soon as you have it.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Prithivraj

79184894

Date: 2024-11-13 12:34:03
Score: 1.5
Natty:
Report link

Use COALESCE to apply dynamic radius to each user

->having('distance', '<', DB::raw('COALESCE(radius, ' . $radius . ')'))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Surjith

79184889

Date: 2024-11-13 12:34:03
Score: 3.5
Natty:
Report link

omg, a girl learning ruby... i think i'm falling in love

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

79184883

Date: 2024-11-13 12:32:03
Score: 1
Natty:
Report link

I was getting the same error for a wile and figured it out. I have noticed that when I start my DMS task in the CloudWatch logs I could see that DMS was loading and preparing all the files and databases schemas. Since I have a lot of schemas and tables it took more than 120s to execute and it got timed out and I have received the same error.

*How to fix: Since the problem is at the source go to Endpoint and search for you Source Endpoint and got to Extra connection attributes and enter valued for executeTimeout to 3600.

Ref: https://repost.aws/knowledge-center/dms-error-canceling-statement-timeout

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

79184879

Date: 2024-11-13 12:32:03
Score: 1.5
Natty:
Report link

Yes, it's possible.

Fast and simple way

  1. Download and launch desktop app LM Studio on the computer.
  2. Load desired model (like Llama3) into LM Studio.
  3. Connect CodeGPT to LM Studio via plugin's "Custom OpenAI" provider.

I published detailed CodeGPT -> LM Studio step-by-step guidence here: https://github.com/carlrobertoh/CodeGPT/issues/384#issuecomment-2473137768

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

79184878

Date: 2024-11-13 12:32:03
Score: 0.5
Natty:
Report link

Limiting sessions by adding maximum sessions value to 1 and session registry to Security Configuration

http.sessionManagement()
.maximumSessions(1)
.sessionRegistry(sessionRegistry())
.expiredUrl("/login?expired");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Marwen Jaffel

79184877

Date: 2024-11-13 12:32:03
Score: 1
Natty:
Report link

Follow these instructions

Get the right sha1 key match details

Variant: debugAndroidTest Config: debug Store: /Users/..../..../.../android/app/debug.keystore Alias: androiddebugkey MD5: 65:01:AE:C5:89:21:98:57:CB:D9:17:76:55:52:34:4F SHA1: FA:D4:3F:12:DF:F4:DA:B0:04:41:1A:49:E8:DB:A3:91:AE:FC:D0:9C SHA-256: 8A:36:45:A1:CA:21:4C:7F:35:1F:32:66:1B:64:FA:06:7C:FB:3C:0B:FB:57:3D:19:17:BC:6E:55:5F:C4:FD:ED

  1. Create android client id with package and sha1 key In advance setting bottom of verify owner enable checkbox Custom URI scheme
  2. Generate a web client id without any redirect url
  3. Also add permissions in scope Oauth consent screen tab ./auth/userinfo.email ./auth/userinfo.profile openid

And aslo in scope also add Test users your mail which will be verified in google sign in button

Now copy the web client id and use in code

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

79184869

Date: 2024-11-13 12:31:00
Score: 9 🚩
Natty: 5
Report link

I am having the same problem @MarkoVitez i did use avcodec_parameters_from_context() but the problem is still there. OP can you explain how can i use your function i have AVPacket how to use this function to add the AAC header to the AVPacket

Reasons:
  • Blacklisted phrase (0.5): how can i
  • RegEx Blacklisted phrase (2.5): can you explain how
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same problem
  • User mentioned (1): @MarkoVitez
  • Single line (0.5):
  • Low reputation (1):
Posted by: Arun