79347849

Date: 2025-01-11 09:59:04
Score: 2.5
Natty:
Report link
  1. Delete node_modules
  2. Include "@testing-library/react": "^16.1.0" dependency in package.json
  3. npm i
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Luiz Imbroisi

79347848

Date: 2025-01-11 09:59:03
Score: 4.5
Natty: 4
Report link

A reply of mine was deleted, how to find out why? Presumably, as I was searching for an ffmpeg solution for days, caught in that tunnel, it was off-topic (not directly related to ffmpeg)?

I don't mind to be downvoted for good reasons, but it would be great (and fair) if one could find out why, so to do better next time. Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): why?
  • RegEx Blacklisted phrase (2): downvote
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: charlie

79347842

Date: 2025-01-11 09:56:02
Score: 3
Natty:
Report link

I finally solved this issue.

The UiPath CLI doesn't like the env.vars within the github pipeline, so using ${{ secrets.example }} is the way to go.

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

79347838

Date: 2025-01-11 09:53:01
Score: 0.5
Natty:
Report link

The culprit is the line:

this._div.innerHTML += "some info";

It destroys (and then recreates) all child elements of this._div so the event listener associated with the original button is lost.

If you replace this line with say:

let contentDiv = L.DomUtil.create("div", "info-content", this._div);
contentDiv.innerHTML = "some info";

the button will work as intended.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: the.real.gruycho

79347837

Date: 2025-01-11 09:52:01
Score: 3.5
Natty:
Report link

i just run "watchman" on my terminal and its working for me.

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

79347815

Date: 2025-01-11 09:29:55
Score: 1
Natty:
Report link

I solved this by adding ts-ignore

// @ts-ignore

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @ts-ignore
Posted by: Victor Odiah

79347807

Date: 2025-01-11 09:24:54
Score: 4.5
Natty:
Report link

from this link

you need to add /usr/bin/nologin to /etc/shells

enter image description here

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: hisland

79347805

Date: 2025-01-11 09:23:53
Score: 1.5
Natty:
Report link

That's a fascinating issue! Since the tag appears correctly in the browser's source code, it's likely a problem with how PageSpeed Insights is analyzing the page. Here are some potential solutions:

  1. Ensure Correct HTML Structure Verify that the tag is correctly placed within the section of your HTML document.

  2. Check for Dynamic Rendering Blazor Server uses dynamic rendering, which might cause issues with PageSpeed Insights. Try using the @page directive with the title attribute to set the title.

  3. Use the Meta Tag Add a tag with the name attribute set to "title" and the content attribute set to your desired title. This might help PageSpeed Insights detect the title.

  4. Disable Dynamic Rendering for PageSpeed Insights You can add a meta tag to disable dynamic rendering specifically for PageSpeed Insights:

However, this might affect your page's indexing.

  1. Test with a Different Tool Try analyzing your page with a different SEO tool, like Ahrefs or SEMrush, to see if the issue persists.

  2. Verify PageSpeed Insights Configuration Ensure that PageSpeed Insights is configured correctly and that the analysis is being run on the correct page.

  3. Report the Issue If none of the above solutions work, consider reporting the issue to the PageSpeed Insights team or seeking help from the Blazor community.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @page
  • Low reputation (1):
Posted by: user29151877

79347801

Date: 2025-01-11 09:18:52
Score: 3
Natty:
Report link

In the "suivant_callback," try editing the response outside of an "if" block directly to see what happens.

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

79347797

Date: 2025-01-11 09:16:52
Score: 0.5
Natty:
Report link

Just set the ANSI_NULLS option to OFF and it will be all right:

 SET ANSI_NULLS OFF;

Remember that disabling this role is not a good option, but we can use it to preserve performance.

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

79347793

Date: 2025-01-11 09:13:51
Score: 0.5
Natty:
Report link

This is Typescript solution and it works only for simple types as number, string:

