79514863

Date: 2025-03-17 14:29:22
Score: 4.5
Natty: 4
Report link

Actually, when you will use MultiThreadedExecutor it will work without specifying callback groups. But from the official documentation, it should also cause deadlock like in your case. Anyone has an idea why this can work?

Reasons:
  • Whitelisted phrase (-1): in your case
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: RocketFan

79514858

Date: 2025-03-17 14:27:21
Score: 1
Natty:
Report link

my error was calling videoCapture twice, once outside of my function, plus an error with image path witch caused the

 ERROR in app: Exception on /detect_faces [POST]

making the whole program stop

-fixing the image path and deleting video capture outside of the function fixed the error, and for this situation cv2.VideoCapture(0,cv2.CAP_DSHOW) was correct :)

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

79514857

Date: 2025-03-17 14:26:21
Score: 2
Natty:
Report link

Closing the project and reopening in Vscode might help. The plugin/extension might be stuck due to invalid cache.

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

79514846

Date: 2025-03-17 14:21:20
Score: 3
Natty:
Report link

This is how I use TSLint:

import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";

export default tseslint.config(
  pluginJs.configs.recommended,
  tseslint.configs.recommended, // note the change in this line

  {
    ignores: [],
    rules: {},
  }

);

Link to the full config file: https://github.com/Jay-Karia/jqlite/blob/main/eslint.config.mjs

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

79514840

Date: 2025-03-17 14:19:19
Score: 2
Natty:
Report link

I understand you're trying to download Firestore collections to your local PC. I created a simple Node.js script that exports Firestore collections to JSON files, which you can easily use for local backups and later re-upload to Firestore.

Here’s the link to the script I made: firestore-export-local

This script:

Just follow the instructions in the README, and it should work smoothly for your purpose!

Let me know if you need any help with it.

Reasons:
  • Blacklisted phrase (1): any help
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: David

79514835

Date: 2025-03-17 14:17:19
Score: 1
Natty:
Report link

If you've tried all the previous solutions and the issue still persists, simply restarting Android Studio may resolve it—it worked for me!

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

79514827

Date: 2025-03-17 14:15:18
Score: 0.5
Natty:
Report link

Recently .internal was formally accepted and reserved by ICANN for private-use applications. It can be used like *.subdomain.internal as opposed to *.subdomain.home.arpa.

The Chromium project also addresses this issue in Chrome fails to recognize wildcard SSL certs for sites xxx.home.arpa

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

79514825

Date: 2025-03-17 14:14:18
Score: 3
Natty:
Report link
you just need to install libstdc++-devel
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrew

79514823

Date: 2025-03-17 14:13:18
Score: 2.5
Natty:
Report link

try these things:

  1. disable your antivirus software
  2. run cmd with admin privilege
  3. try to use pnpm to avoid conflict
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: KT Li

79514822

Date: 2025-03-17 14:12:18
Score: 0.5
Natty:
Report link
main()
 set og_NameRng = rRng
 If CorrectRangeForHeaderRows(rRng) Then
   If CorrectForTotalRow(rRng) Then
    Set og_Rng = rRng
          bFound = True
    End If
 End If
Private Function CorrectRangeForHeaderRows(ByRef rRng As Range) As Boolean
  rRng.Select
  Dim lCorrection As Long: lCorrection = 0
  Dim vVar As Variant

  ActiveSheet.rRng.Offset(-(lCorrection + 1)).Range(Cells(1, 1), Cells(1,          ActiveSheet.rRng.Columns.Count)).Select

  vVar = Application.Match("", ActiveSheet.rRng.Offset(-(lCorrection + 1)).Range(Cells(1, 1), Cells(1, ActiveSheet.rRng.Columns.Count)), 0) 

  If Not IsError(Application.Match("", ActiveSheet.rRng.Offset(-(lCorrection + 1)).Range(Cells(1, 1), Cells(1, ActiveSheet.rRng.Columns.Count)), 0)) Then _
    Debug.Print vVar
  CorrectRangeForHeaderRows = True
  Set rRng = rRng.Resize(lCorrection)
End Function
Private Function CorrectForTotalRow(ByRef rRng As Range) As Boolean
  'The problem is that the position we want to search for do not have content in first Column but later
  rRng.Select
  Dim lCorrection As Long: lCorrection = rRng.Rows.Count
  Dim vVar As Variant
    
  ActiveSheet.rRng.Offset(lCorrection - 1).Range(Cells(1, 1), Cells(1, ActiveSheet.rRng.Columns.Count)).Select

  vVar = Application.Match("", ActiveSheet.rRng.Offset(lCorrection - 1).Range(Cells(1, 1), Cells(1, ActiveSheet.rRng.Columns.Count)), 0)

  If Not IsError(Application.Match("", ActiveSheet.rRng.Offset(lCorrection - 1).Range(Cells(1, 1), Cells(1, rRng.Columns.Count)), 0)) Then _
    Debug.Print vVar
  Set rRng = rRng.Resize(lCorrection)
  rRng.Select
  CorrectForTotalRow = True

I just want to let you know, that this is only some test code to find out how it works, more testing and error-checking has to come
I'will just tell you that I have to leave now and will be back tomorow, but I hope you have a kind of solution to the problem. I tested my self and got to the errormessage 2042 and might be I have to add sheetname
Thanks.
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jo-Helge Rorvik

79514818

Date: 2025-03-17 14:11:17
Score: 2.5
Natty:
Report link

