79429333

Date: 2025-02-11 08:42:17
Score: 9.5 🚩
Natty:
Report link

.......................................................................

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Filler text (0.5): .......................................................................
  • Low entropy (1):
  • Low reputation (1):
Posted by: user29595045

79429331

Date: 2025-02-11 08:41:16
Score: 2.5
Natty:
Report link

This isn't answer to be fair, but it's further information as I see it - and comments are too short for the detail I wanted to post.

I'm also having the same problem (Android 15, Pixel 6 - Kernel build Sep 2 2024) which, I too, believe that at some relatively recent point in time was working for me (dabbling with esp32

I've tried via two APs I have (one is a RT-AX82U running stock, and the other is an of Linksys I had lying around with an oldish version of DD-WRT on it.

My Windows PC works fine, as does my partner's iPhone which suggests that it's the implementation of the DNS resolver in Android that's the culprit.

I did spot that around 5 weeks ago, several PRs were merged pertaining to mDNS, which does seem suspicious to me, although it's not clear what the cadence of updates to Android devices are, it would appear that these changes are more recent than the version I currently am running. https://android.googlesource.com/platform/packages/modules/DnsResolver/+log?s=ccdad891f6e896511c355de36ed287361c8f7a6f

I'm not a c++ dev, and the low-level net stack is something I'm not very knowledgeable about so my normal tack of dissecting the code isn't really an option. Hopefully the community can figure this one out!

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): I'm also having the same problem
  • Low reputation (0.5):
Posted by: Neil

79429324

Date: 2025-02-11 08:37:15
Score: 3
Natty:
Report link

The answer is INCOMPLETE and MISLEADING! There are quite some functions documented to set the last error code which but don't, and vice versa as well!

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

79429317

Date: 2025-02-11 08:35:15
Score: 2.5
Natty:
Report link

I highly suspect the lag occurs because you're using a virtual emulator, which is resource-intensive and can be slow. Try running the app on a physical device—it should work without lag.

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

79429312

Date: 2025-02-11 08:33:14
Score: 1
Natty:
Report link
 const schema = z
  .object({
    email: z.string().email().optional(),
    userName: z.string().optional(),
    contactType: z.string(),
  })
  .refine((data) =>
    data.contactType === 'email' && !data.email) ?
      z.string().nonempty() : z.unknown()
  });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: lindern

79429307

Date: 2025-02-11 08:31:14
Score: 1
Natty:
Report link

To add two texts (title and subtitle) in a switch button, you can use a custom component or wrap it in a container with appropriate styling. Make sure to use responsive elements to stay neat on various screen sizes. If you need inspiration or other references, try checking https://www.scarsocial.com/!

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: eren frix

79429306

Date: 2025-02-11 08:31:14
Score: 1.5
Natty:
Report link

I resolved the issue by manually adding references into web.config file. Which basically copy the dlls into output folder during build.

Reasons:
  • Whitelisted phrase (-2): I resolved
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rohit Sharma

79429305

Date: 2025-02-11 08:31:14
Score: 0.5
Natty:
Report link

Max timeout for a lambda function is 15 minutes. You can extend it by going to configuration on the aws console. If you are talking about API limits then yes, api gateway times out in 30 seconds. AWS has recently enabled service quota increase requests for API gateway.

Go to this link after logging in

https://us-east-1.console.aws.amazon.com/servicequotas/home/services/apigateway/quotas/L-E5AE38E3

Request quota increase.

Reasons:
  • Blacklisted phrase (1): this link
  • No code block (0.5):
  • High reputation (-1):
Posted by: Ninad Gaikwad

79429302

Date: 2025-02-11 08:30:14
Score: 1
Natty:
Report link

Simple version:

RAND() > 0.5

Bonus: Move 0.5 between 0 and 1 for weighted probabilities.

Eg, for the statement RAND() > 0.8:

P(FALSE) = 80%, P(TRUE) = 20%.

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

79429300

Date: 2025-02-11 08:30:14
Score: 3
Natty:
Report link

Off course, you should not prepend nor append the characters "#" to the variable name.

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

79429299

Date: 2025-02-11 08:29:13
Score: 0.5
Natty:
Report link

Problem was that in Settings->Tools->Azure I haven't set Function Core Tools path. Seems that even if this was installed IntelliJ haven't seen this.

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

79429292

Date: 2025-02-11 08:27:13
Score: 1.5
Natty:
Report link

I know it is late, but in case anybody is seeking the answer:

This is a common error and does not indicate a critical issue. It appears even on healthy, fully functional WorkSpaces and can generally be ignored. These messages are often related to temporary network conditions or expected system behavior.

If your WorkSpace is operating normally, no action is needed. However, if you’re experiencing connectivity or performance issues, you may want to check network settings or refer to AWS WorkSpaces troubleshooting documentation for further guidance.

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

79429291

Date: 2025-02-11 08:27:13
Score: 2
Natty:
Report link

Today, I found an article stating that if you want to initialize a chat from an agent other than RetrieveUserProxyAgent, you should call and use RetrieveUserProxyAgent from a function. Therefore, I will fundamentally revise it in this direction.

I apologize for asking a question due to my lack of basic understanding.

