79300998

Date: 2024-12-22 12:49:50
Score: 3
Natty:
Report link

Windows Firewall currently allows up to 1000 addresses per rule. Using WindowsFirewallHelper (https://github.com/falahati/WindowsFirewallHelper) in a .Net app makes this easier to do.

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

79300997

Date: 2024-12-22 12:48:49
Score: 9 đŸš©
Natty: 5
Report link

Having the exact same issue! Attempting to run on an M4/IOS 13, and attempting to use SDL2 as well... any luck solving?

Reasons:
  • Blacklisted phrase (1.5): any luck
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Having the exact same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kelvin Filyk

79300981

Date: 2024-12-22 12:35:45
Score: 1.5
Natty:
Report link

This will work for this background:

background: linear-gradient(to bottom left, #5f618a, #776f94, #ad9db8, #fef7ef);

Make sure that their is some content in web-page.

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

79300975

Date: 2024-12-22 12:29:44
Score: 2
Natty:
Report link

Before making any changes make sure to inspect current Terraform state first and check current resources using following command:

terraform state list

And then use correct source address

terraform state mv source destination

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

79300967

Date: 2024-12-22 12:23:43
Score: 3
Natty:
Report link

To anyone who will be met with similar issue - I sort of "solved" it by rewriting the system from scratch as @JamesP wrote he did and it worked. Maybe due to having a lot of dependencies installed some of them were in confilt with each other I'm not sure.

Thanks @JamesP for help!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @JamesP
  • User mentioned (0): @JamesP
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Aethillium

79300963

Date: 2024-12-22 12:21:42
Score: 2
Natty:
Report link
#!/system/bin/sh
echo "It runs" > /some_path/some_file.txt

chmod +- /data/adb/service.d/file.sh

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

79300957

Date: 2024-12-22 12:17:41
Score: 2.5
Natty:
Report link

Getting an error,

Traceback (most recent call last): File "C:\Users\mizan\AppData\Local\Programs\Python\Python313\Lib\site-packages\pytube_main_.py", line 341, in title self._title = self.vid_info['videoDetails']['title'] ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ KeyError: 'videoDetails'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "H:\Mega\MEGA _ Academic\PYTHON\Practice\m_0_Streamlit\m_Utility App\1.py", line 10, in video_titles.append(YouTube(link).title) ^^^^^^^^^^^^^^^^^^^ File "C:\Users\mizan\AppData\Local\Programs\Python\Python313\Lib\site-packages\pytube_main_.py", line 346, in title raise exceptions.PytubeError( ...<4 lines>... ) pytube.exceptions.PytubeError: Exception while accessing title of https://youtube.com/watch?v=ra3DlQTGe8Q. Please file a bug report at https://github.com/pytube/pytube

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Long answer (-0.5):
  • No code block (0.5):
  • Filler text (0.5): ~~~~~~~~~~~~~
  • Filler text (0): ^^^^^^^^^^^^^^^^
  • Filler text (0): ^^^^^^^^^^^^^^^^^^^
  • Low reputation (1):
Posted by: Md Mizanur Rahman

79300956

Date: 2024-12-22 12:15:41
Score: 2.5
Natty:
Report link

For some reason I can't comment you post but I want to say Thank You! I'm doing something different, I'm overlaying several (30 different) 10 seconds videos over an 1 hour video at a fixed time. I tried all chatgpt models, claude, gemini and cursor. All of them giving me wrong commands. So I decided to study and understand FFMPEG. AI was pointing me to using between to set the time. I got to you post used your command as reference and... its working! This is my full command in case someone with the same problem end up here:

ffmpeg -i 7.mp4 -i 1.mov -i 2.mov -filter_complex "[1]setpts=PTS+0/TB[ts1];[2]setpts=PTS+10/TB[ts2];[0][ts1]overlay=0:0:eof_action=pass[out1];[out1][ts2]overlay=0:0:eof_action=pass[out]" -map "[out]" -t 00:00:30 -y output.mp4
Reasons:
  • Blacklisted phrase (0.5): Thank You
  • RegEx Blacklisted phrase (1): can't comment
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alexandre LeitĂŁo

79300952

Date: 2024-12-22 12:09:39
Score: 2
Natty:
Report link

Check in you *.csproj for this one:

<OutputType Condition="'$(TargetFramework)' != 'net9.0'">Exe</OutputType> Similar to: Program does not contain a static 'Main' method suitable for an entry point In .Net MAUI Xunit

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

79300949

Date: 2024-12-22 12:08:39
Score: 3
Natty:
Report link

proxy_pass http://ticketing_users$1 /api/users/1234 networks:

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

79300933

Date: 2024-12-22 11:59:37
Score: 2
Natty:
Report link

ran into an exactly the same problem. this thread helped me get through. if your health check does not work when you update your security group to allow only cloudflare IPs, check your port configuration - your server might be running on port 8000 but health check in the target group may be doing it on port 80. Stupid oversight, but a critical one nonetheless.

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

79300931

Date: 2024-12-22 11:57:36
Score: 1
Natty:
Report link

If none of the answers above work, do the following steps:

  1. Change directory to ~/.nvm
  2. Check if you have nvm.sh. If you do then all you have to do is run nvm.sh. Essentially type source nvm.sh. This should solve most of the issues you'd be facing trying to use nvm.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: lihka1202

79300929

Date: 2024-12-22 11:55:36
Score: 1
Natty:
Report link

Found a suitable online JSON formatter by Curious Concept : https://jsonformatter.curiousconcept.com/

You just paste/drop your file inside and click "Process", then download the resulting beautified JSON.

Might not be a proper answer I don't know if online tools may apply, but I've found this, it solved my issue and it can be useful, so I think it's worth mentioning...

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

79300910

Date: 2024-12-22 11:37:33
Score: 1
Natty:
Report link

Disabling server-side prerendering in Blazor for .net 8 and 9 is done differently:

https://learn.microsoft.com/en-us/aspnet/core/blazor/state-management?view=aspnetcore-9.0&pivots=server#handle-prerendering

In app.razor make the following changes to disable prerendering for Interactive Server projects (which enables LocalStorage capabilities for example):

<head>
    ...
    <HeadOutlet @rendermode="new InteractiveServerRenderMode(prerender: false)" />
    ...
</head>

<body>
    ...
    <Routes @rendermode="new InteractiveServerRenderMode(prerender: false)" />
    ...
</body>
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Snympi

79300907

Date: 2024-12-22 11:34:32
Score: 2.5
Natty:
Report link

I would like to share the solution I have found for those who have the same problem as me.

public class CustomWebDocumentViewerReportResolver : IWebDocumentViewerReportResolver
 {
     private readonly IServiceProvider _serviceProvider;

     public CustomWebDocumentViewerReportResolver(IServiceProvider serviceProvider)
     {
         _serviceProvider = serviceProvider;
     }

     public XtraReport Resolve(string reportEntry)
     {
         switch (reportEntry)
         {
             case "Report1":
                 return ActivatorUtilities.CreateInstance<Report1>(_serviceProvider);
             default:
                 Type t = Type.GetType(reportEntry);
                 return typeof(XtraReport).IsAssignableFrom(t) ?
                     (XtraReport)Activator.CreateInstance(t) :
                     null;
         }
     }
 }
private readonly ITest1 _test1;
private readonly ITest2 _test2;

public Report1(ITest1 test1, ITest2 test2)
{
    InitializeComponent();
    _test1 = test1;
    _test2 = test2;
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same problem
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: AdylshaY

79300901

Date: 2024-12-22 11:29:31
Score: 3
Natty:
Report link

I have the same problem for 2 month .. but in javascript ..after a lot of search and my old way .. find out we have array_flip.. :)

my old code:

$array = array('name' => 'mostafa', 'family' => 'mason', 'phone' => '524854745', 'sid' => '85487452660');
// Swap keys 'name' and 'sid'
list($array['name'], $array['sid']) = array($array['sid'], $array['name']);
// Swap keys 'family' and 'phone'
list($array['family'], $array['phone']) = array($array['phone'], $array['family']);
var_dump($array);

and new one:

$array = array('a' => 'val1', 'b' => 'val2', 'c' => 'val3', 'd' => 'val4');
$array = array_flip($array);
var_dump($array);
Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (0.5):
Posted by: Mostafa

79300899

Date: 2024-12-22 11:27:30
Score: 4
Natty:
Report link

Actually this is not an answer, more like follow up question (because I've yet to have reputation to put up a comment on the highlighted answer).

I also happens to be in a similar situation with you, I basically create a Linux-based image Azure Http Trigger function and wants to deployed it into Azure container function.

May I know how do you deploy the function? Which method/type of azure service did you use?

As for me, I've been trying using the az cli command like this below but so far been unsuccessful and still gets 404 for my endpoints.

az functionapp create --name MyFunction --storage-account StorageAccount --resource-group MyResourceGroup --consumption-plan-location regioncode --image dockerId/functionRepoName:vTag
Reasons:
  • Blacklisted phrase (1): how do you
  • Blacklisted phrase (1): not an answer
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: codeZeuss

79300887

Date: 2024-12-22 11:22:28
Score: 2
Natty:
Report link

Just after posting the question I've decided to check adding a random case to see if it works and it worked:

enter image description here

So, a case is required, the default case is not enough to save the flow.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: kuhi

79300885

Date: 2024-12-22 11:21:28
Score: 0.5
Natty:
Report link

here is my step by step solution- The problem you are experiencing may be due to the configuration of the input stream and its relationship to the run loop. When you schedule the input stream in a run loop Make sure that the mode you are using is correct and consistent with the current loop running mode. If the mode is incorrect or incorrectly set The stream may not receive events as expected.

Here are the steps to troubleshoot and possibly fix the problem.

Loop Run Mode: Verify the loop run mode you are using. (NSDefaultRunLoopMode) is the production mode when the stream is scheduled. You can check the current mode using [NSRunLoop currentRunLoop].currentMode.

Stream Agent: Make sure the Stream Agent is set up correctly before launching the stream. A delegate must be assigned to the input stream before opening [channel inputStream].

Thread management: Because you are using a custom delivery queue. Make sure the queue doesn't block the main thread or cause a deadlock. If the queue is not available Streaming events may not be processed.

Bug Fix: Added logging to the method. stream:handleEvent: to confirm if a call is in progress. If not, The problem is probably in the streaming settings.

Data Availability: Since you said hasBytesAvailable returns false Ensures that data is sent correctly from the peripheral and that the L2CAP channel works as expected.

Encryption: Have you noticed that enforcing encryption helps hasBytesAvailable It can return the expected data. This indicates that encryption may be required for the stream to function properly. So make sure your BLE connection is properly configured for encrypted communication.

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

79300884

Date: 2024-12-22 11:19:27
Score: 2
Natty:
Report link

This Snowman iPhone Case Will Amp Up Your Holiday Spirit đŸŽ„â„ïž

With the festive season around the corner, it may become hard to think of the unique ways you can show your love for the holidays. Whether you’re looking to treat yourself or are shopping for a thoughtful gift, the Winter Romance Snowman iPhone Case is a great mix of style, durability and holiday cheer. This luxurious phone case protects your device while celebrating the season's magic.

🎁 Shop Now

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Case-Me Store

79300873

Date: 2024-12-22 11:11:26
Score: 2.5
Natty:
Report link

My project configuration actually was wrong, but I cannot say to what extend. After recreating the multi module project with intellij's wizard, the expect/actual declarations are properly used and the error disappeard.

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

79300867

Date: 2024-12-22 11:09:25
Score: 0.5
Natty:
Report link

Thank you for your answers. I found the easiest solution is to wrap the access to a DataStore property in a runBlocking {} block since it is at the end of the day a simple access to a json/protobuf file.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: padmalcom

79300858

Date: 2024-12-22 11:01:23
Score: 0.5
Natty:
Report link

Logon type 3 means network logon.

0xC0000064 - "User logon with misspelled or bad user account".

0x6 KDC_ERR_C_PRINCIPAL_UNKNOWN implies Service Principal Name (SPN) access problem.

It seems that you logon to DC-CH-2 over network but as the computer account and Kerberos does not accept username (in this case computer$ account).

If there is a problem with secure channel should be reset or if this is a Domain Controller, this role may need to be reinstalled.

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

79300856

Date: 2024-12-22 10:58:23
Score: 3
Natty:
Report link

prob some script or you have a broken unity install or you pc specs arent good enough somehow.

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

79300855

Date: 2024-12-22 10:58:23
Score: 3.5
Natty:
Report link

the migrations was not proper and after many tries all tables were migrated correctly.

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

79300854

Date: 2024-12-22 10:58:23
Score: 1
Natty:
Report link

An alternastive, using QUERY function;

=ARRAYFORMULA(QUERY({C2:E,TIMEVALUE(E2:E)-TIMEVALUE(D2:D)},"Select Col1, Max(Col4) Where Col1 Is Not Null Group By Col1 Label Col1 'DATE', Max(Col4) 'MAX TIME' Format Max(Col4) 'HH:MM'"))

.

enter image description here

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

79300849

Date: 2024-12-22 10:55:22
Score: 0.5
Natty:
Report link

As a follow up to Greg comment, the full solution is:

@Override
protected Point getInitialSize() {
    updateSize();
    return super.getInitialSize();
}
Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrey P.

79300845

Date: 2024-12-22 10:52:21
Score: 0.5
Natty:
Report link

Pipe it to xxd:

tshark -nr pcap -Y 'tcp.payload' -T fields -e tcp.payload | xxd -r -p && echo ''
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Plup

79300844

Date: 2024-12-22 10:51:21
Score: 3.5
Natty:
Report link

Thank you very much. Hope the above code phv will not change over time and is performance optimized.

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

79300841

Date: 2024-12-22 10:49:21
Score: 1.5
Natty:
Report link

Locating project files.Error downloading template package: expo-template-default@latest × Something went wrong in downloading and extracting the project files: npm.cmd pack expo-template-default@latest --json exited with non-zero code: 4294963248 Error: npm.cmd pack expo-template-default@latest --json exited with non-zero code: 4294963248

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

79300835

Date: 2024-12-22 10:46:20
Score: 2
Natty:
Report link

I can suggest you to divide the formula by its parts and put onto the worksheet to allow debug possibility:

enter image description here

enter image description here

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

79300830

Date: 2024-12-22 10:44:20
Score: 1
Natty:
Report link

I found one method to do this. There is a plugin "WindowListener"

class _AppHomePageState extends State<AppHomePage> with WindowListener
// Overrite the onWindowClose method. When exit app, onWindowClose will be called.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Freddy2023

79300825

Date: 2024-12-22 10:41:19
Score: 0.5
Natty:
Report link

As mentionned in this Github issue, one of the solutions might be adding this change to your package.json:

// changing 
"pdfjs-dist": "^2.6.347",
// to
"pdfjs-dist": "2.6.347",
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: arrmani88

79300819

Date: 2024-12-22 10:38:19
Score: 1
Natty:
Report link

Might your app.js or Appnavigation all screen in safeArea like this :

<SafeAreaView style={{ flex: 1 }}>
      <AppNavigator/>
</SafeAreaView>

In this code my all screen under SafeArea which enforce some white black screen.

thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kalpesh A. Nikam

79300807

Date: 2024-12-22 10:25:16
Score: 1.5
Natty:
Report link

{ "update_id": 256459690, "message": { "message_id": 822000, "from": { "id": 7713886087, "is_bot": false, "first_name": "ê§àŒ’â˜ŹDead Manâ˜ŹàŒ’ê§‚", "language_code": "en" }, "chat": { "id": 7713886087, "first_name": "ê§àŒ’â˜ŹDead Manâ˜ŹàŒ’ê§‚", "type": "private" }, "date": 1734860612, "text": "/start", "entities": [ { "offset": 0, "length": 6, "type": "bot_command" } ] } }

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

79300803

Date: 2024-12-22 10:22:16
Score: 3
Natty:
Report link

I have the same situation and unfortunately, I cannot find any explaination for this behaviour. Even if checking a time frame longer ago I see some sessions or users as (not set) for the dimension new/returning users.

The only explaination for this I can trust by now is the now given here: https://googleanalytics4.co/forums/discussion/the-mystery-of-not-set-in-ga4-new-vs-established-dimension/ ("Google Analytics was unable to determine whether the user was new or returning ... prevent Google Analytics from accurately tracking and categorizing the user").

I don't know if this is true, but it is the only information I can find on this issue and I really appreciate any further input on this.

Reasons:
  • Blacklisted phrase (1.5): I cannot find
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: MTrykar

79300791

Date: 2024-12-22 10:10:14
Score: 3
Natty:
Report link

Start reading, sharing, testing and writing content, the blogging platform that empowers you jobs to receive money rewards while spread your positive experiences. You will recieve $5 as welcome reward enter image description here

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

79300788

Date: 2024-12-22 10:09:13
Score: 0.5
Natty:
Report link

You can dynamically customize the rules array within your request class AutorCreateRequest:class

I do it within the rules() function. In my case, I customize the array on the basis of some setting or request().

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

79300776

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

The easiest and simplest way to avoid this issue is to use the webdriver_manager library.

You can understand the purpose and benefits and how to use this in the reference below.

  1. https://stackoverflow.com/a/77248102/11179336
  2. https://stackoverflow.com/a/76857381/11179336
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from webdriver_manager.chrome import ChromeDriverManager

service = Service(ChromeDriverManager().install())
driver = webdriver.Chrome(service=service)

driver.get("https://www.chess.com/")

driver.close()
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Ajeet Verma

79300771

Date: 2024-12-22 09:57:10
Score: 0.5
Natty:
Report link

The snippet preview on SO displays the lowercase version, so maybe there's an additional stylesheet being loaded on your end?

Two things,

  1. Create another <a> tag and check if its text is capitalized as well (Also open your developer tools and look at the applied styles on the email <a> tag)
  2. Place !important after your text-transform: nones, it's likely something more specific is taking priority, and using CSS's !important would supersede that hierarchy.
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: TheOnlyWayUp

79300768

Date: 2024-12-22 09:56:10
Score: 1.5
Natty:
Report link

Ok I got some help and the problem was that i was trying to delete the commits when i was detached. I used the Checkout(Detached) button on the right click menu of the commit. after i moved to the branch properly i did git reset --hard back to the settings button commit, pushed and then it was fixed

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

79300765

Date: 2024-12-22 09:55:09
Score: 1.5
Natty:
Report link

Eventually i couldn't figure the problem out. I craeted an empty project with expo router and then coded all of the things again. This time it worked! I don't know what was the problem. But this time when i got the apk on my device there was a problem because of google maps api key, even if i provided in app config it couldn't see the api key, so i manually added the api key of mine to manifest.xml then the program didn't give any errors or crashes

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tarık Can KARADENİZ

79300761

Date: 2024-12-22 09:47:08
Score: 4
Natty: 5.5
Report link

How can I open a link by clicking on an notification?

For example, in a native language like Kotlin, this can be easily done.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How can I
  • Low reputation (1):
Posted by: Mehdi

79300760

Date: 2024-12-22 09:47:07
Score: 3.5
Natty:
Report link

The reason is that this file no longer exist at this web location, you can check it yourself (404 not found error):

https://stackpath.bootstrapcdn.com/bootstrap/5.1.3/css/bootstrap.min.css

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

79300759

Date: 2024-12-22 09:46:07
Score: 0.5
Natty:
Report link

I do agree with @Thom A's comment that the problem is not with your query that even I have tried the same query in Azure SQL database, and it gave me the expected output.

Based on the output image that you have provided, I can say that you are previewing data from an Azure Data factory or synapse pipeline by giving the above query in copy activity or lookup activity query option.

In the activity data preview of ADF pipeline, I got the same results as yours upon trying your query.

enter image description here

In ADF, AFAIK, the activity output or previews from query option of the activity only follows the UTC even though you have provided the correct query. I came to this conclusion after trying the same query in the lookup activity and it gave the same result in the activity output as well.

But apart from the activity outputs and data previews it will convert the values to required time zones. I have added the above SQL query in a copy activity source and used a sample delimited as target. Upon executing the copy activity, you can see the values converted to expected time zone in the target csv file. It's the same result for the SQL table target as well.

enter image description here

So, it won't affect the data when you copy the above data to any target. But if you want use activity outputs in the pipeline, you need to convert the values to required time zones explicitly using ADF dynamic expressions.

Reasons:
  • RegEx Blacklisted phrase (2): even I have
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @Thom
  • High reputation (-2):
Posted by: Rakesh Govindula

79300749

Date: 2024-12-22 09:37:06
Score: 1
Natty:
Report link

ŰšŰ§Ù†Ú© ملی Ú©ŰłŰ±ÛŒ ŰąŰČŰ§ŰŻÙ†ÛŒŰ§ ŰšŰ§Ù†Ú© ملی ÙˆŰ§Ű±ÛŒŰČÙŸŰ§ÛŒŰ§:250.000.000.000 Ù…Ű§ŰČÙ†ŰŻŰ±Ű§Ù† ŰšŰ§ŰšÙ„ ŰšŰ§ŰšÙ„ ÙŸŰ§ÛŒŰ§ ŰšÙ‡ ŰŽÙ…Ű§Ű±Ù‡ ۭ۳ۧۚ 0205707506003

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script src="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/js/bootstrap.js"></script>
<link href="https://cdn.rawgit.com/twbs/bootstrap/v4-lR320170000000205707506003dev/dist/css/bootstrap.css" rel="stylesheet" />

<div class="container">
  <div class="row">
    <div class="col-sm-4">
      <input type="search" placeholder="Search......" name="search" class="searchbox-input" onkeyup="buttonUp();" required>
    </div>
    <div class="col-sm-4">
    </div>
    <div class="col-sm-4">
    </div>
  </div>250.000.000.000
  <div class="card-columns">
    <div class="card">
      <div class="card-block">
        <h4 class="card-title">Card title that wraps to a new line</h4>6037997583606406
        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
      </div>
    </div>
    <div class="card card-block">
      <blockquote class="card-blockquote">
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
        <footer>
          <small class="text-muted">
          Someone famous in <cite title="Source Title">Source Title</cite>
        </small>
        </footer>
      </blockquote>
    </div>
    <div class="card">
      <div class="card-block">
        <h4 class="card-title">Card title</h4>
        <p class="card-text">This card has supporting text below as a natural lead-in to additional content.</p>
        <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small>
        </p>
      </div>
    </div>
    <div class="card card-block card-inverse card-primary text-xs-center">
      <blockquote class="card-blockquote">
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat.</p>
        <footer>
          <small>
          Someone famous in <cite title="Source Title">Source Title</cite>
        </small>
        </footer>
      </blockquote>
    </div>
    <div class="card card-block text-xs-center">
      <h4 class="card-title">Card title</h4>
      <p class="card-text">This card has supporting text below as a natural lead-in to additional content.</p>
      <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small>
      </p>
    </div>
    <div class="card">
    </div>
    <div class="card card-block text-xs-right">
      <blockquote class="card-blockquote">
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
        <footer>
          <small class="text-muted">
          Someone famous in <cite title="Source Title">Source Title</cite>
        </small>
        </footer>
      </blockquote>
    </div>
    <div class="card card-block">
      <h4 class="card-title">Card title</h4>
      <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
      <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small>
      </p>
    </div>
  </div>
</div>

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: ŰŻŰ§ÙˆŰŻ ŰŻÙ‡ŰłŰȘŰ§Ù†ÛŒ Ú©Ù„Ű§ÚŻŰ±

79300747

Date: 2024-12-22 09:36:05
Score: 3
Natty:
Report link

change extension of your .py file into .pyw on windows.

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

79300743

Date: 2024-12-22 09:34:05
Score: 1
Natty:
Report link

I have a problem with the code below.

 test('public routes should be accessible', async () => {
     const res = await request(app).post('/api/public/login');
     expect(res.status).toBe(200);
                        ^
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Henrique Silva

79300740

Date: 2024-12-22 09:31:04
Score: 0.5
Natty:
Report link

This operation could be sped up using Numba:

import numpy as np
import numba as nb

@nb.jit(nopython=True, fastmath=True)
def draw_random_samples(len_deck, n_simulations, n_cards):

    deck_indices = np.arange(len_deck)
    simulations = [np.random.choice(deck_indices, n_cards, replace=False) 
                   for i in range(n_simulations)]
    
    return simulations
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mark

79300728

Date: 2024-12-22 09:20:02
Score: 2
Natty:
Report link

PYSPARK

ds.show(df.count(),truncate=0)

The first parameter helps us to show all records The second parameter will help for column expansion.

Note: observed a behaviour difference between using truncate=False and truncate=0, 0 actually expands the column data while False doesn't

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

79300725

Date: 2024-12-22 09:14:01
Score: 4
Natty: 5
Report link

Ankit Singh Manoj hai na lagao hai na lagao hai na lagao hai na lagao hai na lagao hai na lagao hai kya humse hai to batao kya

Reasons:
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ankit Singh

79300721

Date: 2024-12-22 09:11:00
Score: 2.5
Natty:
Report link

Rigsgsisgfquauscshitqfahsisj

Yuywyuwfwfqywuaufuuqy

Aua7usgwgsuisgsvgwu 178ahshks

Uwuw7wygw7shsbwheuwuhshhsheuw7w

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

79300716

Date: 2024-12-22 09:03:59
Score: 0.5
Natty:
Report link

git pull automatically fetches and merges remote changes into your current branch, while git fetch simply downloads remote updates without merging, giving you the flexibility to review and merge changes later.

git pull vs git fetch

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Vivek Kumar

79300715

Date: 2024-12-22 09:03:58
Score: 4.5
Natty:
Report link

Why you dididnt push it to the main repo?? Its hard to find this bro

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Why you
  • Low reputation (1):
Posted by: Poorman

79300713

Date: 2024-12-22 09:00:57
Score: 1
Natty:
Report link

Although computationally slow, this might do the trick:

import numpy as np

def draw_random_samples(len_deck, n_simulations, n_cards):
    
    values = np.random.random((n_simulations, len_deck))
    indices = np.argsort(values, axis=-1)
    indices = indices[...,:n_cards]
    
    return indices
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mark

79300712

Date: 2024-12-22 08:59:57
Score: 0.5
Natty:
Report link

The flow of how Windows Explorer displays search results involves a combination of Windows Search APIs and COM interfaces. Here’s a detailed breakdown of how it works:

  1. Windows Search and SearchFolder.dll ‱ Windows Search is built on the Windows Search service, which indexes files and other resources on your computer. The service uses the Indexing Service to create a database of metadata and file content for quick retrieval. ‱ SearchFolder.dll provides the user interface for presenting search results in Explorer. It bridges the gap between Explorer and the Windows Search service.

  2. Flow of Enumeration

When you perform a search in Windows Explorer: ‱ The query is submitted to the Windows Search API via the Windows Property System. ‱ The search results are returned as an IEnumIDList or a related enumeration interface that Explorer uses to populate the UI. ‱ Explorer uses a virtual folder (Search Folder) to display the results.

  1. Relevant Interfaces

Windows Explorer uses a mix of legacy and modern COM interfaces to work with the results. Here’s a look at the key ones involved:

a. IShellFolder::EnumObjects ‱ Used for enumerating items in a regular folder or namespace extension. ‱ Explorer typically uses this for non-virtual folders.

b. IQueryResultFolder (Search Results) ‱ For search results, Explorer interacts with the SearchFolder.dll via the IQueryResultFolder interface. ‱ The IQueryResultFolder interface translates the search query into results by communicating with the Windows Search index.

c. IConditionFactory & ICondition ‱ These interfaces define the search query. Explorer converts your search terms into a structured query using the ICondition and IConditionFactory interfaces. ‱ The structured query is then passed to the Windows Search service.

d. IEnumShellItems ‱ A modern interface used for enumerating shell items. ‱ It is less common for search results in older systems like Windows 7, but may be seen in combination with IQueryResultFolder.

e. IDataObject ‱ Used to represent data for drag-and-drop operations and clipboard interactions.

  1. SearchFolder.dll’s Role ‱ SearchFolder.dll implements the virtual folder for search results. It acts as a middle layer between the Windows Search index and Explorer. ‱ It queries the indexed database using structured queries and presents the results as shell items to Explorer. ‱ It provides results as a list of PIDLs (Pointer to Item ID List) through IQueryResultFolder or IEnumIDList.

  2. How the Results Are Displayed ‱ The results are processed by Explorer, which renders them in the search results view. ‱ It uses IShellView and related interfaces to display the items within the Explorer window.

  3. API Monitoring ‱ If you’re not seeing direct calls to IShellFolder::EnumObjects during API monitoring, it’s because search results leverage the virtual folder model. ‱ The calls are abstracted through higher-level interfaces like IQueryResultFolder and the underlying Windows Search infrastructure.

Example Flow: 1. Explorer constructs a query using IConditionFactory and submits it. 2. SearchFolder.dll interacts with the Windows Search service to retrieve results. 3. Results are returned as PIDLs or enumerated through IQueryResultFolder. 4. Explorer displays these results using IShellView and IShellFolder.

If you’re reverse-engineering or debugging this, focusing on SearchFolder.dll and its interactions with Windows Search APIs like ISearchQueryHelper or IConditionFactory will provide deeper insights.

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

79300699

Date: 2024-12-22 08:52:56
Score: 3
Natty:
Report link

Without seeing actual code, it's tricky to pinpoint but I would guess it could be lacking a smooth scrolling implementation

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

79300680

Date: 2024-12-22 08:26:50
Score: 2
Natty:
Report link

Running the gulp command with locally installed gulp on Azure Pipelines using a self-hosted agent

I encountered the same issue while using Azure Pipelines with a self hosted agent. My pipeline installed gulp v4.0.2 locally for my project. I didn't want to install gulp globally for the same reason as mentioned by @RSW.

Ref: @RSW's comment under this answer for a similar issue

Not good solution for my case. I am using azure pipelines with self hosted agent. I don't want to install the gulp globally because different projects may require different versions of gulp. What options do I have? Please help

Solution

Instead of using Azure Pipelines' built-in gulp task, such as:

- task: gulp@1
  displayName: 'Run gulp tasks'

...which, in my case, generated the following error: ##[error]Unhandled: Unable to locate executable file: 'gulp'.

You can use this alternative approach:

- script: './node_modules/.bin/gulp'
  displayName: 'Run gulp tasks'
Additional info about script:

Remember that not all build activities map to a built-in task. For example, there's no built-in task that runs the node-Sass utility, or writes build info to a text file. To run general system commands, you use the CmdLine@2 or script task. The pipeline uses the script task because it's a common shortcut for CmdLine@2.

Ref: Microsoft Learn: Exercise - Create the pipeline

Additional info about local node packages installed on Azure self-hosted agents

The local Node package folder (node_module/), where your self-hosted agent installs packages for a pipeline run, is likely located at a path like: C:\agents\_work\2\s\node_modules\ (on my Windows machine). Here, C:\agents\_work\2\s\ contains the project files for that specific pipeline run. *Note that this path may vary between different pipeline runs.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • RegEx Blacklisted phrase (3): Please help
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @RSW
  • Low reputation (0.5):
Posted by: Sean Lin

79300657

Date: 2024-12-22 07:59:45
Score: 4
Natty: 4.5
Report link

Microsoft Azure recently announced the Service Bus emulator for local development. https://learn.microsoft.com/en-us/azure/service-bus-messaging/test-locally-with-service-bus-emulator

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

79300654

Date: 2024-12-22 07:57:45
Score: 1
Natty:
Report link

As mentioned in eslint documentation, you should use ignores key instead of ignorePatterns.

// .eslintrc.json

{
   // ...
   "ignore": ["graphql/generated/", "third-party/"],
   // ...
}

But I rather to use .eslintignore file which do the same thing.

// .eslintignore

./graphql/generated/
./third-party/
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Khashayar

79300650

Date: 2024-12-22 07:50:43
Score: 2
Natty:
Report link

The connection to a Neo4j database on PythonAnywhere may fail due to network restrictions or firewall settings blocking the connection. PythonAnywhere typically doesn't allow outbound connections to external services like databases. To resolve this, ensure the Neo4j instance is accessible over a public IP and configure PythonAnywhere's outbound connection settings accordingly.

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

79300648

Date: 2024-12-22 07:49:43
Score: 4.5
Natty: 5
Report link

When I create Apple Distrubution certificate using open Xcode accounts > Manage Certificates... > + button > Apple Distribution, it help me

Reasons:
  • Blacklisted phrase (1): help me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Ruslan Rustamov

79300647

Date: 2024-12-22 07:49:43
Score: 1.5
Natty:
Report link

Have you made your external module discoverable for Quarkus ? If not try this first: https://stackoverflow.com/a/75046455/2979325

If this also doesn’t work, then a dirty solution might be to unpack your templates into the current project build folder by using the following maven plugin: https://stackoverflow.com/a/61246960/2979325

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: Serkan

79300643

Date: 2024-12-22 07:46:42
Score: 3.5
Natty:
Report link

An update from PyCharm Community Edition 3.1 to 3.1.1 solved this issue. Now project folder-level refactoring, i.e. moving the project folder elsewhere works.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rainer BĂ€rs

79300642

Date: 2024-12-22 07:45:42
Score: 2
Natty:
Report link

I can't comment so I am going to just use the answer...

Could you try using Undetected Chromedriver? It at least will solve the captcha when you open the website. I ran the code but I am not sure exactly what output you are looking for. If you could guide me I could try to help some more. Here is the code

from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
import undetected_chromedriver as uc
import time
import pandas as pd
import requests
from bs4 import BeautifulSoup


url = "https://www.valueresearchonline.com/login/?site-code=VROL&amp;target=%2F&amp;utm_source=home&amp;utm_medium=vro&amp;utm_campaign=desktop-profile-menu/"

options = uc.ChromeOptions()
options.headless = False
driver = uc.Chrome(options=options)

driver.get(url)
driver.implicitly_wait(5)

# Click the button 'Login with password' (step 1)
login_button1 = driver.find_element(By.CSS_SELECTOR, "button[data-user='Log in with password']")
login_button1.click()

# Define login credentials
username = '[email protected]'
# Find the username input field and submit button (step 2)
username_field = driver.find_element(By.NAME, 'username')
# Enter the username into the field
username_field.send_keys(username)

login_button2 = driver.find_element(By.CSS_SELECTOR, "button[id='proceed-btn']")
# Submit the username to go to the password page
login_button2.click()

Reasons:
  • Blacklisted phrase (1): guide me
  • RegEx Blacklisted phrase (1): can't comment
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Explants

79300638

Date: 2024-12-22 07:44:41
Score: 1.5
Natty:
Report link

the solution that worked for me is try to set launch mode = Standard in Main Activity in AndroidManifest file

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: SaEEd

79300636

Date: 2024-12-22 07:42:40
Score: 2
Natty:
Report link

Running the gulp command with locally installed gulp on Azure Pipelines using a self-hosted agent

I encountered the same issue as @RSW. I was using Azure Pipelines with a self hosted agent. My pipeline installed gulp v4.0.2 locally for my project.

ref: @RSW's comment under this answer

Not good solution for my case. I am using azure pipelines with self hosted agent. I don't want to install the gulp globally because different projects may require different versions of gulp. What options do I have? Please help

Solution

Instead of using Azure Pipelines' built-in gulp task, such as:

- task: gulp@1
  displayName: 'Run gulp tasks'

...which, in my case, generated the following error: ##[error]Unhandled: Unable to locate executable file: 'gulp'.

You can use this alternative approach:

- script: './node_modules/.bin/gulp'
  displayName: 'Run gulp tasks'
Additional info about script:

Remember that not all build activities map to a built-in task. For example, there's no built-in task that runs the node-Sass utility, or writes build info to a text file. To run general system commands, you use the CmdLine@2 or script task. The pipeline uses the script task because it's a common shortcut for CmdLine@2.

ref: Microsoft Learn: Exercise - Create the pipeline

Additional info about local node packages installed on Azure self-hosted agents

The local Node package folder (node_module/), where your self-hosted agent installs packages for a pipeline run, is likely located at a path like: C:\agents\_work\2\s\node_modules\ (on my Windows machine). Here, C:\agents\_work\2\s\ contains the project files for that specific pipeline run. *Note that this path may vary between different pipeline runs.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • RegEx Blacklisted phrase (3): Please help
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @RSW
  • Low reputation (0.5):
Posted by: Sean Lin

79300632

Date: 2024-12-22 07:35:39
Score: 2
Natty:
Report link

Nevermind, this was actually a typo in waf implementation. It was fixed in waf here: https://gitlab.com/ita1024/waf/-/merge_requests/2384

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: dbn

79300627

Date: 2024-12-22 07:29:38
Score: 2.5
Natty:
Report link

The app is crashing because you haven't implemented the @Serializable interface, kotlin data classes/objects aren't serialisable by default, see for example: https://stackoverflow.com/a/61241564/4117097

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Serializable
  • High reputation (-1):
Posted by: Anton Malyshev

79300623

Date: 2024-12-22 07:25:37
Score: 1
Natty:
Report link

I also had a similiar error,Xg boost too. But what the guy above me said, uninstall and reinstalling a lower version of sklearn (i used version 1.5.2) fixed this issue for me!

!pip uninstall -y scikit-learn
!pip install scikit-learn==1.5.2
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Chan Jun Hao

79300616

Date: 2024-12-22 07:20:36
Score: 0.5
Natty:
Report link

If you're using drizzle orm, you'll need to use the sql wrapper, see example below:

  id: uuid().primaryKey().default(sql`gen_random_uuid()`),

With sql imported from:

import { sql } from "drizzle-orm";
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Spiff Jekey-Green

79300612

Date: 2024-12-22 07:12:35
Score: 3
Natty:
Report link

Running this command: https://firebase.google.com/docs/auth/admin/manage-users#update_a_user will solve the issue. It'll create an email & password user, though, signing in with Google will override provider and have the login succeed.

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

79300610

Date: 2024-12-22 07:11:35
Score: 3
Natty:
Report link

https://freeimage.host/i/2NZbjJj

in this image , you see.main server is down and i am using 192.168.1.254.but in data source it say 192.168.1.1

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

79300607

Date: 2024-12-22 07:00:33
Score: 1
Natty:
Report link

cwd="$PWD" ## save current path for dir in $(find . -type d -name "*.git"); do ## loop over all with .git dname="${dir#./}" ## trim leading './' cd "$cwd/${dname%/.git}" && git pull ## change to and git pull doneenter code here

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

79300606

Date: 2024-12-22 06:59:33
Score: 3.5
Natty:
Report link

Deleting of node_modules and running of "pnpm install" should help.

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

79300605

Date: 2024-12-22 06:58:32
Score: 2.5
Natty:
Report link

This is just an dependency issue. Some dependency is corrupted which is causing the same. Delete the repository folder inside the .m2 and build the project again which will solve the issue

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

79300602

Date: 2024-12-22 06:57:32
Score: 2
Natty:
Report link

I don't see logging.getLevelNamesMapping().keys() in Python 3.10.12. Instead, create your own dictionary for the same result:

log_levels = {"none":log.NOTSET, "info":log.INFO, "error":log.ERROR, "warning":log.WARNING, "critical":log.CRITICAL, "debug":log.DEBUG }

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

79300600

Date: 2024-12-22 06:53:32
Score: 1
Natty:
Report link

Just call activity.recreate() to trigger the configuration update: https://developer.android.com/reference/android/app/Activity#recreate()

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

79300589

Date: 2024-12-22 06:42:29
Score: 12.5
Natty: 7.5
Report link

Did you get any solution to to upgrade pdf-dist from 2x to 4x ? I am facing the same issue ?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you get any solution to to
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Chandan Singh

79300583

Date: 2024-12-22 06:40:28
Score: 1
Natty:
Report link

auth_user is a table that needs to be automatically created by Django. But this process is only triggered if you run:

python manage.py migrate

Also, make sure you create a superuser with:

python manage.py createsuperuser
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): is a
  • Low reputation (0.5):
Posted by: Mario Mateaș

79300573

Date: 2024-12-22 06:32:27
Score: 2
Natty:
Report link

Attempt utilizing amplifies, not incorporate. Layouts are made utilizing the primary variant. Include fair brings the entire html over your moment one.

{% extends "base.html" %} {% load static %}

{% block content %}

body

{% endblock content %}
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Muhammad Abdullah

79300572

Date: 2024-12-22 06:32:27
Score: 2.5
Natty:
Report link

In my case, I could see Chrome, Edge, and Windows in the Flutter Device List, but not my emulators. What fixed it for me was to go to File -> Project Structure, then setting the SDK to the available one.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Béla Jash

79300569

Date: 2024-12-22 06:30:27
Score: 3.5
Natty:
Report link

23rtasfgh High school in school

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ko P

79300567

Date: 2024-12-22 06:27:26
Score: 1
Natty:
Report link
let options = {
    filename: 'file.pdf',
    html2canvas: {
        ignoreElements: (element) => {
            return element.id === 'ignore-div';
        },
    },
};
html2pdf().set(options).from(document.body).save()

this code works.

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

79300564

Date: 2024-12-22 06:24:25
Score: 2.5
Natty:
Report link

Fixed. Turns out I had to return the same Access-Control-* from the lambda as well.

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

79300531

Date: 2024-12-22 05:53:19
Score: 2.5
Natty:
Report link

element = driver.find_element(By.ID, "element_id") driver.execute_script("arguments[0].scrollIntoView();", element)

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

79300529

Date: 2024-12-22 05:50:18
Score: 1
Natty:
Report link

I took a different approach, Setup your nginx or http server to start up immediately as soon as your preparing steps take place, point to the same port I just made a dummy index.html has one line

Site is loading...please wait

at least it returns 200OK response to satisfy the probing requirements and it won't fail. then after your know your site is up and ready , or slightly before shutdown or restart nginx or http to point to your site. Unfortunately, the Cloud Run has one single use case to deploy and run dynamic content with very limited configuration. Wish you good luck, hope this solution works!

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

79300528

Date: 2024-12-22 05:49:17
Score: 5
Natty:
Report link

you can know more on this website: https://casper.academy/

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

79300525

Date: 2024-12-22 05:45:17
Score: 1.5
Natty:
Report link

This is often likely not the reply you're anticipating to listen, but how will a huge pipeline or organize illuminate the issues you're confronting? Your to begin with objective ought to be diminishing complexity, not the number of pipelines, stages and/or employments.

In the short term consider:

Creating task groups for each set of tasks in order to reuse functionality across pipelines/stages/jobs

Creating a pipeline for each environment in order to reduce complexity and be able to manage each environment independently

Organizing stages and jobs logically according to functionality and considering which ones can (or should) run together, in case of failure or not

These 3 steps should help you solve most of your problems.

The long-term strategy is to use YAML pipelines and reusable templates to manage your pipeline(s).

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Muhammad Abdullah

79300523

Date: 2024-12-22 05:42:16
Score: 1
Natty:
Report link

I have answered a similar question here - https://stackoverflow.com/a/79300489/15461314, you can take a look. Your code can look like this then -


type ZodInputSchema<T extends keyof ValidationTargets, U extends z.ZodType> = {
  in: {
    [K in T]: z.input<U>;
  };
  out: {
    [K in T]: z.infer<U>;
  };
};

const validationMiddleware = <
  T extends z.ZodSchema,
  U extends keyof ValidationTargets,
  E extends Env,
  P extends string,
  I extends ZodInputSchema<U, T>
>(
  schema: T,
  target: U
) => {
  return createMiddleware<E, P, I>(async (c, next) => {
    await next();
    zValidator(target, schema, (result, c) => {
      if (!result.success) {
        return c.json({
          success: false,
          error: {
            code: 400,
            message: result.error.issues[0].message,
            innerError: {
              timestamp: new Date(Date.now()),
            },
          },
        });
      }
    });
  });
};

// Usage
app.get("/sample", validationMiddleware(schema, "json"));
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aditya Mathur

79300520

Date: 2024-12-22 05:39:15
Score: 2.5
Natty:
Report link

I have an answer: If you create a webGL three.js website, you should place the resource files .gltf .glb, etc. in the Public directory.

Node: node -v v20.18.1 npm -v 10.8.2

create project:

npm create vite@latest mynameProjectGame -- --template vanilla-ts npm install @types/three three npm install npm run dev

1.install three version
"dependencies": { "@types/three": "^0.171.0", "three": "^0.171.0" } 2. Edit file typescript.json

"types": ["vite","three"]

enter image description here

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

79300519

Date: 2024-12-22 05:39:15
Score: 3
Natty:
Report link

i will quote the bugzilla (link) after getting the same error:

Dracut failure is a consequence, not the culprit. There is something qrong with your 3rd party kernel module.

unistallation instructions are here: https://github.com/DIGImend/digimend-kernel-drivers/tree/master

make dkms_uninstall

or

make uninstall

depending on whether it was a dkms or manual install.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): getting the same error
  • Low reputation (0.5):
Posted by: user22866

79300505

Date: 2024-12-22 05:25:13
Score: 1.5
Natty:
Report link

Install pip install opencv-python-headless and in the requirements.txt use

opencv-python-headless without version number.

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

79300499

Date: 2024-12-22 05:17:11
Score: 1.5
Natty:
Report link

I have similar issue with my Powershell terminal and I found that the cause of the issue was enabling the Command Not Found module of the PowerToys app in the windows. It adds these lines to the $profile file:

#f45873b3-b655-43a6-b217-97c00aa0db58 PowerToys CommandNotFound module

Import-Module -Name Microsoft.WinGet.CommandNotFound
#f45873b3-b655-43a6-b217-97c00aa0db58

I removed them and the problem was resolved. to edit this file you can use notepad $profile in the terminal.

Reasons:
  • Blacklisted phrase (1): I have similar
  • Whitelisted phrase (-1.5): you can use
  • Has code block (-0.5):
  • Me too answer (2.5): I have similar issue
Posted by: Saeid Doroudi

79300487

Date: 2024-12-22 05:05:09
Score: 1.5
Natty:
Report link

Checks every row for duplicates, not just the first row:

=LET(
  x, BYROW(A1:C4, CONCAT),
  IF(MAX(SCAN(0, SEQUENCE(ROWS(x)), LAMBDA(a,v, SUM(N(INDEX(x, v) = TAKE(x, v)))))) > 1, "Dup", "No Dup")
)

enter image description here

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

79300485

Date: 2024-12-22 05:03:09
Score: 3.5
Natty:
Report link

Proxy admin index page index page index.com

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nitish Kumar sahani Nitish kum

79300466

Date: 2024-12-22 04:34:04
Score: 0.5
Natty:
Report link

Use the "input" function.

you can do it like this:

#python start

print("Hello, World!")

input("Press Enter to exit:")

#python end

that way you can press enter to exit

Reasons:
  • Whitelisted phrase (-2): you can do it like this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alice Bi

79300460

Date: 2024-12-22 04:25:02
Score: 2
Natty:
Report link

According to https://www.gridgain.com/resources/blog/whats-new-in-gridgain-9, GridGain 9 is more than an upgrade – it’s a significant leap forward for the Unified Real-Time Data Platform. It is as thorough improvement over GridGain 8 as Apache Ignite 3 is over Apache Ignite 2. https://ignite.apache.org/docs/3.0.0-beta/ shows that Apache Ignite 3 has many new features which are available in GridGain 9 as well.

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

79300455

Date: 2024-12-22 04:14:00
Score: 3
Natty:
Report link

Learning to learn any programming language is a skill that combines understanding fundamental concepts, building practical experience, and adopting an efficient approach to problem-solving. Here’s a structured guide to mastering the art of learning programming languages:


1. Understand the Basics of Programming

Before diving into a new language, ensure you’re familiar with fundamental programming concepts. These include:

2. Choose the Right Resources

Select resources that match your learning style:


3. Practice Hands-On

Theory alone won’t help you master a programming language. Practice by:


4. Focus on the Syntax and Structure

Each programming language has its own syntax and unique constructs. Learn:

Tip: Write code snippets and run them to see the output and debug errors.


5. Understand the Ecosystem

Each language comes with its tools and frameworks. Familiarize yourself with:


6. Build Projects

Create real-world projects to solidify your learning:


7. Read and Debug Code

Study existing codebases to learn best practices and patterns. Debugging others’ or your own code enhances your problem-solving skills.


8. Adapt and Repeat

Once you’re comfortable with one language:


9. Cultivate a Growth Mindset

Learning programming is an ongoing journey. Stay curious, patient, and persistent. Mistakes are opportunities to grow.

---enter link description here

Would you like a detailed plan for a specific language, or are you interested in general tips for practicing consistently?

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Tumpa Moni

79300452

Date: 2024-12-22 04:08:59
Score: 2
Natty:
Report link

Website speed is important for a smooth user experience. For this smooth user experience, you may need to bulk convert JPEG images into WebP.

As we all know, image optimization plays a key role in boosting load times. So, you need to select a suitable image format that takes less space and time to load.

You will find JPEG which is a popular format, but it often results in large file sizes that can slow down a website. This is where WebP comes in a newer image format developed by Google. It provides high-quality visuals at much smaller file sizes

Follow this article: https://themedev.net/blog/bulk-convert-jpeg-images-into-webp/

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: S.M. Golam Mostafa