79366141

Date: 2025-01-17 21:34:53
Score: 1.5
Natty:
Report link

Just give backgroundColor: 'transparent' style to WebView and magic happens 🥳

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

79366139

Date: 2025-01-17 21:33:53
Score: 2
Natty:
Report link

When you create your Materialized View, you can use a special "AUTO" attribute to signal you want that MV to auto refresh.

Here are some docs: https://docs.aws.amazon.com/redshift/latest/dg/materialized-view-refresh-sql-command.html

Hopefully that helps!

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Alex

79366129

Date: 2025-01-17 21:28:52
Score: 0.5
Natty:
Report link

The stable release of tfx supports Python versions >=3.9,<3.11. It is not compatible with Python 3.11. You can install this package using any of the supported Python versions (3.9 - 3.10). See Compatible versions.

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

79366126

Date: 2025-01-17 21:27:51
Score: 4
Natty:
Report link

Use Data Wrangler Extension for Visual Studio Code

enter image description here

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

79366124

Date: 2025-01-17 21:27:50
Score: 3.5
Natty:
Report link

sudo django-admin startproject myproject1 .

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

79366123

Date: 2025-01-17 21:26:50
Score: 0.5
Natty:
Report link
var now = new Date();
var second = now.getSeconds();
var minute = now.getMinutes();
var hour = now.getHours();

