79276695

Date: 2024-12-12 21:50:49
Score: 1
Natty:
Report link

Got it figured out I was calling the evaluate on the button it needs to be called on Page object with the reference passed of button element

try{
    await popupPage.evaluate(button => button.click(), connectButton);
console.log('Connect button clicked.');
await delay(5000);

}
catch(error){
    console.log('Error clicking connect button:', error);
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Muhammad Ahmer Raza

79276685

Date: 2024-12-12 21:47:48
Score: 1.5
Natty:
Report link

Solved it with

import java.net.Socket


suspend fun sendStuff_() 
{
    val message = "text"
    val socket = Socket("10.0.2.2", 8091)

    socket.outputStream.write(message.toByteArray())
    
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Special Muesli

79276681

Date: 2024-12-12 21:46:48
Score: 3.5
Natty:
Report link

check file format, permissions and also add debugger to check

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

79276678

Date: 2024-12-12 21:45:47
Score: 4
Natty: 4
Report link

Sadly that didn't work for me... Only six pages ,though...!

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

79276676

Date: 2024-12-12 21:43:46
Score: 0.5
Natty:
Report link

It's a thread contention problem as stated in the Java documentation

In other words, Since you are sharing an instance of Random to multiple threads, whenever one of the threads attempts to get the next Random number it has to "lock" the instance to perform the work and get the next number. At the same time another thread tries to generate a number with the same instance, it has to wait for the first thread to complete its work and release the "lock" before it can start for the next number.

Each instance of Random can only generate one number at a time.

With ThreadLocalRandom you eliminate that problem, because each thread uses it's own Random instance.

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

79276674

Date: 2024-12-12 21:41:46
Score: 3.5
Natty:
Report link

You can take a look at my config which works fine in the circumstance: https://github.com/Graeme22/dotfiles/blob/1a51970dab0111f21568706258ddda166aa52121/.config/nvim/init.lua

Is your Python virtual environment activated? Can we see your entire init.lua? It's hard to know how to help here without more information.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Graeme Holliday

79276670

Date: 2024-12-12 21:39:46
Score: 1.5
Natty:
Report link

Some reading and it presented the solution for me.

To maintain the value of the cart between pages and navigation/redirect, it's mentioned in the docs under stateManagement section.

Use setContext and getContext

https://svelte.dev/docs/kit/state-management#Using-stores-with-context

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

79276659

Date: 2024-12-12 21:34:44
Score: 2.5
Natty:
Report link

Setting maxHeight does not work in Tabulator 6.3 Setting maxHeight stops the browser from reacting altogether (Chrome & Firefox).

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

79276656

Date: 2024-12-12 21:33:44
Score: 5
Natty:
Report link

it was the camera the background type was set to none it should be skyenter image description here

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

79276652

Date: 2024-12-12 21:31:43
Score: 2
Natty:
Report link

It is called Dynamic SQL. Here are some examples in SQL Server https://www.sqlshack.com/dynamic-sql-in-sql-server/

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

79276651

Date: 2024-12-12 21:31:43
Score: 1
Natty:
Report link

I finally figured out what happened. The math when you do different containers may come out to not be a whole number. As an example, if the height of the container becomes 767.5, then chrome somehow cannot get both right. Thus, by doing a height that will come out to be a whole number, then the line will disappear.

I design based on 1366 x 768 and 1920 x 1080. When I do 95vh, the math comes out to 729.6. However, chrome calculates it to 729.59 for some reason. By making it 87.5VH, it becomes 672px and 945px, respectively. Line disappears.

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

79276641

Date: 2024-12-12 21:27:41
Score: 1
Natty:
Report link

Consider running the npm audit, it should update and install the new version and update the package.json dependencies.

To address issues that do not require attention, run:

npm audit fix

To address all issues (including breaking changes), run:

npm audit fix --force

npm-audit Synopsis

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

79276640

Date: 2024-12-12 21:27:41
Score: 2
Natty:
Report link

This looks simpler to me.

Map<String, Long> charCount = words.stream().map(s -> s.split("")).flatMap(Arrays::stream) .collect(Collectors.groupingBy(Function.identity(), Collectors.counting()));

{a=2, c=1, d=1, e=3, h=1, j=1, l=2, m=1, o=3, r=1, t=2, v=1, w=1, W=1}

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

79276636

Date: 2024-12-12 21:26:41
Score: 0.5
Natty:
Report link

Turns out I have to manually set the env variable passed in args, so in Program.cs:

Environment.SetEnvironmentVariable("DOTNET_ENVIRONMENT", args[1]);

and after that you read it elsewhere by:

Environment.GetEnvironmentVariable("DOTNET_ENVIRONMENT")

The args are passed like this: exename.exe --environment Production

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

79276634

Date: 2024-12-12 21:26:41
Score: 1
Natty:
Report link

I had the same issue, adding shrink-to-fit=no to the HTML solved it for me.

<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: papa seal

79276633

Date: 2024-12-12 21:25:41
Score: 2
Natty:
Report link

The FirmwareVersionPreferenceController.java is inside the vdex file which can be downloaded from system/app or priv-app and decompiled with tools available online into dex and further into java classes with jadx. The password is in there in plain text.

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

79276627

Date: 2024-12-12 21:23:40
Score: 3.5
Natty:
Report link

I tried to recreate your error with the following minimal example (with three input files a.txt, b.txt and c.txt), but it worked fine. Does this work for you as well, and if so, could you tell us the difference to your code?

all_samples = ["a","b","c"]

rule all:
    input:
        "coverage_plot.png"  

rule test:
    input:
        expand("{sample}.txt",sample=all_samples)
    output:
        "coverage_plot.png"
    shell:
        """  
        echo {input}
        """  
Reasons:
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (2.5): could you tell us
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: kEks

79276626

Date: 2024-12-12 21:23:40
Score: 3
Natty:
Report link

I had the same problem, with my actuator on an other port. One solution can be to use another is describe here https://stackoverflow.com/a/72471457. Creating the DispatchServlet as a separate bean from the DispatcherServletRegistrationBean:

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fernando

79276613

Date: 2024-12-12 21:18:39
Score: 0.5
Natty:
Report link

That recipe was changed last week: https://github.com/openrewrite/rewrite-spring/commit/6738e13197a3f734fc9608f38349ebe3b4d27761

You'll want to either use the latest rewrite-spring SNAPSHOT or downgrade your Maven plugin to v5.46.1, until the next release (likely tomorrow).

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

79276612

Date: 2024-12-12 21:18:39
Score: 2.5
Natty:
Report link

for python3: sudo apt install idle3 -y for python2 and below: sudo apt install idle -y if that doesn't work use xyz

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

79276601

Date: 2024-12-12 21:16:39
Score: 1.5
Natty:
Report link

check for throttling issue in grafana kafka cannot process messages >1MB so verify if the messages size is less than that. in case if the messages> 1MB then use better compression technique and split the messages with sequencing and publish the messages as chunks in the consumer we need to segregate the chunks to retrieve the original message.

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

79276599

Date: 2024-12-12 21:15:38
Score: 1.5
Natty:
Report link

Yes this requires an API integration -- you likely want to use Destination Charges so that you have control over the integration from your platform account and you can just use the branding that you set there. You can still do this with Express accounts, but you would need to calculate the Sales Tax and then update your transfer amount based on the Connected Account covering this extra fee.

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

79276593

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

Try Connecting to your real device it's not responding because you're using a simulator ... hope this helps

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: poise-paul

79276591

Date: 2024-12-12 21:10:37
Score: 2
Natty:
Report link

This might be a bizarre case, but it seems like our Spectrum router is injecting some weird, outdated Sagemcom CA certificates when transferring, hence the TLS error. Using literally anything else, like my school's Wifi network or my phone's hotspot fixed the error.

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

79276590

Date: 2024-12-12 21:10:37
Score: 3
Natty:
Report link

I found the problem...obvious and blatant oversight! I forgot to declare Item as Range!

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Jerry G

79276583

Date: 2024-12-12 21:06:36
Score: 1
Natty:
Report link

It looks like you're on the right track! To place an image in the sidebar box of your medical billing/coding page, ensure the following:

Verify that the image path is correct and accessible. Place the image in the appropriate directory relative to your HTML file, or use an absolute URL if hosted online. Use proper HTML syntax. For example, to add an image: html Copy code

Ensure your CSS doesn’t override the display properties of the sidebarbox class or the image itself. You can inspect the page in your browser to debug CSS conflicts. If you’re managing medical billing and coding content, having a visually appealing layout is crucial for user engagement. By the way, if you’re looking for professional medical billing services or want to explore how outsourcing could improve revenue cycle management, check out this [I-Med Claims LLC][1].
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alex Richardson

79276579

Date: 2024-12-12 21:03:35
Score: 4
Natty:
Report link

I found that I should use 'bip322-simple' signing algorithm, if I find exact solution

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

79276574

Date: 2024-12-12 21:01:34
Score: 1
Natty:
Report link

If anyone has run into this problem lately, I was able to resolve by doing the following:

<InputLabel id="foo">Members</InputLabel>
 <Select
   labelId="foo"
   label="Members"
   ....
  />

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

79276569

Date: 2024-12-12 20:59:33
Score: 0.5
Natty:
Report link

If it doesn't work with store url like:

shopify login --store store.myshopify.com

Try with the store name only

shopify login --store store

That worked for me.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Danilo Simonatto

79276563

Date: 2024-12-12 20:56:33
Score: 1
Natty:
Report link

For documenting such simple getter-style methods you may write:

/** {@return foo} */
public Foo getFoo() {
  return foo;
}

Note the curly braces in {@return ...} compared to your example.

See also https://stackoverflow.com/a/66220601/1431016 and https://bugs.openjdk.java.net/browse/JDK-8075778

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Sormuras

79276561

Date: 2024-12-12 20:55:33
Score: 1.5
Natty:
Report link

So just found out, we need to expose the application in two urls, so adding this variable do the trick:

ASPNETCORE_URLS="http://+:5002;http://+:4000"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Lucas Dalmarco

79276551

Date: 2024-12-12 20:50:32
Score: 1
Natty:
Report link

I updated from .NET 4.x to 8.x and I had the same problem. I modified my call to: System.Diagnostics.Process.Start("explorer.exe",fileName); This worked. This is telling explorer to open fileName with the default viewer.

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

79276547

Date: 2024-12-12 20:48:31
Score: 2.5
Natty:
Report link

Turn off the plugins installed. I had night eye and ublock installed. Turning them off fixed it.

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

79276539

Date: 2024-12-12 20:45:30
Score: 4.5
Natty: 4.5
Report link

Dartdoc doesn't have flag --format anymore. It's been depreciated in version 8.0.3 : https://pub.dev/packages/dartdoc/changelog#803

see also my other answer on the same topic: https://stackoverflow.com/a/79276435/21037170

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Monika Matis

79276536

Date: 2024-12-12 20:44:30
Score: 1
Natty:
Report link
let number = [1, 2, 3, 4, 5, 6];
function CustomForeach(callback, array) {
    for (let a = 0; a < array.length; a++) {
        callback(array[a], a, array);
    }
}
CustomForeach((element, index, array) => {console.log(array);}, number);
    

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

79276531

Date: 2024-12-12 20:43:29
Score: 2.5
Natty:
Report link

I had a WinForms application that threw a similar code, and the form would not open at runtime. The error came after a database update. Ended up being a control was still attached to a property that had been removed in the update.

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

79276529

Date: 2024-12-12 20:42:29
Score: 1
Natty:
Report link

If you only need a file list from a folder and that's it, you can use Directory Tree List Maker.

When path depth is set to 1, it will only generate a txt file with file names in a folder with extensions.

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

79276526

Date: 2024-12-12 20:40:29
Score: 2
Natty:
Report link

For me this occurred after I had resized my emulator view. It began launching way off the screen. While it was partially off the screen I resized it again and it popped back onto the screen. Strange behavior but worth a shot

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

79276513

Date: 2024-12-12 20:36:28
Score: 2.5
Natty:
Report link

Change Ports: Make sure the client and server run on different ports, for example, client on port 3000 and backend on port 3001. To kill what’s on port 3000

kill $(lsof -ti:3000)

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

79276499

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

for complex and dynamic application helm is better otherwise kustomize is the best option

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

79276491

Date: 2024-12-12 20:29:27
Score: 2.5
Natty:
Report link

Still new to all this Still learning,Man like learning a whole new language...I remember when AOL came out retirement has allot of to learn.Thamks for your help

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

79276478

Date: 2024-12-12 20:24:25
Score: 1.5
Natty:
Report link

Use something like

$GLOBALS['TCA']['sys_redirect']['columns']['target']['config']['allowedTypes'] = "['page', 'file', 'url', 'record', 'yourlinkhandler']";

in your TCA/Overrides/somefile.php. Replace "yourlinkhandler" with the name of your linkhandler.

Thanks Stefan Bürk for the hint.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: t3fan

79276477

Date: 2024-12-12 20:24:25
Score: 2
Natty:
Report link

In the .razor file I had to add a script tag with type "text/template" and I moved the file to the 'scripts' folder as well.

<script src="scripts/MTD.xml" type="text/template"></script>

Interesting tidbit, for this to work the extension has to be .xml (albeit there may be other extensions that work but custom extensions I tried did not work).

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

79276473

Date: 2024-12-12 20:23:25
Score: 1.5
Natty:
Report link

this solution to registry the Microsoft.Compute , too it's works when is the first time creating the kubernetes service , and the quotas is empty in your account and the message to create the kubertenetes is for example

Preflight validation check for resource(s) for container service aksdemo1 in resource group aks-rg1 failed. Message: Insufficient regional vcpu quota left for location eastus. left regional vcpu quota 0, requested quota 32. Details:

(Code: ErrCode_InsufficientVCPUQuota)

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: edwin chantre velasco

79276466

Date: 2024-12-12 20:18:23
Score: 2
Natty:
Report link

As far as I can tell the compress/flate package also works for encoding data in the same format.

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

79276459

Date: 2024-12-12 20:15:23
Score: 2.5
Natty:
Report link

prefix your environment variable name with EXPO_PUBLIC_ and restart the development server. It's a name convention from Expo:

For exemple: SUPABASE_URL => EXPO_PUBLIC_SUPABASE_URL

https://docs.expo.dev/guides/environment-variables/

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

79276453

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

graph G { layout=neato; overlap=false; node [shape=rectangle]; 0 [label="Node 0"]; 1 [label="Node 1"]; 2 [label="Node 2"]; 3 [label="Node 3"]; 4 [label="Node 4"]; 5 [label="Node 5"]; 6 [label="Node 6"]; 7 [label="Node 7"]; 8 [label="Node 8"]; 9 [label="Node 9"]; 0 -- 1; 1 -- 2; 2 -- 3; 3 -- 4; 4 -- 5; 5 -- 6; 6 -- 7; 7 -- 8; 8 -- 9; 0 -- 4; 2 -- 6; 3 -- 8; 1 -- 5; }

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

79276451

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

You need to specify which RailCars should be (in)visible. You need to add the method getCar(int i) after the Train agent (in your case, apparently the Headway agent), to get the RailCar agent that has the 3D object. The train agent should not have 3D objects representing RailCars, let the 3D representation of a RailCar only in the RailCar agent.

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

79276450

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

Add this permission in your apps manifest file:

<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" tools:ignore="QueryAllPackagesPermission" />
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Usman Arshad

79276444

Date: 2024-12-12 20:09:20
Score: 13.5 🚩
Natty:
Report link

I have the same problem. Did you fix it?

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

79276443

Date: 2024-12-12 20:09:20
Score: 3
Natty:
Report link

I have successfully installed openpose on ubuntu 22, python3.12. Here are some note to install openpose on ubuntu.
Highly recommend this blog to install openpose: https://amir-yazdani.github.io/post/openpose/

You also need to install cmake.

Important note: Check the gcc version and make sure it is version 8.. Make sure that install gcc version 8. To install gcc version 8. check this post: https://askubuntu.com/questions/1446863/trying-to-install-gcc-8-and-g-8-on-ubuntu-22-04.

when using ssh remote server, it cannot use the cmake-gui. But cmake-gui can work when you use the computer directly not through ssh remote server. After build openpose successfull. The result looks like this enter image description here

To run the openpose, you also need to download the model. check this post: https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/1602#issuecomment-641653411 And done !!!

Reasons:
  • Blacklisted phrase (1): this blog
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: anh khoa nguyễn

79276433

Date: 2024-12-12 20:06:19
Score: 7.5
Natty: 7
Report link

I HAVE VIDEO STREAMING USING RTSP NOW I WANT TO STREAM ON THE APP WHICH I BUILD USING KIWI. DO YOU HAVE IDEA HOW CAN I DO IT?

Reasons:
  • Blacklisted phrase (0.5): HOW CAN I
  • Blacklisted phrase (1): CAN I DO
  • RegEx Blacklisted phrase (1): I WANT
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28757761

79276428

Date: 2024-12-12 20:03:16
Score: 7 🚩
Natty: 5.5
Report link

I know this is old, but I need to do something similar. My thought is to send a message to function, which puts message in storage queue and returns 200 to client, then queue trigger runs on durable function, which conducts the data and communication stuff (mail, text), then completes by updating the queue message and sending response email if needed.

So Blazor App > Message > HTTP trigger Function > Queue > Queue Durable Function > Step #1 > Step #2 > Step #3 etc.

Can this work for both OP and for my needs? Thanks in advance.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Sean Moran

79276412

Date: 2024-12-12 19:56:14
Score: 3.5
Natty:
Report link

I can not do it bro it said the label is too long

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: กรเอก พีรปัญญกุล07

79276409

Date: 2024-12-12 19:54:14
Score: 1
Natty:
Report link

The error results from not using the field fullName in your native query. It's the same situation as in Unable to find column position by name: column1 [The column name column1 was not found in this ResultSet. Remove the column from the class or add it to the native query.

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

79276406

Date: 2024-12-12 19:53:13
Score: 1
Natty:
Report link

Try using Shell

Shell is a context menu customizer that lets you handpick the items to integrate into Windows File Explorer context menu, create custom commands to access all your favorite web pages, files, and folders, and launch any application directly from the context menu. It also provides you a convenient solution to modify or remove any context menu item added by the system or third party software.

Shell is a portable utility, so you don’t need to install anything on your PC. All settings are loaded from config file "shell.nss".

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

79276394

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

I’m not entirely sure of your full workflow, so it’s a bit tricky to suggest the perfect solution. That said, based on my experience, the capabilities of Python libraries for Excel operations can be quite limited. Are you trying to do things like merging files, merging sheets, or adding sheets? If so, there’s an Excel automation tool called SheetFlash that might be worth looking into.

It works a bit like a Python notebook—you can set up each action as a card, and then simply press the “Run All” button to execute all the actions in one go. It’s an add-in that could potentially solve your issue.

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

79276367

Date: 2024-12-12 19:40:10
Score: 4
Natty: 6
Report link

po mano to tentando entender tbm tá ligado, n sei tbm brother

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

79276351

Date: 2024-12-12 19:31:08
Score: 5.5
Natty: 5.5
Report link

Hi I just wondered if your app is available on the App Store?

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

79276326

Date: 2024-12-12 19:20:05
Score: 1
Natty:
Report link

This should help

$('body').on('keydown', function(e) {
   var code = (e.keyCode ? e.keyCode : e.which);
   if(code == 13) {
      var focusedLink = $('a:focus');
      console.log(focusedLink);
      focusedLink[0].click();
   }
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Matteo Gomez

79276318

Date: 2024-12-12 19:15:04
Score: 2
Natty:
Report link

we have started using www.recrew.ai - and are pretty happy with the accuracy and ease with which we were able to integrate it.

import http.client

conn = http.client.HTTPSConnection("backend.app.recrew.ai")

payload = "{\n "resume_base64": "File"\n}"

headers = { 'Content-Type': "application/json", 'X-Api-Key': "YOUR_TOKEN" }

conn.request("POST", "/api/cv-parser/v1", payload, headers)

res = conn.getresponse() data = res.read()

print(data.decode("utf-8"))

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

79276314

Date: 2024-12-12 19:13:02
Score: 6 🚩
Natty: 4
Report link

Greetings from the future. Thanks for this post, it helped me solve similar case. However, I'm getting error when I try to write a file in that volume:

root@nginx:/opt/platform-int/udm# echo test > test2

bash: echo: write error: Operation not permitted

Despite the error file actually gets created.

root@nginx:/opt/platform-int/udm# ls -la

total 0

drwxrwxrwx. 2 root root 2 Dec 12 19:03 .

drwxr-xr-x. 3 root root 17 Dec 12 19:03 ..

-rw-r--r--. 1 root root 0 Dec 12 18:06 test

-rw-r--r--. 1 root root 0 Dec 12 19:03 test2

My ceph subVolume and subVolumeGroup both have rwx permissions for all.My dest setup of PV and PVC is almost identical with yours. I don't see any errors in the seph provisioner or ceph nodeplugin. An ideas what's causing this error?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1.5): m getting error
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: ariels

79276307

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

Use a subshell to delay the evaluation of $EPOCHREALTIME. This way, it will be evaluated each time the trap is triggered.

trap 'PS1_STARTTIME=$(echo $EPOCHREALTIME)' DEBUG
export PS1="\$(printf '%0.3f' \$(bc <<< \"\$EPOCHREALTIME - \$PS1_STARTTIME\")) \w \\$ "
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Silver Spade

79276306

Date: 2024-12-12 19:10:00
Score: 7 🚩
Natty:
Report link

How to download this please can you help

Reasons:
  • RegEx Blacklisted phrase (3): can you help
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Rizwan Riaz

79276299

Date: 2024-12-12 19:06:59
Score: 1.5
Natty:
Report link

If you ever find this topic and the same issue. For me it was that Laravel was pointing to http and not https. Seems legit in a development environment... but not for production.

So whats the solution? This: https://stackoverflow.com/a/61313133/4892914

Your AppServiceProvider.php, boot() function should look like this:

public function boot(): void
{
    Vite::prefetch(concurrency: 3); // optional ofc

    if (env('APP_ENV') === 'production') {
        \Illuminate\Support\Facades\URL::forceScheme('https');
    }
}
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
Posted by: Adam

79276291

Date: 2024-12-12 19:05:59
Score: 3
Natty:
Report link

I had this same issue and it turned out to be a case problem. the file was named 'Client-1.svg' and in the code I wrote 'client-1.svg'. Works in dev but not in build.

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

79276288

Date: 2024-12-12 19:05:59
Score: 1.5
Natty:
Report link

For those who are also having the same issue, it seems that AdoNetAppender is now supported, as I was able to make it work with only the microsoft package "Microsoft.Extensions.Logging.Log4Net.AspNetCore".

What helped me finding the error was looking into the above mentioned MicroKnights.Log4NetAdoNetAppender github page. There they mention that the SqlConnection class changed place at some point. So changing the "connectionType" element value as their suggestion fixed the issue for me.

Before (not working): <connectionType value="System.Data.SqlClient.SqlConnection, Microsoft.Data.SqlClient, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

After (working): <connectionType value="Microsoft.Data.SqlClient.SqlConnection, Microsoft.Data.SqlClient, Version=1.0.0.0,Culture=neutral,PublicKeyToken=23ec7fc2d6eaa4a5"/>

The old not functional version I had copied from the log4net official docs: https://logging.apache.org/log4net/release/config-examples.html

Note: I am on .net8, and after checking the Microsoft.Data.SqlClient package, I updated the above to match the latest version: <connectionType value="Microsoft.Data.SqlClient.SqlConnection, Microsoft.Data.SqlClient, Version=5.0.0.0,Culture=neutral,PublicKeyToken=23ec7fc2d6eaa4a5"/>

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): also having the same issue
  • Low reputation (0.5):
Posted by: Fernando Wolff

79276285

Date: 2024-12-12 19:04:58
Score: 2
Natty:
Report link

import subprocess

Path to the .exe file

exe_path = r"C:....\player.exe"

Start the .exe program in a detached process

subprocess.Popen([exe_path], creationflags=subprocess.CREATE_NEW_CONSOLE)

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

79276282

Date: 2024-12-12 19:03:56
Score: 7 🚩
Natty:
Report link

Are you working on the project "Build a Duolingo Clone with Nextjs, React, Drizzle, Stripe (2024)"? If you have completed it, can you share this project with me?

Reasons:
  • RegEx Blacklisted phrase (2.5): can you share
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Phi Long Nguyen Ngoc

79276281

Date: 2024-12-12 19:02:55
Score: 6
Natty: 7
Report link

I have a stupid question, if i only want to do pairwise correlation with 1 column pairwise with the other columns, setting the value of nx=1 does not work.

What should i change?

Reasons:
  • Blacklisted phrase (1): stupid question
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: monkeycoder

79276268

Date: 2024-12-12 18:59:54
Score: 3
Natty:
Report link

Thanks @ChrisHaas for figuring it out. The solution was to use the fully qualified class name and since it was a static function the correct code was:

<?php 
add_action( 'wp_ajax_nopriv_run_cff_clear_feed', 'myCFFclearFeed');

function myCFFclearFeed() {
   require_once '/var/www/wp-content/plugins/custom-facebook-feed-pro/inc/Builder/CFF_Feed_Saver_Manager.php';
      require_once '/var/www/wp-content/plugins/custom-facebook-feed-pro/inc/CFF_Cache.php';
\CustomFacebookFeed\Builder\CFF_Feed_Saver_Manager::clear_single_feed_cache();
                }
?> 

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @ChrisHaas
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Mike Muller

79276262

Date: 2024-12-12 18:57:53
Score: 1.5
Natty:
Report link

This is a terrible solution to making a request over http for the website. This is not something that you shoudl do if you want to send a request to the website. The reason that there is a 403 - Forbidden is because 1.) they dont allow requests for any other routes other than their root route https://rentry.co 2.) they already have an api avaliable on their github.

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

79276259

Date: 2024-12-12 18:55:52
Score: 3.5
Natty:
Report link

Thank you Ayad for the answer. My camera was not showing the screen properly and adjusting the picturebox sizemode to "StretchImage" fixed the problem.

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

79276258

Date: 2024-12-12 18:55:52
Score: 0.5
Natty:
Report link

It turns out that useFormState works by adapting to the function you pass inside. So if you pass a test function with nothing inside of it yet, it would have no arguments expected. So the solution is to define the function with necessary arguments (e.g. "_: any, formData: FormData"), and when you pass an argument when you call formAction, it won't raise an error.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pixtane

79276240

Date: 2024-12-12 18:47:50
Score: 2
Natty:
Report link

Ваш вопрос касается корректного изменения двоичного файла на основе смещений, которые вы получаете с помощью IDA и HxD. Проблема заключается в неправильном вычислении смещений, а также в том, как правильно записывать изменения в файл на основе этих смещений.

Чтобы помочь вам решить эту задачу, давайте разберем несколько ключевых аспектов:

1. Понимание смещений в двоичном файле

Смещения, которые вы получаете из IDA или HxD, скорее всего, являются логическими (виртуальными) адресами. Однако реальный файл может быть скомпилирован с различными механизмами, такими как статическая линковка, выравнивание данных, сегментирование и сдвиги для динамических библиотек (.so).

Когда вы работаете с двоичными файлами (.so), важно различать:

Чтобы корректно преобразовать виртуальные адреса в физические смещения, необходимо учитывать базовый адрес загрузки и возможные изменения, происходящие при компиляции или загрузке библиотеки.

2. Как вычислить физическое смещение

Если вы хотите изменить данные по виртуальному адресу, вам нужно вычислить физическое смещение с учетом загрузочного адреса.

Для этого:

Например, если базовый адрес вашей библиотеки равен 0x10000000, а смещение, которое вы получили из IDA или HxD, равно 0x173596, то физическое смещение будет:

physical_offset = virtual_offset - base_address
physical_offset = 0x173596 - 0x10000000 = 0x073596

Теперь вы можете использовать это физическое смещение для изменения файла.

3. Использование Python с mmap

Теперь, чтобы изменить файл с использованием Python и mmap, вы можете использовать следующий подход:

import mmap
import os

# Путь к вашему файлу
file_path = 'filetomodify.so'

# Получение физического смещения (например, 0x073596)
physical_offset = 0x073596

# Новый набор байтов для записи
new_data = bytes.fromhex("95 E5 0A 2F 66 1E 32 EE 4C B8 9A 6E BD EC 01")

# Открытие файла
with open(file_path, 'r+b') as f:
    # Маппинг файла в память
    mm = mmap.mmap(f.fileno(), 0)
    
    # Запись данных по физическому смещению
    mm[physical_offset:physical_offset + len(new_data)] = new_data

    # Закрытие mmap
    mm.close()

В этом коде:

4. Использование Bash (и dd)

Если вы хотите использовать Bash для этого, вот пример команды:

#!/bin/bash

# Файл для изменения
file="filetomodify.so"

# Физическое смещение (например, 0x073596)
offset="0x073596"

# Новые байты
data="95 E5 0A 2F 66 1E 32 EE 4C B8 9A 6E BD EC 01"

# Использование dd для записи
echo "$data" | xxd -r -p | dd of="$file" bs=1 seek=$offset conv=notrunc

Этот скрипт:

5. Использование PHP

Если вы хотите использовать PHP, то вот пример:

<?php
$file = 'filetomodify.so';
$offset = 0x073596;  // Физическое смещение
$new_data = hex2bin('95 E5 0A 2F 66 1E 32 EE 4C B8 9A 6E BD EC 01');

$fp = fopen($file, 'r+b');
if ($fp === false) {
    die('Unable to open file.');
}

fseek($fp, $offset);
fwrite($fp, $new_data);

fclose($fp);
?>

Этот код:

Заключение

Чтобы корректно изменить данные в двоичном файле, важно правильно вычислить физическое смещение. Используя вышеуказанные подходы для Python, Bash или PHP, вы сможете модифицировать файл на основе смещений, полученных через IDA или HxD.

Основной задачей здесь является правильная интерпретация виртуальных адресов и их преобразование в физические смещения, с учетом базового адреса и структуры ELF-файла.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: user23851816

79276239

Date: 2024-12-12 18:47:50
Score: 2.5
Natty:
Report link

I am sorry in advance if my response is incorrect or unrelated to your query. However, I use React Loading Description, which is an excellent package for creating responsive skeletons. Maybe this will help you.

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

79276233

Date: 2024-12-12 18:43:50
Score: 0.5
Natty:
Report link

This has been answered here (https://github.com/davidgohel/officedown/discussions/103) but took me some time to understand and implement, so I am summarising for you here. Basically, put this section after your 'setup' section:

```{r pagenumberingfix}

 #see https://stackoverflow.com/questions/67032523/when-using-officedown-changing-from-portait-to-landscape-causes-problems-with-pa

footer_default <- block_list(fpar(run_word_field(field = "PAGE"),
                                  fp_p = fp_par(text.align = "center") ))

block_section(prop_section(footer_default = footer_default))
```

In your 'setup' section above it, make sure your knitr options are set to prevent code, but not the results from appearing in the finished file - so that the above code code is not shown in the finished file. For some reason if you try to do it with '{r pagenumberingfix, include=FALSE}' as the header, it won't work. Your 'setup' section should look something like this:

knitr::opts_chunk$set(echo = FALSE)
library(officedown) # 0.3.0
library(officer) # 0.6.2

Hope this works for you!

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

79276232

Date: 2024-12-12 18:43:50
Score: 0.5
Natty:
Report link

F5 should utilize launch.json from your .vscode - folder so I assume that you are not utilizing the correct task. launch.json is usually generated automatically by vscode when you start to debug first time.

See more details from here

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

79276226

Date: 2024-12-12 18:41:48
Score: 4
Natty:
Report link

Use onPressOut instead of onPress

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

79276225

Date: 2024-12-12 18:41:48
Score: 1.5
Natty:
Report link

Finally, after some experiments, I found, that the DAC driver functions cannot work if they are inside class.

And the function dac_continuous_write_cyclically() must be called after the channels activation:

ESP_ERROR_CHECK(dac_continuous_new_channels(&cont_cfg_0, &handle_0));
ESP_ERROR_CHECK(dac_continuous_enable(handle_0));

// After
ESP_ERROR_CHECK(dac_continuous_new_channels(&cont_cfg_0, &handle_0));

The fully working code:

The main.cpp file:

#include <Arduino.h>

#include "DAC_Continuous_DMA.h"

void setup()
{
  Serial.begin(921600);

  dac_continuous_dma_config(1000);
}

void loop()
{
  // Just for testing
  Serial.printf("Free heap size: %d\n", esp_get_free_heap_size());
  Serial.printf("%s(), core: %d: Running time [s]: %d\n", __func__, xPortGetCoreID(), millis());

  vTaskDelay(pdMS_TO_TICKS(1000));
}

The DAC_Continuous_DMA.h file:

#pragma once
#ifndef DAC_Continuous_DMA_h
#define DAC_Continuous_DMA_h

#include "Arduino.h"
#include <math.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "soc/dac_channel.h"
#include "driver/dac_continuous.h"

#include "soc/sens_reg.h"

#define EXAMPLE_ARRAY_LEN 512     // Length of wave array
#define EXAMPLE_DAC_AMPLITUDE 255 // Amplitude of DAC voltage. If it's more than 256 will causes

#define CONST_2_PI 6.2832 // 2 * PI

_Static_assert(EXAMPLE_DAC_AMPLITUDE < 256, "The DAC accuracy is 8 bit-width, doesn't support the amplitude beyond 255");

dac_continuous_config_t cont_cfg;

uint8_t signal_wave[EXAMPLE_ARRAY_LEN]; // Used to store sine wave values
uint8_t amplitude = EXAMPLE_DAC_AMPLITUDE;

dac_continuous_handle_t cont_handle = NULL;

void generate_waves(void)
{
    for (int i = 0; i < EXAMPLE_ARRAY_LEN; i++)
    {
        signal_wave[i] = (uint8_t)(amplitude / 2 * (1 + sin(2 * M_PI * i / EXAMPLE_ARRAY_LEN)));
    }
}

void dac_continuous_dma_config(uint32_t frequency_Hz = 1000)
{
    generate_waves();

    cont_cfg = {
        .chan_mask = DAC_CHANNEL_MASK_ALL,
        .desc_num = 2,
        .buf_size = 2048,
        .freq_hz = EXAMPLE_ARRAY_LEN * frequency_Hz / 2,
        .offset = 0,
        .clk_src = DAC_DIGI_CLK_SRC_DEFAULT, // If the frequency is out of range, try 'DAC_DIGI_CLK_SRC_APLL'
        .chan_mode = DAC_CHANNEL_MODE_ALTER,
    };
    /* Assume the data in buffer is 'A B C D E F'
     * DAC_CHANNEL_MODE_SIMUL:
     *      - channel 0: A B C D E F
     *      - channel 1: A B C D E F
     * DAC_CHANNEL_MODE_ALTER:
     *      - channel 0: A C E
     *      - channel 1: B D F
     */

    ESP_ERROR_CHECK(dac_continuous_new_channels(&cont_cfg, &cont_handle));
    ESP_ERROR_CHECK(dac_continuous_enable(cont_handle));
    ESP_ERROR_CHECK(dac_continuous_write_cyclically(cont_handle, (uint8_t *)signal_wave, EXAMPLE_ARRAY_LEN, NULL));

}

#endif // DAC_Continuous_DMA_h

Despite the I get signals on the DAC outputs (the current question is answered), the main my goal, to generate two signals on the DAC channels of ESP32, the sine and cosine ones, thus shifted by 90 deg, is not achieved.

But it is another question. And if somebody interested in this and can help me, I created new question here.

Reasons:
  • Blacklisted phrase (1): another question
  • Blacklisted phrase (1): help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Andrei Krivoshei

79276219

Date: 2024-12-12 18:39:48
Score: 1.5
Natty:
Report link
/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2,4})|(\d{4})[\/\-\.](\d{2})[\/\-\.](\d{2})|(\d{2})[\/\-\.](\d{2})[\/\-\.](\d{4})|(\d{2})[\/\-\.](\d{1,2})[\/\-\.](\d{1,2})|(Jan(uary)?|Feb(ruary)?|Mar(ch)?|Apr(il)?|May|Jun(e)?|Jul(y)?|Aug(ust)?|Sep(tember)?|Oct(ober)?|Nov(ember)?|Dec(ember)?)\s+(\d{1,2}),\s+(\d{4})|(\d{1,4})-(Jan(uary)?|Feb(ruary)?|Mar(ch)?|Apr(il)?|May|Jun(e)?|Jul(y)?|Aug(ust)?|Sep(tember)?|Oct(ober)?|Nov(ember)?|Dec(ember)?)-(([1-2][09][0-9]{2})|([0-9]{2}))|(0[1-9]|1[0-2])(0[1-9]|1[0-9]|2[0-9]|3[0-1])(([1-2][09][0-9]{2})|([0-9]{2}))|(([1-2][0-9]{3})|([0-9]{2}))(0[1-9]|1[0-2])(0[1-9]|1[0-9]|2[0-9]|3[0-1])/i
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: solcd