https://microsoft.github.io/autogen/0.2/blog/2023/10/18/RetrieveChat/

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

79429276

Date: 2025-02-11 08:21:11
Score: 4
Natty: 4.5
Report link

It's also possible to use a direct link with the option engine example:

http://www.overleaf.com/docs?snip_uri=https://production-overleaf-static.s3.amazonaws.com/examples/helloworld.tex&engine=lualatex

nothing more.

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

79429273

Date: 2025-02-11 08:19:10
Score: 1
Natty:
Report link

In 2025 (version 24.3.4), there is a similar problem, and the solution was described in an issue on their GitHub repo.

Steps:

  1. Go to Window > Preferences
  2. Click on Connections
  3. In the panel on the right, uncheck 'Use Windows trust store'
  4. Restart DBeaver

enter image description here

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

79429271

Date: 2025-02-11 08:19:10
Score: 2
Natty:
Report link

Argument compute_metrics is used for evaluation. So try to remove compute_metrics when instancing Trainer if you don't need evaluation.

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

79429268

Date: 2025-02-11 08:16:09
Score: 1
Natty:
Report link

This code can just change the pattern to (cat.{0,10}(red|blue))|(white|black)|cats.{0,10}dogs, which is a little bit different from what you want. Would this be helpful?

import re


def find_ending(text='', content='', begin=None):
    if not text or not content or content.find(text) == -1:
        return -1

    if text not in symbols or symbols[text] not in content:
        return -1

    end_text = symbols[text]
    begin = (content.find(text) if begin is None else begin) + 1

    count = 0
    content = content[begin:]

    reg = re.compile(r'[%s]' % re.escape(text + end_text))

    for r in reg.finditer(content):
        if r[0] == text:
            count += 1
        else:
            count -= 1

        if count == -1:
            return r.start() + begin + len(r.group(0))
    else:
        return -1


pattern = r'dogs.{0,10}cats|(white|black)|(cat.{0,10}(red|blue))'

reg = re.compile(r'\w+|(\.\{\d+,\d+\})|(\([^\)]+\))|\|')
symbols = {
    '{': '}',
    '(': ')'
}
results = []
match = reg.search(pattern)
end = 0
while match:
    if len(match[0]) != 1 and match[0][0] in symbols:
        end = find_ending(match[0][0], pattern)
        assert end != -1  # raise AssertError if can not find an ending position of current symbol
        results.append(pattern[match.start():end])
    else:
        results.append(match[0])
        end = len(match[0])
    pattern = pattern[end:]
    match = reg.search(pattern)

print(''.join(results[::-1]))  # (cat.{0,10}(red|blue))|(white|black)|cats.{0,10}dogs
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: vassiliev

79429266

Date: 2025-02-11 08:15:08
Score: 4.5
Natty:
Report link

maybe you def prepare_data() does not working ? like the code " x_t, noise = diffusion.forward_diffusion(target_image, t)" diffusion function not normal operation, then x_t variable is not a good values. Lead to later matrix size mapping error.

Reasons:
  • RegEx Blacklisted phrase (2): working ?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: 陳俊方

79429265

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

A general solution for this is to use a reverse proxy. Netlify supports proxies as stated here, or you can setup your own reverse proxy. This allows you to have one front facing domain and proxy based on url to your UI or API.

Another solution is to configure your backend to loosen the restrictions on CORS by allowing the root domain to store the cookies instead of Same-Site cookies. You can read more from the question on stackexchange here.

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

79429262

Date: 2025-02-11 08:12:07
Score: 1
Natty:
Report link

I think nowadays if unittest.TestCase is used, we could use assertDictEqual() to compare pydantic models (which can be turned into dict):

class TestPydanticModels(unittest.TestCase):

def test_models_equal(self):
    self.assertDictEqual(
       model1.model_dump(),
       model2.model_dump()
    )
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jinnan Gong

79429261

Date: 2025-02-11 08:11:07
Score: 2.5
Natty:
Report link

I maked pip install passlib And then I got the error:from passlib.hash import md5_crypt as md5 ModuleNotFoundError: No module named 'passlib' with your code. What is my mistake? Successfully installed passlib-1.7.4 I see in my terminal

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Аркадий Сергеев

79429253

Date: 2025-02-11 08:09:06
Score: 2.5
Natty:
Report link

I set path for private files in : $settings['file_private_path']

clear cache with :

./vendor/bin/drush cr

Then I can see options to upload files on webform build.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Muhammad Asim Dewan

79429247

Date: 2025-02-11 08:06:06
Score: 1
Natty:
Report link

So thanks to β.εηοιτ.βε in the comments, it was cleared, the error is that you cant have

image: postgres:15.3
          build:
            context: .
            dockerfile: Dockerfile    

image and build in the same compose or the image supercedes the build and therefor the build is ignored. I believe this is the mistake i have made. As of rn i dont know where the image should be, so i can not test it but im convinced this is the issue.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mairold Kunimägi

79429245

Date: 2025-02-11 08:06:05
Score: 6 🚩
Natty: 4.5
Report link

Have you find any answer ? I am facing with this problem...

Reasons:
  • Blacklisted phrase (2): Have you find
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Arda