function arrSameElements<T>(arr1: T[], arr2: T[]): boolean {
  if (arr1.length !== arr2.length) {
    return false;
  }

  const arrSet = new Set([...arr1, ...arr2]);
  return arrSet.size === arr1.length;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nenad Jeremic

79347787

Date: 2025-01-11 09:10:50
Score: 2
Natty:
Report link

By default Spark restart policies for both executor and driver pods are set to "Never" and that will override all Kubernetes configurations: link.

In the case, you need to restart, I guess you have to do with bash, kubectl scripts.

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

79347781

Date: 2025-01-11 09:05:49
Score: 0.5
Natty:
Report link

I had the same problem. I had a bad import. It must be like this

import "github.com/jackc/pgx/v5/pgconn"

var pgErr *pgconn.PgError
if errors.As(err, &pgErr) {
   // code ...
}
Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tomas Svojanovsky

79347778

Date: 2025-01-11 09:03:49
Score: 3
Natty:
Report link

Azure OpenAI Service quotas and limits are in this link: https://learn.microsoft.com/en-us/azure/ai-services/openai/quotas-limits

For different LLMs, the rate limits vary slightly. The limits consist of two components:

Below is the rate limit for GPT-4 and 4o model's rate limit:

GPT-4 and 4o model's rate limit

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: alibobo

79347776

Date: 2025-01-11 08:59:48
Score: 0.5
Natty:
Report link

I would say the best way to generically wrap all methods of a class, regardless the method is staticmethod, classmethod or any already-decorated method, is to use the Descriptor protocol.

You can read more about my solution in the blog post: https://asyncmove.com/blog/2025/01/all-decorators-systematically-decorating-python-class-methods/

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

79347771

Date: 2025-01-11 08:58:47
Score: 2.5
Natty:
Report link

Based on comments, it seems clear that what I’m trying to do simply isn’t possible with Rust. The lifetimes of the references I’m trying to use can’t be proven safe, so Rust won’t allow it. I need to switch to some design involving heap allocations and moves/copies of some data.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: abingham

79347767

Date: 2025-01-11 08:55:47
Score: 1.5
Natty:
Report link

I found an easy and perfect sln. Feel free to check, here are my files For reference check on git (https://github.com/bytechtechnologies/Create-CustomUser-in-Django) or YouTube (https://youtu.be/W11uZ8cbWuE)

models.py file

from django.contrib.auth.base_user import BaseUserManager, AbstractBaseUser
from django.db import models


class MyUserManager(BaseUserManager):
    def create_user(self, username, phone, password=None):
        user = self.model(
            username=username,
            phone=phone
        )

        user.set_password(password)
        user.save(using=self._db)
        return user

    def create_superuser(self, username, phone, password=None):
        user = self.create_user(
            username=username,
            phone=phone,
            password=password
        )

        user.is_admin = True
        user.save(using=self._db)
        return user


class CustomUser(AbstractBaseUser):
    username = models.CharField(
        max_length=150,
        unique=True
    )
    phone = models.IntegerField()
    is_active = models.BooleanField(default=True)
    is_admin = models.BooleanField(default=False)

    objects = MyUserManager()

    USERNAME_FIELD = "username"
    REQUIRED_FIELDS = ["phone"]

    def __str__(self):
        return self.username

    def has_perm(self, perm, obj=None):
        return True

    def has_module_perms(self, app_label):
        return True

    @property
    def is_staff(self):
        return self.is_admin

admin.py file

from django import forms
from django.contrib import admin
from django.contrib.auth.forms import ReadOnlyPasswordHashField
from django.contrib.auth.models import Group
from django.core.exceptions import ValidationError
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin

from .models import CustomUser


class UserCreationForm(forms.ModelForm):
    password1 = forms.CharField(label="password", widget=forms.PasswordInput)
    password2 = forms.CharField(label="password confirmation", widget=forms.PasswordInput)

    class Meta:
        model = CustomUser
        fields = ["username", "phone"]

    def clean_password2(self):
        password1 = self.cleaned_data.get("password1")
        password2 = self.cleaned_data.get("password2")

        if password1 and password2 and password1 != password2:
            raise ValidationError("passwords do not match")

        return password2

    def save(self, commit=True):
        user = super().save(
            commit=False
        )

        user.set_password(self.cleaned_data["password1"])
        if commit:
            user.save()

        return user


class UserChangeForm(forms.ModelForm):
    password = ReadOnlyPasswordHashField()

    class Meta:
        model = CustomUser
        fields = ["username", "phone", "password", "is_active", "is_admin"]


class UserAdmin(BaseUserAdmin):
    form = UserChangeForm
    add_form = UserCreationForm

    list_display = ["username", "phone", "is_admin"]
    list_filter = ["username"]
    fieldsets = [
        (None, {"fields": ["username", "password"]}),
        ("Personal info", {"fields": ["phone"]}),
        ("Permissions", {"fields": ["is_admin"]},
         ),
    ]

    add_fieldsets = [(
        None, {
            "classes": ["wide"],
            "fields": ["username", "phone", "password1", "password2"],
        },
    ),
    ]

    search_fields = ["username"]
    filter_horizontal = []
    ordering = ["username"]


admin.site.register(CustomUser, UserAdmin)

admin.site.unregister(Group)

settings.py file

# Application definition

INSTALLED_APPS = [
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'project1app'   # the name of your start app for example I named mine 'project1app'
]

AUTH_USER_MODEL = "project1app.CustomUser"  # name of your start app and name of user class for example my app name is 'project1app' and user class is CustomUser

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user24834406

79347765

Date: 2025-01-11 08:54:46
Score: 3
Natty:
Report link

I have it working with =IF(B2="Period 01",SUM(F6),IF(B2="Period 02",SUM(F6,I6),IF(B2="Period 03", SUM(F6,I6,L6))))

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

79347757

Date: 2025-01-11 08:46:44
Score: 3.5
Natty:
Report link

in my case to simplify resistor value

=IF(B1>=1000000; TEXT(B1/1000000; "0.0") & "M"; IF(B1>=1000; IF(MOD(B1;1000)=0;TEXT(B1/1000; "0") & "k";TEXT(B1/1000; "0.#") & "k"); B1))

Resistor k M converter

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

79347739

Date: 2025-01-11 08:32:42
Score: 4.5
Natty:
Report link

Same problem, just wannt import a custom function and git the same error. This sucks.

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yannick Gogolin

79347733

Date: 2025-01-11 08:29:39
Score: 7 🚩
Natty: 5.5
Report link

I has same problem in Chisel 6.6.0, has you fixed the problem ?

Reasons:
  • RegEx Blacklisted phrase (1.5): fixed the problem ?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chichi

79347731

Date: 2025-01-11 08:28:39
Score: 1.5
Natty:
Report link
text = "This is string, remove text after second comma, to be removed."
print(",".join(text.split(",")[:2]))

# result: This is string, remove text after second comma
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Сергей C

79347727

Date: 2025-01-11 08:25:38
Score: 4.5
Natty:
Report link

This likely to be a dependency issue. Which Sedona jar did you use? What environment are you using?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jia Yu - Apache Sedona

79347722

Date: 2025-01-11 08:18:36
Score: 1
Natty:
Report link

1.Check your Python version: Ensure that you are using a compatible Python version. The error message mentions Python 3.12, which is not an official Python release. Check the version of Python installed on your system by running python3 --version.

2.Update your system packages: Try updating the system packages, including the package manager (e.g., apt, yum, dnf) and the pip package. This may help resolve any underlying compatibility issues.

Update the package manager

sudo apt-get update sudo apt-get upgrade

Update pip

python3 -m pip install --upgrade pip

  1. and if it fails Reinstall Python
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: niyigena mike

79347718

Date: 2025-01-11 08:16:36
Score: 0.5
Natty:
Report link

git config --global http.postBuffer 157286400 git config --global http.maxRequestBuffer 1048576000

i tried this and it worked.

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

79347704

Date: 2025-01-11 08:03:34
Score: 2.5
Natty:
Report link

Please check the devworkspace first

$ oc get devworkspace

If found, delete the DevWorkspace resource instead of the deployment directly

$ oc delete devworkspace <workspace-name>

Please check the potential parent resources

$ oc get all -l component=workspace036c85e5c44e4207

Also, please share the below files further discussion

$ oc get deployment workspace036c85e5c44e4207 -o yaml | grep -A 5 ownerReferences
$ oc get events --sort-by='.lastTimestamp' | grep workspace036c85e5c44e4207

Dr Vivek Yoganand, #openshift +9197864365245

Reasons:
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dr Vivek Yoganand PhD-Red Hat

79347694

Date: 2025-01-11 07:51:31
Score: 1
Natty:
Report link

An alternative to setTimeout for managing animation state in React is to use React's state and effects along with requestAnimationFrame or a library like react-spring or framer-motion. Here's a simple explanation and example:

Using useEffect and State

You can manage animation state using React's useState and useEffect without relying on setTimeout.

import React, { useState, useEffect } from "react";

function AnimatedComponent() {
  const [isAnimating, setIsAnimating] = useState(false);

  useEffect(() => {
    if (isAnimating) {
      const timer = setTimeout(() => {
        setIsAnimating(false); // End animation after 2 seconds
      }, 2000);
      return () => clearTimeout(timer); // Cleanup timeout
    }
  }, [isAnimating]);

  return (
    <div>
      <button onClick={() => setIsAnimating(true)}>Start Animation</button>
      <div className={isAnimating ? "animate" : ""}>Animation Box</div>
    </div>
  );
}

Using Animation Libraries

Libraries like react-spring or framer-motion provide declarative and smoother animation management without handling timers directly.

Example with framer-motion:

import { motion } from "framer-motion";

function AnimatedComponent() {
  return (
    <motion.div
      initial={{ opacity: 0 }}
      animate={{ opacity: 1 }}
      transition={{ duration: 2 }} // Animation duration of 2 seconds
    >
      Animation Box
    </motion.div>
  );
}

Why Avoid setTimeout?

So friends, that's all for this post. For more tech-related information, visit our website TechGrabber, where we provide the latest tech reviews and updates in Hindi Language.

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

79347684

Date: 2025-01-11 07:43:30
Score: 1
Natty:
Report link

Spark starts a Python process inside the worker nodes, and the UDF will run inside that Python environment. At this point, there are two processes running inside each worker:

  1. The JVM process, which executes the other transformations written in Spark SQL or PySpark.

  2. The Python process, which processes the UDF logic.

For the Python process to execute the UDF, the data must be transferred between the JVM process and the Python process. This involves serializing the data in the JVM process before sending it to the Python process. After the UDF processes the data row by row, the results are sent back to the JVM process. During this transfer, the data is deserialized in Python and then sent back again to JVM.

This movement of data between the JVM and Python processes, along with the serialization and deserialization, is the root cause of the slow behavior of Python UDFs in Spark.

For more information checkout the LinkedIn post: Why Python UDFs are slow in Spark

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

79347683

Date: 2025-01-11 07:42:30
Score: 4.5
Natty: 5
Report link

Thanks to everyone for matching

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nathan VOGLOSSOU

79347680

Date: 2025-01-11 07:36:28
Score: 0.5
Natty:
Report link

Qualify the username with server, like this:

$usr = 'DBF\netfiles'

And run elevated, otherwise your result will be "Access Denied".

That was all.

Funny how it works without server name qualification when using the non-global normal mapping call. That inconsistency threw me off.

I can make the mapping permanent (survives reboot) by using the Persistent argument.

Also, the drive letter created is accessible by Scheduled Tasks, even ones that have "Do not store password" enabled.

For reference the complete commands I used and that worked were:

$usr = 'DBF\netfiles'
$pwd = ConvertTo-SecureString -AsPlainText -Force 'the-password-for-this-user'
$rpa = '\\DBF\Movies'
$lpa = 'M:'
$creds = New-Object System.Management.Automation.PSCredential ($usr, $pwd)
New-SmbGlobalMapping -Persistent $true -Credential $creds -RemotePath $rpa -LocalPath $lpa
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Scott-In-The-Weeds

79347672

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

For me it was using both

implementation project(':react-native-gesture-handler') and

implementation 'com.swmansion.gesturehandler:react-native-gesture-handler:2.22.0'

in my app\build.grradle. When I added both, Gradle was trying to resolve the module from two different sources, which ledto conflicts. In particular, it might not find the version 2.22.0 if it’s not available in the configured repositories or if the project path resolves differently. I hope this helps! Thanks ChatGPT!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): hope this helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nickoli Parkinson

79347670

Date: 2025-01-11 07:24:26
Score: 0.5
Natty:
Report link

The solution is to use a drop-in replacement for the gym package, the gymnasium. The team switched all development there, and according to its GitHub page, the gym has not been developed since 2021.

https://farama.org/Announcing-The-Farama-Foundation
https://github.com/Farama-Foundation/Gymnasium

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Martin Fridrich

79347655

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

If it's not working, then you can manually verify the JWT token and then authorize. Here is the solution you can be found at:

https://medium.com/@shuvadebnathbd/how-to-manually-validate-a-jwt-token-in-middleware-for-asp-net-core-3d0df72d8885

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shuva Deb Nath

79347652

Date: 2025-01-11 07:08:23
Score: 1
Natty:
Report link

I encounter the same error creation of the table and after having a long day, I mistakenly add String as type instead of Long

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private **String** id; <-- Long id;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: DiaMaBo Dev

79347638

Date: 2025-01-11 06:59:21
Score: 1
Natty:
Report link

To create an href WhatsApp link to a number, you can use the official WhatsApp URL scheme. The format for the link is https://wa.me/, where you replace with the phone number in international format, excluding spaces or symbols. For example, if the WhatsApp number is +1234567890, the link would look like this: Message on WhatsApp. This link allows users to open a chat directly with the specified WhatsApp number. Ensure that the phone number is active on WhatsApp and that users clicking the link have WhatsApp installed on their device for a seamless experience.

Reasons:
  • Blacklisted phrase (1): This link
  • Whitelisted phrase (-1.5): you can use
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Info team

79347637

Date: 2025-01-11 06:58:21
Score: 3
Natty:
Report link

I am using Django Channels to manage sessions for all chat requests. I recommend using a WebSocket connection instead of APIs for better performance and real-time communication.

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

79347634

Date: 2025-01-11 06:56:21
Score: 0.5
Natty:
Report link

You can use pinput package, it offers code input fields with options like autofill, haptics, obscure characters, etc.

pinput: ^5.0.0 Link: https://pub.dev/packages/pinput

I have used this in sevaral projects, works good to me in Android & iOs.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Devarshi Patel

79347609

Date: 2025-01-11 06:40:18
Score: 3.5
Natty:
Report link

Turns out the problem is that my phone was on power saving mode. Either turn it off or change the app's battery option to "Unrestricted".

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

79347605

Date: 2025-01-11 06:33:16
Score: 0.5
Natty:
Report link

Perhaps try using the path /testProp/array[2] rather than /testProp[2].

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Conal Tuohy

79347600

Date: 2025-01-11 06:24:15
Score: 0.5
Natty:
Report link

autorun.inf

[autorun]
icon=(`Image file here`)
label=The Name of Drive and stuff

This may not be script-like like the question might want, but it's simpler the JSON(, I might add!)

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

79347590

Date: 2025-01-11 06:08:13
Score: 0.5
Natty:
Report link

You can use tools like codeant.ai to automate AUTOSAR compliance.

Also you can refer to this simple guide for AUTOSAR to understand: https://www.codeant.ai/blogs/simple-guide-autosar-cpp14

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Rushabh Agarwal

79347588

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

It's useful when you disable nullable on a project file (<Nullable>disable</Nullable>) and you have to explicitely mark a reference as nullable.

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

79347585

Date: 2025-01-11 06:04:11
Score: 2
Natty:
Report link

Does this look right? 1- get BgBomVectorModel by id first 2- do a search using BgBomVectorModel's list of BgBomVectorItem and find top a few best matching ones?

if so, what about write a query just for the BomItemsInformation list?

    SELECT TOP 10 c.id, VectorDistance(c.DescriptionEmbedding , [1,2,3]) AS SimilarityScore
    FROM c --(c is BomItemsInformation, the list)
    ORDER BY VectorDistance(c.DescriptionEmbedding , [1,2,3])
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: qkfang

79347581

Date: 2025-01-11 06:00:10
Score: 0.5
Natty:
Report link

I found the solution, I changed to UnsqueezeTransform(-4, in_keys=["pixels"]) within agent_explore and now I have the wanted behaviour ... (:

Reasons:
  • Whitelisted phrase (-2): I found the solution
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Christian Koch

79347580

Date: 2025-01-11 05:58:10
Score: 1.5
Natty:
Report link

Hi i am a ios/android developer and use MacOS for android wifi debugging and it was always problematic.

I almost used all the solutions above like, restart everything, revoke adb authorizations, adb kill-server, sometimes worked, adb connect, adb pair, i have experience so i know how to write commands, i never made mistake still it stopped working.

All solutions and work arounds - for Mac

  1. My solution was to re enable the app Android Studio to access Local Networks - for this goto Settings->Privacy & Security->Local Network - then disable android studio and then re enable it - then restart androd studio, it detected all paired devices
  2. note the "Randomized MAC Address" should be disabled, you should use "Device Mac" if option not available, forget the network on android device and re-add wifi network and change the Randomized MAC Address
  3. ./adb connect and ./adb pair are useless if they will work then the Android studio connect dialog will work too, so not really useful, when android studio connect dialog doesn't work, these commands will also not work, i tried a lot
  4. disable in wifi network connection settings - Limit IP tracking, if necessary
Reasons:
  • RegEx Blacklisted phrase (2): Hi i am a
  • Long answer (-1):
  • No code block (0.5):
Posted by: Diljeet

79347576

Date: 2025-01-11 05:53:09
Score: 5.5
Natty: 4.5
Report link

Has this problem been resolved? I also encountered the same problem, seeking help

Reasons:
  • RegEx Blacklisted phrase (1.5): resolved?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: free pig

79347572

Date: 2025-01-11 05:47:07
Score: 3
Natty:
Report link

What Next.js means is that you cannot use Context or providers or any other hooks in server side components instead if you wanna use that you need to make the component client side. Similarly you cannot use async await function on client components.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Saurabh Uthaman

79347570

Date: 2025-01-11 05:45:07
Score: 1
Natty:
Report link
npm i --save-dev @types/<library_name> --legacy-peer-deps

Should do the work,after this the intellisense will be able to recognize it.

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

79347563

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

You can select the a element which contains a div whose text content starts with "6.00 PM"; would that give you what you need?

//a[div[@class='timeslot-time'][starts-with(., '6.00 PM')]]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Conal Tuohy

79347559

Date: 2025-01-11 05:31:04
Score: 0.5
Natty:
Report link

@ i tried using below command taking your suggestion, still giving same output and not restoring anything in table:

pg_restore -x --no-privileges --no-owner -h ... -p **** -U enterprisedb -d --data-only -v -n facility --table "facilitytype_linkedfacilitytype_map_dummy" -Fc "/home/clouduser/dbbackup/facilitytype_linkedfacilitytype_map_table_11_01_2025_1006.backup" > "/home/clouduser/dbbackup/facilitytype_linkedfacilitytype_map_table_11_01_2025_1006.txt" 2>&1

OUTPUT: nohup: ignoring input pg_restore: allocating AH for /home/clouduser/dbbackup/facilitytype_linkedfacilitytype_map_table_11_01_2025_1006.backup, format 1 pg_restore: read TOC entry 0 (ID 6072) for ENCODING ENCODING pg_restore: read TOC entry 1 (ID 6073) for STDSTRINGS STDSTRINGS pg_restore: read TOC entry 2 (ID 6074) for SEARCHPATH SEARCHPATH pg_restore: read TOC entry 3 (ID 6075) for DATABASE unicef_dev pg_restore: read TOC entry 4 (ID 341) for TABLE facilitytype_linkedfacilitytype_map pg_restore: read TOC entry 5 (ID 6076) for ACL TABLE facilitytype_linkedfacilitytype_map pg_restore: read TOC entry 6 (ID 6069) for TABLE DATA facilitytype_linkedfacilitytype_map pg_restore: read TOC entry 7 (ID 5901) for CONSTRAINT facilitytype_linkedfacilitytype_map facilitytype_linkedfacilitytype_map_pkey pg_restore: read TOC entry 8 (ID 5902) for FK CONSTRAINT facilitytype_linkedfacilitytype_map facilitytype_linkedfacilitytype_map_child_facility_type_id_fkey pg_restore: read TOC entry 9 (ID 5903) for FK CONSTRAINT facilitytype_linkedfacilitytype_map facilitytype_linkedfacilitytype_map_facility_type_id_fkey pg_restore: connecting to database for restore pg_restore: implied data-only restore

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

79347557

Date: 2025-01-11 05:30:04
Score: 3
Natty:
Report link

the branches in azure devops is just in a git repo. you can clone the repo to local, then try to find the sha1 for the commit at the tip of your deleted branch. then you can checkout the deleted branch by sha1, push the branch again from local to remote. more details here for how to recover a branch after deletion.

Can I recover a branch after its deletion in Git?

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

79347551

Date: 2025-01-11 05:22:03
Score: 2
Natty:
Report link

Probably not the answer that anybody is looking for, but you can easily do this question without any programming.

First, find the prime factors of each number 1 through 20, then find the LCM of the numbers.

This would then give us, 24 x 32 x 5 x 7 x 11 x 13 x 17 x 19

Which is the final answer 232792560.

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

79347547

Date: 2025-01-11 05:19:02
Score: 1
Natty:
Report link

Easiest way imo is to use a time-based built in trigger for the Sheet, selecting the function you want to run on the time-based trigger, as shown here: https://help.databox.com/how-to-refresh-a-google-sheet-using-google-apps-script

Can create many different triggers to run different functions, or the same functions on different schedules, or a combination thereof.

This works well for me for the use-case of refreshing asset price data fetched once every 10 minutes.

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

79347543

Date: 2025-01-11 05:15:01
Score: 2.5
Natty:
Report link

It Works fine for me it may be due to some extensions you may have added to firefox which may be preventing redirects to any third party websites. Try checking those or you may provide which stack you have be using. Or it may have something to do with your onclick function

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

79347537

Date: 2025-01-11 04:58:59
Score: 1
Natty:
Report link

I have the same issue, the only way that I found to make my local packages work with NextJS is by import packed package.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
  • High reputation (-2):
Posted by: Daniel De León

79347533

Date: 2025-01-11 04:53:58
Score: 0.5
Natty:
Report link

In my opinion, for performance consideration, it's better not to use iteration for primeRT. You can use FirstOrDefault() and process the results accordingly.

It's much better to consider caching to optimize the LINQ operation, if primeRT list will not update frequently.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shuva Deb Nath

79347520

Date: 2025-01-11 04:29:54
Score: 5
Natty:
Report link

Thanks very much, It opened my eyes!.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pedro Henrique Moreira

79347516

Date: 2025-01-11 04:25:52
Score: 4
Natty:
Report link

https://www.postgresql.org/docs/current/sql-keywords-appendix.html according to this, "user" is a keyword in postgresSQL and SQL that's the reason why it is not working.

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

79347514

Date: 2025-01-11 04:17:51
Score: 1
Natty:
Report link

Create New Project with No Activity or any other than Empty Activity, You get option to select Language, default Language is Kotlin but you can change it to Java.

enter image description here

Change Language to Java using below shown option:

enter image description here

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

79347509

Date: 2025-01-11 04:08:49
Score: 1
Natty:
Report link

Next.js does not let you directly use the motion component in it's server components you must change your import stratergy

import * as motion from "framer-motion/client";

this is how I import motion in my server components, wroks just fine for me

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

79347506

Date: 2025-01-11 04:00:48
Score: 1
Natty:
Report link

To further follow up from Sai deff going in the right direction...

If you are running windows and connecting to ubuntu the broker needs to be accessible from the host machine. This would require either adjustment on the brokers server and or following the steps needed to obtain the correct route. This question has actually been asked before and seems like resolution steps are out there:

there is a medium article as well that faced the same:

In summary you could attempt the following:

  1. Modify server.properties to listen on 0.0.0.0 and advertise the correct IP address.
  2. Ensure the Ubuntu firewall allows connections to port 9092.
  3. Update your Java producer to use the correct IP address of the Kafka broker.
Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Dylan LaMott

79347504

Date: 2025-01-11 03:55:47
Score: 0.5
Natty:
Report link

Not an expert here, but...it appears that "upip" may have been replaced by "mip."

What works for me in the thonny IDE:

import mip

What does not work for me in the IDE:

import upip
Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: LittleSnake

79347501

Date: 2025-01-11 03:53:46
Score: 3.5
Natty:
Report link

I ended up switching to maplibre-react-native instead, and falling back to react-map-gl with maplibre-gl-js for web. See my Expo MapLibre native + web demo for details.

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Jaza

79347498

Date: 2025-01-11 03:52:46
Score: 3.5
Natty:
Report link

I ended up switching to maplibre-react-native instead, and falling back to react-map-gl with maplibre-gl-js for web. See my Expo MapLibre native + web demo for details.

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Jaza

79347492

Date: 2025-01-11 03:45:44
Score: 1
Natty:
Report link

Sadly, this is a common challenge when using dynamic configuration blocks for operations like this.

There are a few workarounds you could pursue like adding the restore_to_point_in_time block to a lifecycle condition to ignore changes for this specific block when restore_enabled = false. This would require manual intervention for restores though. You could also move the restore_to_point_in_time logic in the Aurora module into a null_resource to conditionally trigger a restoration script or manual process.

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

79347485

Date: 2025-01-11 03:31:42
Score: 1.5
Natty:
Report link

For me, this happened when I tried to return a Keras model from a child process. This is because inter-process communication uses pickling to transfer objects.

As others have stated, pickling keras models doesn't work.

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

79347480

Date: 2025-01-11 03:23:41
Score: 0.5
Natty:
Report link

I just converted jsonNode result to lower case and now it does not matter what case the key name is in.

Using reader As New StreamReader(ext_manifest)
    Do Until reader.EndOfStream
        node_data = reader.ReadToEnd
    Loop
End Using

       
Dim node As JsonNode = JsonNode.Parse(node_data.tolower)
first_name = node("name").ToString
msgbox(first_name)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: rerat

79347469

Date: 2025-01-11 03:11:38
Score: 2.5
Natty:
Report link

In my case, I'm using Ubuntu GNOME and remotely connecting to it via VS Code SSH with frp. Usually, I don't pay attention to my GNOME desktop. So when I was uploading a package through VS Code SSH, the process got stuck. Eventually, I realized that I needed to enter the authentication password in the GNOME desktop to be able to continue the upload. Hope my experience can be of some help to you.

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: timerring

79347457

Date: 2025-01-11 03:01:36
Score: 1.5
Natty:
Report link

So I got it to work.

Things I've changed

I believe this is either do to using a custom url, and/or render internal handling of requests.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Adam Jones

79347445

Date: 2025-01-11 02:49:34
Score: 2.5
Natty:
Report link

enter image description here

I only needed to scale the imageContentView to between 1 and 2, so increased contentView frame to double width and height of scrollView, constrained using leading, top, width & height for contentView & imageView. Told scrollView to limit min/max zoom. Gestures now fire in all the right places.

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

79347443

Date: 2025-01-11 02:47:34
Score: 2.5
Natty:
Report link

severe codier overflow problem and illegal enter under our body and lingering to every property especially my home 1255 sargent . please fill them with some kind of poision it getting over bearable and it will not say send it codier back to itself and its a diffrent ID. whatever under mines my childe and the dads take them out its doing something to hair and skinand its that 🤏 easy to just say give the codier awk back to itself im arent sending out any and im not allowing my childe that grandmother of my childe and husband some kind of massive suck please take them out its sucking hair and also damn stranger im arent asking for keeps holding my codier please relieves ours back to us thanks use vomit or something thats on my floor ive said its easy that person frantic thats not my problem and also ive relinquished my cars move that chlorinine stuff away its doing some kind of put it in the body please shoot she if it just dodnt give back my codier attachment

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29149243

79347440

Date: 2025-01-11 02:44:33
Score: 2.5
Natty:
Report link

The solution can be found at

JWT bearer token Authorization not working asp net core web api

Further down in Program.cs I had

// This is the correct order
app.UseAuthentication();
app.UseAuthorization();

In the wrong order.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Bill Haack

79347438

Date: 2025-01-11 02:42:32
Score: 3.5
Natty:
Report link

When you run the built binary (go build), it interacts with the shell’s current state and terminal settings, which might differ from the temporary environment used by go run

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

79347431

Date: 2025-01-11 02:38:31
Score: 3.5
Natty:
Report link

Thank you so much! I am trying for hours to find where is the problem.

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

79347426

Date: 2025-01-11 02:34:31
Score: 1.5
Natty:
Report link

Currently (in 5.1), this setting is on the main toolbar, just right of the Refresh button. There are three gray layout buttons, and this is the third one.

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

79347421

Date: 2025-01-11 02:28:29
Score: 4.5
Natty: 4
Report link

Have you resolve the issue in the android? I'm getting an error, said that I am getting an object instead of an expected string component.

Reasons:
  • RegEx Blacklisted phrase (1): I'm getting an error
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Maximum Effort

79347418

Date: 2025-01-11 02:25:28
Score: 0.5
Natty:
Report link

At least in my case, what I noticed was this:- I was trying to run my application jar via the "java -jar" command on ec2 terminal. Eg:-

java -DMAIL_PASSWORD=abcd -DMAIL_USERNAME="[email protected]" -jar cardservices-1.0.0.jar &

and it started failing with the following error:- java.lang.IllegalArgumentException: Could not resolve placeholder 'MAIL_USERNAME' in value "${MAIL_USERNAME}"

Reason I found after I looked closely, pasting the above command on my notepad++ and enabling "Show all characters" and I could see that what appeared to be a space before "-DMAIL_USERNAME" was "NBSP". "NBSP" means non-breaking-space.

The issue with a non-breaking space (NBSP) is a subtle but common problem when copying and pasting commands into terminals. Non-breaking spaces (\u00A0) are invisible to the naked eye but are not treated as regular spaces (\u0020) by the shell, causing parameters to be misinterpreted.

enter image description here

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

79347409

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

You can do this:

local part = workspace.Part or workspace:WaitForChild("Part")


local function touched(gpu)
local gpuValue = game.Players.LocalPlayer:FindFirstChild("GPUValue")

if not gpuValue then gpuValue = Instance.new("ObjectValue", game.Players.LocalPlayer) gpuValue.Name = "GPUValue" end

gpuValue.Value = gpu
end
part.Touched:Connect(touched)
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: RobloxProScripter23

79347397

Date: 2025-01-11 02:09:26
Score: 3
Natty:
Report link

Go to your tailwind css extension on vscode and you'll find this

enter image description here

then add a name you want and restart vscode.

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

79347396

Date: 2025-01-11 02:08:25
Score: 2
Natty:
Report link

@Olumuyiwa Thank you for your input. Your comment about the variables not being set was spot on. I changed the Ajax call as you suggested. I included the whole function:

            $('#price').on('blur', function(){
              var get_pn = document.getElementById('search_item').value;
              var new_price = document.getElementById('price').value;

                $.ajax({
                    url: "/search_item_new_price",
                    data: { search_item: get_pn},
                    type: 'GET',
                    success: function(data){
                        var our_cost = data.our_cost;
                        var item_id = data.id
                        if (new_price !== our_cost) {
                            let result = confirm("Change the price for item number " + get_pn + " to " + '$'+ new_price + "?");
                            if (result === true){

                                data = {
                                    id: item_id,
                                    our_cost: new_price,
                                    _token: "{{csrf_token()}}",
                                };
                                $.ajax({
                                    url: "/change_item_price/" + item_id,
                                    data: data,
                                    type: 'POST',
                                    success: function( data ) {
                                       //  console.log(data);
                                    }
                                });
                            }
                        }
                    }
                });
            })

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Olumuyiwa
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: T.A.

79347390

Date: 2025-01-11 02:04:24
Score: 1
Natty:
Report link

It seems like the problem was duplicate header names. I had the exact header name 8 times. So pandas just counted up. The question mark was never the problem. Removing the question mark made the header unique, so a number wasn't added by pandas anymore.

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

79347372

Date: 2025-01-11 01:55:23
Score: 1
Natty:
Report link
if __name__ == '__main__':
n = int(input())
arr = list(map(int, input().split()))
print(max([i for i in (arr) if i != max(arr)]))

Getting the max value, filtering it with if inside a for loop and getting the max value from the result will get you the runner-up value.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lucas de Souza Castellani

79347370

Date: 2025-01-11 01:50:22
Score: 3
Natty:
Report link

I want to mine time because the Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jay Langres

79347365

Date: 2025-01-11 01:42:19
Score: 9 🚩
Natty: 6
Report link

Maybe if it says no denial you should leave it alone because I would say it’s not yours and somebody wants their stuff left alone I have no idea what you are doing but some people are missing with my life and using your skills to do things to my devices and privacy in my own home and I am sick of all this- hide behind groups and organizations but it’s called illegal and I want to know who i can contact and get this straightened out and stoped! I’m sorry but if you had any questions about how bad things are going wrong you would understand- I can not have any privacy in my home! My medical information is compromised! My text a calls recorded! I leave my house and come back they know tracking me STALKING! Harassment of all kinds! Taking my pictures posting on websites! Missing with every device in my house i control nothing i am the child and they have restrictions put on me and I am mad 6 years of this they lock up my devices my accounts taken from me memories and why? My life has changed so drastically and I’m attacked daily! They add emails to my devices set up screen time i can’t even do safety check! I’m not a computer person and I don’t want to be but this is nuts! I have been threatened and abused if anyone can help me contact someone for assistance I just want out of all this I don’t think anyone of you would want you life exposed to public everyday to the point that you are not safe in your own home I am Patty and I just want out of this mess so I can enjoy my life again I don’t care I just want to be left alone 573507833 text me and if this is against the rules I am sorry but I am not a member of your group and I don’t know how I can just see everything I have no account there’s a problem some where I don’t know how to do any of this stuff I don’t know what all you do I don’t know how I get here! But some one is not using it right and it wasn’t me I don’t know why it is doing this but I think it has a glitch I am reporting it because I know some things not right thank you

I don’t agree to terms or anything else I am reporting this to get it to someone who can look into it and fix it!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I want to know
  • Blacklisted phrase (0.5): why?
  • RegEx Blacklisted phrase (3): anyone can help me
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (0.5): anyone can help
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Patty Barton

79347347

Date: 2025-01-11 01:23:15
Score: 0.5
Natty:
Report link

Qt::QueuedConnection is delivered using event loop. Your main's thread event loop is not actually working because it stuck waiting for the thread to finish. That's why your slot is not called.

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

79347346

Date: 2025-01-11 01:23:14
Score: 9.5
Natty: 7
Report link

I have rhe same need but i did not get the full picture on how to setup GTM or analytics to sjow me the individual tags instead of a string of tags with commas.. can you help me to understand how you did it??? Tks!!!

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): ???
  • RegEx Blacklisted phrase (3): can you help me
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: João Rico

79347345

Date: 2025-01-11 01:22:14
Score: 1.5
Natty:
Report link

The builtin types can be referred from the Deno global

export function f(options: Deno.ConnectOptions) {
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Jackoo

79347337

Date: 2025-01-11 01:10:12
Score: 0.5
Natty:
Report link

This is because Modifier.clickable lambda will return a new instance every time. This will cause recomposition. Just wrap the modifier in remember block.

val myModifier = remember { 
            Modifier.clickable { time = LocalDateTime.now().toString() } 
        }

Column(modifier = myModifier){
...
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Po-Ting Huang

79347332

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

@Stu's answer works well with me, I made it as a modifier for easier usage.

extension View {

    func refreshablePersistent(_ operation: @escaping () async -> Void) -> some View {
    self
        .refreshable {
            await Task {
                await operation()
            }.value
        }
    }
}

The issue I'm having in my case is that viewModel.load() update viewState which @Published to show a loading indicator, That causes a redraw -> task cancelled :) also load has many request made consecutively, each updates the ui.

Idk but if I understand it well I shouldn't update the ui until all requests are finished. Can be implemented but needs a lot of fining.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Stu's
  • Low reputation (1):
Posted by: Saud Alhafith

79347331

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

You could also just use Penna, which is an implementation of the Log4j API which directly (and only) emits JSON; if that's all you need, consider using it instead of Logback. (Your library and application code still logs using the Log4j API.?

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

79347328

Date: 2025-01-11 01:03:10
Score: 1.5
Natty:
Report link

I found the answer. I work with python only, so in the annotations window I unchecked all boxes for 'breakpoint' (not python) and checked the vertical ruler box for python breakpoint and selected yellow.

To test it, I checked the vertical ruler box for breakpoint (not python). The icon started showing when clicked.

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

79347320

Date: 2025-01-11 00:47:07
Score: 1
Natty:
Report link

probably not this, but just double check...

Simple mistake that could result in session loss would be calling

$this->redirect(...);

instead of

return $this->redirect(...);

As Yii does not call die() or exit() in this method and the code on the lines following your redirect will be executed.

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

79347317

Date: 2025-01-11 00:44:06
Score: 1
Natty:
Report link
public static bool IsUrl(this string url) =>
new Regex("^http(s)?://([\\w-]+.)+[\\w-]+(/[\\w- ./?%&=])?$")
.IsMatch(url);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hossein Bazrafkan

79347312

Date: 2025-01-11 00:38:05
Score: 3
Natty:
Report link

Mongoose virtual properties apparently cannot use hyphens in their names, so I believe it might be related to the problem you identified. I do not see this documented in https://mongoosejs.com/docs/tutorials/virtuals.html, but just tested it by changing a virtual property name to have a hyphen and made the same change on the template. It returns NaN. Remove the hyphen on the model's virtual property name and template, and it works again.

Reasons:
  • Blacklisted phrase (1): this document
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Merry

79347311

Date: 2025-01-11 00:37:05
Score: 2.5
Natty:
Report link

Here's a simple solution in Excel 365:

If your text is in cell A2,

then this formula:

=LET(x,MID(A2,SEQUENCE(LEN(A2)),1),CONCAT(IF(UNICODE(x)>1487,x,"")))

will remove the diacritics from the text

for example:

before:  בְּרֵאשִׁית

after: בראשית

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

79347305

Date: 2025-01-11 00:32:04
Score: 1.5
Natty:
Report link

I now have two solutions to my own question. They're compiled with the exact commands from my question.

They are based on yyyy's answer and suggestions in the comments, so massive thanks to them!

As noted in the comments of the below solution, I think this GCC page is saying that how I'm setting the rsp and rbp registers here is UB? If so, I'd love to hear of alternative ways to set them:

Another restriction is that the clobber list should not contain the stack pointer register. This is because the compiler requires the value of the stack pointer to be the same after an asm statement as it was on entry to the statement. However, previous versions of GCC did not enforce this rule and allowed the stack pointer to appear in the list, with unclear semantics. This behavior is deprecated and listing the stack pointer may become an error in future versions of GCC.

Solution 1

Here are its steps:

  1. mmap() to create a new stack (that has a guard page provided by MAP_GROWSDOWN)
  2. __asm__ volatile() to save, set, and restore the rsp and rbp registers to this block of mmap()ed memory
#include <assert.h>
#include <dlfcn.h>
#include <jni.h>
#include <setjmp.h>
#include <signal.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <unistd.h>

jmp_buf jmp_buffer;

static char *base;
static char *top;

static void segv_handler(int sig) {
    (void)sig;
    siglongjmp(jmp_buffer, 1);
}

static void mod_fn() {
    if (sigsetjmp(jmp_buffer, 1)) {
        fprintf(stderr, "Jumped %p %p %ld\n", base, top, (base - top) / 1024);
        return;
    }

    char c;
    top = &c;
    while (1) {
        top--;
        *top = 1;
    }
}

JNIEXPORT void JNICALL Java_Main_foo(JNIEnv *env, jobject obj) {
    (void)env;
    (void)obj;

    char b;
    base = &b;

    struct sigaction sigsegv_sa = {
        .sa_handler = segv_handler,
        .sa_flags = SA_ONSTACK, // SA_ONSTACK gives SIGSEGV its own stack
    };

    // Set up an emergency stack for SIGSEGV
    // See https://stackoverflow.com/a/7342398/13279557
    static char emergency_stack[SIGSTKSZ];
    stack_t ss = {
        .ss_size = SIGSTKSZ,
        .ss_sp = emergency_stack,
    };

    if (sigaltstack(&ss, NULL) == -1) {
        perror("sigaltstack");
        exit(EXIT_FAILURE);
    }

    if (sigfillset(&sigsegv_sa.sa_mask) == -1) {
        perror("sigfillset");
        exit(EXIT_FAILURE);
    }

    if (sigaction(SIGSEGV, &sigsegv_sa, NULL) == -1) {
        perror("sigaction");
        exit(EXIT_FAILURE);
    }

    void *dll = dlopen("./mage.so", RTLD_NOW);
    if (!dll) {
        fprintf(stderr, "dlopen(): %s\n", dlerror());
    }

    size_t page_count = 8192;
    size_t page_size = sysconf(_SC_PAGE_SIZE);

    size_t length = page_count * page_size;

    void *map = mmap(NULL, length, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_GROWSDOWN, -1, 0);
    if (map == MAP_FAILED) {
        perror("mmap");
        exit(EXIT_FAILURE);
    }

    // Asserting 16-byte alignment here is not necessary,
    // since mmap() guarantees it with the args we pass it
    assert(((size_t)map & 0xf) == 0);

    void *stack = (char *)map + length;

    // Save rbp and rsp
    // Marking these static is necessary for restoring
    static int64_t rsp;
    static int64_t rbp;
    __asm__ volatile("mov %%rsp, %0\n\t" : "=r" (rsp));
    __asm__ volatile("mov %%rbp, %0\n\t" : "=r" (rbp));

    // Set rbp and rsp to the very start of the mmap-ed memory
    //
    // TODO: I think setting rsp and rbp here is UB?:
    // "Another restriction is that the clobber list should not contain
    // the stack pointer register. This is because the compiler requires
    // the value of the stack pointer to be the same after an asm statement
    // as it was on entry to the statement. However, previous versions
    // of GCC did not enforce this rule and allowed the stack pointer
    // to appear in the list, with unclear semantics. This behavior
    // is deprecated and listing the stack pointer may become an error
    // in future versions of GCC."
    // From https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html
    __asm__ volatile("mov %0, %%rsp\n\t" : : "r" (stack));
    __asm__ volatile("mov %0, %%rbp\n\t" : : "r" (stack));

    mod_fn();

    // Restore rbp and rsp
    __asm__ volatile("mov %0, %%rsp\n\t" : : "r" (rsp));
    __asm__ volatile("mov %0, %%rbp\n\t" : : "r" (rbp));

    if (munmap(map, length) == -1) {
        perror("munmap");
        exit(EXIT_FAILURE);
    }

    printf("Success!\n");
}

Solution 2

Here are its steps:

  1. mmap() to create a new stack (that has a guard page provided by MAP_GROWSDOWN)
  2. __asm__ volatile() to set the rsp and rbp registers to this new block of mmap()ed memory
  3. setjmp() + longjmp() to restore the rsp and rbp registers, and whatever needs to be preserved across fn calls
#include <assert.h>
#include <dlfcn.h>
#include <jni.h>
#include <setjmp.h>
#include <signal.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <unistd.h>

jmp_buf jmp_buffer;
jmp_buf mmap_jmp_buffer;

static char *base;
static char *top;

static void segv_handler(int sig) {
    (void)sig;
    siglongjmp(jmp_buffer, 1);
}

static void mod_fn() {
    if (sigsetjmp(jmp_buffer, 1)) {
        fprintf(stderr, "Jumped %p %p %ld\n", base, top, (base - top) / 1024);
        return;
    }

    char c;
    top = &c;
    while (1) {
        top--;
        *top = 1;
    }
}

JNIEXPORT void JNICALL Java_Main_foo(JNIEnv *env, jobject obj) {
    (void)env;
    (void)obj;

    char b;
    base = &b;

    struct sigaction sigsegv_sa = {
        .sa_handler = segv_handler,
        .sa_flags = SA_ONSTACK, // SA_ONSTACK gives SIGSEGV its own stack
    };

    // Set up an emergency stack for SIGSEGV
    // See https://stackoverflow.com/a/7342398/13279557
    static char emergency_stack[SIGSTKSZ];
    stack_t ss = {
        .ss_size = SIGSTKSZ,
        .ss_sp = emergency_stack,
    };

    if (sigaltstack(&ss, NULL) == -1) {
        perror("sigaltstack");
        exit(EXIT_FAILURE);
    }

    if (sigfillset(&sigsegv_sa.sa_mask) == -1) {
        perror("sigfillset");
        exit(EXIT_FAILURE);
    }

    if (sigaction(SIGSEGV, &sigsegv_sa, NULL) == -1) {
        perror("sigaction");
        exit(EXIT_FAILURE);
    }

    void *dll = dlopen("./mage.so", RTLD_NOW);
    if (!dll) {
        fprintf(stderr, "dlopen(): %s\n", dlerror());
    }

    size_t page_count = 8192;
    size_t page_size = sysconf(_SC_PAGE_SIZE);

    size_t length = page_count * page_size;

    void *map = mmap(NULL, length, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_GROWSDOWN, -1, 0);
    if (map == MAP_FAILED) {
        perror("mmap");
        exit(EXIT_FAILURE);
    }

    // Asserting 16-byte alignment here is not necessary,
    // since mmap() guarantees it with the args we pass it
    assert(((size_t)map & 0xf) == 0);

    void *stack = (char *)map + length;

    if (setjmp(mmap_jmp_buffer) == 0) {
        // Set rbp and rsp to the very start of the mmap-ed memory
        //
        // TODO: I think setting rsp and rbp here is UB?:
        // "Another restriction is that the clobber list should not contain
        // the stack pointer register. This is because the compiler requires
        // the value of the stack pointer to be the same after an asm statement
        // as it was on entry to the statement. However, previous versions
        // of GCC did not enforce this rule and allowed the stack pointer
        // to appear in the list, with unclear semantics. This behavior
        // is deprecated and listing the stack pointer may become an error
        // in future versions of GCC."
        // From https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html
        __asm__ volatile("mov %0, %%rsp\n\t" : : "r" (stack));
        __asm__ volatile("mov %0, %%rbp\n\t" : : "r" (stack));

        mod_fn();

        // Restore rbp and rsp, and whatever needs to be preserved
        // across fn calls: https://stackoverflow.com/a/25266891/13279557
        longjmp(mmap_jmp_buffer, 1);
    }

    if (munmap(map, length) == -1) {
        perror("munmap");
        exit(EXIT_FAILURE);
    }

    printf("Success!\n");
}
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: MyNameIsTrez

79347285

Date: 2025-01-11 00:09:59
Score: 2.5
Natty:
Report link

The seems not to work in Quarto (it works well in Rmarkdown). I've found this to be true for many of the inline commands for Rmarkdown -- it seems that the Quarto programmers are simply not porting these over to Quarto. You can get around this with the knitr::include_graphics() command.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: J. Christopher Westland

79347283

Date: 2025-01-11 00:06:59
Score: 1
Natty:
Report link

It depends on what you need to do, but the simplest way to access an Oracle 19c database in Python is to use python-oracledb in a thin client mode. You would just give it the host, port number, and service name and connect to the Oracle database over IP. So, you would not need an Oracle client, just python-oracledb.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: Bobby Durrett

79347275

Date: 2025-01-11 00:00:57
Score: 1.5
Natty:
Report link

If anyone is actively experiencing this and wants a fix, it's probably caused by something called a buffer underrun/underflow which happens when the CPU does not write fast enough to the buffer causing missing ‘gaps’ creating that crackling/stuttering effect.

See https://github.com/SamuelScheit/puppeteer-stream/issues/185 for a good guide.

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

79347270

Date: 2025-01-10 23:54:56
Score: 3
Natty:
Report link

Just found this:

https://ddev.readthedocs.io/en/stable/users/install/docker-installation/

You need to have one of the Docker providers listed above in addition to Docker CLI.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: pmagunia