79162709

Date: 2024-11-06 13:08:42
Score: 1.5
Natty:
Report link

In your controller, you’re returning the view as logged.start, but your start.blade.php file is likely in the resources/views folder.

return view('start', compact('products'));
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Surjith

79162704

Date: 2024-11-06 13:07:42
Score: 5
Natty:
Report link

We're facing the same issue.. Tried to create a tokenmanager class to force update the refresh.. No luck so far..

              connection_properties["accessToken"] = token_manager.get_access_token()  # Ensure fresh token
              connection_properties["queryTimeout"] = str(timeout)
              
              df = spark.read.jdbc(url=azure_sql_url, table=query, properties=connection_properties)
              return df

Anybody managed to solve this? Databricks runtime 14.3lts , latest msal

Reasons:
  • Blacklisted phrase (1): No luck
  • RegEx Blacklisted phrase (1.5): solve this?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Wim

79162703

Date: 2024-11-06 13:07:41
Score: 0.5
Natty:
Report link

Very good, based on the above answers, I have summarized this answer, and I believe my implementation has the best performance.

Since the above answers have been explained quite clearly, I did not add any comments.

I think this is what you need:

using System;
using System.Net;
using System.Net.Sockets;

internal static class Program
{
    // stackoverflow.com/a/3294698/162671
    private static ulong SwapEndianness(ulong x)
    {
        return (((x >> 24) & 0x000000ff) | ((x >> 8) & 0x0000ff00) | ((x << 8) & 0x00ff0000) | ((x << 24) & 0xff000000)) * 1000;
    }

    private static void Main(string[] args)
    {
        var time = new DateTime(1900, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc);
        var data = new byte[48];
        data[0] = 0x1B;
        using (var socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp))
        {
            socket.Connect(Dns.GetHostAddresses("time.apple.com"), 123);
            socket.Send(data);
            socket.Receive(data);
        }
        unsafe
        {
            fixed (byte* ptr = data)
            {
                var intPart = (uint*)(ptr + 40);
                var fractPart = (uint*)(ptr + 44);
                time = time.AddMilliseconds((SwapEndianness(*fractPart) >> 32) + SwapEndianness(*intPart));
                Console.WriteLine(time);
                Console.WriteLine(time.ToLocalTime());
            }
        }
    }
}
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: lalaki

79162689

Date: 2024-11-06 13:03:41
Score: 1
Natty:
Report link

Defining global variables and inlining scripts are not good practices, but Blade and alpine.js both seem to encourage doing that.

If your app isn't too big, maybe you can put everything in app.js (in, imported from, indirectly imported from, whatever as long as it's in the build system's output app.js file).

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

79162684

Date: 2024-11-06 13:01:40
Score: 3
Natty:
Report link

This doesn't work for your specific case but it could for someone else with a similar issue. Check that env.config() comes before you initialize your db

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

79162683

Date: 2024-11-06 13:01:40
Score: 0.5
Natty:
Report link

I don't know about garments in particular, but running ComfyUI without GPU is possible. I run ComfyUI using python3 main.py --cpu and can use many popular image generation models this way. Of course it's dog slow. And you may also run out of RAM if you use one of the larger models. Stable Diffusion 1.5 should be fine though, it uses only a GB of RAM.

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

79162661

Date: 2024-11-06 12:56:39
Score: 3
Natty:
Report link

On windows cmd

pingT.bat

@echo off ping -t %1|cmd /q /v /c "(pause&pause)>nul & for /l %%a in () do (set /p "data=" && echo(!date! !time! !data!)&ping -n 2 localhost>nul"

pingT 1.1.1.1

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @echo
  • Low reputation (1):
Posted by: Zbyna Jaros

79162657

Date: 2024-11-06 12:54:39
Score: 3.5
Natty:
Report link

after checking, it seems that the swap overconsumption is caused by the tar command issued after the mariabackup to archive the command result.

Is there any way of obtaining a tar file directly from the mariabackup command?

For your information:

Reasons:
  • Blacklisted phrase (1): Is there any
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kévin Pemonon

79162649

Date: 2024-11-06 12:52:38
Score: 1
Natty:
Report link

It appears this is an issue with JRE's that do not support "TLS half-close policy". Open JDK 8/1.8 fully works. However, the IBM JDK8 used at my organization does not. I resolved this issue by using httpClient-5.3.1.

Reasons:
  • Whitelisted phrase (-2): I resolved
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: solutionsDeveloper

79162639

Date: 2024-11-06 12:50:37
Score: 0.5
Natty:
Report link

I don't think anyone would say CSR is a good practice. It's acceptable if you don't care about SEO. Try using Lighthouse for example to see the score you can get.

If you include client-side rendered content inside a server-side rendered page, you will lose the benefits of SSR for that part of the page.

If a user interaction pulls data that belongs to another page, I think it doesn't hurt SEO since the search engine can still have an SSR version of that other page.

Reasons:
  • No code block (0.5):
Posted by: Rivenfall

79162638