79276217

Date: 2024-12-12 18:39:48
Score: 2
Natty:
Report link

dynamically allocate an array using the malloc, calloc, or realloc functions, the size of the array isn’t stored anywhere in memory. Therefore, there’s no direct way to find the size of a dynamically allocated array. To manage the size of a dynamically allocated array, we must keep track of the size separately.

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

79276215

Date: 2024-12-12 18:37:47
Score: 1
Natty:
Report link

You no need to delete entire workspace, reports stores in .allure directory
So just delete this allure dir at start of your build, and you will see only reports from last build:

rm -rf .allure
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: artem_rrrrrr

79276207

Date: 2024-12-12 18:34:45
Score: 5
Natty:
Report link

I had a similar problem with 'allowedExtensions', found the solution here please give it a check:

file_picker allowedExtensions filter dosent work

Reasons:
  • RegEx Blacklisted phrase (2.5): please give
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: RNGsus

79276203

Date: 2024-12-12 18:33:45
Score: 1.5
Natty:
Report link

In case this is still of interest: I had a similar problem where I wanted to automate zipping files and Powershell and the zip-command from the context menu gave different results. this project on CodeProject really helped me. The goal is to hide the progress window while zipping, but it explanes really well how to use the win32 API to do the zipping.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: a.Programmer

