79208172

Date: 2024-11-20 16:42:08
Score: 2.5
Natty:
Report link

As Joop Eggen noted, using tokenizers.UnicodeScripts instead of ByteLevel solved the issue.

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

79208170

Date: 2024-11-20 16:42:08
Score: 0.5
Natty:
Report link

Let's see how to achieve the proposed result:

def pattern( char1, char2, n ):
     # first we save the base pattern 
    out =  char1 + char2 
    for i in range( n ):
         # in each iteration, we add to it its inverted version
        out += invert( out )
    return out
    
def invert( char ):
    out = ""
    for i in range( len( char )):
         # only in the odd numbers we add to **out** the reversed items
        if i % 2 != 0:
            out +=  char[ i ] + char[ i - 1 ]
    return out
Reasons:
  • Blacklisted phrase (1): how to achieve
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Marce Puente

79208167

Date: 2024-11-20 16:40:07
Score: 3.5
Natty:
Report link

try and see if this works.

https://docpose.com/tools/converter/xaml

it say it can convert xaml to pdf

if not then why dont you convert xaml to html and then to pdf

html https://codebeautify.org/xml-to-html-converter

pdf https://html2pdf.com/

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

79208152

Date: 2024-11-20 16:38:07
Score: 2.5
Natty:
Report link

I've just built in newly installed VS code and everything worked, did not ask anything, there were no errors. magic!

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

79208149

Date: 2024-11-20 16:37:06
Score: 1.5
Natty:
Report link

So, apparently, it works with Next14 but not 15!

deno run -A npm:create-next-app@14 -- This works!
deno run -A npm:create-next-app@latest -- This doesn't!
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Vivek Kaushik

79208145

Date: 2024-11-20 16:36:06
Score: 3.5
Natty:
Report link
tempString = cbxSettingsUnit(cbxSettingsUnit.SelectedIndex).Itemdata
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28399905

79208141

Date: 2024-11-20 16:35:06
Score: 1
Natty:
Report link

Reading the docs, i realize that in Flutter Web the signIn method should not be used and will be deprecated, it is better to use a mix of signInSilently method, but it sometimes fails if user closes it once and it doesn't open anymore (for security i guess).

Another way they recommend it's to use their renderButton, it works, but it's not customizable.

In my case, I'm using Firebase, so i did it this way

FirebaseAuth.instance.signInWithPopup(GoogleAuthProvider());

Of course i need to have previous firebase config.

However, i think that they should improve a real alternative for signIn()

Reasons:
  • Blacklisted phrase (0.5): i need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Erick Galván

79208133

Date: 2024-11-20 16:35:06
Score: 3
Natty:
Report link

In codeigniter 4, the APPPATH is the path to the app directory. To learn more constants, head to their manual here Codeigniter Guide

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

79208124

Date: 2024-11-20 16:33:05
Score: 1
Natty:
Report link

Got this error because I mistakenly added this at the top of the file

export const runtime = "edge";
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mia loha.dev

79208121

Date: 2024-11-20 16:32:05
Score: 1.5
Natty:
Report link

I installed Android Studio Ladybug | 2024.2.1 Patch 2, but it was not working. I restarted my system, and it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: sanjeev kumar

79208119

Date: 2024-11-20 16:31:04
Score: 5.5
Natty:
Report link

Did you set the variable in Windows?

https://confluence.atlassian.com/doc/setting-the-java_home-variable-in-windows-8895.html

Here you can see a video to how to do it:

https://youtu.be/0kF_ljRShDA?t=64

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: Alexandre B.

79208117

Date: 2024-11-20 16:31:04
Score: 2.5
Natty:
Report link

Replace i in k <= i with (2 * i) - 1, so that the expression would be k <= (2 * i) - 1.

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

79208112

Date: 2024-11-20 16:30:03
Score: 4.5
Natty:
Report link

In addition to Jason Snouffer's answer, there is also k8s-sidecar doing continuous updates for files from ConfigMaps. The project has a bit more reputation than configbump.

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

79208102

Date: 2024-11-20 16:28:03
Score: 2.5
Natty:
Report link

Assuming you have docker running locally, then you would use

bolt://localhost:7687

FYI- bolt+s would be used if you've configure SSL support.

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

79208101

Date: 2024-11-20 16:28:03
Score: 2
Natty:
Report link

Make the following changes:

    minSdk 23
    targetSdk 34
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hossein Eskandari

79208094

Date: 2024-11-20 16:26:03
Score: 3
Natty:
Report link

