79204552

Date: 2024-11-19 18:01:26
Score: 1.5
Natty:
Report link

I found the cause of the problem.

While adding the mp3 files I also added code to use the mp3's.

val soundEntry: Int = soundpool.load(context, R.raw.mp3file, 1)

That made the Android Studio to auto import android.R

I though of removing the question as this was my error, but decided to leave it for other naive programmers like me that will experience this error and not lost there mind.

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

79204543

Date: 2024-11-19 17:59:24
Score: 8 🚩
Natty: 4.5
Report link

**

Blockquote

**

enter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: Vid Plex

79204536

Date: 2024-11-19 17:57:23
Score: 3.5
Natty:
Report link

enter image description hereHaving the following parametric equation for a butterfly:

Write a java code segment to appropriately draw this function

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: mo anwarx

79204518

Date: 2024-11-19 17:51:22
Score: 1
Natty:
Report link

It was very interesting problem. I met this problem too. With a lot of trying I've just solved this problem. The main issue is that can't excute command. If you replace ExecStart line with this ExecStart=/bin/bash -c "source /home/ubuntu/.nvm/nvm.sh && /home/ubuntu/.nvm/versions/node/v22.11.0/bin/http-server -p 8080", you can fix this issue. Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: MONATE

79204515

Date: 2024-11-19 17:50:22
Score: 3
Natty:
Report link

Pad with 6 leading zeros, then use right most 6 digits:

Cells(2, 13 + iCtr).Value = Right("000000" & Hex(cellKValue + iCtr), 6)

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

79204513

Date: 2024-11-19 17:49:21
Score: 2.5
Natty:
Report link

Does this do what you want?

numbers = [3, -1, 4, -5, 6, -2]
for num in numbers:
    if num < 0:
        print("Skipping negative number:", num)
        continue
    print("Processing number:", num)
    print("Finished processing:", num)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: cnash

79204504

Date: 2024-11-19 17:47:20
Score: 6 🚩
Natty: 5
Report link

o seu kivyMD aparece isso pois ele atualizou sozihno, ou você sem preceber apertou o botão para atualizar.

Reasons:
  • Blacklisted phrase (3): você
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Winne Ferreira

79204497

Date: 2024-11-19 17:46:20
Score: 1.5
Natty:
Report link

To properly encode your xml file you have like Tanish Sharma send, set the encoding in "utf-8" but mostly don't set allways root has parent but the correct parent element, You can so just look at the above code and modify your code to add some litle thing, (it's my first time so sorry if my response is not clear ^^')

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

79204490

Date: 2024-11-19 17:44:19
Score: 2
Natty:
Report link

It's because you use Flex-grow:1;,by using flex-grow only, its basis tends to be auto, for a flex item that has auto as its basis, it normally takes the width of the content in it. So advisely you use Flex-flow:1; then your max-width

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

79204482

Date: 2024-11-19 17:39:18
Score: 2
Natty:
Report link

use _main: not _start:. The linker is just expecting a different name for the entry point .

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

79204480

Date: 2024-11-19 17:39:18
Score: 2
Natty:
Report link

Could be a duplicate of Invalid value type for attribute 'factoryBeanObjectType': java.lang.String in Spring v6.1

Did you try to add this in your pom.xml ?

<dependency>
    <groupId>org.mybatis</groupId>
    <artifactId>mybatis-spring</artifactId>
    <version>3.0.3</version>
</dependency>
Reasons:
  • Whitelisted phrase (-2): Did you try
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: AnthonyAtVIF

79204467

Date: 2024-11-19 17:36:16
Score: 7 🚩
Natty: 6.5
Report link

I have the same problem you have in 2013. please inform me If you have an answer. thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): I have the same problem
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (1):
Posted by: peacism

79204458

Date: 2024-11-19 17:33:15
Score: 4
Natty:
Report link

to run "ng update @angular/core@12"

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

79204454

Date: 2024-11-19 17:31:14
Score: 0.5
Natty:
Report link

Something like this might work for you?...

T foo(Reader<T> reader1, Reader<T> reader2) {
    Reader<T> readerA, Reader<T> readerB;
      // change "getCantCol() == 8" to the verification of a known parameter
    if( reader1.getCantVol() == 8 ) {
       readerA = reader1;
       readerB = reader2;
    }
    else {   
       readerA = reader2;
       readerB = reader1;
    }
    ....
}
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Marce Puente

79204450

Date: 2024-11-19 17:30:13
Score: 5
Natty: 4
Report link

Also had some trouble installing Rails 8 on my m1 MacBook, but finally managed. You can have a look at this guide where I wrote down the whole process: https://foxmera.github.io/2024/11/19/rails-8-setup-on-mac-m1.html

Reasons:
  • Blacklisted phrase (1): this guide
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: foxmera

79204449

Date: 2024-11-19 17:29:13
Score: 1.5
Natty:
Report link
    children=[
        html.Div(
            id="ag-grid-container", 
            style={"height": "600px", "width": "100%"}  # Set height and width
        ),
    ]
)````
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ahmad Raza

79204445

Date: 2024-11-19 17:27:12
Score: 1.5
Natty:
Report link