79276173

Date: 2024-12-12 18:23:42
Score: 4.5
Natty: 5
Report link

The following link explains the steps to be followed:

https://javaworklife.wordpress.com/2020/11/02/running-console-commands-from-intellij-plugin-actions/

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

79276160

Date: 2024-12-12 18:18:41
Score: 1
Natty:
Report link

This is the solution:

$ git clone https://github.com/TA-Lib/ta-lib-python.git

$ cd ta-lib-python

$ python setup.py install

Try it out! 👍

Reasons:
  • Whitelisted phrase (-2): solution:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Supardin Waly

79276155

Date: 2024-12-12 18:16:40
Score: 0.5
Natty:
Report link

Klocwork checker NUM.OVERFLOW.DF can report the issue if there are possible cases of numeric overflow or wraparound in an arithmetic operation.

When performing subtraction (e.g., Coord1 - Coord2), no negative values are allowed in unsigned arithmetic. If Coord2 is greater than Coord1, the subtraction will result in a wraparound (underflow), leading to unexpected large values. uint16 is an unsigned 16-bit integer with a range of 0 to 65535. in this case i believe the Static code analysis tool you are using (Klocwork) has reported a valid issue.

To resolve this, you may consider to cast the uint16 variables to a signed type (e.g., int32) during the subtraction to ensure that underflow doesn't occur, then convert back if necessary.

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