Date: 2024-11-06 12:50:37
Score: 2.5
Natty:
Report link

I solved it, just stopped coding php

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Linux

79162632

Date: 2024-11-06 12:47:37
Score: 5.5
Natty: 5
Report link

How to change the language related to the current language on the application. for example if I change it to fr the widget should be also on fr and same for english?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Mohamed Oussama MSAID

79162624

Date: 2024-11-06 12:45:35
Score: 2.5
Natty:
Report link

I used this formula to get it to work:-

=LOOKUP(10^6,1*MID(B2,MIN(FIND({0,1,2,3,4,5,6,7,8,9},B2&"0123456789",FIND("NBU"," "&B2&" "))),{2,3,4,5,6}))

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

79162610

Date: 2024-11-06 12:42:35
Score: 0.5
Natty:
Report link

To include the pattern-fill module in Highcharts, you can load it directly from the following URL:

https://code.highcharts.com/modules/pattern-fill.src.js
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Dominik Chudy

79162605

Date: 2024-11-06 12:41:34
Score: 1.5
Natty:
Report link

Found the solution of this.

We need to convert file to binary and send it:

$sendBinaryFileContent = 'data:application/pdf;base64,'.base64_encode(file_get_contents($filePath));

Binary file handle:

$binaryFile = str_replace('data:application/pdf;base64,', '', $binaryFile); 
$file = base64_decode($binaryFile);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Payal Desai

79162595

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

Try this formula. It might help

=IFERROR(VALUE(MID(A1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&"0123456789")),6)), LOOKUP(2,1/--MID(A1,MIN(INDEX(FIND(ROW($1:$10)-1,A1&1/17),,)),ROW(INDIRECT("1:"&LEN(A1))))))

enter image description here

Reasons:
  • Whitelisted phrase (-1): Try this
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Karthikraja B

79162594

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

I got this error once after using VS2022 instead of my usual VS 2017. The solution for me was to do the following:

This error also come when Window SDK Version is higher then 10.0.17763.0.

Project Settings > C/C++ > Code Generation > Struct Member Alignment (change to Default)

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

79162590

Date: 2024-11-06 12:37:33
Score: 2
Natty:
Report link

Ensure that you are using the "https://fcm.googleapis.com/v1/" API for sending notifications, as the previous "https://fcm.googleapis.com/fcm/send" endpoint is deprecated and no longer works.

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

79162589

Date: 2024-11-06 12:35:33
Score: 0.5
Natty:
Report link

I know - this is resurrecting an old thread - but it was the first search result so I thought of updating the answer.

With C++23 there is a easier solution by using

v1.append_range(v2);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bernhard Leichtle

79162584

Date: 2024-11-06 12:34:32
Score: 1
Natty:
Report link

Well, I just needed to waste my time and write the question, so suddenly fix it, great.

Add these lines to proguard-rules.pro:

-keep class javax.net.ssl.** { *; }
-keep class android.security.net.config.** { *; }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Javad

79162580

Date: 2024-11-06 12:33:32
Score: 2.5
Natty:
Report link

SELECT continent,name from ( SELECT continent, name, ROW_NUMBER() OVER (PARTITION BY continent ORDER BY name) AS row_num FROM world ) AS ranked WHERE row_num = 1;

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

79162579

Date: 2024-11-06 12:33:32
Score: 1.5
Natty:
Report link

you need to only the following group

$user_info = Usermeta::get()->groupBy('browser')

after get and you will get your result

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

79162563

Date: 2024-11-06 12:26:31
Score: 1.5
Natty:
Report link

Oddly enough there's nothing to see in the migration guide. However, I could find the possible missing mappings using the Javadoc:

DeferredAuthentication -> AuthenticationState.Deferred
UserAuthentication -> AuthenticationState.Succeeded
Authentication -> AuthenticationState

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

79162545

Date: 2024-11-06 12:20:29
Score: 3.5
Natty:
Report link

I was having the same issue, and stumbled upon this documentation. You just need to Drag and Drop the icons from the secondary sidebar to the primary like this: https://code.visualstudio.com/docs/editor/custom-layout

Reasons:
  • Blacklisted phrase (1): this document
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Breno Maia

79162539

Date: 2024-11-06 12:18:28
Score: 0.5
Natty:
Report link

My solution to this problem:

Sub ExportSelectionToBMP()
    Dim vsoSelection As Visio.Selection
    Dim vsoPage As Visio.Page
    Dim exportPath As String
    Dim resolution As Double
  

    exportPath = "C:\Users\USERNAME\Desktop\11.bmp"
    resolution = 140
    
    Application.Settings.SetRasterExportResolution visRasterUseCustomResolution, resolution, resolution, visRasterPixelsPerInch
    
    
    
    Set vsoWindow = ActiveWindow
    Set vsoSelection = ActiveWindow.Selection
    

    If Not vsoSelection Is Nothing Then
        vsoSelection.Export (exportPath)
        MsgBox "Done.", vbInformation
          Else
        MsgBox "No selection", vbExclamation
    End If