79429239

Date: 2025-02-11 08:03:04
Score: 3.5
Natty:
Report link

Remove vueDevTools() in vite.config.ts

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ulvy Romy

79429237

Date: 2025-02-11 08:02:04
Score: 3.5
Natty:
Report link

If you are familiar with selinium, you can chech Ranorex.But this is not open-source.

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

79429228

Date: 2025-02-11 07:55:03
Score: 1.5
Natty:
Report link

just add the camera_android package, and it will fix your issue.

$ flutter pub add camera_android
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abdullah Ahmed ShekhMohamed

79429227

Date: 2025-02-11 07:54:02
Score: 1
Natty:
Report link

Your XML layout and Kotlin file might not be connected properly.

Common Fixes:

  1. Check your Activity/Fragment Kotlin file: Ensure the package declaration is present at the top (e.g., package com.app_name...).
  2. Check your XML layout: Verify the tools:context attribute is set (e.g., tools:context=".YourActivity").
  3. Invalidate Caches and Restart Android Studio: Go to File > Invalidate Caches / Restart to clear any corrupted caches.

Missing these lines or having corrupted caches can break the connection between your code and layout.

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

79429225

Date: 2025-02-11 07:52:02
Score: 2
Natty:
Report link

Step 1: Register an Azure AD App. Step 2: Configure API Permissions. Step 3: Generate a Client Secret or Certificate. Step 4: Get Tenant, Client ID, and Client Secret. Step 5: Get Access Token using MSAL.

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

79429217

Date: 2025-02-11 07:50:02
Score: 3
Natty:
Report link

Delete the bin and obj folders in your project directory. Delete your installed packages and install it manually with Package manager console.

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

79429206

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

As a workaround you can run blazor additionally on a separate port. Create an additional client blazor profile for this port and start the blazor app via

dotnet watch --launch-profile "otherPortProfile"

Details: https://stackoverflow.com/a/79429186/2534462

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Fried

79429204

Date: 2025-02-11 07:43:01
Score: 3
Natty:
Report link

If you're using Node 20, be sure to upgrade to 20.18.3 to get this fix. Deep in the bowels of Node.js, it's trying to resolve a module that has 'data:' as its parent, and it's failing while trying to turn that URL into a filename in order to throw the ERR_MODULE_NOT_FOUND error.

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

79429199

Date: 2025-02-11 07:40:00
Score: 2
Natty:
Report link

.exe files can run any arbitrary code on your machine and therefore Windows will automatically flag any .exe files that aren't signed as potentially dangerous, no matter what they actually do. What you would need to do is code signing, answered in this question already: Signing a Windows EXE file

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

79429177

Date: 2025-02-11 07:30:58
Score: 1
Natty:
Report link

import flet as ft from controls import TreeView

def main(page: ft.Page): page.add( TreeView( { ft.Checkbox("Security"): { ft.Checkbox("Firewall"): { ft.Checkbox("Local"): {}, ft.Checkbox("Public"): {}, }, ft.Checkbox(label="Password Manager"): {}, ft.Checkbox("Antivirus"): {}, }, ft.Checkbox("Dev", value=True): { ft.Checkbox( label="Show logs", on_change=lambda _: print("This is a test!") ): {}, ft.Checkbox("Take Snapshot", value=True): {}, }, }, set_on_change=True, ) )

ft.app(target=main)

this code might help you!

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

79429167

Date: 2025-02-11 07:27:57
Score: 1.5
Natty:
Report link

I am building an Android app using the following libraries:

com.github.barteksc:android-pdf-viewer:2.8.2 to load PDFs. com.amitshekhar.android:jackson-android-networking:1.0.2 to fetch data from an API. com.toptoche.searchablespinner:searchablespinnerlibrary:1.3.1 to display the fetched data in a searchable dropdown.

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

79429164

Date: 2025-02-11 07:26:57
Score: 0.5
Natty:
Report link

For an angular project I recommend to migrate all scss to css. I did that and I executed the migration tool and the tool did the migration of my "old" tailwind.config.cjs to the main styles.css in my angular app. Then I installed the packages you need to install. Finally, the app is running fine without any issue. Later I think I can improve the styles.css because all of my added colors are in that file, but for now the app is running.