79276149

Date: 2024-12-12 18:13:39
Score: 2.5
Natty:
Report link

Did you check if the base url for your server is correct? looks like the https%3A%2F%mydomain-name.com%2Fimages%2Foutsource%2Ftest.jpeg is worng encoded.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Francisco Aviles

79276147

Date: 2024-12-12 18:13:39
Score: 1
Natty:
Report link

I had the same error when restoring from a much older subversion to the latest version on a new server using:

svnadmin load 'path to new repo' < 'svn dump file'

It was caused by trying to use an existing directory and solved by creating the new repo directory structure with the 'svnadmin create' command

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

79276143

Date: 2024-12-12 18:12:39
Score: 0.5
Natty:
Report link

Yes, this possible with Azure Powershell

Microsoft's documentation has an example for this

$webapp=Get-AzWebApp -ResourceGroupName <group-name> -Name <app-name>

# Set default / path to public subdirectory
$webapp.SiteConfig.VirtualApplications[0].PhysicalPath= "site\wwwroot\public"

# Add a virtual application
$virtualApp = New-Object Microsoft.Azure.Management.WebSites.Models.VirtualApplication
$virtualApp.VirtualPath = "/app2"
$virtualApp.PhysicalPath = "site\wwwroot\app2"
$virtualApp.PreloadEnabled = $false
$webapp.SiteConfig.VirtualApplications.Add($virtualApp)