With ukBaz's help, I was able to solve this and the system works pretty flawlessly based on my quick initial tests. There was a flaw in my code and not anything to do with any libraries or hardware.

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

79208090

Date: 2024-11-20 16:24:02
Score: 3
Natty:
Report link

You can override the paperstyles as outlined in the api PaperProps={{ sx: { padding: '1rem' } }}

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

79208083

Date: 2024-11-20 16:22:01
Score: 3.5
Natty:
Report link

Seems like a bug.

I have used RabbitMQ 3.6.10 and it shows running or idle respectively. enter image description here

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

79208081

Date: 2024-11-20 16:22:01
Score: 3
Natty:
Report link

Use photo_manager plugin for that.

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

79208074

Date: 2024-11-20 16:19:01
Score: 2
Natty:
Report link

Posting this as an answer because it was too long as a comment due to length of link URL.

I tried to reproduce this using the Pinia playground (link, but was unable to do so.

Are you sure you aren't leaving out any relevant code?

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

79208046

Date: 2024-11-20 16:09:58
Score: 3
Natty:
Report link

Ok so I solved it.

In case it happens to someone else I'll put the answer here.

Long story short it was the TFLITE kernel accelerated maths functions that weren't compiled because the flag that defines the boards wasn't always passed by the CMake file. If you find your problem looks similar look for the EI_CLASSIFIER_TFLITE_ENABLE_ESP_NN flag and ensure your board is always define.

Thanks 0___________ for the help.

Have a good day fellow programmers, cheers.

Aloïs

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): cheers
  • Blacklisted phrase (1): good day
  • Whitelisted phrase (-2): I solved
  • No code block (0.5):
  • Self-answer (0.5):
  • Filler text (0.5): ___________
  • Low reputation (1):
Posted by: A.KYROU

79208042

Date: 2024-11-20 16:08:58
Score: 1.5
Natty:
Report link
<h3 name ="demo" id = "demo"/>

<script>
var div_name = "ABCD";
var t = '<div className="' + div_name + '">22221</div>'

document.getElementById("demo").innerHTML = t;
</script>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Niall O'Dwyer

79208031

Date: 2024-11-20 16:06:57
Score: 1
Natty:
Report link

If you want it to be done with python, I would suggest this way:

import os
import socket

ip: str = socket.gethostbyname(os.environ["HOSTNAME"]

If you do not have your hostname in pod's environment, you can set pod name as a constant

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

79208030

Date: 2024-11-20 16:06:57
Score: 1.5
Natty:
Report link

The answer given by @Naren Murali is the one you should use. But as I faced the same issue as you today, here is the explanation (given from this post)

ng-content can only exist once, you need to wrap it inside a ng-template that will only be displayed one time

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Naren
  • Low reputation (0.5):
Posted by: TCH

79208012

Date: 2024-11-20 16:01:55
Score: 9
Natty: 8
Report link

Hi Where you able to solve this?

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28399348

79208011

Date: 2024-11-20 16:00:55
Score: 2.5
Natty:
Report link

There is an open source project doing exactly what is needed (for linux, macos and windows): killport

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

79208000

Date: 2024-11-20 15:58:54
Score: 5.5
Natty:
Report link

I face the same problem of using futter_ringtone_player package. after update the futter_ringtone_player latest version my problem is solved.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I face the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: md Sharif Hossain

79207993

Date: 2024-11-20 15:57:53
Score: 0.5
Natty:
Report link

No, there's no way to associate table fields (which are just string keys in a hash table) with local variables of the same name. You just have to be explicit and think of variables and table keys as two separate things.

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

79207990

Date: 2024-11-20 15:56:53
Score: 3.5
Natty:
Report link

smokeParticle needs to be initialized. Drag the smokeParticle from the child into PlayerController's script smokeParticle.

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

79207987

Date: 2024-11-20 15:56:53
Score: 1
Natty:
Report link

How I am adding features and resources to an existing chart that I don't control is to create a new helm chart, with the existing chart (your public chart) as a dependency. You can then add the new pvc.yaml helm template into the /templates folder of that new helm chart.

One common pitfall is that the values for the dependencies go into the <name-of-dependency>: subtree in the values.yaml of the new chart.

In ArgoCD, you then reference the new chart.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): How I am addin
  • Low reputation (1):
Posted by: Robert

79207986

Date: 2024-11-20 15:55:52
Score: 1.5
Natty:
Report link

Based on this site, I think the setting you're searching for is

window.autoDetectColorScheme