Note: I was using scss files because in that repo I do some explorations (I know that If you decide to use Tailwind you don't even need a css file, you only need to apply Tailwindcss classes)

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

79429155

Date: 2025-02-11 07:21:56
Score: 0.5
Natty:
Report link

🚨️ The init command is deprecated for react-native.

Use this (for [email protected]): npx @react-native-community/cli init projectName

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

79429150

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

You should put the path in quotation marks as a string:

my_job:
  stage: test
  script:
    - cd "$CI_PROJECT_DIR/sub_folder"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tạ Lục Gia Hoàng

79429144

Date: 2025-02-11 07:14:55
Score: 1
Natty:
Report link

It makes sense the thumbnail generator in Windows crashes with 30 GB TIFF files since TIFF formally only supports up to 4 GB files.

If you want to improve this behaviour you have to add your own BigTIFF plugin. Maybe Irfanview can do this for you.

...But to create an thumbnail, you have to look inside the big file... Don't expect miracles, since reading 30GB still takes time.

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

79429133

Date: 2025-02-11 07:09:52
Score: 4
Natty:
Report link

Delete "@page" in "view" for work.

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

79429121

Date: 2025-02-11 07:01:51
Score: 4
Natty: 5
Report link

Thank you Jochen. Your Script is just great!

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

79429118

Date: 2025-02-11 06:59:50
Score: 0.5
Natty:
Report link

Try this gcloud org-policies describe constraints/iam.disableCustomRoleCreation If TRUE, custom role creation is blocked.

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tim David

79429096

Date: 2025-02-11 06:51:48
Score: 2.5
Natty:
Report link

Aku adalah seorang yang mau Mabar ml

Bsjusjgwbs**

Uusjsujsnsbb*hdjshjsy6whwgwg

Gwhysjgw`hshtshts

**

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

79429091

Date: 2025-02-11 06:49:48
Score: 0.5
Natty:
Report link

The ClientIpAddress is a property your application would set before connecting, but only if you wish to specify the IP address for binding.

It is the IP address to use for computers with multiple network interfaces or IP addresses. For computers with a single network interface (i.e. most computers), this property should not be set. For multihoming computers, the default IP address is automatically used if this property is not set.

Reasons:
  • No code block (0.5):
Posted by: Chilkat Software

79429078

Date: 2025-02-11 06:45:47
Score: 3
Natty:
Report link

Found an MIT licensed project that works for Alpine and Debian so forked it and added Public Key support in https://github.com/devdotnetorg/docker-openssh-server/pull/1

Pushing up to my Docker Hub now; if we're lucky they'll accept my PR (then I'll delete my mirror I guess?)

https://hub.docker.com/r/samuelmarks/openssh-server

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
Posted by: Samuel Marks

79429063

Date: 2025-02-11 06:36:45
Score: 3.5
Natty:
Report link

It looks like you encountered an internal error. Are you seeing this on your website, or is it an issue with something else? Let me know the context so I can help troubleshoot! 😊

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Qaisar Bilal

79429059

Date: 2025-02-11 06:35:45
Score: 1.5
Natty:
Report link
SELECT *
FROM (
    SELECT TOP (1) *
    FROM myTable
    ORDER BY name ASC
)

Or

SELECT t.*
FROM (
    SELECT *
    FROM myTable
) as t
ORDER BY t.name ASC
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: emad.b

79429048

Date: 2025-02-11 06:27:44
Score: 2
Natty:
Report link

I had this problem and the fix for me is to reload the entire window in vscode.

Step 1 Ctrl + shift + p

Step 2 Search for reload window and click on it.

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

79429041

Date: 2025-02-11 06:23:43
Score: 4.5
Natty:
Report link

I DONT KNOW ASDASDASDADASDASDAD ASDASDADASDASDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Filler text (0.5): DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
  • Low entropy (1):
  • Low reputation (1):
Posted by: Jde Lucero

79429036

Date: 2025-02-11 06:21:42
Score: 2.5
Natty:
Report link

In Ubuntu 23.04+, pip install won't work anymore: see this article. You'll need to run this instead:

sudo apt install python3-git
Reasons:
  • Blacklisted phrase (1): this article
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alex Tan

79429032

Date: 2025-02-11 06:16:41
Score: 3
Natty:
Report link

def ngrams(text, n): return [text[i:i+n] for i in range(len(text)-n+1)]

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

79429027

Date: 2025-02-11 06:15:41
Score: 1.5
Natty:
Report link

What I found that resolved this issue for me is that I needed to enable inbound traffic on the VPC Network ACL. Although, all the docs say SSM does not initiate a TCP connection to your instances. The instances need to be able to get request responses from the requests it makes. I added inbound access for these port ranges that are ephemeral ports and SSM worked after that.

Screenshot of AWS console showing the inbound rules added to fix this issue.

You do not need to add inbound rules to the security group because they are stateful.

From the docs

Security groups are stateful. For example, if you send a request from an instance, the response traffic for that request is allowed to reach the instance regardless of the inbound security group rules. Responses to allowed inbound traffic are allowed to leave the instance, regardless of the outbound rules.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): What I
  • Low reputation (0.5):
Posted by: Luke Muther

79429003

Date: 2025-02-11 06:02:38
Score: 1.5
Natty:
Report link

You can reinstall the app from adb by using this command

pm install-existing --user 0 [PACKAGE]

Output:Success

I have the exact problem an hour ago

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

79429002

Date: 2025-02-11 06:02:38
Score: 1
Natty:
Report link

You will need to change repl.co of the URL to replit.dev to access the website. If that fails, your ISP or firewall is blocking the replit.dev domain. You will have to whitelist the domain.

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

79428999

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

enter image description here

use latest flutter sdk 3.27.4 and latest version of top_snackbar_flutter: ^3.2.0

then run command:

flutter clean
flutter pub cache clean
flutter pub get
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sachin Kumawat

79428994

Date: 2025-02-11 05:59:37
Score: 2.5
Natty:
Report link
  1. create chart
  2. in Dimensions tab add 2 fields "month" and "Key"
  3. in Expressions tab add sum of your value field
  4. in Style tab select stacked
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Davoud

79428987

Date: 2025-02-11 05:55:36
Score: 3
Natty:
Report link

There are WordPress plugins that let you redirect users to an external url for payment. I know of Payment redirect for woocommerce plugin.

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

79428986

Date: 2025-02-11 05:54:36
Score: 0.5
Natty:
Report link

Yes, there are biometric systems available that can send data directly to your server via an API, without relying on third-party data servers. Many modern biometric devices, such as RFID, fingerprint scanners, or facial recognition systems, support direct integration with your server through APIs.

If you are looking for a biometric system that doesn't require routing through a third-party server, you might want to explore devices that are built with API support for seamless integration.

For example, ScreenCheck Africa offers a variety of biometric solutions such as fingerprint recognition systems and access control devices that could potentially be configured to send data directly to your server. These devices often include features like modular design, security, and advanced integration capabilities, making them ideal for applications in sectors such as corporate, government, and healthcare.

While ScreenCheck Africa provides a range of biometric systems, it's always best to contact them directly to confirm the specific integration features of their products. You can find more information and contact them through their website:Screencheck Africa

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

79428985

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

You are on the right track with chunksize, but there are more efficient ways to handle large CSV files in Python. Here are some optimized approaches:

  1. Use Pandas with chunksize (Optimized) Your approach is valid, but you can speed it up by processing only necessary columns and using usecols and dtype to reduce memory usage: import pandas as pd

chunksize = 100000
dtype = {'column1': 'int32', 'column2': 'float32'} # Specify dtypes to save memory

for chunk in pd.read_csv('large_file.csv', chunksize=chunksize, usecols=['column1', 'column2'], dtype=dtype):
# Process chunk
print(chunk.head())
Which method should you choose?

Use chunksize if you prefer native Pandas. Use Dask if you need parallel processing. Use Modin if you want a drop-in replacement for Pandas with better speed. Use Vaex or PyArrow for low-memory operations. Hope this helps! 🚀

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bhavna Vaswani

79428983

Date: 2025-02-11 05:54:36
Score: 3
Natty:
Report link

When developing a chatbot that needs to transfer to a live agent in Microsoft Bot Framework, here are the solution.

At Deligence Technologies, our chatbot development services include seamless live agent integration using various approaches:

Direct integration with your existing customer service platform (Zendesk, LiveChat, etc.) Custom agent dashboard development Queue management for agent availability Conversation history preservation

Need help implementing live agent transfer in your chatbot? Let's discuss your requirements.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Deligence technologies

79428981

Date: 2025-02-11 05:52:36
Score: 0.5
Natty:
Report link

To solve this, I excluded HttpClient 4 from HttpClient 5 dependency. See below

<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
<version>5.2.1</version>
<exclusions>
    <exclusion>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpclient</artifactId>
    </exclusion>
</exclusions>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Marcel

79428980

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

If there is any other approach, please suggest that as well.

In addition to the suggestion of using a Lua script, you could stick to your solution of using INCR and simulate the reset of the counter on the client side by taking the remainder of the returned value.

Something similar to:

int value = jedis.incr("counter") % 25000;
Reasons:
  • RegEx Blacklisted phrase (2.5): please suggest
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Efran Cobisi

79428973

Date: 2025-02-11 05:49:35
Score: 3.5
Natty:
Report link

An extension is all you need, try searching for "Font Changer, Font Switcher, Font Selector" etc. Install the one that can select global fonts like: https://marketplace.visualstudio.com/items?itemName=TalhaBalaj.actual-font-changer

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

79428956

Date: 2025-02-11 05:35:32
Score: 3.5
Natty:
Report link

I also have same kind of question why not i use worker for each API call

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

79428952

Date: 2025-02-11 05:31:31
Score: 2
Natty:
Report link

Got this to work:

grep mailto /tmp -r --include \*.html --include \*.htm
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Barry

79428951

Date: 2025-02-11 05:30:30
Score: 5
Natty: 5
Report link

-Xms512m -Xmx2048m

can i keep it like this?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dinesh Kumar Lalam

79428944

Date: 2025-02-11 05:26:29
Score: 2.5
Natty:
Report link

Which option did you choose? I also encountered this situation. I use a third-party API that I cannot control. And, for example, I request a list of available devices. The API sends me a list of devices, but does not indicate their status (online, offline). You can make a request to the API for each device (by id). In this case, I get the device state. I decided to make the second request only when the user performs some action with the device (for example, turns it on). As a result, I get a situation where I have a list of devices without a state, and one device with a state. Accordingly, I need to update the list and notify the Ui layer about the change (and, in a good way, block the ability to act on the device). If we implement the cache simply as a list, as is done in the documentation, then when replacing a device in the list, we will not receive the changed data until we explicitly request it from the data layer. At the moment, I keep all the data on the ViewModel layer. For this reason, I have one ViewModel instance for several screens.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Which
  • Low reputation (0.5):
Posted by: pie

79428937

Date: 2025-02-11 05:21:28
Score: 4
Natty:
Report link

use app\from\models\Taskreport; = > use app\models\form\Taskreport;

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Дмитрий Габдукаев

79428923

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

I upgrade numpy and it worked!

pip install --upgrade numpy

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

79428922

Date: 2025-02-11 05:10:26
Score: 3
Natty:
Report link

RewriteEngine on is such an easy miss sometimes; AllowOverride sometimes.. AllowAutonomy almostalways... Thanks for saving me twenty gregorian minutes without an epoc.

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

79428921

Date: 2025-02-11 05:10:26
Score: 3.5
Natty:
Report link

I'm having the same type of issue as the poster, but I'm not sure where to post it, or if I should make it a separate post altogether, since it's in the same category, so I'm posting it as an answer, in hopes of getting more clarification on this issue. If I need to post it somewhere else, please let me know where, and I'll change it, but please don't delete it, so I can just copy/paste it instead of having to rewrite what has taken me more than an hour to put together.

I'm running Windows 11 Home, most recent update was January 31, 2025. I'm trying to make sure I have access to Windows PowerShell for a program I'm taking in online school.

I have tried both ideas, and still keep getting told I have errors in my coding. The first code I was working on was

PS C:\Users\squea> (New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)

I tried this answer from above

if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Write-Warning "You do not have Administrator rights to run this script.`nPlease re-run this script as an Administrator." Break }

And, I tried this answer from above

If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole( [Security.Principal.WindowsBuiltInRole] "Administrator")) { Write-Warning "You do not have Administrator rights to run this script.nPlease re-run this script as an Administrator." Break }