End Sub
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Gregory A

79162535

Date: 2024-11-06 12:16:26
Score: 7.5 🚩
Natty:
Report link

can you please elaborate as to what exactly happens after downloading it to your local storage does it open at all or gives you a prompt to choose which viewer you want use? or nothing happens?

Reasons:
  • RegEx Blacklisted phrase (2.5): can you please elaborate
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): can you please
  • Low reputation (1):
Posted by: Aatif Shaikh

79162534

Date: 2024-11-06 12:16:26
Score: 0.5
Natty:
Report link

Consulting the official docs there is an example dag.

According to it you should modify your import: from: from airflow.providers.papermill.operators.papermill import PapermillOperator

to: from airflow.operators.papermill_operator import PapermillOperator

Here is a link to the official example.

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

79162531

Date: 2024-11-06 12:15:23
Score: 11 🚩
Natty: 6.5
Report link

did you find som solution? I have the same problem

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): did you find
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you find
  • Low reputation (1):
Posted by: Tatyana Chahaljan

79162523

Date: 2024-11-06 12:13:23
Score: 1
Natty:
Report link

When using Docker, localhost in the container points to the container itself, not your host machine. In your case changing http://localhost:8088 to http://host.docker.internal:8088 lets the container access services on your host’s localhost, which fixes the connection issue.

Reasons:
  • Whitelisted phrase (-1): In your case
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Gisoo

79162522

Date: 2024-11-06 12:13:23
Score: 1.5
Natty:
Report link

https://github.com/KxSystems/kdb/blob/master/utils/dbmaint.md#fncol