To activate it, follow these steps :

  1. Open your settings at JSON format
  2. Add the following line :

"window.autoDetectColorScheme": true,

  1. (Optional) If you want, you can also choose your favourites themes, depending on the color scheme.

"workbench.preferredLightColorTheme": "YourPreferredLightTheme", "workbench.preferredDarkColorTheme": "YourPreferredDarkTheme",

  1. Save your settings.json file
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pchev78

79207974

Date: 2024-11-20 15:52:52
Score: 2
Natty:
Report link

I made a mistake in my reverse proxy configuration. I was using ajp protocol instead of http. In my tomcat I had ajp protocol disabled.

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

79207962

Date: 2024-11-20 15:48:50
Score: 3
Natty:
Report link

This might be what you're looking for https://www.ibm.com/docs/en/was-liberty/base?topic=security-public-apis.

That API allows you to access the security subject.

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

79207957

Date: 2024-11-20 15:47:50
Score: 4.5
Natty:
Report link

I am looking for solution and I really cannot get it right. I was going through some solutions but recently I have just tried to check what would be equation of trendline if the function is simply y=x^2. I have made a table with x increasing 0,5, 10, 15 etc, calculated y correspondingly (0, 25, 100, 225) and excel returns this: y=25,000000000000100x2 - 50,000000000000000x + 25,0000000000218. I presume people in MS know what they do, so how to use that function? I am using Office 365.

Reasons:
  • Blacklisted phrase (2): I am looking for
  • No code block (0.5):
  • Contains question mark (0.5):
  • Filler text (0.5): 000000000000
  • Filler text (0): 000000000000000
  • Filler text (0): 0000000000
  • Low reputation (1):
Posted by: K. Mach

79207953

Date: 2024-11-20 15:46:49
Score: 7 🚩
Natty: 6.5
Report link

got the same error, any idea??

Reasons:
  • Blacklisted phrase (1): any idea?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jianyu zhou

79207942

Date: 2024-11-20 15:43:46
Score: 11 🚩
Natty: 5.5
Report link

im facing the exact same issue,did you find a solution to this?

Reasons:
  • RegEx Blacklisted phrase (3): did you find a solution to this
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): facing the exact same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: donkyk

79207929

Date: 2024-11-20 15:40:45
Score: 1
Natty:
Report link

.regular {
  html & {
    color: red;
  }
}

.pseudo:before {
  content: '(pseudo) style me red';

  html & {
    color: red;
  }
}
<div class="regular">(regular) style me red</div>

<div class="pseudo"></div>

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

79207921

Date: 2024-11-20 15:39:45
Score: 2.5
Natty:
Report link

It happens to me when installing EKS Add-ons on an EKS Cluster, turns out all of my worker nodes have a certain taint, and I have to add tolerations to the Add-ons' DaemonSets.

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

79207920

Date: 2024-11-20 15:39:45
Score: 0.5
Natty:
Report link

Instance “B” resides in the public subnet but does not have a public IP address. Therefore, it cannot communicate directly with the internet for updates unless it uses an intermediary like Instance “A” as a NAT instance (not mentioned in your setup). To get rid of that error you need to assign a public IP to “B” if it needs direct internet access.

If Instance “B” lacks a public IP, it won’t be able to use the IGW, even though the route table is correct.

Or you can configure instance A as a proxy or NAT instance to allow B to access the internet without the need of a public IP.

and Ensure “A” has IP forwarding enabled and correct routing setup.