if(second == 0 && [0,5,10,15,20,25,30,35,40,45,50,55,60].filter(x => x == minute).length > 0){
    console.log("ok")
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rahman Qadirzade

79366122

Date: 2025-01-17 21:25:50
Score: 0.5
Natty:
Report link
var now = new Date();
var second = now.getSeconds();
var minute = now.getMinutes();
var hour = now.getHours();

if(second == 0 && [0,5,10,15,20,25,30,35,40,45,50,55,60].filter(x => x == minute).length > 0){
    console.log("ok")
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rahman Qadirzade

79366117

Date: 2025-01-17 21:25:49
Score: 4
Natty:
Report link

Tinkering with the Tabs/Underline/Background is a pretty good alternative, also will work well with test files enter image description here

enter image description here

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

79366107

Date: 2025-01-17 21:18:48
Score: 2
Natty:
Report link

Remove $queryParams = ['limit' => 250]; and stop using ChatGPT if you don't know what you're doing in the first place.

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

79366099

Date: 2025-01-17 21:13:47
Score: 1.5
Natty:
Report link

Found the answer! b is essentially an implicit argument to x so you can set it just like you would for a function:

x' : I a b => a
x' = x { b = b }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: דניאל פ.ח.

79366098

Date: 2025-01-17 21:12:47
Score: 1
Natty:
Report link

I solved this by disabling my antivirus. I noticed all my downloaded files were automatically deleted after installation and my antivirus was the reason.

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

79366096

Date: 2025-01-17 21:10:46
Score: 2
Natty:
Report link

Since Dart 3.7, the formatter uses a new style that can automatically add and remove commas. You no longer have any choice about where to put trailing commas.

So it is automatically correct :)

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

79366086

Date: 2025-01-17 21:04:45
Score: 0.5
Natty:
Report link

I would suggest you use Google Identity Platform (via OAuth 2.0) to authenticate users, but you should not directly call Google’s Identity Platform API from your backend to generate JWT tokens.

Here are the recommended approaches:

Here are some helpful links:

  1. google-auth-library for Node.js

  2. Google OAuth2.0 Documentation

  3. Role-based access controls

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

79366075

Date: 2025-01-17 20:59:44
Score: 1.5
Natty:
Report link

Looks like two such references exist:

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

79366070

Date: 2025-01-17 20:56:43
Score: 1.5
Natty:
Report link

You can use min-h-screen, h-[100vh], or min-h-[100vh] in the layout, and apply flex for dynamic height allocation.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Elif Nur Turk

79366069

Date: 2025-01-17 20:56:43
Score: 3.5
Natty:
Report link

I tried using Advanced Query but it still denied the merge with error: "Expression.Error: A cyclic reference was encountered during evaluation."

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

79366067

Date: 2025-01-17 20:53:43
Score: 1.5
Natty:
Report link

I know this is super old but we just released LeetGPU.com, an online CUDA playground you can use to write and execute CUDA C++ on the web, no GPU required, and for free.

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

79366057

Date: 2025-01-17 20:50:42
Score: 1
Natty:
Report link

‘unistd.h’ is native to POSIX-compliant systems, i’ve heard of a couple equivalents out there, but i think it depends on the functions you’re trying to grab from it, but most of them usually lie in ‘windows.h’

if unistd.h is necessary with no equivalents for your code, the only case it would work is in a POSIX environment, which means anything based in UNIX (a macOS may also be able to do the trick, but keep in mind not every OS is fully compatible with POSIX)

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

79366039

Date: 2025-01-17 20:39:38
Score: 4.5
Natty:
Report link

I made an entire serial reader repo awhile back this repo.

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

79366037

Date: 2025-01-17 20:38:38
Score: 2.5
Natty:
Report link

My Mobile is Vivo V295G Android 15 Iam Installing Eicher DA Lite Plus apk app was installed but ope is not opening and running Whats the issue iwant run that app in my mobile

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

79366018

Date: 2025-01-17 20:26:35
Score: 5
Natty:
Report link

Check this solutions mentioned in this page if they can help you https://medium.com/@ganeshbn21/resolving-log4j2-configuration-issues-after-spring-upgrade-on-jboss-eap-7-3-157d9c75ca49

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user3518428

79366016

Date: 2025-01-17 20:24:34
Score: 1
Natty:
Report link

The issue might be caused by one of the following:

Incomplete or Corrupted Base64 String Ensure the Base64 string is complete and correctly formatted. If it starts with a prefix like data:image/jpeg;base64,, you need to remove this before decoding.

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

79366011

Date: 2025-01-17 20:22:34
Score: 1.5
Natty:
Report link

I am extremely late to the discussion, however the work around I found that worked with Bookstack was to set the Youtube video to unlisted. Then generate embed code, and use.

Then go into Youtube and set video to Private. My embedded video still works, however if the user tries to copy URL and play it outside of my Bookstack Youtube says the video is Private.

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

79366005

Date: 2025-01-17 20:17:33
Score: 1
Natty:
Report link

I think you have to set the Logo URL for the account-console to a URL of your application. e.g. https://my-website.com/logo.png Then the account-console should set the link to https://my-website.com .

If you need more Customizations for Login / Account-Console maybe https://docs.keycloakify.dev/ could help you.

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

79365998

Date: 2025-01-17 20:12:32
Score: 0.5
Natty:
Report link

I have the same problem. I solved it using the Linguist extension. There are a lot of settings there. It has a full-page translation feature. You can choose which translation service to use - Google, Yandex, lingua, and your own custom options. You can set up a shortcut for full-page translation. There is also a selection translation and a bunch of settings. I like this option the most.

Alternatively, you can use some kind of programmable auto clicker. So that when you press some hotkey, it emulates the necessary actions to activate the browser's built-in full-page translation. I used to use an autoclicker before finding an extension.

By the way, you can display the built-in full-page translation button on the Chrome toolbar. So that you don't have to go to the context menu every time. On the new chrome settings page -> scroll from right to left ->Toolbar - here you can display some functions in the toolbar quick access mode.

I like the option with the Linguist extension the most. It is also useful in the Edge browser. This way, you can translate the page, and the browser will be able to read the already translated text by voice. There are other similar extensions. Perhaps some of them are even better.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Whitelisted phrase (-2): I solved
  • Whitelisted phrase (-1.5): you can use
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (1):
Posted by: Derian De Grey

79365993

Date: 2025-01-17 20:08:31
Score: 2
Natty:
Report link

Add the HubMethodNameAttribute on your interface method.

public interface IBroadcastHub
{
    [HubMethodName("Hello")]
    Task CurrentTimeAsync(DateTimeOffset time);
}
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Austin

79365992

Date: 2025-01-17 20:08:31
Score: 1.5
Natty:
Report link

What fixed it for me was adding pod 'GoogleUtilities' to the Runner and both pod 'GoogleUtilities' and pod 'GTMSessionFetcher' to my share extension's target.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What fix
  • High reputation (-1):
Posted by: Tal Barda

79365984

Date: 2025-01-17 20:03:30
Score: 2
Natty:
Report link

To resolve this first we need to Open our task manager and then click on Services Tab, as shown in the Image below:

enter image description here

Taskmanager Services tab After clicking on that You will see this Interface:

enter image description here

SERVICES TAB Now scroll-down🖱️ and find the MongoDB in this services Tab:

enter image description here

After finding that where it is written Stopped🛑 right click on that and click start, it will show running🏃🏽‍♂️ as soon as you click on start

enter image description here

Now close the Task Manager and open MongoDB compass Desktop Application and then click on Connect🔗 button, now you will be able to connect to MongoDB compass

Successful connection MongoDB Compass

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: anas behhari

79365983

Date: 2025-01-17 20:03:30
Score: 2
Natty:
Report link

i was able to fix this using read write lock instead of regular spin lock.

since both of the functions are just reading and not writing it makes a lot of sense having the read lock instead.

like usual i learned something after i post it :)

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

79365982

Date: 2025-01-17 20:02:30
Score: 3
Natty:
Report link

Looks like NaN has some trailing or leading empty chars. After removing those empty chars, df.dropna() does remove the line with NaN in it.

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