# Save settings
Set-AzWebApp $webapp
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hekku2

79276139

Date: 2024-12-12 18:10:39
Score: 2
Natty:
Report link

with regards to @pseudocubic answer, I want to add an answer where you can include boundary condition too. the method adds, using shapely >> touches and instead of appending eligible points, excluding ineligible points, and at the end removing all empty points for both dimensions:

import numpy as np
from shapely.geometry import LineString, Polygon, Point

gridX, gridY = np.mgrid[0.0:10.0, 0.0:10.0]
poly = Polygon([[1,1],[1,7],[7,7],[7,1]])
stacked = np.dstack([gridX,gridY])
reshaped = stacked.reshape(100,2)
points = reshaped.tolist()
for i, point in enumerate(points):
        point_geom = Point([point])
        if not poly.contains(point_geom) and not poly.touches(point_geom): ## (x != x_min and x != x_max and y != y_min and y != y_max):  # second condition ensures within boundary
            points[i] = ([],[])  # Mark the point as None if it's outside the polygon

mod_points = [[coord for coord in point if coord] for point in points]  
mod_points = [point for point in mod_points if point is not None and point != []]

And for plotting,

#plot original points
fig = plt.figure()
ax = fig.add_subplot(111)
# Extract the x and y coordinates of polygon
poly_x, poly_y = poly.exterior.xy
ax.plot(poly_x, poly_y, c = "green")
#ploting modified points
ax.scatter(gridX,gridY)
mod_x, mod_y = zip(*mod_points)
ax.scatter(mod_x,mod_y , c = 'red')
plt.show()