(even if instance in the public subnet, if it doesn't have a public IP you need to treat it the same way as an instance in the private subnet)

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

79207910

Date: 2024-11-20 15:38:45
Score: 1
Natty:
Report link

It may not be the most ideal way to resolve this, but I was able to avoid that error by converting the tab separated .raw file produced by plink2 to match the space separated .raw file produced by older versions of plink.

I used the tr command, but I'm sure there are many better ways of doing this with awk, sed etc..

cat data1.raw | tr "\t" " " > space_data1.raw

Afterwards you can run read.plink in R as usual using the new file.

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

79207906

Date: 2024-11-20 15:37:45
Score: 3.5
Natty:
Report link

To add onto @howlger:

Top Menu Bar -> Windows Tab Drop down -> Preferences...

Continue as needed.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @howlger
  • Low reputation (1):
Posted by: WildRyc

79207903

Date: 2024-11-20 15:37:43
Score: 8 🚩
Natty: 6.5
Report link

someone resolved this? i need that

Reasons:
  • Blacklisted phrase (0.5): i need
  • RegEx Blacklisted phrase (1.5): resolved this?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ALDO PECORAINO

79207894

Date: 2024-11-20 15:35:42
Score: 6 🚩
Natty: 4.5
Report link

I do not have enough reputation to comment, but, the answer of CarLoOSX is also usable for MAUI.

Reasons:
  • Blacklisted phrase (1): to comment
  • RegEx Blacklisted phrase (1.5): I do not have enough reputation to comment
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: tovergieter

79207890

Date: 2024-11-20 15:33:41
Score: 5.5
Natty:
Report link

does this matter for custom built apps that were published to my org or even for public apps?

Reasons:
  • 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: Flo

79207887

Date: 2024-11-20 15:33:41
Score: 3.5
Natty:
Report link

See the following Using Material Design for Bootstrap 5 & Vanilla JavaScript https://mdbootstrap.com/docs/standard/extended/overlay/

or see here at the bottom of the page using bootstrap Overlay Image with text with Bootstrap 4

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Niall O'Dwyer

79207884

Date: 2024-11-20 15:32:40
Score: 2
Natty:
Report link

As pointed in the comments, This is something that the test runner does.

The long answer ivolves working through with NUnit and creating custom plugins for it. The simple answer is use another [Retry] package such as the Databindings.Reqnroll.NUnit.Retry

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

79207878

Date: 2024-11-20 15:31:40
Score: 2
Natty:
Report link

Struggling with the same. This might be the cause:

"If your application runs client side, then it will be the users IP that is trying to connect to the backend service, not your app service, and so you will need to grant them access." https://learn.microsoft.com/en-us/answers/questions/1340630/got-403-ip-forbidden-requesting-backend-app-servic

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

79207874

Date: 2024-11-20 15:30:40
Score: 2
Natty:
Report link

For anyone still looking,

I made a NPM package in github registry for changing All Files in the project

https://github.com/GyeongHoKim/lfify

you can follow the instructions or just copy and paste index.cjs in somewhere in your file and just node pasted-file.cjs

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

79207869

Date: 2024-11-20 15:29:40
Score: 1
Natty:
Report link

After playing around with things and spitting out hundred of console logs.

I realized that this is the culprit in the server...

const headers = req.headers;

Instead of creating a new header, I was taking the header of the previous request and trying to use that in my new request, thus causing this error

Instead now I am doing this

const headers = req.body.headers;
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Exterasmors

79207867

Date: 2024-11-20 15:28:39
Score: 0.5
Natty:
Report link

Finally, after several days and countless tests, I discovered that the issue was related to the project itself. As stated in the Laravel factories documentation, the line 'customer_id' => Customer::factory() should never create a customer if the intent is to select an already existing one. Despite changing the logic to 'customer_id' => fake()->randomElement(Customer::all('id')) as @williamrb suggested, the same issue persisted. However, instead of occurring on record 11, it now happened randomly on 6, 12, 4, etc. Somehow, and I eventually gave up trying to figure out why, the framework did not behave as expected.

Perhaps it was due to having created and deleted multiple migrations, seeders, factories, and models incorrectly within the same project, causing it to break. After all, none of us fully understand what Laravel does behind the scenes with migrations, factories, seeders, etc. In the end, I managed to make it work by modifying the migration for the vehicles table's foreign key from:

$table->foreignId('customer_id')->constrained('customers')->onDelete('cascade');

to:

$table->unsignedBigInteger('customer_id');
$table->foreign('customer_id')->references('customer_id')->on('customers')->onDelete('cascade');

This resolved the issue. However, days later, I noticed that using the relationships still did not work as expected. As a result, I decided to create a completely new project from scratch, using exactly the same code I posted in my question, and it worked. The issue was indeed with the project itself.

I hope someone can explain why this might have happened so I can identify these types of problems more quickly in the future.

Reasons:
  • Blacklisted phrase (1): did not work
  • Whitelisted phrase (-1): it worked
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @williamrb
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Anthonyx82

79207866

Date: 2024-11-20 15:28:39
Score: 4.5
Natty: 6
Report link

have you got the solution?? I am getting tha same issue

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

79207864

Date: 2024-11-20 15:28:39
Score: 3
Natty:
Report link

I am not an expert in customizing CKEditor, but I hope these articles will help:

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

79207850

Date: 2024-11-20 15:25:38
Score: 2
Natty:
Report link

If you need to add the command in Visual Studio similar to Visual Studio Code, where pressing CTRL + D selects the next matching word, here’s the name of the command you need to configure:

Edit.InsertNextMatchingCaret.

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

79207846

Date: 2024-11-20 15:24:38
Score: 2.5
Natty:
Report link

The project from Keijiro maybe lose access to RtMidi.dll that you can find here:

https://github.com/keijiro/jp.keijiro.rtmidi/tree/master/Packages/jp.keijiro.rtmidi/Runtime/Windows

Inside this scrpit for instance, you have this import: using RtMidiDll = RtMidi.Unmanaged;

https://github.com/keijiro/Minis/blob/master/Packages/jp.keijiro.minis/Runtime/Internal/MidiPort.cs

To solve it you can import manuality from Keijiro repository.

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

79207844

Date: 2024-11-20 15:24:38
Score: 1.5
Natty:
Report link
dart run fike

requires a filename so just replace the file_name.dart with name of your file with proper location

e.g - lib/login.dart

dart run lib/login.dart
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Suraj Maurya

79207836

Date: 2024-11-20 15:21:36
Score: 4
Natty: 4
Report link

How do I retrieve John Doe and Will Smith without also retrieving John Smith in one database round-trip?

DB_ROM.relations[:names]
    .where do
        (first_name.ilike('John') & last_name.ilike('Doe')) | 
        (first_name.ilike('Will') & last_name.ilike('Smith'))
    end.to_a

More info: https://rom-rb.org/learn/sql/3.3/queries/

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

79207822

Date: 2024-11-20 15:18:36
Score: 0.5
Natty:
Report link

I tried adding clearable: true and worked on desktop view.

                <DatePicker
                  renderInput={(params) => <TextField {...params} />}
                  slotProps={{ field: { clearable: true } }}
                />
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Momen

79207817

Date: 2024-11-20 15:16:35
Score: 3.5
Natty:
Report link

Try Deleting the device from android studio and create a new one

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

79207816

Date: 2024-11-20 15:16:35
Score: 1
Natty:
Report link

Have a look at the fastkml documentation

from fastkml.utils import find_all
from fastkml import KML
from fastkml import Placemark
k = KML.parse("docs/Document-clean.kml")
placemarks = find_all(k, of_type=Placemark)
for p in placemarks:
    print(p.geometry)  
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: cleder

79207809

Date: 2024-11-20 15:15:35
Score: 1.5
Natty:
Report link

This error is due to the fact that type "null" is not destructurable at: const AuthContext = createContext<AppContext | null>(null);

A better approach is to assign the default value an empty object and declaring its type as the context type (AppContext):

const AuthContext = createContext< AppContext > ({} as AppContext);

Happy coding!

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

79207808

Date: 2024-11-20 15:15:34
Score: 7 🚩
Natty: 5.5
Report link

@Robin: I am currently stumbling over the same problem statement. How did your research end up?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Robin
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Ingo Seifert

79207806

Date: 2024-11-20 15:14:34
Score: 2.5
Natty:
Report link

Fix Android Emulator Process has terminated - Android Studio The emulator may require certains DLLs are not present, this can be fixed by ensuring that you have the Latest Microsoft Visual C++ Redistributable Version :

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: patrick wilfried Kamelan

79207805

Date: 2024-11-20 15:14:34
Score: 0.5
Natty:
Report link

Your best bet is to create an image or backup in linode-cli if you are comfortable with cli. make sure you have pip3 installed and then run pip3 install linode-cli --upgrade

To create image to be exported to google cloud, run

linode-cli images create \
  --label this_is_your_label \
  --description "My linode image-backup" \
  --disk_id 123

When prompted for PAT follow this guide. This image would move all your files and environment off linode. Good practice to shutdown server when creating backup so there won't be interference with some apps running in background.

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: linkonabe

79207804

Date: 2024-11-20 15:14:34
Score: 2
Natty:
Report link

Change the value of the IntegerField field using raw_data

form.number.raw_data = '200'
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gustavo Costa

79207802

Date: 2024-11-20 15:14:34
Score: 0.5
Natty:
Report link

If I understand you correctly, you would like to expose the external endpoint through an ingress, so no proxy would be needed when using the ingress endpoint, right?

Wouldn't it be easiest to use the proxy directly in the internal client?

E.g. if it would be cURL, by setting http_proxy and https_proxy environment variables like here or in case of java, by setting java command line options -Dhttp.proxyHost=<proxy-ip/hostname> -Dhttp.proxyPort=<proxy-port>?

Or don't you have any control of the internal client?

If I understood your question correctly, I don't think you would use k8s tooling to achieve that.

ExternalName-type Kubernetes services are basically just a CNAME record and this DNS record would then be known inside the cluster. You cannot do any HTTP-based alterations like proxying with CNAME records. You would need to setup another pod/deployment doing the proxying for you, basically setting up another proxy to use the proxy - which would be overkill imho.

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

79207790

Date: 2024-11-20 15:11:33
Score: 0.5
Natty:
Report link

The solution that works for me.

I created new SSH key using the command, ssh-keygen -t rsa -b 4096 -C "[email protected]"

then; ls -l /home/user-dir/.ssh/

here you will see two pub keys. One is an 'id_rsa.pub' file. it is not the key. and another is there with 'id_edxxxx.pub' this is the github sshkey. cat it and copy to your github environment for use.

Reasons:
  • Whitelisted phrase (-1): works for me
  • No code block (0.5):
  • Low reputation (1):
Posted by: Emmanuel

79207788

Date: 2024-11-20 15:10:33
Score: 1
Natty:
Report link

So for anyone stumbling onto this question in the future I managed to solve it, thanks to a ton of more research. What I had to do is a hard reset of the network config for the host machine:

pkill docker
iptables -t nat -F
ifconfig docker0 down
brctl delbr docker0
ip link del docker0

That's it, after that I ran docker-compose and everything worked.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: TD3V

79207785

Date: 2024-11-20 15:09:32
Score: 0.5
Natty:
Report link

The answer from Anton Tykhyy works splendidly; though in the meantime I have found another way to solve this problem, by casting to a c_void type as shown below:

let cid: CLIENT_ID = CLIENT_ID {
    UniqueProcess: HANDLE(pid as *mut core::ffi::c_void),
    UniqueThread: HANDLE(0 as *mut core::ffi::c_void)
};

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

79207772

Date: 2024-11-20 15:07:32
Score: 2.5
Natty:
Report link

Thanks @Ahmed Agha. For a good while I could not successfully utilise phpMyAdmin as it frequently gave me the error message "mysqli::real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it". I checked the Configure Server Management link when setting up a new instance and observed error in testing access to mySqld on my.ini file, however still had no clue what the cause was. I was reluctant to do a reinstall at this stage. Above solution re deleting comments above 'server-id' in my.ini file solved the issue with the Configuration server management. But I am still trying to sort out the phpMyAdmin issue.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Ahmed
  • Low reputation (1):
Posted by: Maplinks

79207769

Date: 2024-11-20 15:07:32
Score: 1.5
Natty:
Report link

use python version 1.26.4 and it will work. it worked for me atleast

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

79207767

Date: 2024-11-20 15:06:32
Score: 1
Natty:
Report link

Have a look at the fastkml documentation

from fastkml.utils import find_all
from fastkml import KML
from fastkml import Placemark
k = KML.parse("docs/Document-clean.kml")
placemarks = find_all(k, of_type=Placemark)
for p in placemarks:
    print(p.geometry)
    print(p.name)  
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: cleder

79207763

Date: 2024-11-20 15:06:32
Score: 3.5
Natty:
Report link

Add Storage Account Contributor with Storage Blob Data Contributor.

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

79207761

Date: 2024-11-20 15:05:31
Score: 0.5
Natty:
Report link

Changing href="/images/favicon.ico" to href="./images/favicon.ico" fixed my issue.

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

79207758

Date: 2024-11-20 15:04:30
Score: 7 🚩
Natty:
Report link

Good morning

Dear Sir, I appreciate the information you sent, I think the information about being able to use python to run it in Processmaker is very good. Ask him about which version of Processmaker opensource he is using. In my case, I have managed to install the Processmaker 4.10 version but I have been able to confirm certain limitations: in which the tables cannot be used, the project option and the datasource connectors which when trying to enter the options it indicates the error that this option does not exist. I could also see this problem in the old versions and the Docker 4.1 version Installation source: https://github.com/ProcessMaker/processmaker https://github.com/ProcessMaker/processmaker/releases

Unfortunately I have not been able to find information about my case, if possible you can help us. Regards

Reasons:
  • Blacklisted phrase (1): Regards
  • Blacklisted phrase (1): Good morning
  • RegEx Blacklisted phrase (3): you can help
  • RegEx Blacklisted phrase (1): help us
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: systemtt

79207742

Date: 2024-11-20 15:01:29
Score: 0.5
Natty:
Report link

Don't forget to update your composer, and update it in the right directory:

composer require mobiledetect/mobiledetectlib

This probably causes this issue, as it can't find the file to load the class.

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

79207739

Date: 2024-11-20 15:00:28
Score: 9.5
Natty: 7
Report link

Did you ever solve this? I'm running into similar problems

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever solve this
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: user28398296

79207737

Date: 2024-11-20 14:59:28
Score: 2.5
Natty:
Report link

I got the answer. My problem was that it was reading the header line as data. Once I added the line IGNOREHEADER 1, it worked. Somewhat misleading error.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: plakosizzle

79207724

Date: 2024-11-20 14:55:27
Score: 1
Natty:
Report link

For myself, the issue was the malware blocker.

I was testing SSL sandbox "How to Automate EV Code Signing With SignTool.exe or Certutil.exe Using eSigner CKA (Cloud Key Adapter)" but I was getting that error:

SignTool Error: An unexpected internal error has occurred. Error information: "Error: SignerSign() failed." (-2146893821/0x80090003)

I opened a chat sending my error and they fixed it in 1 min. I asked what they did, and thew told me they disabled the malware blocker

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: César

79207720

Date: 2024-11-20 14:55:27
Score: 0.5
Natty:
Report link

After resetting and trying again I found that actually path/to/file.yml~abcdefghi (BRANCHNAME branch-commit-msg) was the name of a file, including the spaces and parentheses. I thought it was some kind of annotation added by git to help identify the file but it's not. In the first attempt I also somehow managed to delete the file without noticing its odd name, and therefore I didn't see it in the ls -l output.

So the tldr is don't get confused by strange file names...

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Péter Györök

79207697

Date: 2024-11-20 14:49:26
Score: 2
Natty:
Report link

NAT gate way is only to provide internet access to the private instance through private subnet unlike public subnet has Internet gateway. if you want to access anything through private you must have a NAT gateway in private subnet. NAT gateway deployed in public only to provide NAT gate way to access internet.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 2107 TUMMALAPALLI HEMA HARI PA

79207695

Date: 2024-11-20 14:49:26
Score: 1
Natty:
Report link

This probably violates some programming best practices for being too verbose but I find it to be effective and easy to understand.

nmesRAW$beltuse[nmesRAW$beltuse == 1] <- "Rarely"
nmesRAW$beltuse[nmesRAW$beltuse == 2] <- "Sometimes"
nmesRAW$beltuse[nmesRAW$beltuse == 3] <- "Always"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Seth

79207693

Date: 2024-11-20 14:48:25
Score: 1.5
Natty:
Report link

Here are two methods you could look into:

The second one builds upon the first one. They have the advantage that they do not need an initial guess of the transformation between the two point clouds (in contrast to e.g. ICP).

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

79207685

Date: 2024-11-20 14:46:25
Score: 1.5
Natty:
Report link

You don't need to store the whole 2D array of dp values. Your algorithm only needs the current and previous rows. The computational complexity isn't changed by using only 2 rows, but the space complexity is so in practice, less memory requirement will probably give a performance boost.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Simon Goater

79207678

Date: 2024-11-20 14:44:24
Score: 1.5
Natty:
Report link

Consider using Data Classes:

from dataclasses import dataclass

@dataclass
class InventoryItem:
    """Class for keeping track of an item in inventory."""
    name: str
    unit_price: float
    quantity_on_hand: int = 0

    def total_cost(self) -> float:
        return self.unit_price * self.quantity_on_hand
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ori S

79207676

Date: 2024-11-20 14:43:23
Score: 1
Natty:
Report link

Try activating the virtual environment first and then install the package.

$ python3 -m venv $HOME/.venvs/MyEnv

$ source $HOME/.venvs/MyEnv/bin/activate

$ pip install <some_package>

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

79207659

Date: 2024-11-20 14:39:22
Score: 2
Natty:
Report link

This should work data["sDebug"].containsKey("AylaHeartBeatFrequency"))