Code Minification and Tree Shaking: If Parcel isn't properly tree-shaking or minifying your code, the output file may include unnecessary code, such as unused imports, libraries, or helper functions. Ensure that Parcel is set up to minimize and optimize your code. You can check whether you have any unused dependencies in your code and remove them, or ensure that Parcel is properly configured to optimize your bundle.

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

79204441

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

https://github.com/astral-sh/uv/issues/6275

uv add -r requirements.txt

this worked for me

Reasons:
  • Whitelisted phrase (-1): this worked for me
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fabianm

79204428

Date: 2024-11-19 17:19:10
Score: 1
Natty:
Report link

My opinion, from looking at the code, is that SecureAnnotationsInterceptor does not automatically pick up all the classes annotated with @Path, so you will have to register them yourself with the interceptor using SecureAnnotationsInterceptor#setSecuredObject.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Path
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Adrian Ber

79204414

Date: 2024-11-19 17:14:09
Score: 0.5
Natty:
Report link

The simplest solution maybe to use a lookup table with the conversion factors. Here is an example with weights:

enter image description here

The formula in column C is:

=A2*VLOOKUP(B2,G$1:H$13,2)
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: cybernetic.nomad

79204403

Date: 2024-11-19 17:11:08
Score: 1.5
Natty:
Report link
git add . :!path/to/unwanted/file

Adds all modified files except the one you do not want to add.

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

79204399

Date: 2024-11-19 17:08:07
Score: 1
Natty:
Report link

I have an update on this, using Xcode 16.1 (posting this for my own purposes - I'm sure I'll find my way here again!)

  1. Figure out the Device Id by going to Devices and Simulators in Xcode, finding the simulator in question, and looking at the 'Identifier' field
  2. Go to ~/Library/Developer/CoreSimulator/Devices/<Device Id>
  3. Delete the data folder
  4. Erase all Contents and Settings... should now work 🤞
Reasons:
  • Blacklisted phrase (1): update on this
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Matt Corey

79204398

Date: 2024-11-19 17:08:07
Score: 1
Natty:
Report link

It seems display/show command by default add limit when query is executed to database.

Try using df.collect()

#Convert List[pyspark.sql.types.Row] to Spark data frame

df=spark.createDataFrame(df.collect(),schema=df.schema)

display(df)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Chirag Muluk

79204397

Date: 2024-11-19 17:08:07
Score: 1.5
Natty:
Report link

Check out this library https://www.npmjs.com/package/state-in-url , can define state as an object with any fields, and work with it as with usual useState

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

79204394

Date: 2024-11-19 17:07:07
Score: 2.5
Natty:
Report link

I would probably wrap either set of parameters into a parameter object. You can commonly define them in an ancestor, but have readfromDB1 and readfromDB2 only accept either of two empty subclasses.

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

79204391

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

I was also seeing tags firing in preview mode but not on the live site. However, my issue was due to user permissions (Approve). I was able to create new versions but not make those versions Live and had to request the Org User Admin to make my version live.

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

79204389

Date: 2024-11-19 17:06:07
Score: 1
Natty:
Report link

In the same section of RFC 7643 that you linked, in the description of the User resource's "Groups" attribute, the following explains why Entra provisioning does not allow attempting to update the "Groups" attribute on the User resource.

Since this attribute has a mutability of "readOnly", group membership changes MUST be applied via the "Group" Resource (Section 4.2). This attribute has a mutability of "readOnly".

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

79204386

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

According to https://gitlab.linphone.org/BC/public/linphone-android#create-an-apk-with-a-different-package-name, you don't need to do a search/replace of org.linphone package name to replace it by yours, simply to set the one you want in the build.gradle file in the packageName variable.

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

79204385

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

There are few existing libraries for that - npm state-in-url, npm NUQS, those made good enough and maintained.

It's educational to implement it from scratch, but there are enough hidden pitfalls.

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

79204384

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

@Update (Shopware 6.6.x)

const profileTypes = {
    IMPORT: 'import',
    EXPORT: 'export',
    IMPORT_EXPORT: 'import-export',
};

Shopware.Component.override('sw-import-export-edit-profile-general', {
    computed: {
        supportedEntities() {
            const supportedEntities = this.$super('supportedEntities');
            supportedEntities.push(
                {
                    value: 'your_entity',
                    label: "your_label",
                    type: profileTypes.IMPORT_EXPORT,
                }
            );
            
            return supportedEntities;
        }
    }
});
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Update
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Johannes Fischer

79204379

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

The issue was probably with boto3. As per the suggestion from @jarod, simply updating the package resolved the issue. However, downgrading back to v1.34 also did not result in the issue.

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

79204378

Date: 2024-11-19 17:03:05
Score: 2.5
Natty:
Report link

You can replace orElseThrow () with orElseGet () to call your VisualMessage method and return 0. 0 if no value is found.

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

79204372

Date: 2024-11-19 17:00:05
Score: 1
Natty:
Report link

This library https://github.com/asmyshlyaev177/state-in-url .

const form: Form = {
  someField: '',
  showDetails: false,
};

type Form = {
  someField: string;
  showDetails: boolean;
}