points inside polygon

Reasons:
  • Blacklisted phrase (1): regards
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @pseudocubic
  • Low reputation (0.5):
Posted by: hamflow

79276129

Date: 2024-12-12 18:07:38
Score: 0.5
Natty:
Report link

A related issue is how to communicate a CSS value from JavaScript to CSS in real time (including for animation). Approach: use a property value ("variable") associated with the body element. Inherit it everywhere desired.

JS:

document.body.style.setProperty('--width1', '30px');

CSS:

#divA {width: var(--width1);}

Reasons:
  • No code block (0.5):
Posted by: David Spector

79276120

Date: 2024-12-12 18:03:37
Score: 1.5
Natty:
Report link

You could use &autoplay=true at the end of your URL. If you don't want your video to start muted, you can use &autoplay=true&smartAutoplay=true.

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

79276106

Date: 2024-12-12 17:58:36
Score: 3
Natty:
Report link

pict.resize(); pict.resize(0.1, 0.1); The Problem: When the top-left corner of the picture is in the very first row (Row1 = 0) or the very first column (Col1 = 0), the resizing logic gets confused and does not calculate the size of the picture correctly.

Why does Picture.resize() fix it? When you call Picture.resize() first, it makes sure the picture is placed correctly in its cell and calculates the bottom-right position properly. This step "fixes" any confusion about the picture's position.