Reasons:
  • Whitelisted phrase (-2): This should work
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: amigobrewbrew

79207651

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

Yes, you can compose a Modifier in Jetpack Compose to achieve the desired behavior. To wrap content height but limit it to a maximum of 80% of the available height, you can use the Modifier.heightIn() function with dynamic values provided by LocalDensity and BoxWithConstraints.

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

79207640

Date: 2024-11-20 14:34:21
Score: 2
Natty:
Report link

To add a page break using docx-template, you can insert a page break in the document using a specific XML tag <w:br w:type="page"/>. This tag is used to insert page breaks in Word documents. When working with templates, ensure that the tag is placed in the appropriate location within the document. To automate the addition of the page break in your code, ensure you handle it programmatically as part of the document creation process.

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

79207631

Date: 2024-11-20 14:33:21
Score: 0.5
Natty:
Report link
# create a line geometry using shapely
line = shapely.geometry.LineString([p1, p2])
# combine shapes into a geometrycollection
gc = shapely.geometry.collection.GeometryCollection([line, p1, p2])

from fastkml import KML
from fastkml import Placemark
pm = Placemark(geometry=gc)
k = KML(features=[pm])

more in the documentation

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

79207627

Date: 2024-11-20 14:31:20
Score: 1
Natty:
Report link