79365981

Date: 2025-01-17 20:02:30
Score: 2.5
Natty:
Report link

Thank you so much. It took 2days to read your solution. It worked just fine. But when i was using wireless ios device, flutter run seem's not worked to hot reload/restart.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): It worked
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nguyn Vit H Bun

79365971

Date: 2025-01-17 19:55:27
Score: 8 🚩
Natty:
Report link

If your entity is in the same package then no need to use @EntityScan

reference: @EnableJpaRepositories/@EntityScan annotations mandatory in spring data jpa configuration setup?

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @EntityScan
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Syed

79365968

Date: 2025-01-17 19:53:26
Score: 2
Natty:
Report link

When you send() bytes with your application, TCP completes a segment at the last byte of the send() and sets the PSH flag. This notifies the receiving stack that it should complete the application's recv() early even if it doesn't fill the buffer.

However... receivers who expect a short recv() to mean that was a send() boundary at the sender will flake out unexpectedly when, in practice, that doesn't always turn out to be true.

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

79365956

Date: 2025-01-17 19:49:25
Score: 1
Natty:
Report link

In my case for ttyACM0 the following worked:

sudo chmod a+rw /dev/ttyACM0

Found here. Something to be kept in mind as mentioned in the source is that every time you unplug and replug the device you will need to re-run the command.

This answer is very late but hopefully will help someone.

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

79365946

Date: 2025-01-17 19:45:25
Score: 1.5
Natty:
Report link