fncol[`:.;`tab;`eventType;{enlist each x}]
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • High reputation (-1):
Posted by: rianoc

79162515

Date: 2024-11-06 12:10:21
Score: 4
Natty: 6
Report link

Where did you add those buttons ? Im trying to add them, but i cant see them at all in my game

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Where did you add those
  • Low reputation (1):
Posted by: Quicky

79162513

Date: 2024-11-06 12:09:21
Score: 0.5
Natty:
Report link

I found on my way, It is working, but it is right way i don't know!!!


    val activity = context.findActivity() as ComponentActivity

    // Registering the result launcher for intent sender resolution
    val resolutionLauncher = remember {
        activity.activityResultRegistry.register("resolutionLauncher", ActivityResultContracts.StartIntentSenderForResult()) { result: ActivityResult ->
            if (result.resultCode == RESULT_OK) {
                locationViewModel.requestLocationUpdates()
            } else {
                locationViewModel.removeLocationUpdates()
            }
        }
    }
    

And i need to use this launcher to send resolution pending intent,

  resolutionLauncher.launch(IntentSenderRequest.Builder(
                            resolvable.resolution.intentSender).build())
Reasons:
  • Blacklisted phrase (0.5): i need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Santhosh Kumar

79162510

Date: 2024-11-06 12:08:21
Score: 3
Natty:
Report link

delete android:src="@tools:sample/avatars" and edit the line app:srcCompat="@drawable/custom_img" /> to android:src="@drawable/custom_img"/>

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

79162506

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

In the "Device catalog", when viewing a device, at the top where it says "Overview" there's a "Show more" link. In my Play Console, it lists the actual reasons why the device is unsupported.

See this screenshot with the "Show more" on the right:

device catalog overview screenshot

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

79162498

Date: 2024-11-06 12:06:20
Score: 2.5
Natty:
Report link

(Responding in part to @chadnewbry, and for any users who might be on Render.)

If this is an issue with env vars:

Reasons:
  • No code block (0.5):
  • User mentioned (1): @chadnewbry
  • Low reputation (1):
Posted by: lessgin

79162495

Date: 2024-11-06 12:05:20
Score: 4
Natty:
Report link

Just use next problem solved..

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

79162482

Date: 2024-11-06 12:00:18
Score: 1
Natty:
Report link

Excel's formula version of Black cat's VBA:

Formula in B2: =A2

Formula in B3:

=IFERROR(SCAN(B2, A3:A10, LAMBDA(current_time, dummy, XLOOKUP(current_time + 30 / 60 / 24, A3:A10, A3:A10, "", 1, 1))), "")

Basically, it is trying to use a dummy array in SCAN to get away with a recursive lambda.

enter image description here

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

79162466

Date: 2024-11-06 11:54:17
Score: 3
Natty:
Report link

As Tobias said, Chrome now supports the media query in the source tag. It works fine when you load le page. Though, once loaded, if you change the orientation (turn your mobile), the media query isn't evaluated again and the previous source is still used.

Is there a Javascript function to force the change?

I've tried :

myVideo.load()

It works, but it is probably a bit too violent, no ?

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

79162465

Date: 2024-11-06 11:54:17
Score: 1.5
Natty:
Report link

This solution worked for me: https://gist.github.com/bekarice/923ca4cb590612f46a86

I like it more than the solution by LoicTheAztec because it looks more "native".

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andrey B.

79162455

Date: 2024-11-06 11:51:16
Score: 2.5
Natty:
Report link

I recommend you to use 'openiddict', it's an open-source .NET library that implements the OpenID Connect (OIDC) and OAuth 2.0 protocols.

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

79162439

Date: 2024-11-06 11:46:15
Score: 4
Natty: 4.5
Report link

"So I use this value to determine whether the intro offer should be shown in the UI."

How to you use that information in UI? Are you using storekit views or in what element are you using that as a parameter?

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

79162438

Date: 2024-11-06 11:46:14
Score: 0.5
Natty:
Report link

Here is R equivalent of your SAS code:

library(dplyr)

df |> 
  select(ID,GENDER,BIRTHYEAR) |> 
  group_by(ID) |> 
  summarize(count = n())

Where df is your dataframe. select, group_by and summarize are all dplyr verbs.

You can learn more about the R dplyr package here: https://dplyr.tidyverse.org/

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

79162427

Date: 2024-11-06 11:43:14
Score: 1.5
Natty:
Report link

Maybe tt is not the case, but in case it could help someone. TUSB3410 on Windows 11 driver appears to be forbidden by system policy and cannot be intsalled directly.

My workaround was to go by regedit (Admin mode): HKLM -> Software-> Policy -> Microsoft -> Windows -> DeviceInstall and set: DenyDeviceClass = 0 Then Restart. Then install the driver. Then set again DenyDeviceClass = 1 Restart and job done.

Re

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

79162426

Date: 2024-11-06 11:43:14
Score: 4.5
Natty:
Report link

Try using FocusManager.instance.primaryFocus?.unfocus()

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kali

79162424

Date: 2024-11-06 11:42:13
Score: 1
Natty:
Report link

Firestore is used and repositories are the layer where I interact with such data is it right to have a division of them on the various features while still going to work on the same collections? (Different parts consisting of different features but touching the same collection of data). At the end of the work I might find several repository classes with the same code even though they belong to different features.

Giving up the ability to change the database engine, I treated repositories as part of the application layer, not the infrastructure. This allowed me to use the same repositories in many implementation contexts, thus avoiding such undesirable code duplication.

If you will not change the data source type and you know how to implement the solution without having to track changes, you can treat the repository as part of the application layer.

Furthermore, I use the dapper orm without linq support.

enter image description here enter image description here

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

79162423

Date: 2024-11-06 11:41:13
Score: 1
Natty:
Report link

No. Only build validation policies may exclude or include paths. Consider moving your wiki to a separate repo then you may publish it as an additional wiki component:

enter image description here

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

79162417

Date: 2024-11-06 11:40:12
Score: 4.5
Natty: 4
Report link

Is there another way to alter the responses without fiddler? like maybe editing the hosts file, and have setup xampp with virtualhosts?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is there another
Posted by: Ben jamin

79162416

Date: 2024-11-06 11:40:12
Score: 4.5
Natty: 5
Report link

https://jakarta.ee/specifications/platform/10/apidocs/ documents the list of packages that are part of jakarta migration

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

79162415

Date: 2024-11-06 11:39:12
Score: 2
Natty:
Report link

You also have to remove dependencies with quarkus-resteasy. I had to replace quarkus-resteasy-jackson with quarkus-rest-jackson

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

79162407

Date: 2024-11-06 11:37:11
Score: 2.5
Natty:
Report link

This git update-ref -d refs/remotes/origin/my_branch works for me

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nishant Patel

79162401

Date: 2024-11-06 11:36:11
Score: 2.5
Natty:
Report link

I faced a similar issue. I adjusted my code to leave at least 1 unfrozen and it seemed to run fine. I believe that it is due to a limitation where you cannot delete rows such that the only remaining rows are frozen. I am not sure how much this helps, though.

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

79162395

Date: 2024-11-06 11:35:10
Score: 4
Natty: 5
Report link

This ".git" hidden folder mades me mad.... Thank you for the answer.

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

79162385

Date: 2024-11-06 11:31:09
Score: 5
Natty:
Report link

Could you replace Android Studio with Koala and try again?

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

79162362

Date: 2024-11-06 11:24:07
Score: 2.5
Natty:
Report link

The HOME constant has been removed from the RouteServiceProvider in laravel 11,Please set a default redirect path.

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

79162354

Date: 2024-11-06 11:20:04
Score: 7.5 🚩
Natty: 6
Report link

I am trying to sort our orderby popularity on Nordicgear.dk, but it dosen't seem to work. Any Ideas? i would like to sort by best sellers in all categories. Is that possible?

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Blacklisted phrase (1): Any Ideas
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kasper

79162346

Date: 2024-11-06 11:19:04
Score: 3
Natty:
Report link

In your Angular project, you'll find a .angular file. Simply delete it and restart the server; everything should work correctly after that.

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

79162345

Date: 2024-11-06 11:19:04
Score: 2.5
Natty:
Report link

Found answer here: https://developer.apple.com/forums/thread/721067

This value only updates in real time for networks that your hotspot helper is managing, as indicated by the isChosenHelper property.

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

79162344

Date: 2024-11-06 11:19:04
Score: 2
Natty:
Report link

I made a workaround for this. I created a slack list of Names and People, then in the automation use slacks step "Select a list item" to select the correct user from the list.

The list item can then be used as a variable, by which you can access the 'people' part which can be mentioned, added to groups all that sort of thing. It's a bit of a pain cause you have to manage a separate list of names/user pairs but it makes it work as a user in slack which is nice.

enter image description here enter image description here

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

79162340

Date: 2024-11-06 11:18:03
Score: 4.5
Natty:
Report link

I encountered the same issue—notifications sent via token work fine, but those sent via topic do not. However, after reinstalling the app, the notifications were successfully delivered. This may be related to the FCM token, though I'm not entirely sure why. Could you try reinstalling the app on your end and let me know if that resolves the issue? I'm also working on identifying the root cause on my side.

Reasons:
  • RegEx Blacklisted phrase (1.5): resolves the issue?
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Skyboy

79162330

Date: 2024-11-06 11:15:01
Score: 5
Natty: 4.5
Report link

Facing same tried all the above steps but keep on getting windows popup backend observed 401 unauthorised

Please let me know anyone able to proceed with edge browser

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Naveen kumar

79162328

Date: 2024-11-06 11:13:01
Score: 1.5
Natty:
Report link

A few things need to be considered:

  1. You need to pass the access token in form-data; if passed in raw form, it returns an error.
  2. The key name must be access_token.
  3. Ensure that the token is generated with the email and profile scopes.

I assume you are exchanging the token for access and refresh tokens in the Google Auth Playground.

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

79162322

Date: 2024-11-06 11:10:00
Score: 1
Natty:
Report link

I used this example in one of my projects, but there were quite an mount of edge cases that were not covered. Since I needed this operation to serve as a core method, I took the time to make it a bit more product ready. Here you are the version I ended with, it met the expectations of my test battery

/// <summary>
/// https://stackoverflow.com/q/11839959/17780206 - Rethrowing previous exception inside ContinueWith
/// </summary>
public static Task<TResult> ContinueWithEx<T, TResult>(this Task<T> task, Func<Task<T>, TResult> continuation)
{
    // we want to run continuations asynchronously so that we don't block the thread, this way we can avoid deadlocks
    var tcs = new TaskCompletionSource<TResult>(TaskCreationOptions.RunContinuationsAsynchronously);

    // we use the default scheduler to avoid deadlocks, this is mostly important for UI applications
    var taskScheduler = TaskScheduler.Default;

    task.ContinueWith(t => {
        if (t.IsFaulted)
        {
            var exception = t.Exception?.InnerExceptions.Count == 1 ? t.Exception.InnerExceptions[0] : t.Exception;
            if (!tcs.TrySetException(exception!))
            {
                // this is not expected to happen, but if it does, log it
                Logger.Warning("Failed to set exception because state of the task is already set", exception);
            }
        }
        else if (t.IsCanceled)
        {
            if (!tcs.TrySetCanceled())
            {
                // this is not expected to happen, but if it does, log it
                Logger.Warning("Failed to set canceled because state of the task is already set");
            }
        }
        else
        {
            // this try catch is important to catch exceptions that might be thrown by the continuation
            // if an exception is thrown, we want to set the exception on the task completion source
            // if we would not do that, the code will freeze in such occurence because the task is never marked as completed/cancelled/failed
            try
            {
                var result = continuation(t);
                if (!tcs.TrySetResult(result))
                {
                    // this is not expected to happen, but if it does, log it
                    Logger.Warning("Failed to set result because state of the task is already set");
                }
            }
            catch (Exception ex)
            {
                if (!tcs.TrySetException(ex))
                {
                    // this is not expected to happen, but if it does, log it
                    Logger.Warning("Failed to set exception because state of the task is already set", ex);
                }
            }
        }
    }, taskScheduler);
    return tcs.Task;
}
Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Blaise Braye

79162309

Date: 2024-11-06 11:06:58
Score: 4
Natty:
Report link

this is fresh link with Blend for Visual Studio 2022 https://learn.microsoft.com/en-us/visualstudio/xaml-tools/creating-a-ui-by-using-blend-for-visual-studio?view=vs-2022

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

79162308

Date: 2024-11-06 11:06:58
Score: 1
Natty:
Report link

You can apply .iconOnly label style to the Button.

Button("", systemImage: isPlaying ? "pause.fill" : "play.fill") {
    print("Action")
}
.labelStyle(.iconOnly)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: eledgaar

79162305

Date: 2024-11-06 11:06:58
Score: 0.5
Natty:
Report link

As Tom Gobich said here : https://adocasts.com/lessons/validating-form-data-with-vinejs

You can use the transform method like this.

import { DateTime } from 'luxon'

const validator = vine.compile(
  vine.object({
    startDate: vine.date().transform((date) => DateTime.fromJSDate(date))
  })
)
Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yann Menoud

79162300

Date: 2024-11-06 11:04:57
Score: 3.5
Natty:
Report link

Looks azurite package needs to update it's dependencies. For example, looking at this link https://www.npmjs.com/package/azurite?activeTab=code, azurite has uuid ^3.3.2 as dependency and same thing for "rimraf": "^3.0.2".

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Răzvan Cănuci

79162295

Date: 2024-11-06 11:01:56
Score: 1
Natty:
Report link

Look for "Connection Strategy" under "Advanced". There are "Public IP" and "Public DNS" options.

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

79162289

Date: 2024-11-06 10:59:56
Score: 1
Natty:
Report link

Please try init instant of wp

add_action('init', 'asf_schedule_auto_submit');

May be this will be helpful.

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

79162279

Date: 2024-11-06 10:58:55
Score: 3.5
Natty:
Report link

Check this doc: I was facing the same issue

https://www.keycloak.org/docs/latest/server_admin/#enabling-forgot-password

we need to enable the update password option from how to enable change password option in keycloak after forget password

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

79162272

Date: 2024-11-06 10:56:55
Score: 0.5
Natty:
Report link

This is described in the manual here: https://sparxsystems.com/enterprise_architect_user_guide/17.0/modeling_languages/denotelifecycleofanelement.html

You have to set the lifecycle property of the message to New update lifecycle property After saving that will change your diagram like this: result

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

79162266

Date: 2024-11-06 10:55:54
Score: 4.5
Natty: 5
Report link

You are using OpenTelemetry Java Agent - that might use some additional memory, also see https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/1294

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

79162264

Date: 2024-11-06 10:54:54
Score: 1
Natty:
Report link

In MainActivity onCreate:

YourTheme() {
        LocalView.current.let {
            val window = (it.context as Activity).window
            window.statusBarColor = color
            App()
        }
    }

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

79162255

Date: 2024-11-06 10:52:53
Score: 0.5
Natty:
Report link

Delete .qtenvrc from the main directory of your project.

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

79162252

Date: 2024-11-06 10:51:53
Score: 2.5
Natty:
Report link

Update system if you can or restart tablet and multitouching should work but only for a while, later this issue will appear again. I tested it on my two devices with android 13 and this is what I observed. I look for solution in order to work it all time, but I've not found it yet.

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

79162251

Date: 2024-11-06 10:51:53
Score: 8
Natty: 7
Report link

I'm having the same problem, but the printer I have does not allow to set up a user defined paper size, so nothing seems to help. I've tried out all the possible settings, even bought a new printer of a different brand, also installed it on a different pc to try, and still the same issue everytime! Any other ideas?

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Giedre

79162248

Date: 2024-11-06 10:50:52
Score: 0.5
Natty:
Report link

The issue was in the nextjs app itself and not the deployment configuration. I disabled a redirect in the middleware.ts and now it is working.

The nextjs app worked without errors + responded with 200 on /api/healthcheck, so I am still not sure why that caused an issue but the face stays the problem was resolved.

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

79162244

Date: 2024-11-06 10:49:52
Score: 2.5
Natty:
Report link

If you want to make sure that it will first delete the old pod and only then create a new one, you can set the strategy type to Recreate or consider switching to STS instead of Deployment

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

79162241

Date: 2024-11-06 10:49:52
Score: 0.5
Natty:
Report link

Check the Document Language Settings While Word Online doesn’t offer comprehensive language settings, you can still set the document's language to Arabic before uploading it. Sometimes, setting the language and regional formatting in the desktop version can help retain the number formatting once it's uploaded to OneDrive—though keep in mind, this may not work reliably in Word Online.

Adjust Browser Locale Settings Another option is to change your browser’s locale settings to Arabic. In both Google Chrome and Edge, you can add Arabic as a preferred language. This may influence how some content, including numbers, is displayed in Office Online.

Try Embedding Fonts or Using Field Codes If you’re preparing the document offline, you could experiment with embedding fonts or using field codes to display numbers in Arabic (Hindi). Be aware, though, that these methods might not carry over consistently when you open the document in Word Online.

Reach Out to Microsoft Support Since this limitation is a known issue with Word Online, contacting Microsoft Support could be helpful. They may have specific solutions or SharePoint add-ons that can enable better customization in your setup.

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

79162237

Date: 2024-11-06 10:48:51
Score: 3
Natty:
Report link

There could be a possible situation where in spring boot you forgot to add @RestController to the API implementation class.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @RestController
  • Low reputation (0.5):
Posted by: Ashrik Ahamed

79162220

Date: 2024-11-06 10:43:50
Score: 8.5
Natty: 7.5
Report link

have you found a solution for this?

Reasons:
  • RegEx Blacklisted phrase (2.5): have you found a solution for this
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hello

79162218

Date: 2024-11-06 10:43:47
Score: 7 🚩
Natty:
Report link

Why don't u ask chatgpt to build it?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Why don't
  • Low reputation (1):
Posted by: Lalita

79162216

Date: 2024-11-06 10:42:47
Score: 3
Natty:
Report link

This error usually occurs due to a PHP version mismatch. If you’re seeing this error, it’s likely because your PHP version is lower than the version required by Laravel.

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

79162208

Date: 2024-11-06 10:40:46
Score: 2
Natty:
Report link

i'm just beginning out in coding but i'd like to ask more questions abut your code.

  1. are you sure your code can compile the numbers you've given it (bit integer limit)

  2. you putting such big numbers might make it unable to go through and check these numbers

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

79162207

Date: 2024-11-06 10:39:46
Score: 1
Natty:
Report link

check your default version

node -v
v13.10.1

nvm ls
default -> v13.10.1

change the default to your version

nvm alias default 22.11.0

check version again:

node -v
v22.11.0
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: dtmiRRor

79162197

Date: 2024-11-06 10:36:45
Score: 2.5
Natty:
Report link

I'm still learning about the IAP flow for the next feature, but maybe what you're asking about is related to this https://github.com/hyochan/react-native-iap/issues/1123 which uses a backend approach. After I try implementing it, I'll post an update here.

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

79162186

Date: 2024-11-06 10:34:44
Score: 2
Natty:
Report link

I don't know if it help anyone but at this date (06.11.24) , the problem was from the plugin of Woocomerce Payments , opening up the dev tools console , there was some privacy issues between chrome and the usage of third party cookies , ( the problem that i was having has when i was using classic widgets , i couldnt select an image .)

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

79162176

Date: 2024-11-06 10:31:43
Score: 1.5
Natty:
Report link

Just use SetCurrentValue method instead (https://learn.microsoft.com/en-us/dotnet/api/system.windows.dependencyobject.setcurrentvalue):

The SetCurrentValue method changes the effective value of the property, but existing triggers, data bindings, and styles will continue to work

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

79162167

Date: 2024-11-06 10:29:43
Score: 2.5
Natty:
Report link

GO to Elementor Settings

Experiments and Features section

Put Optimized Control Loading on Active

100% Fixed

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

79162159

Date: 2024-11-06 10:26:40
Score: 6 🚩
Natty: 4.5
Report link

Did anyone try the Javascript workaround?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did anyone
  • Low reputation (1):
Posted by: Jo Schrap

79162157

Date: 2024-11-06 10:26:40
Score: 2.5
Natty:
Report link

Which bundler are you using? in Vite for example you could use https://vite.dev/guide/features.html#web-workers

const worker = new Worker(new URL('./worker.js', import.meta.url))

or

import MyWorker from './worker?worker&inline'

to create an inline worker.

With esbuild you can try this plugin

with Webpack is almost the same as Vite

Reasons:
  • Blacklisted phrase (1): this plugin
  • Whitelisted phrase (-1): try this
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Which
  • Low reputation (0.5):
Posted by: Pasquale Mangialavori

79162156

Date: 2024-11-06 10:25:39
Score: 1
Natty:
Report link

You are most likely missing a repository that contains your missing package. either that or your repositories aren't up to date, which a sudo apt update (instead of upgrade) should fix.

Apart from that, we'd need some more information about what you are trying to do.

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

79162155

Date: 2024-11-06 10:25:39
Score: 2
Natty:
Report link
localhost:6385> config set notify_keyspace_events eX
OK

works with underscores instead

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Михаил Фарапонов

79162153

Date: 2024-11-06 10:25:39
Score: 1
Natty:
Report link

Have you try to batch your data?

for example:

int batchSize = 1000;
var customers = new List<Customer>();

for (int i = 0; i < ids.Count; i += batchSize)
{
    var batchIds = ids.Skip(i).Take(batchSize).ToList();
    customers.AddRange(dbContext.Customers.Where(c => batchIds.Contains(c.Id)).ToList());
}

or you can make temporary table to store your data and then proceed to your actual table.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Baris Kode ID

79162141

Date: 2024-11-06 10:20:38
Score: 3.5
Natty:
Report link

I am the owner of this package, I have fixed the package and created a new package for Pusher Client pusher_client_socket that supports all platforms, please check the updates daily because I am constantly improving it.

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1): I have fixed the package and created a new package for Pusher Client pusher_client_socket that supports all platforms, please
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abdo Pr

79162139

Date: 2024-11-06 10:20:38
Score: 2.5
Natty:
Report link

Using the Utility type Pick<T, K>, the same as previously suggested can be achieved.

type PublicInterface<T> = Pick<T, keyof T>
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: heio

79162136

Date: 2024-11-06 10:19:38
Score: 1.5
Natty:
Report link

I managed to resolve the issue by changing my approach entirely. Initially, I was using System.Drawing.Printing, but this caused problems when running the application through Task Scheduler on a server without a graphical environment. Instead, I switched to using native Windows API functions to send the file directly to the printer in RAW mode, bypassing the need for a graphical interface:

[DllImport("winspool.drv", EntryPoint = "OpenPrinterA", SetLastError = true)]
public static extern bool OpenPrinter(string szPrinter, out IntPtr hPrinter, IntPtr pd);

[DllImport("winspool.drv", EntryPoint = "ClosePrinter")]
public static extern bool ClosePrinter(IntPtr hPrinter);

[DllImport("winspool.drv", EntryPoint = "StartDocPrinterA", SetLastError = true)]
public static extern bool StartDocPrinter(IntPtr hPrinter, int level, ref DOCINFOA pDocInfo);

[DllImport("winspool.drv", EntryPoint = "EndDocPrinter")]
public static extern bool EndDocPrinter(IntPtr hPrinter);

[DllImport("winspool.drv", EntryPoint = "StartPagePrinter")]
public static extern bool StartPagePrinter(IntPtr hPrinter);

[DllImport("winspool.drv", EntryPoint = "EndPagePrinter")]
public static extern bool EndPagePrinter(IntPtr hPrinter);

[DllImport("winspool.drv", EntryPoint = "WritePrinter", SetLastError = true)]
public static extern bool WritePrinter(IntPtr hPrinter, IntPtr pBytes, int dwCount, out int dwWritten);

[StructLayout(LayoutKind.Sequential)]
public struct DOCINFOA
{
    [MarshalAs(UnmanagedType.LPStr)]
    public string pDocName;
    [MarshalAs(UnmanagedType.LPStr)]
    public string pOutputFile;
    [MarshalAs(UnmanagedType.LPStr)]
    public string pDataType;
}

public static bool QueueDocument(string printerName, string filePath)
{
    bool result = false;
    IntPtr pBytes = IntPtr.Zero; // Pointer to the data to send to the printer
    byte[] fileBytes = File.ReadAllBytes(filePath);

    if (OpenPrinter(printerName, out var hPrinter, IntPtr.Zero))
    {
        var docInfo = new DOCINFOA
        {
            pDocName = Path.GetFileName(filePath),
            pOutputFile = null,
            pDataType = "RAW"
        };
        try
        {
            if (StartDocPrinter(hPrinter, 1, ref docInfo) && StartPagePrinter(hPrinter))
            {
                pBytes = Marshal.AllocHGlobal(fileBytes.Length);
                Marshal.Copy(fileBytes, 0, pBytes, fileBytes.Length);
                result = WritePrinter(hPrinter, pBytes, fileBytes.Length, out _);
            }
        }
        catch (Exception ex)
        {
            SentrySdk.CaptureException(ex);
        }
        finally
        {
            if (pBytes != IntPtr.Zero)
            {
                Marshal.FreeHGlobal(pBytes);
            }
            EndPagePrinter(hPrinter);
            EndDocPrinter(hPrinter);
            ClosePrinter(hPrinter);
        }
    }
    else
    {
        SentrySdk.CaptureMessage("Printer connection error", SentryLevel.Error);
    }
    return result;
}

This approach bypasses the issues I faced with System.Drawing.Printing and works smoothly with Task Scheduler, as it doesn’t rely on a graphical interface.

Note: While this solution works well for the current case, there may still be room for optimization in terms of code readability and performance. For now, it works fine, but I may revisit it later to improve its efficiency and clarity.

Hope this helps anyone else facing similar issues!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing similar issue
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: lucario

79162128

Date: 2024-11-06 10:17:38
Score: 2
Natty:
Report link

I had the same issue and apparently the problem was not with the table's catalog, but the function's. When you define it, don't forget to use the 3-level namespace (catalog.schema.function), otherwise it will not work with Unity Catalog. Link

Reasons:
  • 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: M.M.

79162123

Date: 2024-11-06 10:14:37
Score: 1.5
Natty:
Report link

I think you need to change the version of Prettier in package.json (this should resolve the error: "Invalid version Error: Invalid version") and downgrade VS Code to get Prettier working. This solution worked for me.

But try downgrading VS Code first. Maybe this will be enough.

I followed this YouTube video to downgrade VS Code to version 1.87: https://www.youtube.com/watch?v=9dhQm-9IbHA

Here are the versions I have in package.json:

on my local machine:

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Low reputation (1):
Posted by: Маргарита Чередниченко

79162106

Date: 2024-11-06 10:07:35
Score: 2
Natty:
Report link

With -fcommon (default in GCC up to version 10), uninitialized globals var2 are placed in the COMMON section, allowing multiple definitions across files.

enter image description here

With -fno-common (default in GCC 10 and later), uninitialized globals var2 are no longer placed in the COMMON section. Instead, it is given a specific section index, treated as strong symbols, that may resulting in linker errors if the same variable name appears uninitialized in multiple files.

enter image description here

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

79162097

Date: 2024-11-06 10:04:34
Score: 0.5
Natty:
Report link

You could do it in this way:

public record Model
{
    [JsonPropertyName("name")]
    public string Name { get; set; }

    [JsonPropertyName("text")]
    public string Text
    {
        set => Name = value;
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: VladislavKondratenko