*squea is what the computer calls me (short for SqueakeyCat)

When I run the first code, instead of it coming up TRUE, like it says in my "getting started" (see below) it comes up FALSE.

To validate your environment, open an elevated PowerShell session and do the following:

Enter winver.exe and press enter to see the version details for your Windows device.

Run $PSVersionTable.PSVersion. Verify your major version is at least 5, and your minor version at least 1. Learn more about

installing PowerShell on Windows.

Run the following command. The output shows True when you're a member of the built-in Administrators group.

So, I tried running it with the second part above added to it, and I get told the following

Unexpected token "if" in expression or statement.

  • CategoryInfo: Parser error: (:) [], ParentContainsErrorRecordException
  • FullyQualifiedErrorId: MissingEndParenthesisInMethodCall

(that's the shortened version of it. The rest is at the beginning of this with what I had typed as the code about the "if" statement.)

Then, I tried it with the main part that I've been using, and the second suggestion above, and got the following message

At line:1 char:111

  • ... Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole If(-Not (...
  • Unexpected token "If" in expression or statement.
  • CategoryInfo: ParserError: (:) [], ParentContainsErrorRecordException
  • FullyQualifiedErrorId: UnexpectedToken

Now, I have PowerShell on my computer, and it has been enabled, but according to what I need to do, I need it to say TRUE, when running the first script, but it's coming back as FALSE instead.

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2.5): please let me know
  • RegEx Blacklisted phrase (1): I need to post it somewhere else, please
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: CutiePengu

79428907

Date: 2025-02-11 04:56:23
Score: 3
Natty:
Report link

Here is some documentation as to why the % is used at the start and end of the LIKE clause: https://docs.particular.net/transports/azure-service-bus/topology#subscription-rule-matching

If you prefer to create your own subscription rules in general, you can:

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

79428905

Date: 2025-02-11 04:52:23
Score: 1.5
Natty:
Report link

this also works:

<form action="https://www.google.com/search">
    <input type="text" name="q">
    <input type="submit" value="Google Search">
    <input type="submit" name="btnI" value="I'm feeling lucky">
</form>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: ramiro

79428889

Date: 2025-02-11 04:35:19
Score: 2
Natty:
Report link

You should put a list of strings in the Junja2Templates class just as I did and it solved my issue.

templates = Jinja2Templates(directory=['html_templates', 'app/html_templates'])

Oficial starlette docs: https://www.starlette.io/templates/

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Макс Чубаров

79428883

Date: 2025-02-11 04:32:19
Score: 0.5
Natty:
Report link

It seems like it is currently a known issue from Google. There is already a bug raised for the same.

As per the latest update on the Bug they are going to release the new version of Google Cloud CLI(v510) on (11/02/2025), which will resolve the warnings displayed during the installation step. Also they suggested that these warnings do not impact the installation process or gcloud functionality.

For further updates on the issue please track the Bug.

Reasons:
  • No code block (0.5):
Posted by: Sandeep Vokkareni

79428862

Date: 2025-02-11 04:05:13
Score: 1
Natty:
Report link

I was able to fix this issue by adding a '^' for my react-native version in package.json.

Previous (package.json): "react-native": "0.75.1"

Correct (package.json): "react-native": "^0.75.1"

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

79428855

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

My advise is to check carefully provided mysqli constructor data, maybe you have a custom MySQL port (not 3306) but it's not provided in a constructor.

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

79428853

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

I tried based on Sylvain's answer, but cache did not work. Here is a working version as of February 2025.

steps:
  - uses: actions/checkout@v4
  - name: Install poetry
    run: |
      pipx install poetry==1.8.*
      poetry config virtualenvs.create true --local
      poetry config virtualenvs.in-project true --local
  - uses: actions/setup-python@v5
    with:
      python-version: '3.12'
      cache: 'poetry'
  - run: poetry install
  - run: poetry run pytest
Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hiro

79428849

Date: 2025-02-11 03:59:12
Score: 2.5
Natty:
Report link

I'm exciting to migrate from pyenv to uv for python managing, it's very easy to use: https://docs.astral.sh/uv/guides/install-python/

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

79428844

Date: 2025-02-11 03:52:11
Score: 3
Natty:
Report link

go to control panel.Then click program and then program and features.Then delete docker-desktop enter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Manaphat Sutanpaisan

79428843

Date: 2025-02-11 03:52:11
Score: 2
Natty:
Report link

Just an FYI (a few years late. Just a tip for anyone else that may come and see this) the reason why the poster AND why it's the best setting for quality is 1 instead of 0 for the quality value is because 0 is LITERALLY lossless. And what that means when converting from a webm to say a mp4, is that re-econded mp4 file will end up being decently larger than the webm file. Now you may say it's supposed to do that...it's not. See there is additional data that is not needed for mp4's with 265 encoding. So in lamens/short terms' what happens is artifacts can appear and there can be issues with a/v and synchronization and lots of other little bugs. It's not like those bluetooth audio codecs where lossless is ideal for things like latency and audio quality. It works differently for video.

So setting you quality to 0 can in many instances create a video mp4 that is actually larger in size than the webm video and has the same quality or worse than the webm video.

Setting the quality to 1 instead indicates that total lossless conversion is NOT to be used but to set the quality to the highest possible outcome. And in some programs...you can even set it further to 0.5 (handbrake for windows for example) allows settings it by increments of .5. Anything above 0 works.

It's highly confusing. As most program simply state the scale is 51-0 ranking from worst-best...so most intelligent human beings would take that as 0 is the best quality possible. While in all reality it's not. 1 is. Or 0.5 (granted i have yet to see a noticable improvement when using 0.5 instead of 1 for handbrake) for handbrake.

Also note that if you are choosing h.265 for your encoding...your resulting file will almost 100% definitely be decently smaller is total file size than the webm video file. That's because h.265 is a newer standard codec that supposed to allow for smaller file sizes with minimal or no quality or performance loss. And in some cases that quality and performance is even better than h.264.

For example, last week I converted a 250MB video webm file. The webm video contained zero tracking or scroll info and was missing lots a meta data so I couldn't fast forward or rewind through it at all and there were no thumbnails. It was a lecture that I only needed like 2 minutes from and the video was like 25 min long. A major pain... so I needed to convert it to mp4.

The original webm video was 720p. However that was recorded from a laptop screen browser window. And this new mp4 I was creating would be displayed on a massive projector screen. So I decided to upscale it to 4k so try to minimize any massive pixels and pixelation. (Upsclaing a video won't really do anything for video quality tho, note. It's just simply adding more pixels or re-sizing the pixels already existing. It can't add in any new details or such unless you are using some sort of ai upscaling solution)

Anyways, I essentially more than quadrupled the resolution. And I added in lots of filters with decently heavy usage settings and also used medium denoising... that in theory SHOULD have meant a much larger mp4 file size than 250MB like the webm video file.

Nope. The end mp4 h.265 video ended up being 65MB total in size. And there was zero missing video segments and zero bugs or "glitches" and audio/visual was perfectly aligned and audio tracks were crisp and not missing any segments.

So that kinda shows you just how much h.265 encoding can shrink a file. To give examples I have often seen video files as large as 16GB using h.264 encoding shrink all the way down to 6GB using h.265 encoding. Same video quality and resolution. Only thing that changed was encoding method used.

H.265 is really big right now for things like VR media as even a Oculus Quest 2 from Yeats and Yeats ago.. a basic vr movie was like 12-26GB per file if you went uo towards 6k/8k resolutions. So using h.265 to cut that file size is half is really important as those headsets have limited storage space and streaming those massive files instead from a computer or Nas or whatever will almost certainly induce lots of buffering for those massive file sizes.

Cheers

Reasons:
  • Blacklisted phrase (1): Cheers
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Robert Jorgensen

79428830

Date: 2025-02-11 03:41:08
Score: 2.5
Natty:
Report link

Got the same error. You might need to check the iat in JWT should be in GMT.

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

79428829

Date: 2025-02-11 03:40:08
Score: 1.5
Natty:
Report link

Using Vue-Router is already quite simple. While it may look like Vue-Router is unnecessary here, having your application single paged would really improve the UX.

To use or not to use Vue-Router is completely up to you, though nowadays most websites dynamically load content of the pages. So modern practices would prefer using some kind of routing for it's benefits and improval of UX.

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

79428825

Date: 2025-02-11 03:39:08
Score: 1.5
Natty:
Report link

Look, the issue seems to be directly related to the token, it's about the bot's token. You know, the error "401 Unauthorized" and the message "Improper token has been passed" indicate that the token you're using is either incorrect or invalid.

So, I suggest you check the token, and if possible, try renewing the token in the Discord Developer Portal. Also, verify the permissions you've given to the bot, both in the Discord Developer Portal and within the code.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: http-pixelon

79428813

Date: 2025-02-11 03:33:06
Score: 4.5
Natty: 4
Report link

Banner-Dog - This may help you to generate a repo preview image.

enter image description here

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

79428808

Date: 2025-02-11 03:27:05
Score: 2.5
Natty:
Report link

.NET8* has this option: enter image description here

self.Property(i => i.Id).HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity);
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Edison C

79428800

Date: 2025-02-11 03:20:04
Score: 3
Natty:
Report link
  1. go to settings
  2. search "emmet"
  3. "Emmet Preferences"
  4. "Edit in settings.json"
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andriansyah Arul

79428797

Date: 2025-02-11 03:18:03
Score: 4
Natty: 5.5
Report link

where is displayed total read/write bandwidth in xcode? i think the data of android is error, too small

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): where is
  • Low reputation (1):
Posted by: MAR

79428795

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

By using :has() pseudo-class in CSS you can have conditons.

It will select parent cat div with condtion :has() method.

.category-menu li.current-cat-parent:has(.current-cat),
.category-menu li.current-cat-parent:has(.current-cat-parent) {
    background-color: #954c4c !important; 
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Altaf Malik

79428787

Date: 2025-02-11 03:07:00
Score: 2.5
Natty:
Report link

You can't change the name and uri properties of the artifact.

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

79428784

Date: 2025-02-11 03:06:00
Score: 3
Natty:
Report link

I added an addition Box Collider 2D to the player (HeroKnight) and wrote a script for that object specifically and it is working flawlessly, while still allowing me to manage the other colliders separately.

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

79428783

Date: 2025-02-11 03:06:00
Score: 2
Natty:
Report link

Restarting the Co-Pilot extension solved for me.

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

79428778

Date: 2025-02-11 03:00:59
Score: 1.5
Natty:
Report link

So apparently this is all a red herring.

Apparently the problem was on the right side of my code and my example oversimplified the situation obscuring the real issue.

my ($x, $y) = foo(); works just fine.

my ($x, $y) = foo() || warn("things are wrong") && return undef

Does what you want if foo() goes wrong, but somehow forces foo() into scalar context despite the desire for a returned value in array context.

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

79428777

Date: 2025-02-11 02:58:59
Score: 2
Natty:
Report link

In addition to Fff's answer, which reattaches the event handler after each plt.show(), I found two others that work:

It seems like toggling interactive mode off and on again confuses matplotlib such that it doesn't know where to draw stuff.

For now, I'm using plt.draw() since that seems like the least complicated solution; attaching the same event multiple times seems less intuitive. If anyone has an explanation or a better solution, please let me know!

Solution for now:

import matplotlib.pyplot as plt

def onclick(event):
    print(event.xdata, event.ydata)
    plt.gca().scatter(event.xdata, event.ydata)
    plt.draw()      # draw_idle() doesn't work, but this does!

for i in range(2):
    plt.plot([1, 2, 3, 4])
    plt.gca().figure.canvas.mpl_connect('button_press_event', onclick)
    with plt.ion():
        plt.show(block=True)
Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: dirtbirb

79428774

Date: 2025-02-11 02:58:59
Score: 0.5
Natty:
Report link

I don't know if this is the correct answer but when I comment out the **/.gitignore line in the .dockerignore file, I can build the docker image.

My .dockerignore file:

**/.classpath
**/.dockerignore
**/.env
**/.git
# **/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/.next
**/.cache
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/charts
**/docker-compose*
**/compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
**/build
**/dist
LICENSE
README.md
**/.angular
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Nhut Truong

79428767

Date: 2025-02-11 02:52:57
Score: 2
Natty:
Report link

Try this

return np.vectorize(scalar_function)(x, y)

This should do the work.

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user2615660

79428753

Date: 2025-02-11 02:41:55
Score: 3
Natty:
Report link

Yes! You can implement long polling with Redis in a non-blocking way using FastAPI with async Redis (aioredis) or Django with Django Channels.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Qúy Việt Bùi

79428742

Date: 2025-02-11 02:35:54
Score: 1
Natty:
Report link

Based on your description, I could reproduce the issue when I installed nbgv after I setup the self-hosted pipeline agent.

Image As suggested in this document, we need to update environment variables after installing new software.

./env.sh
sudo ./svc.sh stop
sudo ./svc.sh start

Image

Image

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Alvin Zhao - MSFT

79428733

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

If you just need labels (no numeric summaries), create a dummy numeric summary, set the Display String property of the numeric summary to blank (""), suppress redundant totals, and hide redundant grid lines using the 'Format Grid Lines' dialog. enter image description here

Here is an example of the final result: enter image description here

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

79428732

Date: 2025-02-11 02:25:51
Score: 9 🚩
Natty: 5
Report link

Well, I see most of that questions and responses are a few years old, but I'm in desperate need of help! I keep getting the deobfuscation file error as well I've tried everything that Google recommended or said to try and still getting same error. Also, I have couple more questions so if I lost or forgot my key and keystone passwords is there away to change them or get them? Thank you! Xoxo

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): ve tried everything
  • No code block (0.5):
  • Me too answer (2.5): getting same error
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Flirting Singles