(Disclaimer: I'm the developer of the Rlytic app)

A bit late to the party but Rlytic might be of interest to you if you just want to test scripts and show some plots. It works out of the box. It is free and executes the R code on a dedicated server. All generated output files (like plots, etc.) can be downloaded, displayed and shared.

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

79365944

Date: 2025-01-17 19:45:25
Score: 3
Natty:
Report link

"Is there an elegant way to adjust the internal left margin of the Unified toolbar?"

No

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: thecoolwinter

79365940

Date: 2025-01-17 19:43:24
Score: 1
Natty:
Report link

Joomla comes with a predefined .htaccess file which contains a section about gzipped assets:

RewriteRule "^(.*)\.js" "$1\.js\.gz" [QSA]

Not exactly answer, but if I comment the subject line, I have for js files cache-control max-age=31536000 (1 year).

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

79365935

Date: 2025-01-17 19:41:23
Score: 2
Natty:
Report link

Programmatically in Kotlin:

editText.setBackgroundResource(0)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (0.5):
Posted by: Matt

79365934

Date: 2025-01-17 19:40:23
Score: 0.5
Natty:
Report link

"How many records should we display...?"

The report should display of the records returned by the query when you have implemented filtering logic that meets the business requirements. You should never arbitrarily truncate results. Which records matter is a decision the user should make.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: dougp

79365931

Date: 2025-01-17 19:39:22
Score: 4
Natty:
Report link

I think I found the answer here, via Microsoft documentation.

https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.datagridviewcomboboxcolumn?view=windowsdesktop-9.0

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Lord Helmet

79365925

Date: 2025-01-17 19:38:21
Score: 1.5
Natty:
Report link

Be careful with HTML Comments with Unclosed Tags.

Go to a Django project and write this line in a template

<!-- {% if context %} -->

What happens is that Django will raise this error:

TemplateSyntaxError: Unclosed tag on line XXX: 'if'. Looking for one of: elif, else, endif.

Wait, what? Why is a comment raising an error? Aren't comments ignored? Well... yes and no.*


Why is this happening?


If you close the tag, no error happens.

<!-- {% if context %} {% endif %} -->


What to do if I want to make a comment with an unclosed tag?

Use Django's Template comments and not html's. Django template's comments are ignored and aren't passed to the browser (the yes part).*

You have two options:

  1. Use comment syntax to comment-out part of a line in a template:
{# {% if context %} #}
  1. Use the comment tag for multiline comment, it ignores everything between them.
{% comment %}  {% if context %} {% endcomment %}
Reasons:
  • Blacklisted phrase (1): What to do if
  • Blacklisted phrase (1): to comment
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (0.5): Why is this
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Guzman Ojero

79365923

Date: 2025-01-17 19:37:21
Score: 0.5
Natty:
Report link

The /blog should work. I recommend you restart VSCode after changing the file name if it doesn't work. Your params is "slugs", not "slug". And you console.log params object, so that shows the value in console, but HTML pointed wrong variable as params.slug. It should be params.slugs

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

79365918

Date: 2025-01-17 19:33:19
Score: 8.5 🚩
Natty:
Report link

Can you show the client code? The error is on the requester?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you show
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Fernando Vedana

79365896

Date: 2025-01-17 19:23:17
Score: 1
Natty:
Report link

There is an alternative answer to @Eddie Bergman that recives a dict instead of named parameters. Using .create with a dict still keeps auto completion.

from typing import TypedDict

class MyDict(TypedDict):
    a: str
    b: int
    c: list[float]

    @staticmethod
    def default_values() -> 'MyDict':
        return {
            "a": "",
            "b": 0,
            "c": [],
        }

    @staticmethod
    def create(values: 'MyDict') -> 'MyDict':
        instance = MyDict.default_values()
        instance.update(values)
        return instance

my_variable = MyDict.create({"a": "Hello World"})
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Eddie
  • Low reputation (1):
Posted by: VictorG-028

79365887

Date: 2025-01-17 19:18:16
Score: 2.5
Natty:
Report link

Turn off AOT (Ahead of Time). If you check on AOT in your applicaion (.NET core) just forget about serialisation.

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

79365886

Date: 2025-01-17 19:18:15
Score: 6.5 🚩
Natty: 5.5
Report link

Child can browse different games for hours... Watching demos... no limits...How to fix that?

Reasons:
  • RegEx Blacklisted phrase (1.5): How to fix that?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Oleh Sukhyy

79365880

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

I wanted the functionality of hovering over points, not the line. I was able to access the scatterPlotItem inside the PlotDataItem by using

plot_item.scatter.opts.update(hoverable=True)

I used info from here to make the change: https://github.com/pyqtgraph/pyqtgraph/discussions/2538

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

79365879

Date: 2025-01-17 19:16:14
Score: 2.5
Natty:
Report link

rank deficient so dropping 5 columns / coefficients was solved by not categorizing the Age predictor and reading it as a numeric value and not as a factor, whereas the rank deficient was solved by removing ZoneID from the model because there is no variation.

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

79365877

Date: 2025-01-17 19:15:14
Score: 0.5
Natty:
Report link

For me it was resolved by updating both React and ReactDOM along with their type defs to the latest versions:

npm install react@latest react-dom@latest

npm install @types/react@latest @types/react-dom@latest
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Baris Taskiran

79365873

Date: 2025-01-17 19:14:12
Score: 9 🚩
Natty: 5.5
Report link

Hi did someone find solution for this ?

Reasons:
  • RegEx Blacklisted phrase (3): did someone find solution
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user1788811

79365855

Date: 2025-01-17 19:05:10
Score: 0.5
Natty:
Report link

This was due to a bug in Visual Studio. I uninstalled the MAUI workload as well as whole Visual Studio , and then reinstalled both again. The error was gone in Visual Studio 2022 v17.12.4. You might need to uninstall and reinstall your version of VS again.

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

79365853

Date: 2025-01-17 19:05:10
Score: 2.5
Natty:
Report link

OK, I figured it out. I need to change HideShape to Worksheet_Change!

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-2): I figured it out
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: DocBrown

79365849

Date: 2025-01-17 19:03:09
Score: 0.5
Natty:
Report link

This was due to a bug in Visual Studio 2022. I uninstalled the MAUI workload as well as whole Visual Studio 2022, and then reinstalled both again. The error was gone in Visual Studio 2022 v17.12.4.

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

79365845

Date: 2025-01-17 19:03:09
Score: 3.5
Natty:
Report link

On IBMi: SELECT * FROM SYSIBMADM.ENV_SYS_INFO;

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

79365844

Date: 2025-01-17 19:03:09
Score: 0.5
Natty:
Report link

I tried hacking this together and I got something close to what you want, but it's finicky with the initial conditions.

import skimage as sk
import numpy as np
import matplotlib.pyplot as plt
import lmfit
# Loading your image and removing what I believe are some artifacts from saving.
img = sk.io.imread("mLSEYuHD.png")
img = (img > 0).astype(int)
img = sk.morphology.binary_opening(
    sk.morphology.binary_opening(sk.morphology.binary_opening(img))
)
lbl = sk.measure.label(img)
lbl = (lbl == 1).astype(int)
# Use regionprops to get some initial estimates of the ellipse
props = sk.measure.regionprops(lbl)
props = props[0]
props.centroid, props.axis_major_length, props.axis_minor_length, props.orientation
# ((215.51666590357584, 240.36841261846985),
# 237.78103980008083,
# 236.05236540309176,
# 1.0263988084463667)

# Define the formula for an ellipse. If it's <=1, it's inside the ellipse.
def ellipse_formula(x, y, center_x, center_y, major, minor, angle_rad):
    cos_angle = np.cos(angle_rad)
    sin_angle = np.sin(angle_rad)

    term1 = ((x - center_x) * cos_angle + (y - center_y) * sin_angle) ** 2 / major**2
    term2 = ((x - center_x) * sin_angle - (y - center_y) * cos_angle) ** 2 / minor**2

    return term1 + term2

# Since i'm using lmfit to get the shape parameters, I'm initializing the parameter object with the guesses from the distribution. I found that these have a great influence in the fit, but perhaps, with some work, you'll get better initial guesses.

params = lmfit.Parameters()
params.add("cx", value=215, min=0)
params.add("cy", value=240, min=0)
params.add("major", value=300 / 2, min=0)
params.add("minor", value=300 / 2, min=0)
params.add("ang", value=0)

# Defining a residual. Essentially, this sums up the pixels outside the ellipse and tries to minimize that. But if it finds pixels that should be inside, it'll return a huge number.

def residual(params, img):
    cx = params["cx"].value
    cy = params["cy"].value
    maj = params["major"].value
    min = params["minor"].value
    ang = params["ang"].value

    x = np.arange(0, img.shape[1])
    y = np.arange(0, img.shape[0])
    xx, yy = np.meshgrid(x, y, indexing="ij")
    ell_mask = ellipse_formula(xx, yy, cx, cy, maj, min, ang) <= 1
    if np.sum(img[~ell_mask]) > 0:
        return 1000000000
    else:
        return np.sum(~img[ell_mask]) # Sum of background pixels inside the ellipse, which should be as low as possible

# I try to modify this to get the ellipse roughly around the shape I want. If it's too fa

plt.imshow(lbl)
x = np.arange(0, lbl.shape[1])
y = np.arange(0, lbl.shape[0])
xx, yy = np.meshgrid(x, y, indexing="ij")
ell_mask = (
    ellipse_formula(
        xx,
        yy,
        params["cx"],
        params["cy"],
        params["major"],
        params["minor"],
        params["ang"],
    )
    <= 1
)
plt.imshow(ell_mask, cmap="gray", alpha=0.5)
residual(params, lbl.astype(bool))

# Fitting and getting the optimized parameters

fit = lmfit.minimize(residual, params, args=[lbl.astype(bool)], method="nelder")

# Visualizing the output

plt.imshow(lbl)
x = np.arange(0, lbl.shape[1])
y = np.arange(0, lbl.shape[0])
xx, yy = np.meshgrid(x, y, indexing="ij")
ell_mask = (
    ellipse_formula(
        xx,
        yy,
        fit.params["cx"],
        fit.params["cy"],
        fit.params["major"],
        fit.params["minor"],
        fit.params["ang"],
    )
    <= 1
)
plt.imshow(ell_mask, cmap="gray", alpha=0.5)
residual(params, lbl.astype(bool))

This was my output. It's pretty close to what you wanted I think.

enter image description here

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: K.Cl

79365839

Date: 2025-01-17 19:01:09
Score: 0.5
Natty:
Report link

Angular won't re-render the component even with onSameUrlNavigation: 'reload' as per its documentation (https://v17.angular.io/api/router/OnSameUrlNavigation) this is usually used when you want to re-trigger a canMatch guard.

The easiest way is to add a listener to the params subject in Route in your component and wait for changes, then refresh your state.

 
  private async doInit() {
    await this.doMyStuff();
    await this.doAwesomeStuff();
  }

  public async onInit() {
    await this.doInit();
  }

  constructor(
    private readonly route: ActivatedRoute,
  ) {
    this.route.params.subscribe(async (params: Params) => await this.doInit());
  }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: CommunismForever

79365830

Date: 2025-01-17 18:52:07
Score: 0.5
Natty:
Report link

I found the answer here: https://stackoverflow.com/a/78887005/5338948

The problem was that the ESLint docs don't specifically state that the ignores should be it's own object. I changed my eslint as below and it worked

import eslint from '@eslint/js';
import stylistic from '@stylistic/eslint-plugin';
import tseslint from 'typescript-eslint';

/** @type { import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigFile } */
export default [
  eslint.configs.recommended,
  ...tseslint.configs.recommendedTypeChecked,
  ...tseslint.configs.stylisticTypeChecked,

  stylistic.configs.customize({
    'indent': 2,
    'brace-style': '1tbs',
    'semi': true,
    'arrow-parens': true,
  }),
  {
    ignores: [
      '**/*.js',
      '**/tests-examples/**',
      '**/pw-report/**',
      'assets',
    ]
  },
  {
    plugins: {
      '@typescript-eslint': tseslint.plugin,
      '@stylistic': stylistic,
    },
...
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: iam_malc

79365825

Date: 2025-01-17 18:50:07
Score: 3.5
Natty:
Report link

There is a way to do that. But it requires the enterprise edition of Zoho CRM:

https://www.zoho.com/crm/developer/docs/api/v7/create-custom-module-api.html

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

79365822

Date: 2025-01-17 18:49:06
Score: 4
Natty:
Report link

One it is executed then only exit make sense. Right? This is the case where the entry is not happening due to gap

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

79365821

Date: 2025-01-17 18:49:06
Score: 0.5
Natty:
Report link

For those reading this in 2025, using Azure Function model v4 and NodeJS 18: request.headers currently returns an object with a javascript Map, the latter containing the headers list. To get the IP address from the headers, use the Map.get() method: request.headers.get('x-forwarded-for')

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

79365817

Date: 2025-01-17 18:47:05
Score: 1
Natty:
Report link

I got a "Failed to sync triggers for function app (BadRequest)" error when deploying an app built for Java 21 when the function app was set to 17.

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

79365810

Date: 2025-01-17 18:46:05
Score: 0.5
Natty:
Report link

For those reading this in 2025, using Azure Function model v4 and NodeJS 18: request.headers currently returns an object with a javascript Map, the latter containing the headers list. To get the header value, use the Map.get() method: request.headers.get('x-forwarded-for')

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

79365808

Date: 2025-01-17 18:45:04
Score: 0.5
Natty:
Report link

settings.json is a JSONC (JSON with Comments) file. While standard JSON does not support comments, JSONC supports including comments (both in-line and stand-alone) with //.

Thanks to jonrsharpe for the insight.

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

79365798

Date: 2025-01-17 18:38:03
Score: 0.5
Natty:
Report link

For future users.. You can display 24bit (16,777,216) colors within a windows console from any language with the use of Ascii Text.

C# Example, this is a Color object extension:

public static class ColorExt
{
    /// <summary>
    /// Color extension to convert Color to Ascii text to be used within a Console.Write/WriteLine.
    /// </summary>
    public static string ToAscii(this Color clr, bool isForeground)
    {
        var present = isForeground ? 38 : 48;
        return $"\x1b[{present};2;{clr.R};{clr.G};{clr.B}m";
    }
}

Usage:

const string RESET = "\x1b[0m";
Console.WriteLine($"This is {Color.Gold.ToAscii(true)}GOLD text and " +
                  $"now with a {Color.Red.ToAscii(false)}RED background{RESET}. " +
                  $"After reset, all colors are set back to default.");

Results: enter image description here

Happy hacking..

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

79365795

Date: 2025-01-17 18:38:03
Score: 1.5
Natty:
Report link

The solution to my problem turned out to be simple. Before the server{} block in http{}, you need to add

include mime.types;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: panic08

79365775

Date: 2025-01-17 18:30:01
Score: 2.5
Natty:
Report link
(function(ss,ex){ window.ldfdr=window.ldfdr||function(){(ldfdr._q=ldfdr._q||[]).push([].slice.call(arguments));}; (function(d,s){ fs=d.getElementsByTagName(s)[0]; function ce(src){ var cs=d.createElement(s); cs.src=src; cs.async=1; fs.parentNode.insertBefore(cs,fs); }; ce('https://sc.lfeeder.com/lftracker_v1_'+ss+(ex?'_'+ex:'')+'.js'); })(document,'script'); })('bElvO73PmNp4ZMqj');
Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Awal Ahmed

79365771

Date: 2025-01-17 18:29:01
Score: 2.5
Natty:
Report link

You can disable the use of a cursor completely. Tread carefully though. https://help.salesforce.com/s/articleView?id=001458024&type=1

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

79365755

Date: 2025-01-17 18:22:59
Score: 3
Natty:
Report link

For me, I have initialized it in a test case. I am thinking maybe I should run it in msix code instead.

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

79365754

Date: 2025-01-17 18:21:58
Score: 5
Natty:
Report link

It worked I changed the {0.125f,0.125f} to {512.f,512.f} and it seems to be working. Thanks again for ur help @JesperJuhl !

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): It worked
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @JesperJuhl
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: the

79365751

Date: 2025-01-17 18:21:58
Score: 3.5
Natty:
Report link

Use ; at the end: Great, I only need that. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: MariaC

79365735

Date: 2025-01-17 18:16:56
Score: 5
Natty: 5.5
Report link

https://github.com/usethisname1419/Easy-Python2

makes python2 virtualenv easy.

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

79365731

Date: 2025-01-17 18:16:56
Score: 1
Natty:
Report link

The autofill UI is designed to be used for exactly this use case. You call WebAuthn in a conditionally mediated mode on page load, which will offer the autofill UI experience to the user.

https://passkeys.dev/docs/use-cases/bootstrapping/#authenticating-the-user

This is the recommended experience if your login screen has a username / identifier field.

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

79365721

Date: 2025-01-17 18:10:54
Score: 3.5
Natty:
Report link

I think that there is no such (known) way to do it. For that reason closing this thread.

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

79365712

Date: 2025-01-17 18:04:53
Score: 1
Natty:
Report link

The fix for me was to expliciteley sort the array s probably the order of array was varying.

ksort($this->categories);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: hugronaphor

79365709

Date: 2025-01-17 18:04:53
Score: 1.5
Natty:
Report link

Adding --collect-binaries=tables should fix the issue, as suggested in this thread (even though the error message there isn't exactly the same): https://github.com/pyinstaller/pyinstaller/issues/7408

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

79365701

Date: 2025-01-17 18:01:52
Score: 1
Natty:
Report link

I use this notation

my_list = ["foo", "bar", "BAZ"]

replacements = {'BAZ': 'baz'}

my_list_updated: list = [
    replacements.get(col, col)
    for col in my_list
]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: pink_daemon

79365698

Date: 2025-01-17 18:00:52
Score: 1
Natty:
Report link

The issue you're encountering stems from misunderstanding how mxml handles attributes and text content. Functions like mxmlGetText are used to retrieve the text content between the opening and closing tags of a node, which in this case, is empty.

To access an attribute value in a Mini-XML (mxml) node, you should use the mxmlElementGetAttr function.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Boris L.

79365693

Date: 2025-01-17 17:59:51
Score: 1
Natty:
Report link

Try strategy.exit

if strategy.position_size > 0
    strategy.exit(
      id                 = 'Long Exit',
      from_entry         = 'Long',
      stop               = today_low,
      limit              = 400)
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Gu5tavo71

79365667

Date: 2025-01-17 17:51:50
Score: 3
Natty:
Report link

Turns out these jobs run in separate pipelines and the problem of transferring artifacts between different pipelines has been encountered before (Gitlab CI/CD Pass artifacts/variables between pipelines).

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

79365665

Date: 2025-01-17 17:50:49
Score: 1
Natty:
Report link

Since the default handler's filter injects the aws_request_id into the record, if you remove the default handler, you will not be able to retrieve aws_request_id. Therefore, instead of removing the default handler and adding your own, you should just modify the formatter using setFormatter.

Also you can see the code of default handler and filter https://github.com/aws/aws-lambda-python-runtime-interface-client/blob/849e874de01776cb386c18fb2c1731d43cd2b2f4/awslambdaric/bootstrap.py#L339C1-L342C20

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

79365664

Date: 2025-01-17 17:50:49
Score: 3
Natty:
Report link

are you using MSYS2?

if yes, open MSYS2 UCRT64 if run under 64 systems and install this:

pacman -S mingw-w64-x86_64-toolchain

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Hari Purnomo

79365647

Date: 2025-01-17 17:41:47
Score: 4
Natty: 4
Report link

Seems like there should be a simple find in Source Control Explorer.

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

79365644

Date: 2025-01-17 17:41:47
Score: 3.5
Natty:
Report link

a small suggestion man i think you should try some web api that would work probably

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

79365642

Date: 2025-01-17 17:40:47
Score: 0.5
Natty:
Report link

Beware of using "#table tr" as the selector, this is not a 100% solution. The "#table tr" selector find all rows within the table element, and makes no distinction between rows in the specified table and rows in an sub-table contained within the cells of the table.

Ideally you might think something like table>tr but that does not work as the DOM structure has a thead, tbody, or tfoot element in between the table and the tr elements.

You could do it something like this: table>tbody>tr,table>thead>tr,table>tfoot>tr but this only works if query keeps the elements it finds in DOM order and not the order it finds them based on the selector ordering. Switching the order to thead, tbody, tfoot might cause them to line up if jQuery does not use DOM ordering for the results.

But as far as i can tell there is no selector in jQuery by rowIndex.

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

79365634

Date: 2025-01-17 17:37:46
Score: 2.5
Natty:
Report link

void MessageBoxT(const char* message) { CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)([](LPVOID lpParam) -> DWORD WINAPI {MessageBoxA(NULL, (char*)lpParam, "Info", MB_OK | MB_TOPMOST | MB_SYSTEMMODAL); return 0; }), (LPVOID)message, 0, NULL); }

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

79365633

Date: 2025-01-17 17:37:46
Score: 2.5
Natty:
Report link

For anyone who runs into this answer because they're using enums, checking if an enum variable is truthy before checking what its value matches will cause this issue because the first value in your enum is 0 by default, which is a falsy value.

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

79365628

Date: 2025-01-17 17:36:46
Score: 1
Natty:
Report link

for nextjs typescript

    import type { NextConfig } from "next";
    
    const nextConfig: NextConfig = {
      /* ignore build errors */
      ignoreBuildErrors: true,

eslint:{
    ignoreDuringBuilds: true, during builds
  }
     
};

export default nextConfig;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: uttam pun

79365625

Date: 2025-01-17 17:34:45
Score: 1.5
Natty:
Report link
  1. '/blog' should still work since it's not a reserved route, you can restart your server when you rename this.
  2. Params is now a promise, so you should treat it as such, see example from the doc here: https://nextjs.org/docs/app/building-your-application/routing/dynamic-routes
  3. Should be slugs and not slug
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Unclebigbay

79365620

Date: 2025-01-17 17:32:44
Score: 4
Natty:
Report link

How about to use in the following format? await page.locator('[@data-qa="login-password"]').locator('input').fill('your password');

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: rp517

79365618

Date: 2025-01-17 17:32:44
Score: 1
Natty:
Report link
import com.twilio.rest.api.v2010.account.Balance;

...

public String getBalance(String accountSid) {
    Balance balance = Balance.fetcher(accountSid).fetch();
    return balance.getBalance();
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ProfessorNpc

79365610

Date: 2025-01-17 17:29:43
Score: 0.5
Natty:
Report link

It's tough to pick the best design, but I think using WebSockets could work well here. You can check out Laravel Reverb and Laravel Echo for that. If you look at the official Laravel docs, there's an example that’s pretty similar to what you're working on.

For example, imagine your application is able to export a user's data to a CSV file and email it to them. However, creating this CSV file takes several minutes so you choose to create and mail the CSV within a queued job. When the CSV has been created and mailed to the user, we can use event broadcasting to dispatch an App\Events\UserDataExported event that is received by our application's JavaScript. Once the event is received, we can display a message to the user that their CSV has been emailed to them without them ever needing to refresh the page.

In the question you mention

recurrent axios calls every x seconds?

I think you’re talking about polling, which could help with your issue, but it comes with its challenges. If you decide to go for polling, you can check out the Inetra documentation; there’s a section that covers polling in detail.

Resources -

https://laravel.com/docs/11.x/broadcasting

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

79365609

Date: 2025-01-17 17:29:43
Score: 3.5
Natty:
Report link

If only there was a keyword in C++ that forces the execution to go to a label.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Stephen M. Webb

79365603

Date: 2025-01-17 17:28:42
Score: 1
Natty:
Report link

This was happening to me after a re-install of Visual Studio Community 2022 and just could not get tests to run.

The problem was that Microsoft had omitted from the build all of the unsupported frameworks, including .NET 6.0.

These are the steps for the fix:

  1. Open the Visual Studio Installer and choose 'Modify'
  2. On Components page, click the tab (at the top) 'Individual Components'
  3. Choose from the list the framework(s) you want included, for me it was .NET 6.0 Runtime.
  4. Click Install while downloading. 5 Once installed, Start VS and rebuild your solution.
  5. All tests appear and run!!
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Brian Victor Baker

79365601

Date: 2025-01-17 17:27:42
Score: 3.5
Natty:
Report link

i am currently facing this issue, if you fixed it, telling me how would help.

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

79365595

Date: 2025-01-17 17:25:41
Score: 1
Natty:
Report link

i had the same problem, i just simply pulled it out of circuit and then retried, turns out on of the pins on my d1 mini were high, for context i used D1, D2, D5 and D6 of the esp8266 di mini.

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

79365589

Date: 2025-01-17 17:23:41
Score: 1
Natty:
Report link

I had the same , I just had to install phonenumbers as well pip install django-phonenumber-field then pip install phonenumbers

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

79365584

Date: 2025-01-17 17:22:40
Score: 1.5
Natty:
Report link

I had similar issue on my Mac with PyCharm and and finally found the solution. Default user data is stored in the following file: /Users/<your_user_name>/.config/github-copilot/apps.json

Open the file and remove saved entry. You will need to re-authenticate again.

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

79365580

Date: 2025-01-17 17:20:40
Score: 1.5
Natty:
Report link

I had similar issue on my Mac with PyCharm and and finally found the solution. Default user data is stored in the following file: /Users/<your_user_name>/.config/github-copilot/apps.json

Open the file and remove saved entry. You will need to re-authenticate again.

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

79365561

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

Another alternative, via the HttpInteractionList#response_for method:

cassette = VCR::Cassette.new('cassette_name')
request = VCR::Request.new(:post, 'https://whatever_api')
response = cassette.http_interactions.response_for(request).body
# JSON.parse(response), etc. as required
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: David

79365557

Date: 2025-01-17 17:12:37
Score: 3
Natty:
Report link

Finally found out how to restore it and thought we should share, since we didn't find anything on Google either

This is how you can hide it (right-click on the box): Screenshot of VS Code showing right click menu with "Hide 'Start Debugging' option"

And to enable it back, you must right-click the More Options icon, which now will show the "Reset Menu" option.

Screenshot of VS Code showing right click menu on More Options icon with "Hide 'Reset Menu' option"

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: oScarDiAnno