like sebastien I started to use pytest_easyMPI, but sadly this module does not seem to be maintained. I prefer to use pytest-isolate-mpi (https://github.com/dlr-sp/pytest-isolate-mpi) which is more up-to-date

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

79514806

Date: 2025-03-17 14:05:16
Score: 1
Natty:
Report link

The problem is that grep -r -H -P "2\.897" . doesn’t find matches because your files likely lack the exact string "2.897". The working command, grep -r -H -P "2.897" ., succeeds by matching a wider range of strings where the dot is any character (e.g., "2,897", "2-897"). Check your files to see what they actually contain, and adjust your pattern or data accordingly to meet your regex goal

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

79514783

Date: 2025-03-17 13:56:14
Score: 1
Natty:
Report link

I'm no expert of Harmony so I couldn't explain the difference between the 2 approach unfortunately but this line does work for me :

from ToonBoom import harmony

harmony.session().project.scene.clipboard.paste_template_into_group("C:\\my\\super\\path\\towards\\the\\template.tpl", 1,"Top") # (beware, the double backslashes are mandatory if you are on windows)

Hope this is helpful

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

79514782

Date: 2025-03-17 13:56:14
Score: 2
Natty:
Report link

This error occurs because you paste a second JSON after the first JSON.

What you should do is remove the last bracket of the first JSON and the first bracket of your second JSON, to have a single JSON in your JSON file (which is the indented use for .json files).

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

79514781

Date: 2025-03-17 13:56:14
Score: 1.5
Natty:
Report link

This has a solution. Extension is in using Microsoft.Azure.WebJobs.Hosting;

using Microsoft.Extensions.DependencyInjection;.

It will be called automatically on startup. It ran migrations.

EF Core Migrations in Azure Function startup

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

79514778

Date: 2025-03-17 13:55:14
Score: 0.5
Natty:
Report link

Calling functions from the template is not possible in Django normally, however this call templatetag provides this capability for any method you would like to evaluate. It is available in the dj-angles library and can be installed via pip install dj-angles.

{% call obj.get_something(...) as something %}

{{ something }}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: adparadox

79514766

Date: 2025-03-17 13:50:12
Score: 0.5
Natty:
Report link

You can just add wsl before the command you want to run, for example

wsl ln -sf  /mnt/wslg/runtime-dir/wayland-* $XDG_RUNTIME_DIR/ 
wsl SDL_VIDEODRIVER="wayland" code .
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: link89

79514761

Date: 2025-03-17 13:49:12
Score: 3
Natty:
Report link

Have each "running_batch" at its conclusion add 1 to a variable and when the variable = 4 start the next set after resetting the variable to 0

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

79514760

Date: 2025-03-17 13:49:12
Score: 1.5
Natty:
Report link

To make the text inside the box wrap when it exceeds the box's width (and not the screen), you can modify the CSS in the following way:

  1. Use word-wrap (or overflow-wrap) to ensure the text wraps properly.
  2. Remove overflow: hide and adjust the box model properly to ensure content wraps without clipping.
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Anto Navis

79514752

Date: 2025-03-17 13:46:11
Score: 2.5
Natty:
Report link

If you are facing this issue in IntelliJ try unchecking "SkipTests" from Settings -> Build, Execution, Deployment -> Maven -> Runner

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

79514750

Date: 2025-03-17 13:45:11
Score: 1
Natty:
Report link

In order to set the column witdh in ApexCharts, just add the width as follows (only percentages are allowed):

plotOptions: {
      bar: {
          columnWidth: '70%',
      }
}

More configurations on the plotOptions Apexcharts Bar

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

79514745

Date: 2025-03-17 13:42:11
Score: 3.5
Natty:
Report link

Here is my demo. It is NOT efficient and I am looking forward to better solutions.

#! /usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
import cv2

myImage = cv2.imread(sys.argv[1])
(my_h, my_w, _) = myImage.shape
gray = cv2.cvtColor(myImage, cv2.COLOR_BGR2GRAY)
for h in range(my_h-3):
    for w in range(my_w-3):
        slice=gray[h:h+3, w:w+3]
        if (slice[0,0]==255 and slice[0,1]==255 and slice[0,2]==255 \
        and slice[1,0]==255 and slice[1,1]< 255 and slice[1,2]==255 \
        and slice[2,0]==255 and slice[2,1]==255 and slice[2,2]==255 ):
            myImage[h+1,w+1]=[255,255,255]
cv2.imwrite(sys.argv[1]+".denoise.png", myImage)

I tried imagemagick with no luck.

sample.png, sample.png.denoise.png, sample.Erode.png, sample.Dilate.png, sample.Open.png, sample.Close.png, sample.Smooth.png

From left to right:

#sample.png
python denoise.py sample.png #sample.png.denoise.png
magick sample.png -morphology Erode  Ring:1.5 sample.Erode.png
magick sample.png -morphology Dilate Ring:1.5 sample.Dilate.png
magick sample.png -morphology Open   Ring:1.5 sample.Open.png
magick sample.png -morphology Close  Ring:1.5 sample.Close.png
magick sample.png -morphology Smooth Ring:1.5 sample.Smooth.png
Reasons:
  • Blacklisted phrase (2): I am looking for
  • Blacklisted phrase (1): no luck
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Schezuk

79514740

Date: 2025-03-17 13:40:10
Score: 1
Natty:
Report link

I found the answer to my own question by accident shortly after posting this last year.

The bash script is still technically SSHed onto our main working server, and without manually exiting the script, the connection will go stale and wreak havoc on the Docker container behavior. I do not know WHY the Docker container misbehaves so badly when this connection goes stale. I believe it may be because that script is still trying to run and maintain an SSH connection despite being long disconnected from our main server.

If you are doing any kind of remote connections from your container to another server/environment, make sure you cleanly sever those connections after you perform your tasks. Alternatively check your server's ssh timeout.

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

79514725

Date: 2025-03-17 13:36:09
Score: 1
Natty:
Report link

You can implement a simple function to calculate the overlap between two time ranges similar to how it's done here: Efficient date range overlap calculation?

Then the number of hours worked in each shift is just the overlap between the employee's working time with that specific shift working hours.

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

79514721

Date: 2025-03-17 13:35:08
Score: 0.5
Natty:
Report link

This is quite an interesting problem.

In such cases where I want to implement a functionality similar to the one of a loop, I usually group all the rows together in an ordered array of arrays, and then I perform aggregation, where for every element (equivalent to row) I update the state based on some logic and save it afterwards.

I will guide you through the process. I managed to make it work for the example you sent, with one slight difference, which is actual median calculation instead of percentile_approx() function which doesn’t give us the exact median, but in a variation of this solution you can also use percentile_approx.

I’ll guide you through my solution, showing the example you used:

Algorithm:
Input: df(id, value)
Output: df(id, median_of_last_5_values)
Step 1: Combine the data frame into one row (id_array, values_array)
Step 2: Iterate through values using an aggregator that checks every new value in the list and decides whether we keep it
    array = last_array_of_accumulator
    We have two cases:
        if size(array) <= 5: try_array = array + next_element
        else: try_array = remove_first_element(array) + next_element
    We compute the median for the try_array, and:
        if median > 35: add array to accumulator
        else:  add try_array to accumulator
    // Then this returned value will be used on the next step.
Step 3: Post-processing of the result

How would it look like in your example: 
Step 1: Combining values in one row:

Combined values

Step 2:
First iteration: Value 10, accumulator=[[]]
array = []
try_array = [] + 10 = [10]
median < 35 => return [10] => accumulator = [[], [10]]
Second iteration: Value 20
array = [10]
try_array = [10] + 20 = [10,20]
Median < 35 => return [10,20] => accumulator = [[],[10],[10,20]]
…. skipping to iteration nr 7
Seventh iteration: Value 70,  accumulator = [[],[10],[10,20],[10,20,30],[10,20,30,40],[10,20,30,40,50],[10,20,30,40,50,60]]
array = [10,20,30,40,50,60]
try_array = [20,30,40,50,60] + 70 = [20,30,40,50,60,70]
Median > 35 => return [10,20,30,40,50,60] 
=> accumulator = [[],[10],[10,20],[10,20,30],[10,20,30,40],[10,20,30,40,50],[10,20,30,40,50,60],[10,20,30,40,50,60]]

Now, the implementation:

Step 1:

df = df.withColumn("dummy", lit(1)).groupBy("dummy").agg(
    collect_list("id").alias("id_list"),
    collect_list("value").alias("values_list")
)

Step 2: I used this calculation for median (in Spark SQL):

CASE WHEN size(preceding_values) % 2 == 0 then (array_sort(preceding_values)[cast(size(preceding_values)/2 as int)]  + array_sort(preceding_values)[cast(size(preceding_values)/2 as int)-1])/2
ELSE array_sort(preceding_values)[cast(size(preceding_values)/2 as int)]
END

But using this inside the aggregation generates messy code, so I would do the median calculation of an array using a UDF, such as:

def median(arr):
    if not arr:
        return None
    n = len(sorted_arr)
    if n%2 == 1:
        return float(sorted_arr[n // 2])
    else:
        return float((sorted_arr[n // 2 - 1] + sorted_arr[n // 2]) / 2)

median_udf = udf(calculate_median, FloatType())

and then only use this function directly in the calculations. The code:

aggregation_logic = expr("""
    aggregate(
        values_list,
        cast(array(array()) as array<array<int>>),
        (acc, x) -> 
            CASE 
                WHEN size(acc[size(acc) - 1]) > 5 
                THEN (
                    CASE 
                        WHEN {median_udf}(array_append(array_remove(acc[size(acc) - 1], acc[size(acc) - 1][0]), x)) > 35 
                        THEN array_append(acc, acc[size(acc) - 1])
                        ELSE array_append(acc, array(array_append(array_remove(acc[size(acc) - 1], acc[size(acc) - 1][0]), x)))
                    END
                )
                ELSE (
                    CASE 
                        WHEN {median_udf}(array_append(acc[size(acc) - 1], x)) > 35
                        THEN array_append(acc, acc[size(acc) - 1]) 
                        ELSE array_append(acc, array(array_append(acc[size(acc) - 1], x))
                    END
                )
            END
    )
""".format(median_udf=median_udf))

result_df = df.withColumn("considered_arrays", aggregation_logic)

Your result at this stage should look like this (in the example):

Arrays to be considered

Step 3:
We have 12 id's and 12 values, but 13 elements in the considered_arrays, because of the initial empty array in the accumulator. We remove that:

df = df.withColumn(“considered_arrays”, expr(“array_remove(considered_arrays, array())”))

Then to flatten the results, use the following:

df = df.select(“id_list”, “considered_arrays”)
       .withColumn(“result_struct”, expr(“arrays_zip(id_list, considered_arrays)”)
       .select(“result_struct”)

And finally, calculate medians:

result_df = df.withColumn(“id”, “result_struct.id_list”)
              .withColumn(“median”, median_udf(“result_struct.considered_arrays”))

This is just a solution with mostly Spark built-in functionality and it’s not efficient, especially in terms of huge datasets. Keep in mind, that although I’m reducing to one row, the sizes of these arrays will be huge, and the execution will be sequential. Since we have only one row, there is no parallelization among multiple workers, so scale-out won’t be much help in this case, maybe only scale-up in cases of memory issues.

If you want a more scalable solution, try implementing a similar logic completely using udf’s, or e.g. partitioning data using dummy column, and then finding a way to keep data continuity between different groups - depending on your data. The latter would be very hard, but also extremely beneficial as you would have smaller arrays to work with on one machine, and distributed execution - each worker is assigned a group.

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

79514707

Date: 2025-03-17 13:27:04
Score: 6 🚩
Natty: 5.5
Report link

I'm having the same problem now and none of these suggestions worked for me.

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: CHARLES ROBINSON

79514697

Date: 2025-03-17 13:21:03
Score: 2.5
Natty:
Report link

Someone might ask, "Why does element 24 have to go to the top of the series?" The answer is simply that this is just a basic example.

The test I conducted aimed to move the element with key 24 to the top while leaving the rest unchanged. As I mentioned, in my test, I was able to achieve what I wanted, so now I just need to recreate the initial situation.

The question, therefore, is: how can I place the associative array inside an array that contains everything?

To answer another question, the keys in the desired result are actually supposed to be 0, 1 and 3 and so on, yes.

Reasons:
  • Blacklisted phrase (1): another question
  • Blacklisted phrase (0.5): how can I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Franco Giambalvo

79514693

Date: 2025-03-17 13:19:02
Score: 0.5
Natty:
Report link

Try unicode:

up_arrow = '\u2197'  # Up arrow
down_arrow = '\u2198'  # Down arrow
right_arrow = '\u2192'  # Right arrow

Comment out (or delete) the following:

#Set font properties for the first three rows
#for (i, j), cell in rect.get_celld().items():
#    if i < 3:  # First three rows
#        cell.set_fontsize(12)
#        cell.set_text_props(fontname='Arial')  # Change to your desired fon    t
#    else:  # Last row with Wingdings
#        cell.set_fontsize(12)
#        cell.set_text_props(fontname='Wingdings 3')

The output:

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Man made of meat

79514692

Date: 2025-03-17 13:18:02
Score: 3.5
Natty:
Report link

You can go through the documents available at GitHub. Correlating traces with logs

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

79514687

Date: 2025-03-17 13:16:02
Score: 2
Natty:
Report link

I was having the same issue even if all the settings was okay. The only issue I found out was comments. If your piece of code (to be copied and pasted) starts with any commented line, it will only paste the first line correctly and rest of the lines will be pasted at the start

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

79514685

Date: 2025-03-17 13:16:02
Score: 2.5
Natty:
Report link

Regarding the error with applying the Ehlers Roofing Filter on SMI, we've identified and fixed a configuration conflict that was causing the issue. The filter is now being applied successfully. If you experience any further problems, feel free to reach out.

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

79514679

Date: 2025-03-17 13:14:01
Score: 0.5
Natty:
Report link

Calling functions from the template is not possible in Django normally, however this call templatetag provides this capability for any method you would like to evaluate. It is available in the dj-angles library and can be installed via pip install dj-angles.

{% call obj_customer.get_something(...) as something %}

{{ something }}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: adparadox

79514678

Date: 2025-03-17 13:14:01
Score: 3.5
Natty:
Report link

If it can be useful to someone else, try changing x-ms-version to 2020-07-15

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

79514677

Date: 2025-03-17 13:14:01
Score: 0.5
Natty:
Report link
  1. Run the Visual Studio 2022 Installer

    Find the program you use to add new frameworks to your Visual Studio 2022 installation and run it

  2. Click on Modify

    You will see three buttons namely Modify, Repair and Uninstall.

    Click on Modify

  3. Check the Workload ticked in blue like in the screenshot below

    enter image description here

    Click on Install while downloading to start thedownload and installation process.

4. Wait for Visual Studio Installer to download the workload and then launch Visual Studio 2022 Community

After the installer installs the workload then close it and restart Visual Studio Community 2022 and you will now be able to Create a new Windows Forms Project using .NET Framework

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

79514667

Date: 2025-03-17 13:11:01
Score: 1
Natty:
Report link

Merci, votre code m'a beaucoup aidé, c'était une révélation, après 7h de débugage !

  ->withMiddleware(function (Middleware $middleware) {
         $middleware->alias([
             'role' => RoleMiddleware::class,
         ]);
     })
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: alberto bonguele

79514666

Date: 2025-03-17 13:11:01
Score: 1
Natty:
Report link

you should see Garmin sensor dcumentation. The Code that should work is:

function initialize() {
    Sensor.setEnabledSensors( [Sensor.SENSOR_HEARTRATE] );
    Sensor.enableSensorEvents( method( :onSensor ) );
}

function onSensor(sensorInfo as Sensor.Info) as Void {
    System.println( "Heart Rate: " + sensorInfo.heartRate );
}

if it isn't working and you don't forgot all the rest of the code (you can generate with monkey c extension in visual studio code) remember that garmin edge isn't tracking heart rate you need garmin hrm.

It should work,
Tobiasz

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

79514665

Date: 2025-03-17 13:10:00
Score: 3
Natty:
Report link

Spring-boot community suggests to tell Spring AOT at build time what features you're going to use:

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

79514662

Date: 2025-03-17 13:09:00
Score: 3
Natty:
Report link

I had to install dotnet 8 alongside my version 9 and make sure it was added to PATH.

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

79514659

Date: 2025-03-17 13:06:59
Score: 0.5
Natty:
Report link

We can use the provided drag and drop feature. I believe it would be more easy than writing custom CSS. You can refer to below screenshot for the same.

Splunk

I hope this helps you in any way possible.

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

79514655

Date: 2025-03-17 13:05:59
Score: 2
Natty:
Report link
.text-container {
    word-wrap: break-word;     
    overflow-wrap: break-word; 
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sagar Vaghela

79514652

Date: 2025-03-17 13:04:58
Score: 4.5
Natty: 5
Report link

same error ! , please if you have the solution send it to me !

Reasons:
  • RegEx Blacklisted phrase (1): same error
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AhmedELHIba

79514649

Date: 2025-03-17 13:03:58
Score: 4.5
Natty: 5
Report link

short answer: Happy Wheels encrypts level XMLs. it is possible to decrypt it, but it's quite hard. Do you have Discord?

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

79514648

Date: 2025-03-17 13:02:57
Score: 2
Natty:
Report link

The information given by services is that the postgresql service has not started or failed to start. It is suggested to start it again, and then check the log of postgresql. According to the contents of the log, our group will solve the problem.

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

79514647

Date: 2025-03-17 13:02:57
Score: 1.5
Natty:
Report link

I'm in the same mess. If you dig through their garbage tank documentation, you can find a form.

You fill in the form and they'll try and get you to notarise permission for a replacement. Which you have to pay for.

I just blocked their emails. They know what the problem is, they just have to give me the ability to change my MFA. Worst customer service experience of any company in my life.

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

79514633

Date: 2025-03-17 12:59:56
Score: 3.5
Natty:
Report link

The reason was the max.block.ms config was not set and it defaults to 60000ms.

https://docs.confluent.io/platform/current/installation/configuration/producer-configs.html#max-block-ms

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

79514628

Date: 2025-03-17 12:57:55
Score: 2.5
Natty:
Report link

I had to add

REQUIRES app_update 
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ian Daintith

79514603

Date: 2025-03-17 12:48:53
Score: 1
Natty:
Report link
  1. printf is a variadic function

    printf takes a format string to interpret additional arguments. Since %d expects an integer, but none is provided, printf still tries to fetch an argument from the stack (or a register), leading to undefined behavior (UB).

  2. Why does it compile?

    C does not check the number of arguments passed to printf() at compile time (unless warnings are enabled).

  3. What happens at runtime?

    Since printf("%d") expects an integer but gets random data instead, the output is garbage or might cause a segmentation fault.

How to Fix it

Always provide the correct argument:

printf("%d", 42);  // Correct

Enable compiler warnings to catch such mistakes:

gcc -Wall -Wformat -o program program.c
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): is a
  • Low reputation (0.5):
Posted by: Alphin Thomas

79514600

Date: 2025-03-17 12:45:53
Score: 1.5
Natty:
Report link
@OnDelete(action = OnDeleteAction.SET_NULL)

^^^
This is the solution to setting values to null after parent got cascaded, add this above the column and it will be working.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mart van der Molen

79514592

Date: 2025-03-17 12:40:51
Score: 3
Natty:
Report link
header 1 header 2
cell 1 cell 2
cell 3 cell 4
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mehedi Hasan

79514591

Date: 2025-03-17 12:39:50
Score: 2
Natty:
Report link

it is hard to say anything without the logs. But there are a few things:

  1. Try to fine tune kafka_max_block_size too.

  2. Do you have enough resources? 400-500k event per seconds might require a lot of resources. Maybe some of you consumers are starved?

  3. Maybe those lagging topics have some malformed messages and clickhouse is just stuck on them?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: János Benjamin Antal

79514566

Date: 2025-03-17 12:28:46
Score: 2.5
Natty:
Report link

If you're implementing Vertex AI Search for a project, you may also need to configure language preferences in your dataset schema or apply filtering in API queries. Google’s AI models support multi-language processing, so setting up the right parameters is crucial for accurate results.

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

79514564

Date: 2025-03-17 12:25:46
Score: 1
Natty:
Report link

There is no maximum size limit, and the documents even say that "Loading very large files (e.g. 100 GB or larger) is not recommended."

https://docs.snowflake.com/en/user-guide/data-load-considerations-prepare#general-file-sizing-recommendations

So 2 GB shouldn't hit any limit. Can you also try to upload a non-compressed version of the same file?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Gokhan Atil

79514555

Date: 2025-03-17 12:24:45
Score: 0.5
Natty:
Report link

You have to delete the following file to fix autoloading.

%LocalAppData%\Microsoft\Windows\PowerShell
    ModuleAnalysisCache
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: David Trevor

79514554

Date: 2025-03-17 12:24:43
Score: 6.5 🚩
Natty: 5.5
Report link

@brucewayne

Thanks for sharing. This helped me.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (2): Thanks for sharing
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @brucewayne
  • Low reputation (1):
Posted by: Dan

79514548

Date: 2025-03-17 12:20:42
Score: 2.5
Natty:
Report link

can I check what part of the code needs to change if my enc value is "A256CBC-HS512"?

When I try to do the same thing I get a "Data Error: Invalid Key length" when calling unwrapKey method. I tried to pass "AES-CBC" instead of "AES-GCM" as well but same error. Fyi the Uint8Array of my encrypted key is 72 bytes long.

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): can I
  • Low reputation (0.5):
Posted by: FlyGuy352

79514537

Date: 2025-03-17 12:16:41
Score: 4
Natty:
Report link

I think you should go for a youtube video so it will eventually help you visually to solve your probelm. Regards

Reasons:
  • Blacklisted phrase (1): Regards
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: arsal baig

79514530

Date: 2025-03-17 12:13:41
Score: 2
Natty:
Report link

The Shopify Billing API only supports paid plans (non-zero amounts). For a free plan, manage access on your side (e.g., using your database or store domain checks) instead of using the API.

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

79514516

Date: 2025-03-17 12:05:39
Score: 0.5
Natty:
Report link

It's incorrect what is wrote.

WebFlux you must use in Reactive mode with mono and flux as producer/consumer in multi thread on real CPU thread so you must use any external service in reactive so then try to compare performance it's impressive. So it have a big framework support developers community for solutions, problems and performance.

At now nobody can reach Spring Webflux Framework, I think that only go have similar performances.

It's a little tough because change programming style using producer/consumer in multi thread vision of framework but after 1 month you will see performance of apps impressive.

So I advice learn Spring Webflux Framework and don't use native to speedup startup application remove tons of libraries in springboot-webflux library that all add without think that searching beans and configuration lost a lot of time on startup application to do nothing because that objects in your Spring Application aren't used.

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

79514515

Date: 2025-03-17 12:04:39
Score: 1
Natty:
Report link

We can use case statement as well.

SELECT  DocDate,
    CASE 
        WHEN DAY(DocDate) BETWEEN 1 AND 7 THEN 1
        WHEN DAY(DocDate) BETWEEN 8 AND 14 THEN 2
        WHEN DAY(DocDate) BETWEEN 15 AND 21 THEN 3
        ELSE 4  -- Covers 22nd to end of the month
    END AS Monthpart
FROM mytable;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arabi Nambi

79514514

Date: 2025-03-17 12:04:39
Score: 1
Natty:
Report link

In my case it was because Cloud Shell Editor had reconnected, but somehow not fully set up credentials. Ctrl R fixed it.

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

79514510

Date: 2025-03-17 12:04:39
Score: 1.5
Natty:
Report link

Port was closed after i did
docker swarm leave --force
restarting docker, removing all networks and containers didn't help.

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

79514507

Date: 2025-03-17 12:02:38
Score: 1
Natty:
Report link

Made it work using %X instead for time

timestampformat = '%-m/%-d/%Y, %X.%g %p'

or

CAST(strptime(TimeGeneratedUTC,'%-m/%-d/%Y, %X.%g %p') as TIMESTAMP) TimeGeneratedUTC

Still curious why %-I:%-M:%-S does not work instead of %X:

timestampformat = '%-m/%-d/%Y, %-I:%-M:%-S.%g %p'

(neither in read_csv nor cast)

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

79514493

Date: 2025-03-17 11:57:36
Score: 4
Natty:
Report link

You cannot run scheduled tasks as administator anymore, only regular user (INTERACTIVE)

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

79514492

Date: 2025-03-17 11:57:36
Score: 1
Natty:
Report link
transitionBuilder: (context, animation, secondaryAnimation, child) {
  return SlideTransition(
    position: Tween<Offset>(
      begin: Offset(1, 0), // Start from the right
      end: Offset(0, 0),
    ).animate(animation),
    child: child,
  );
},
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: appvedas

79514486

Date: 2025-03-17 11:53:35
Score: 2
Natty:
Report link

Library IEEE;

USE ieee.std_logic_1164.all;

ENTITY en_8_3 IS

PORT (DIN BIT_VECTOR(7 downto 0);

Y:OUT BIT_VECTOR(2 downto 0));

END en_8_3;

ARCHITECTURE dataflow OF en_8_3 IS

BEGIN

Y(2) <= D(7) or D(6) or D(5) or D(4);

Y(1) <= D(7) or D(6) or D(3) or D(2);

Y(0) <= D(7) or D(5) or D(3) or D(1);

END dataflow;

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

79514481

Date: 2025-03-17 11:52:35
Score: 1
Natty:
Report link

There is a way to do this using var (added in Java 10):

var frenchGreeting = new HelloWorld() {
    public void g2() { System.out.println("do this too.. ");}
    public void greet() {  System.out.println("Salute ");  }
};

frenchGreeting.g2();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: James

79514480

Date: 2025-03-17 11:51:35
Score: 0.5
Natty:
Report link

Make sure the Vault CSI provider is correctly mounted and that the Kubernetes auth method is configured.

Make sure that the Kubernetes auth method is enabled and properly configured in Vault:

vault auth list

Check the secret is being created in Kubernetes:

kubectl get secret vault-n8n-creds-secret -n n8n
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ravi Kyada

79514478

Date: 2025-03-17 11:50:34
Score: 1
Natty:
Report link

OK, after trying a lot of ways, finally found a way. actually there are multiple ways.

when you run the command flutter build web it generates the web application but uses the Google Noto Emoji font by default, wanna change it? it does not seem easy. but guess what, it uses this only when rendering whit CanvasKit (No idea what's that) (you can read about it and flutter web rendering here).

Solutions

html rendering (best approach)

just instead of using CanvasKit use html. change the flutter build web to flutter build web --web-renderer

good for deployment. you dont need to add any large files, everything is going to be handled by the OS.

asset font

you can asset all fonts you need in the pubspec and in code check for platforms and use the proper font (or use fontFamilyFallback). the size of web will be large, so not good for deployment. but it works.

CSS injection

set the font using CSS instead of dart or flutter.

example:

import 'dart:html' as html;

void main() {
  final style = html.StyleElement();
  style.innerHtml = '''
    @font-face {
      font-family: 'NativeEmojiFallback';
      src: local('Apple Color Emoji'), local('Segoe UI Emoji'), local('Noto Color Emoji');
    }
    html, body {
      font-family: 'NativeEmojiFallback', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }
  ''';
  html.document.head!.append(style);
  runApp(MyApp());
}

WebView

write some HTML CSS files, put them on asset folder. just show them using WebView.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Mahsein

79514465

Date: 2025-03-17 11:44:33
Score: 0.5
Natty:
Report link

DOMPurify can work on server with a dom library. They suggest jsdom in their docs.

You should also check out isomorphic-dompurify for a convenient solution for running it both in client and server.

Since I'm currently running into problems with isomorphic-dompurify inside Astro I can't promise you success :)

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

79514458

Date: 2025-03-17 11:41:32
Score: 1
Natty:
Report link
d = {'a': [1], 'b': [1, 2], 'c': [], 'd':[]}

d = {k:v for k,v in d.items() if type(v) == list and len(v)>0}

print(d)

Output:

{'a': [1], 'b': [1, 2]}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: DiamondHeart

79514457

Date: 2025-03-17 11:40:32
Score: 2.5
Natty:
Report link

Press C-c (Control-c) to clear the entire thing, at least as of fish 4.0.1.

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

79514455

Date: 2025-03-17 11:40:32
Score: 0.5
Natty:
Report link

Check the compatibility matrix for metricbeat OSS and Opensearch. A similar discussion is here.

Make sure that

  1. Both metricbeat and elasticsearch at the same version.

  2. Both beat and ES is on OSS version.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Musab Dogan

79514442

Date: 2025-03-17 11:35:31
Score: 1
Natty:
Report link

Here are a few optimizations and alternative approaches to improve performance:

1. Optimize Image Processing

2. Reduce Read/Write Operations

3. Canvas Size & Scaling Fix

4. Use a Shader Approach

Please Brother Let Me Know If This Helps.

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

79514441

Date: 2025-03-17 11:35:31
Score: 2.5
Natty:
Report link

When creating .Net Network nodes and Test Modules always create .sln. It will configure the project correctly automatically.

Also make sure you're compiling from Visual Studio.

When building from CANoe it only compiles the current file, not the whole solution.

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

79514429

Date: 2025-03-17 11:28:29
Score: 5.5
Natty: 6
Report link

I have notepad++ v8.7.7 and the "RTL" does not work!

What can I do?

Reasons:
  • Blacklisted phrase (1): can I do
  • Blacklisted phrase (1): What can I do
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Azriel Berger

79514428

Date: 2025-03-17 11:27:29
Score: 1
Natty:
Report link

I think you need to use the all method

public function returnChallenge(Request $request)
    {
        return response()->json(['challenge' => $request->all()['challenge']]);
    }

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

79514427

Date: 2025-03-17 11:27:26
Score: 6 🚩
Natty:
Report link

@Doug's answer works perfectly for me!

Reasons:
  • Low length (2):
  • No code block (0.5):
  • User mentioned (1): @Doug's
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Daniel Tabares Taborda

79514424

Date: 2025-03-17 11:26:26
Score: 3
Natty:
Report link

My project is a bit more complex, my page.tsx is not empty can someone help?

This is my tree

.
├── bun.lock
├── components.json
├── middleware.ts
├── next.config.js
├── next-env.d.ts
├── package.json
├── postcss.config.js
├── prettier.config.js
├── prisma
│   ├── migrations
│   │   ├── 20250314152021_start
│   │   │   └── migration.sql
│   │   └── migration_lock.toml
│   └── schema.prisma
├── public
│   ├── create.svg
│   ├── favicon.ico
│   └── logo.svg
├── README.md
├── src
│   ├── app
│   │   ├── api
│   │   │   ├── auth
│   │   │   │   └── [...nextauth]
│   │   │   │       └── route.ts
│   │   │   ├── process-meeting
│   │   │   │   └── route.ts
│   │   │   └── trpc
│   │   │       └── [trpc]
│   │   │           └── route.ts
│   │   ├── _components
│   │   │   └── post.tsx
│   │   ├── layout.tsx
│   │   ├── page.tsx
│   │   ├── (protected)
│   │   │   ├── app-sidebar.tsx
│   │   │   ├── billing
│   │   │   │   └── page.tsx
│   │   │   ├── create
│   │   │   │   └── page.tsx
│   │   │   ├── dashboard
│   │   │   │   ├── action.ts
│   │   │   │   ├── archive-button.tsx
│   │   │   │   ├── ask-question-card.tsx
│   │   │   │   ├── code-references.tsx
│   │   │   │   ├── commit-log.tsx
│   │   │   │   ├── meeting-card.tsx
│   │   │   │   └── page.tsx
│   │   │   ├── layout.tsx
│   │   │   ├── meetings
│   │   │   │   ├── [meetingId]
│   │   │   │   │   ├── issues-list.tsx
│   │   │   │   │   └── page.tsx
│   │   │   │   └── page.tsx
│   │   │   ├── page.tsx
│   │   │   └── qna
│   │   │       └── page.tsx
│   │   └── sign-in
│   │       └── page.tsx
│   ├── components
│   │   ├── custom
│   │   │   └── UserButton.tsx
│   │   └── ui
│   │       ├── accordion.tsx
│   │       ├── alert-dialog.tsx
│   │       ├── alert.tsx
│   │       ├── aspect-ratio.tsx
│   │       ├── avatar.tsx
│   │       ├── badge.tsx
│   │       ├── breadcrumb.tsx
│   │       ├── button.tsx
│   │       ├── calendar.tsx
│   │       ├── card.tsx
│   │       ├── carousel.tsx
│   │       ├── chart.tsx
│   │       ├── checkbox.tsx
│   │       ├── collapsible.tsx
│   │       ├── command.tsx
│   │       ├── context-menu.tsx
│   │       ├── dialog.tsx
│   │       ├── drawer.tsx
│   │       ├── dropdown-menu.tsx
│   │       ├── form.tsx
│   │       ├── hover-card.tsx
│   │       ├── input-otp.tsx
│   │       ├── input.tsx
│   │       ├── label.tsx
│   │       ├── menubar.tsx
│   │       ├── navigation-menu.tsx
│   │       ├── pagination.tsx
│   │       ├── popover.tsx
│   │       ├── progress.tsx
│   │       ├── radio-group.tsx
│   │       ├── resizable.tsx
│   │       ├── scroll-area.tsx
│   │       ├── select.tsx
│   │       ├── separator.tsx
│   │       ├── sheet.tsx
│   │       ├── sidebar.tsx
│   │       ├── skeleton.tsx
│   │       ├── slider.tsx
│   │       ├── sonner.tsx
│   │       ├── switch.tsx
│   │       ├── table.tsx
│   │       ├── tabs.tsx
│   │       ├── textarea.tsx
│   │       ├── toggle-group.tsx
│   │       ├── toggle.tsx
│   │       └── tooltip.tsx
│   ├── env.js
│   ├── hooks
│   │   ├── use-mobile.tsx
│   │   ├── use-project.ts
│   │   └── use-refetch.ts
│   ├── lib
│   │   ├── assembly.ts
│   │   ├── firebase.ts
│   │   ├── gemini.ts
│   │   ├── github-loader.ts
│   │   ├── github.ts
│   │   └── utils.ts
│   ├── server
│   │   ├── api
│   │   │   ├── root.ts
│   │   │   ├── routers
│   │   │   │   ├── post.ts
│   │   │   │   └── project.ts
│   │   │   └── trpc.ts
│   │   ├── auth
│   │   │   ├── config.ts
│   │   │   └── index.ts
│   │   ├── context.ts
│   │   └── db.ts
│   ├── styles
│   │   └── globals.css
│   └── trpc
│       ├── query-client.ts
│       ├── react.tsx
│       └── server.ts
├── start-database.sh
├── tailwind.config.ts
├── tsconfig.json
└── vercel.json

33 directories, 111 files
Reasons:
  • RegEx Blacklisted phrase (3): can someone help
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Utkarsh Pandey

79514409

Date: 2025-03-17 11:20:25
Score: 2
Natty:
Report link
$ = jQuery; 

can work too.
It should be at the top of the file or function and it will re-apply jQuery to $.
This is not the best way though.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): can
  • Low reputation (1):
Posted by: null

79514399

Date: 2025-03-17 11:15:24
Score: 3
Natty:
Report link

The SurrealDB Python SDK project is quite young while it complements a great database with many features. Some features might come in the future like Connection Pooling anyway, here’s a lightweight project that allows that functionality in the meantime. Purreal - a plugin for the SurrealDB Python SDK

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

79514389

Date: 2025-03-17 11:10:23
Score: 1
Natty:
Report link

You should check if the secret "vault-n8n-creds-secret" really exists in the Namespace "n8n". (kubectl get secret -n n8n)

Check also events of the SecretProviderClass and watch out for errors. Maybe secret "vault-n8n-creds-secret" cannot be created for some reason.

In addition to that check wether the Role "n8n" has permissions to read Secrets. (kubectl get role -n n8n).

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

79514377

Date: 2025-03-17 11:05:21
Score: 0.5
Natty:
Report link

I ended using an ifelse function to detect where rows contained an AM/PM and then specifying format using that, which works pretty well I think.

hobo_dat$DateTime_BST_cor <- ifelse(
  grepl("AM|PM", hobo_dat$DateTime_BST),  # If the datetime string contains AM/PM
  as.POSIXct(hobo_dat$DateTime_BST, format = "%m/%d/%y %I:%M:%S %p"),  # Parse with 12-hour format (AM/PM)
  as.POSIXct(hobo_dat$DateTime_BST, format = "%m/%d/%Y %H:%M")          # Parse with 24-hour format
)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: mikejwilliamson

79514370

Date: 2025-03-17 11:04:21
Score: 0.5
Natty:
Report link

Here's my updated script that finally worked, thanks to your help! I had to put the account name twice in the resources, add parentheses to the table name and update the stringToSign a bit, I had the word GET which was unnecessary.

const crypto = require('crypto');

const accountName = 'devstoreaccount1';
const accountKey = 'Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==';
const tableName = 'AuditLogs()';
const date = new Date().toUTCString();

const canonicalizedResource = `/${accountName}/${accountName}/${tableName}`;

const stringToSign = `${date}\n${canonicalizedResource}`;

const signature = crypto
    .createHmac('sha256', Buffer.from(accountKey, 'base64'))
    .update(stringToSign, 'utf8')
    .digest('base64');

const authorizationHeader = `SharedKeyLite ${accountName}:${signature}`;

console.log(`Date: ${date}`);
console.log(`Authorization: ${authorizationHeader}`);
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sora Teichman

79514365

Date: 2025-03-17 11:02:21
Score: 2.5
Natty:
Report link

It can also happen when you unplug the power supply from the power outlet and/or the CMOS Battery is low. You can solve it by resetting the CMOS RAM with the corresponding button on the motherboard and/or changing the CMOS Battery.

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

79514355

Date: 2025-03-17 10:56:19
Score: 2
Natty:
Report link

If your Vue.js project is created using/by/from Udemy Courses or any other online teaching platform for free/cost or if you made it from scratch by combining codes from multiple projects or code trust me it would work once and gives you where each every time and I have also experienced it, so just take your whole project and past don'tChatGPTt/deep seek ai/or any other ai or coding ai and rectify it is the simplest way.

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

79514352

Date: 2025-03-17 10:54:19
Score: 1
Natty:
Report link

I'm did this, but I observe that when you rotate the screen then the Text is set at it's right location.

you're Text location is bottom-right and after rotate the screen it became on same location. so what would you Ask specially.

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

79514350

Date: 2025-03-17 10:53:19
Score: 3
Natty:
Report link
If you malloc after strlen, you need to add +1 because 'hello\0' is 6 bytes.
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jea

79514349

Date: 2025-03-17 10:53:16
Score: 9.5 🚩
Natty: 6
Report link

have you been able to solve the problem? I'm also facing the same problem. I need my login page to always be displayed so I can enter my username and password.

Reasons:
  • Blacklisted phrase (1.5): have you been able to
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm also facing the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Favio Amarilla Miño

79514347

Date: 2025-03-17 10:53:16
Score: 1
Natty:
Report link

Most important is to run Visual Studio as Administrator.

This problem appeared for me when I was trying to clean up my application and get rid of any redundant references. @Gerald Verslius above asked a very good question "Do you actually need it?" So I set about deleting all references to "Microsoft.Maui.Controls" Version="9.0.14" using all means I could think of , using nuget manager, deleting lines from every .csproj and I was still getting the error.

This Error appeared in the list:
Cannot modify an evaluated object originating in an imported file "C:\Program Files\dotnet\packs\Microsoft.Maui.Sdk\9.0.14\Sdk\BundledVersions.targets".

So I closed VS2022, renamed the folder "9.0.14" to "9.0.14.xxx" , and restarted VS2022 in ADMINISTRATION mode.

I was then getting errors that I needed the required workloads
"To build this project, the following workloads must be installed: maui-android"

dotnet workload list
but they were already installed. So again in powershell.

dotnet workload repair
this takes a while as you watch the feedback in PS.

This seemed to have worked but it was a painstaking process of trial and error accross the projects.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Gerald
  • Low reputation (0.5):
Posted by: Ray

79514341

Date: 2025-03-17 10:51:15
Score: 1
Natty:
Report link

Running an incorrect version of node could cause this, so check your node version is what you intended.

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

79514338

Date: 2025-03-17 10:51:15
Score: 1
Natty:
Report link

Maybe a quickest way using reg expression:

df1 = df1.copy

df1[["SVR", "RBF"]] = df1["SVR RBF"].str.extract(r'\(([^,]+), ([^)]+)\)').astype(float)

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

79514330

Date: 2025-03-17 10:47:15
Score: 2
Natty:
Report link

The stack size is usually determined at runtime by the OS or hardware, and exceeding it leads to a stack overflow.

Recursive function calls or deeply nested function calls may trigger a stack overflow at runtime, but the compiler is not required to detect this

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

79514329

Date: 2025-03-17 10:46:14
Score: 1.5
Natty:
Report link

Had the issue, and turns out it is worth it to switch the internet connection to either mobile data, or a different wifi and try again. The internet connection needs to be stable throughout the download of the package to fetch the package completely. Hope this helps someone one day!

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

79514328

Date: 2025-03-17 10:46:14
Score: 2
Natty:
Report link

try this: window.open(newWindowUrl, '_blank', 'noreferrer')

Reasons:
  • Whitelisted phrase (-2): try this:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Morne Nemdil

79514316

Date: 2025-03-17 10:42:13
Score: 0.5
Natty:
Report link

Simple and easy

const getTextFromHTML = (htmlString) => {
    const div = document.createElement('div'); // Pass 'div' as a string
    div.innerHTML = htmlString;
    return div.innerText;
}

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

79514314

Date: 2025-03-17 10:41:13
Score: 0.5
Natty:
Report link

Your approach seems to be technically infeasable. Unfortunately (because of security concerns) Android does not allow you to send a camera feed without a foreground application (You would be able to spy on people).

To make things easier, you could have a workaround that would make your setup significantly easier. Because you are using a Tablet you could start your App in a Splitscreen with the Robot App. People couldbe able to view your App (and you could display Robot Data) and you would be able to capture and send Camera Data. You could look here for a way of implementing the splitscreen!

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

79514313

Date: 2025-03-17 10:41:13
Score: 3.5
Natty:
Report link

This issue can be resolved by upgrading to the latest version of linopy. The example error runs off v0.3.15. Once upgraded to v0.5.0, this is no longer a problem.

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

79514302

Date: 2025-03-17 10:36:12
Score: 0.5
Natty:
Report link

I've found 3 solutions to the problem.

  1. Understanding that it's just a Windows scaling issue, you can set the screen scaling to 100% (not cool on my PC). Go to Display Settings on Windows 10-11 -> Scale and Layout, change 125% to 100%

  2. (better way, but not the best way) Go to C:\Users\(yourname)\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64, then right click on qemu-system-x86_64.exe > Properties > Compatibility > Change high DPI settings check Override high DPI scaling behaviour and set it to System. Apply and reboot Android Studio. Be aware that this solution can cause a blurry screen on the emulated device.

  3. (Best way probably) Changing the device to another with a smaller screen/resolution (I've changed from Pixel 8 Pro to Pixel 8a or 9) fixes the problem and it works perfectly!

Credits: https://www.reddit.com/r/AndroidStudio/comments/1efy3i5/comment/mf25drx/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
https://www.reddit.com/r/AndroidStudio/comments/1efy3i5/comment/mdcd54o/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

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

79514301

Date: 2025-03-17 10:35:12
Score: 0.5
Natty:
Report link

I've found 3 solutions to the problem.

  1. Understanding that it's just a Windows scaling issue, you can set the screen scaling to 100% (not cool on my PC). Go to Display Settings on Windows 10-11 -> Scale and Layout, change 125% to 100%

  2. (better way, but not the best way) Go to C:\Users\(yourname)\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64, then right click on qemu-system-x86_64.exe > Properties > Compatibility > Change high DPI settings check Override high DPI scaling behaviour and set it to System. Apply and reboot Android Studio. Be aware that this solution can cause a blurry screen on the emulated device.

  3. (Best way probably) Changing the device to another with a smaller screen/resolution (I've changed from Pixel 8 Pro to Pixel 8a or 9) fixes the problem and it works perfectly!

Credits: https://www.reddit.com/r/AndroidStudio/comments/1efy3i5/comment/mf25drx/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
https://www.reddit.com/r/AndroidStudio/comments/1efy3i5/comment/mdcd54o/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

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

79514297

Date: 2025-03-17 10:33:11
Score: 2.5
Natty:
Report link

getting indy node to run on anything but ubuntu 16 can be quite tricky. I would recommend using a docker image, see e.g. https://github.com/hyperledger/indy-node-container/

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