Got the same error also.

Solution was to use Deploy keys instead of an Access Token

Deploy keys: Settings -> Repository -> Deploy keys

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

79207624

Date: 2024-11-20 14:30:20
Score: 2
Natty:
Report link

It turned out to be a network issue. The hostname the bootstrap server was resolving to kafka-target-cluster/10.23.52.37:32185 was also present in my source k8s cluster. So it was not actually connecting to the target cluster.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: om shreenidhi

79207623

Date: 2024-11-20 14:30:19
Score: 4
Natty:
Report link

I have done the same than fam here

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

79207616

Date: 2024-11-20 14:27:18
Score: 1
Natty:
Report link

That's correct: The static keyword in lambdas has NO effect on the IL or the JIT compiled code. It's purpose is to ensure/enfore you don't accidentally create a closure.

I still use it because it tells me quickly which Linq expressions are creating closures and which don't, because I am performance obsessed.

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

79207613

Date: 2024-11-20 14:26:18
Score: 2
Natty:
Report link

If your new internal package has a start script in its package.json file, it will appear in the terminal when you run pnpm dev. To prevent this, simply remove the start script, and it will no longer be displayed.

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

79207609

Date: 2024-11-20 14:25:17
Score: 3
Natty:
Report link

This issue is resolved with pg_background 1.3.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Joël Hecht