Why does scaling (resize(double scaleX, double scaleY)) work after that? Once the picture has a correct starting position and bottom-right corner, the scaling logic has the right reference points to resize the picture.

Reasons:
  • RegEx Blacklisted phrase (1.5): fix it?
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Sangita Bhattarai

79276103

Date: 2024-12-12 17:56:36
Score: 3
Natty:
Report link

I know this is old but all you need to do is add the dependencies to the package instead of the project.

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

79276102

Date: 2024-12-12 17:56:36
Score: 1
Natty:
Report link
  1. Precision loss you described is expected. Always normalize quaternions when using "Eigen" library.

  2. To optimize transformations multiplication of the form "t1.inverse() * t2" in terms of precision, you can implement a custom function t1.inverseMul(t2).

qr = q1.inverse()q2; pr = qr(p2-p1);

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

79276101

Date: 2024-12-12 17:56:36
Score: 1.5
Natty:
Report link

Open Terminal. Run the command lsof -i : (make sure to insert your port number) to find out what is running on this port. Copy the Process ID (PID) from the Terminal output. Run the command kill -9 (make sure to insert your PID) to kill the process on port.

maybe you can find the process for it and kill it instead of control c

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

79276100

Date: 2024-12-12 17:55:35
Score: 0.5
Natty:
Report link

This has been answered here (https://github.com/davidgohel/officedown/discussions/103) but took me some time to understand and implement, so I am summarising for you here. Basically, put this section after your 'setup' section:

```{r pagenumberingfix}

 #see https://stackoverflow.com/questions/67032523/when-using-officedown-changing-from-portait-to-landscape-causes-problems-with-pa

footer_default <- block_list(fpar(run_word_field(field = "PAGE"),
                                  fp_p = fp_par(text.align = "center") ))

block_section(prop_section(footer_default = footer_default))
```

In your 'setup' section above it, make sure your knitr options are set to prevent code, but not the results from appearing in the finished file - so that the above code code is not shown in the finished file. For some reason if you try to do it with '{r pagenumberingfix, include=FALSE}' as the header, it won't work. Your 'setup' section should look something like this:

knitr::opts_chunk$set(echo = FALSE)
library(officedown) # 0.3.0
library(officer) # 0.6.2

Hope this works for you!

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

79276096

Date: 2024-12-12 17:54:35
Score: 0.5
Natty:
Report link

Adding on the existing answers, note that you can override GitLab CI variables like CI_PIPELINE_SOURCE = 'merge_request_event' to specifically trigger your MR pipeline against a branch.

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