export const MyComponent = () => {
  const { urlState, setUrl } = useUrlState(form)
...
  urlState.showDetails // false
  setUrl({ showDetails: true })
  urlState.showDetails // true
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aleksandr Smyshliaev

79204367

Date: 2024-11-19 17:00:05
Score: 0.5
Natty:
Report link

Solution - Working

services.AddTransient<LoginWindow>();  // When Adding Services DI


protected override void OnLaunched(LaunchActivatedEventArgs args)
 {
     var loginWindow = App.GetService<LoginWindow>();
     loginWindow.LoginButton.Click += async (sender, e) => {
         if (loginWindow.ValidLogin)              {
             base.OnLaunched(args);
             await App.GetService<IActivationService>().ActivateAsync(args);
             loginWindow.Close();
         }
     };
     loginWindow.Activate();
 }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Niall O'Dwyer

79204358

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

Try including the librarie

#include <cstdio>
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Carlos Zapico Bello

79204357

Date: 2024-11-19 16:56:04
Score: 1.5
Natty:
Report link

Setting my outputs on the root module to this works.

output "routes" {
  value       = [for route in azurerm_route.routes : route.name]
  description = "Blocks containing configuration of each route."
}

I can then as @marko-e suggested reference this from my child module using

output "routes" {
  value       = module.route_table.routes
  description = "Blocks containing configuration of each route."
}

The output now looks like this:

Outputs:

id = "/subscriptions/e286703f-8ba4-4a0d-bd44-8fb115bdebcd/resourceGroups/rg-rtb-uks-001/providers/Microsoft.Network/routeTables/route-table-001"
name = "route-table-001"
routes = [
  "firewall",
  "internet",
  "route2",
]

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @marko-e
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Scott

79204350

Date: 2024-11-19 16:54:03
Score: 1
Natty:
Report link

Maybe this will help someone. I'm using the following and it works in our GitHub Enterprise:

name: "Bootstrap Terraform State"
run-name: "${{ github.event.inputs.operation == 'init' && format('Provision') || format('Destroy') }} terraform state for the customer ${{ github.event.inputs.customer_name}}. Branch: ${{ github.ref_name }} and msg: ${{ github.event.head_commit.message}}"
on:
  workflow_dispatch:
    inputs:
      operation:
 ...

Cheers

Reasons:
  • Blacklisted phrase (1): Cheers
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tiho

79204349

Date: 2024-11-19 16:54:03
Score: 2
Natty:
Report link

The solution is easy, you just wait until they figure out that they have screwed the implementation of 2FA and they're going to fix it, I guess, I hope.... 😢

I lost mine too, God! I hate 2FA, everything was all right when 2FA didn't exist in Github.

WHAT IS WRONG WITH GITHUB?

Reasons:
  • Whitelisted phrase (-1): solution is
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Anas Ouardini

79204348

Date: 2024-11-19 16:54:03
Score: 3.5
Natty:
Report link

Firehose Stream can now be a target of an EventBus rule.

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

79204336

Date: 2024-11-19 16:51:02
Score: 1.5
Natty:
Report link

Its hard to say for sure, but there is a good chance that this is due to how the pubsub emulator works; the emulator is not fully featured and its possible that Beam is not able to get correct watermark information [1] from the emulator. Could you try this with a normal pubsub topic?

[1] https://cloud.google.com/dataflow/docs/concepts/streaming-pipelines#watermarks

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Danny McCormick

79204331

Date: 2024-11-19 16:49:01
Score: 3.5
Natty:
Report link

Well, looking inside the drag_taget.dart file we can find that _lastOffset is the return value in details.offset.

_lastOffset = globalPosition - dragStartPoint;

And here is the problem. When we are dragging a panel over a dragTarget and we watch details.offset in onMove: (details){ is the _lastOffset value that we are receiving.

So imagine if we have one draggable in the left of the screen and a dragTarget in the right. When we click over and hold and drag this container until it hover the dreagTarget to fire the onMove event, we are receiving all this space between where we clicked less where we hover the target.

If we just do it: _lastOffset = globalPosition; everything works fine but change the original code doesn't seen a good idea.

In data of the draggable we can set the dragStartPoint in details.data.startDragPoint and then subtract it from the details.offset for instance.

-->Pskink, you are a master here, so your opinion is important, what do you think?

Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Alexandre B.

79204316

Date: 2024-11-19 16:44:00
Score: 1
Natty:
Report link

To authenticate with JWT and fetch a user object from an API in another project, follow these steps:

Obtain the JWT: Log in through the API and receive the token after providing valid credentials. Include the JWT: Send the token in the Authorization header as Bearer <your_token> when calling the user-related endpoint. Verify the Token: The API validates the JWT to ensure it's legitimate and not expired. Fetch the User Object: On successful verification, the API sends back the requested user object in the response. This approach ensures secure data exchange while keeping your systems modular.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Raghava Sai MADDI

79204315

Date: 2024-11-19 16:44:00
Score: 0.5
Natty:
Report link

Since the server is IIS I a added the following web.config to handle the https redirection by using the Rewrite Module

<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="HTTPS force" enabled="true" stopProcessing="true">
                    <match url="(.*)" />
                    <conditions>
                        <add input="{HTTPS}" pattern="^OFF$" />
                    </conditions>
                    <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: CodeNewbie

79204314

Date: 2024-11-19 16:44:00
Score: 2.5
Natty:
Report link

To call a utility method within a TEXT Thymeleaf template, you need to expose the utility class (or its methods) as part of the context variables so that Thymeleaf can recognize and use it.

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

79204304

Date: 2024-11-19 16:42:00
Score: 4.5
Natty: 5
Report link

I think this package will help you

https://github.com/mohamed-alired/drf-totp

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

79204298

Date: 2024-11-19 16:39:59
Score: 2.5
Natty:
Report link

Anaconda doesn't add pyproject-build.exe to PATH by default. To make sure both .tar.gz and .whl files are created, run py -m build after installing build with pip install build. Check if pyproject-build.exe is in your Scripts folder, and add it to PATH if needed.

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

79204296

Date: 2024-11-19 16:38:59
Score: 2
Natty:
Report link

Install wheel via pip install wheel. Update pyproject.toml to ensure it includes wheel under the requires section. Add Anaconda's Scripts folder to your system’s PATH. Retry building with py -m build.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: G.V. Thulasi Ram

79204284

Date: 2024-11-19 16:35:57
Score: 4.5
Natty:
Report link

Which .DLL did you include in your project? Maybe this library needs .NET Framework 4.7.2

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Which
  • Low reputation (1):
Posted by: Sanderson Corrêa

79204281

Date: 2024-11-19 16:34:57
Score: 1.5
Natty:
Report link

Because it's still wrong. As @knittl noted, if someone does something unsound or if, as you mentioned, you add new cases, the case will be wrong. From a typing perspective, false is not assignable to void, void is nothing, and false is a boolean, not a subtype of nothing. You can't pass something to nothing. If you want to ensure you handle all possible cases, consider adding logging (or don't) or enabling typescript-eslint/switch-exhaustiveness-check.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @knittl
  • Low reputation (1):
Posted by: Eli

79204279

Date: 2024-11-19 16:34:57
Score: 1
Natty:
Report link

You can have sequence like structure using ServerValue.increment(1).

Example:

database.child("movies/movie-id-123/views").set(ServerValue.increment(1));
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Israr

79204275

Date: 2024-11-19 16:33:57
Score: 1.5
Natty:
Report link

Solutions

  1. Separate Migrations for Each Rename Create individual migrations for each rename operation. This ensures EF Core processes one change at a time and reduces the likelihood of conflicts or mix-ups.

dotnet ef migrations add RenameFieldA dotnet ef database update dotnet ef migrations add RenameFieldB dotnet ef database update

Use Explicit Mapping When renaming fields, explicitly define the old and new names in the migration script. This removes ambiguity.

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

79204273

Date: 2024-11-19 16:32:56
Score: 2.5
Natty:
Report link

This changed very recently, that it is allowed now! No additional configuration changes were required. The Microsoft documentation is below.

https://learn.microsoft.com/en-us/azure/frontdoor/standard-premium/websocket

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

79204271

Date: 2024-11-19 16:31:56
Score: 3
Natty:
Report link

It was #3 for me. There was no directory that matched the project name in the pyproject.toml file. And, I needed to pip install wheel. Finally, the build was successful!

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kate Crawford

79204263

Date: 2024-11-19 16:28:55
Score: 4.5
Natty: 4
Report link

If you are using WSL, take a look at https://github.com/vuejs/vue-cli/issues/4421

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

79204261

Date: 2024-11-19 16:28:55
Score: 3
Natty:
Report link

Using the new Combo Box feature ("Preview"/"Input") it doesn't work, event because the property "SearchFields" disappeared. And even if the simple formula apparently works and returns you result, it actually doesn't when you click on the box

enter image description here

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

79204256

Date: 2024-11-19 16:26:54
Score: 2
Natty:
Report link

The best way I found to do this is use the "FORMAT" function in DAX and make a custom date format in the function.

For Example (Create a New Calculated Column)

FORMAT('Date', "DD-MMM-YY")

I am not sure why Power Bi is behaving the way it is, throwing errors when trying to change between hierarchy and standard format, but this is a good workaround.

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

79204246

Date: 2024-11-19 16:24:54
Score: 0.5
Natty:
Report link
function getName(name)
  if type(name) ~= "string" then
    return ""
  elseif string.match(name, '^[a-zA-z_][a-zA-Z0-9_]*$') then
    return name .. " = "
  end
    return "['".. string.gsub(name, "'", "\\'") .. "'] = "
end

function serialize(val, name, depth)
  depth = depth or ""
  local prefix = depth .. getName(name)

  if type(val) == "number" then
    return prefix .. tostring(val)
  elseif type(val) == "string" then
    return prefix .. string.format("%q", val)
  elseif type(val) == "boolean" then
    return prefix .. (val and "true" or "false")
  elseif type(val) == "nil" then
    return prefix .. "nil"
  elseif type(val) == "table" then
    local tmp = prefix .. "{\n"
    for k, v in pairs(val) do
      tmp =  tmp .. depth .. serialize(v, k, depth .. " ") .. ",\n"
    end
    return tmp .. depth .. "}"
  end
  return depth .. "\"[inserializeable datatype:" .. type(val) .. "]\""
end
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Andrew

79204245

Date: 2024-11-19 16:23:53
Score: 1.5
Natty:
Report link

I assume your using Scout >= 24.1? Then have a look at Build Scout App and Run as Service. That explains how to use the build output of the .app.zip module to run as a service, but same applies to just start the application via bash script (chapter Unzip & Run).

If your using Scout < 24.1, .war files are the outputs, which can be run within a Tomcat or local Jetty.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Stephan Merkli

79204233

Date: 2024-11-19 16:18:52
Score: 2
Natty:
Report link

I had the same situation when I used codepage - KOI8-R and the comments whith in russian language. I replaced russian comments with english and the problem was solved.

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

79204231

Date: 2024-11-19 16:17:52
Score: 1
Natty:
Report link

When deciding between creating a separate publisher thread per topic versus having a single publisher handle multiple topics in Kafka, there are several factors to consider:

Throughput and Performance:
Separate Publisher Threads: This approach can potentially increase throughput as each thread can independently handle the publishing to its respective topic. This can be beneficial if you have high message rates and need to maximize performance. Single Publisher: Managing multiple topics with a single publisher can simplify the design and reduce resource usage. However, it might become a bottleneck if the message rate is high.

Resource Management:
Separate Publisher Threads: More threads mean more resource consumption (CPU, memory). This can lead to increased complexity in managing these resources. Single Publisher: Easier to manage resources as you have fewer threads. This can be more efficient in environments with limited resources.

Complexity:
Separate Publisher Threads: Increases the complexity of your application. You need to manage multiple threads, handle synchronization, and ensure thread safety. Single Publisher: Simpler design and easier to maintain. You only need to manage one thread, which can reduce the potential for bugs and synchronization issues. Fault Tolerance and Reliability:
Separate Publisher Threads: If one thread fails, it only affects the topic it is responsible for. Other topics can continue to be published without interruption. Single Publisher: If the single publisher thread fails, it can affect all topics being published. This can be mitigated with proper error handling and retry mechanisms.

Recommendation For a beginner, starting with a single publisher handling multiple topics might be easier to implement and manage. As you gain more experience and if you encounter performance bottlenecks, you can consider moving to a model with separate publisher threads per topic.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Gohul Nath V

79204228

Date: 2024-11-19 16:17:52
Score: 2.5
Natty:
Report link

Try to zip your files using CLI directly using:

zip -r deployment_package.zip lambda_function.py boto3/ psycopg2/ requests/

this will make sure that you have your lambda_function.py in the root directory.

for the lambda_handler, try to define from the lambda aws console:

def lambda_handler(event, context):
    pass 

and see if you will keep getting the same error. you already got another structure for your files, so you may have uploaded a wrong zip file.

Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): getting the same error
  • Low reputation (0.5):
Posted by: Fedi Bounouh

79204222

Date: 2024-11-19 16:15:51
Score: 3.5
Natty:
Report link

Perhaps you're not on the latest version of SSMS?

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: David Browne - Microsoft

79204217

Date: 2024-11-19 16:15:51
Score: 1.5
Natty:
Report link

You can make a selection of code you want to debug and press SHIFT + ENTER

enter image description here

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

79204210

Date: 2024-11-19 16:13:50
Score: 6 🚩
Natty:
Report link

I'm just stumbling over the exact same issue - have you managed to find a solution yet? If not and I find one I'll be sure to post it.

Reasons:
  • Blacklisted phrase (3): have you managed
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: M1mez

79204198

Date: 2024-11-19 16:10:49
Score: 6.5 🚩
Natty: 6.5
Report link

I was wondering if you have found a solution to this problem? I am struggling with the same issue.

Reasons:
  • Blacklisted phrase (1): I am struggling
  • Blacklisted phrase (2): was wondering
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mohamed Jmal

79204186

Date: 2024-11-19 16:07:47
Score: 3.5
Natty:
Report link

I've already tried adding images, but when I use Markdown headers (#, ##, etc.), they don't appear as titles but instead show the raw Markdown (## instead of an actual header).

Additionally, I’d like the structure of my post to collapse by order of importance. For example:

should be the main section (default view),

If expanded, ## should reveal its subsections, And if further expanded, ### should reveal even more detail. Currently, everything is displayed at once, and the post looks cluttered.

Also, when I use the image Markdown enter image description here, I’d like it to only display the clickable text or link placeholder, not the full image inline by default. For example, this: enter image description here should just show a simple clickable placeholder or text. However, what I get instead is this: I’d like it so that when I use the command enter image description here, it outputs this: enter image description here, instead of this: enter image description here.

Improved Request: How can I ensure Markdown headers (#, ##, ###) render properly as titles in my Stack Overflow post and not as raw Markdown syntax? How can I create a collapsible structure for my post where subsections (##, ###) are hidden by default but can be expanded by the reader? How can I make images in my post appear only as clickable placeholders (e.g., enter image description here) without displaying the full image inline? Thank you for your guidance!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): How can I
  • Probably link only (1):
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Niram

79204175

Date: 2024-11-19 16:05:46
Score: 4
Natty:
Report link

I found an answer here: https://github.com/CocoaPods/CocoaPods/issues/12671#issuecomment-2445304215

When adding an extension it changes your objectVersion to 70, so I needed to change it back

Reasons:
  • Blacklisted phrase (0.5): I need
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Edon Freiner

79204174

Date: 2024-11-19 16:05:46
Score: 0.5
Natty:
Report link

When working with Tandem viewer then probably easiest approach would be to use views - views in Tandem can be saved and restored and include current state of filters etc. To get list of saved views use DtApp.views.fetchFacilityViews. To restore saved view use DtApp.views.setCurrentView - you can find example here.

The view creation is more complicated - there is DtApp.views.createView but view payload isn't publicly documented. If you can provide more details I can look for more details.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Jan Liska

79204172

Date: 2024-11-19 16:05:46
Score: 1
Natty:
Report link
worksheet.row_dimensions[1].auto_height = True

Tested with openpyxl==3.1.2

Works even with locked document, when you cant manually change row height

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: don't blink

79204168

Date: 2024-11-19 16:03:46
Score: 3.5
Natty:
Report link

Same problem 'ERR_CONNECTION_RESET' I Think is error from Firebase directly or The PHP Package.

I can use the Admin SDK for Authentication but when i use Firebase is not work.

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Aviel Berrebi

79204167

Date: 2024-11-19 16:03:46
Score: 1
Natty:
Report link

The only mistake in your code I can see is: this method should be static. It works correctly, “S” after the apostrophe is not capitalized.

It is possible that you are reporting not exactly what you are observing, it happens. I tested the assumption made by shingo (please see comments to your questions). There are many characters similar to apostrophes, such as prime, single quotation marks, and the like. It looks like the method capitalizes a character after any punctuation except real apostrophes, and that makes sense, as any other no-space character except apostrophes would be mistakes, wrong typography/spelling.

So, the remaining question is what is the apostrophe? To test different characters, you can test it with strings like

$"Johnny{System.Char.ConvertFromUtf32(0x02BC)}s pizza"

You can try apostrophes 0x27, 0x02BC and see that they don't cause capitalization, everything works correctly.

Unfortunately, huge masses of texts carry different punctuation mistakes. For example, according to this article:

…for many years, U+2019 has also been “the preferred character for a punctuation apostrophe” in the Unicode standard. Like “smart” or “curly” quotes, writing and publishing software may mis/interpret the U+0027 character you type in a certain context as an apostrophe and change it to a U+2019.

But these practices are all wrong. The standards strictly define what is the apostrophe and what is not.

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Sergey A Kryukov

79204166

Date: 2024-11-19 16:03:46
Score: 0.5
Natty:
Report link

I know this is an old question, but you may come across it, if using a newer .net framework. Specflow is officially deprecated and does not support .net 8, and F12 won't work. You need to install this VS Extension that's in their repo to make it work - https://github.com/SpecFlowOSS/SpecFlow.VS/releases/tag/v2022.1.93-net8

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

79204165

Date: 2024-11-19 16:03:46
Score: 2
Natty:
Report link

Now since Angular17 you can also write

    @if (mockupSheet === 0) {
     "No" 
    } @else {
     <a href="SomeLinke">mockupSheetActualValue</a>
    }

https://blog.angular-university.io/angular-if/

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

79204162

Date: 2024-11-19 16:02:46
Score: 3
Natty:
Report link

For anyone that could have the same problem as me.

I wanted a box-shadow when the input is :focus-visible. My input was inside a div with overflow: hidden tho. This will hide your box-shadow depending on how you set it.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same problem
  • Low reputation (0.5):
Posted by: Cheon

79204155

Date: 2024-11-19 16:00:45
Score: 0.5
Natty:
Report link

I very recently ran into this when trying to run an existing .NET 8.0 in-process Azure fn project, where my colleagues were able to run fine. I was running into the same error, but with a different package. Similarly to others, downgrading the package that was causing the issues lead me to successful run!

I found a nice way of tracking down where the issue is coming from, as in my project we were including ProjectReferences in our .csproj file.

If you get the package which is causing an issue, and independently try and install that package but an earlier version, an error will pop-up and tell you that you're not allowed to downgrade the package! And helpfully....a path to the exact .csproj's which contain the package. It will also identify packages which have a dependency which is that errored package.

Funnily enough though, once I managed to get it running once, I stashed all of my changes, cleaned the solution, and it still just works...not really sure why. A file must have been generated somewhere which it was complaining about

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

79204154

Date: 2024-11-19 16:00:45
Score: 4.5
Natty:
Report link

I encountered this problem and need to replace the onCreate function, in MainApplication.kt, just follow the steps - https://reactnative.dev/blog/2024/10/23/release-0.76-new-architecture#breaking-changes-1

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

79204143

Date: 2024-11-19 15:58:44
Score: 1
Natty:
Report link

Failed - tried reinstalling and registering 12.1; installed patch; loaded getit and ran JCL - said installed ok; came out; back in again and loaded getit - JCL presumably installed as it now gives an uninstall button; tried installing jvcl and get "No Delphi/BCB/BDS/RAD-Studio versions was found that has the required dependencies installed. Please install the dependencies first." If you uninstall JVC it tells you it is uninstalled but shutting down and starting up still only gives the uninstall button so I cant re-install JVC

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

79204135

Date: 2024-11-19 15:57:44
Score: 4
Natty:
Report link

i might be a bit late, but this problem still persist till today (2024-11-19), this actually turns out to be the node's fault; as a matter of fact, node 18, 20 and 22 all have the same problems. you can either downgrade to node 16; or, you can add "type":"commonjs"in your package.json file, and change your files to ".js", normally, this is fine, unless you have "await" functions in your top level file.

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: George Wang

79204131

Date: 2024-11-19 15:56:43
Score: 1
Natty:
Report link

It works when use "body:before"

body:before {
  content: ' ';
  position: fixed;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: transparent;
  background:url(/images/background.jpg);
  background-position:50% 50%;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: hui-shao

79204106

Date: 2024-11-19 15:48:41
Score: 3.5
Natty:
Report link

*Sensi xispe *Graciano Kabambi txio Gréece Grâce haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Filler text (0.5): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  • Low reputation (1):
Posted by: Gracias Kabambi

79204101

Date: 2024-11-19 15:46:40
Score: 3.5
Natty:
Report link

the problem is that the signup is not done correctly for the user when SSO, so it is not properly done, therefore the user doesn't exist.

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

79204099

Date: 2024-11-19 15:45:40
Score: 3
Natty:
Report link

Updating to .NET 9 seems to fix the issue for me, as i was getting the generic browser eception error, and hot reload wasn't even working with new blazor app template on .NET 8.

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

79204096

Date: 2024-11-19 15:45:40
Score: 2.5
Natty:
Report link

Yes, the KeyHolder in Spring JDBC preserves the order of rows when performing a batch insert operation. The keys returned in the KeyHolder will correspond to the rows in the same order they were inserted in the batch.

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

79204088

Date: 2024-11-19 15:44:39
Score: 3
Natty:
Report link

I'm pretty sure this is related to Gitlab responding with a 304 when npm requests the package metadata. There is an unresolved bug report from two years ago.

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

79204083

Date: 2024-11-19 15:43:39
Score: 10
Natty: 9
Report link

Same here. I have the exact issue you mentioned. Did you solve it?

Reasons:
  • RegEx Blacklisted phrase (3): Did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: olekgolus11

79204081

Date: 2024-11-19 15:43:38
Score: 0.5
Natty:
Report link

in case its still useful: the opensoundscape package provides an Audio.from_url method, for instance

from opensoundscape import Audio
a=Audio.from_url('https://xeno-canto.org/219961')
# object has a.samples, a.sample_rate, etc
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sam Lapp

79204078

Date: 2024-11-19 15:42:38
Score: 0.5
Natty:
Report link

For anyone else still stuck on this, I tried switching to FontAwesome's new SVG framework (from Web Fonts) and the problem seems to have gone away.

I had the same issue where all my icons were rendering normally on desktop but a few were not rendering on mobile browsers.

Screenshot of FontAwesome settings

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

79204070

Date: 2024-11-19 15:41:38
Score: 1
Natty:
Report link

.data array: .word 10, 20, 30, 40, 50 # مصفوفة من الأعداد الصحيحة n: .word 5 # عدد العناصر في المصفوفة

.text .globl main

main: # تحميل عنوان المصفوفة وعدد العناصر la $a0, array # تحميل عنوان قاعدة المصفوفة في $a0 lw $a1, n # تحميل عدد العناصر في $a1

# إعداد المكدس للمعاملات
addi $sp, $sp, -8   # إنشاء مساحة على المكدس
sw $a0, 0($sp)      # دفع عنوان المصفوفة إلى المكدس
sw $a1, 4($sp)      # دفع عدد العناصر إلى المكدس

# استدعاء الروتين الفرعي LISTADD
jal LISTADD

# تنظيف المكدس بعد استدعاء الروتين الفرعي
addi $sp, $sp, 8

# إنهاء البرنامج
li $v0, 10          # تحميل رقم استدعاء إنهاء النظام
syscall

LISTADD: # إعداد إطار المكدس addi $sp, $sp, -8 # إنشاء مساحة لعنوان العودة والمجموع sw $ra, 4($sp) # حفظ عنوان العودة sw $zero, 0($sp) # تهيئة المجموع إلى 0

# الحصول على المعاملات من المكدس
lw $a0, 8($sp)      # تحميل عنوان المصفوفة (من المكدس الأصلي)
lw $a1, 12($sp)     # تحميل عدد العناصر (من المكدس الأصلي)

# تهيئة المجموع والعداد
move $t0, $zero     # $t0 = المجموع
move $t1, $zero     # $t1 = العداد

loop: bge $t1, $a1, end_loop # إذا كان العداد >= عدد العناصر، اخرج من الحلقة

lw $t2, 0($a0)          # تحميل العنصر الحالي
add $t0, $t0, $t2       # إضافة العنصر الحالي إلى المجموع
addi $a0, $a0, 4        # الانتقال إلى العنصر التالي
addi $t1, $t1, 1        # زيادة العداد
j loop                  # تكرار الحلقة

end_loop: beqz $a1, set_avg # إذا لم توجد عناصر، تخطى حساب المتوسط div $t0, $a1 # قسّم المجموع على عدد العناصر mflo $t3 # نقل الناتج (المتوسط) إلى $t3 j store_results # القفز إلى تخزين النتائج

set_avg: move $t3, $zero # تعيين المتوسط إلى 0 (حالة عدم وجود عناصر)

store_results: # استعادة المكدس والعودة lw $ra, 4($sp) # استعادة عنوان العودة lw $zero, 0($sp) # استعادة المجموع (غير مستخدم بعد) addi $sp, $sp, 8 # تنظيف المكدس jr $ra # العودة إلى المتصل

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

79204065

Date: 2024-11-19 15:40:38
Score: 2
Natty:
Report link

It was an instability in my computer, maybe after a system update.

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

79204060

Date: 2024-11-19 15:38:37
Score: 0.5
Natty:
Report link

0 I was doing the tutorial for using kubernetes (one of the ones in kubernetes.io) and it tells you to use: export POD_NAME=$(kubectl get pods -o go-template --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}') I had to remove the "export" for it to work in windows (also had to remove the line break for some reason, but it worked after that), so the command was: $POD_NAME=$(kubectl get pods -o go-template --template '{{range .items}}{{.metadata.name}}{{end}}') It worked, and if I typed: $POD_NAME I got the correct pod name. The problem came from the next step where I had to use: curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME:8080/proxy/ Here, it was unable to resolve the url, while if I just replaced $POD_NAME with the text in the variable, it worked just fine. I was wondering if there is a way to make it work (as in making the variable name be substituted by it's content when interpreting the command). Not sure if it helps, but this is the error message: curl : { "kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", "message": "pods "proxy" not found", "reason": "NotFound", "details": { "name": "proxy", "kind": "pods" }, "code": 404 } En línea: 1 Carácter: 1 + curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME:8 ... + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands. I see what's happening here. When you use $POD_NAME in the curl command, it isn't getting replaced by its value. This issue often arises from how the shell handles variable interpolation.

In PowerShell, which it looks like you might be using, you need to use different syntax for variable interpolation. Here’s how you can make it work:

$POD_NAME = $(kubectl get pods -o go-template --template '{{range .items}}{{.metadata.name}}{{end}}') curl "http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME:8080/proxy/"

Reasons:
  • Blacklisted phrase (2): was wondering
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): It worked
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Himanshu Kumar

79204052

Date: 2024-11-19 15:37:36
Score: 1
Natty:
Report link

Same problem on my VS 2019...
I erased the directory %QtMsBuild% (on my Windows %USERPROFILE%\AppData\Local\QtMsBuild) and the error disappeared.
However, I now have Linker-Errors like LNK2001 on MyClass::qt_metacall(enum QMetaObject::Call,int,void * *)
Sounds like something's wrong with Qts MOC. See you maybe later for updates.

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: D. Walz

79204041

Date: 2024-11-19 15:34:35
Score: 5
Natty:
Report link

I am using:

add_action('init', function() { load_plugin_textdomain( 'name-plugin', false, basename( dirname( FILE ) ) . '/languages/' ); }); and it is still not working

Reasons:
  • Blacklisted phrase (2): still not working
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28379622

79204038

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

What probably happens is that the DWG model does not contain enough information for the AggregatedView to be able to position it properly relative to the Revit design.

The other option you have is loading and aligning the models manually (without relying on AggregatedView), as explained in this blog post: https://aps.autodesk.com/blog/multi-model-refresher.

Reasons:
  • Blacklisted phrase (1): this blog
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • High reputation (-1):
Posted by: Petr Broz

79204036

Date: 2024-11-19 15:33:35
Score: 3
Natty:
Report link

just be sure to give permission to hive user

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

79204025

Date: 2024-11-19 15:30:34
Score: 3.5
Natty:
Report link

@types/data-fns are deprecated now => remove the dependency and let it handle itself.

npm uninstall @types/date-fns
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: David Renner

79204024

Date: 2024-11-19 15:29:34
Score: 1
Natty:
Report link

In order to debug the visual artifact you are seeing (the blurring at distance) we would need to see how you are adding the landscape, road and road lines to the scene. I am assuming you are achieving a road animation effect using a material animation but we need to see that mechanic too.

If your road or lines are separate 3D shapes with semi transparent materials then the order they are added to the scene will determine some transparency effects. Just guessing here. Need much more info.

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

79204008

Date: 2024-11-19 15:25:32
Score: 2.5
Natty:
Report link

If you're using Servlets, need to put this instruccion into the start of any functions that you're using (proccessRequest, doGet or doPost):

request.setCharacterEncoding("UTF-8");

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

79204005

Date: 2024-11-19 15:24:32
Score: 2
Natty:
Report link

My bad....Nitro was throwing errors because a child component made a reference to 'window', which is not present on the server. And the content was not rendered on the server because my entire code was wrapped in

Fixing these 2 things made it all work.

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

79204003

Date: 2024-11-19 15:24:32
Score: 0.5
Natty:
Report link

I simplified @plaes answer (see below). Still recursive but easier to read and handles top-level lists/dicts, as well as mixed dict/list/suds combinations.

def pycast(o):
    if hasattr(o, '__keylist__'):
        return {k:pycast(v) for k,v in asdict(o).items()}
    elif isinstance(o, dict):
        return {k:pycast(v) for k,v in o.items()}
    elif isinstance(o, list):
        return [pycast(x) for x in o]
    else:
        return o
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @plaes
Posted by: textral

79204001

Date: 2024-11-19 15:23:31
Score: 0.5
Natty:
Report link

From what I've read, nearbyWiFiDevices and Local Network permissions are different permissions.

If you take a look at Permission enum documentation, it says that this permission is available only on Android 13+(i.e not on iOS).

Here is an Apple article explaining what is Local Network permission.

https://support.apple.com/en-us/102229

And here is a way to "control" when to show a Local Network permission dialog. https://developer.apple.com/forums/thread/663768

As for the best package for AP connection, you are pretty much using it already. In my experience, the connection you make is spotty, specifically the part when you connect to an AP. The next best thing is to create a connection method yourself using native code, unfortunately.

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