79207607

Date: 2024-11-20 14:25:17
Score: 0.5
Natty:
Report link

problem resolved: The suggestion to remove trailing newlines in my row construction is a good one so i have Updated my loop to avoid extra whitespace.

# Loop through each subject to build the table rows
    for i, subject in enumerate(subjects):
        row = (
        f"<tr>"
            f"<td>{subject}</td>"
            f"<td>{counts.iloc[i]}</td>"
            f"<td>{means.iloc[i]:.2f}</td>"
            f"<td>{stdvs.iloc[i]:.2f}</td>"
            f"<td>{variances.iloc[i]:.2f}</td>"
            f"<td>{mins.iloc[i]}</td>"
            f"<td>{medians.iloc[i]}</td>"
            f"<td>{maxs.iloc[i]}</td>"
            f"<td>{ranges.iloc[i]}</td>"
        f"</tr>"
        )
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Haddadi Abdraouf

79207606

Date: 2024-11-20 14:25:17
Score: 0.5
Natty:
Report link

FastKML version 1.0 now can read files directly without transforming it to strings first

cs_kml = k = KML.parse("docs/Document-clean.kml", validate=False)

More in the documentation

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

79207602

Date: 2024-11-20 14:24:17
Score: 2
Natty:
Report link

I've found the issue! I checked in TARGETS > Swift Language Version -> And I was using Swift 4 in the project. Changed it to Swift 6 and done!

I realized because of this error in Xcode: 'jpegData(compressionQuality:)' has been renamed to 'UIImageJPEGRepresentation(::)'

It was telling me to use an older version, which made no sense.

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

79207597

Date: 2024-11-20 14:22:17
Score: 1.5
Natty:
Report link

For who may need it, this solved my issue:

init({
  name: "ShellApp",
  remotes: [
    {
      type: "module",
      name: "remote",
      entry: "http://localhost:4174/remoteEntry.js",
    },
    {
      type: "module",
      name: "remoteToolbox",
      entry: "http://localhost:4175/remoteEntry.js",
    },
  ],
});

https://github.com/module-federation/core/discussions/3252

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Laura Díaz

79207594

Date: 2024-11-20 14:22:17
Score: 0.5
Natty:
Report link

Use namespaces:

parent.tpl:

{% set ns=namespace(myvar = 'AAA') %}

{% block par %}
{{ ns.myvar }}
{% endblock %}

child.tpl:

{% extends "parent.tpl" %}

{% block par %}
{% set ns.myvar = 'BBB' %}
{{ super() }}
{% endblock %}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Certitude