79387882

Date: 2025-01-26 02:33:10
Score: 3
Natty:
Report link

The 'Current' Answer with 57 upvotes is close but complete garbage.

Step one: Fine machine.config Step two: Search for: -->Step three: Completely Delete and replace it with with curent correct answer. If you don't remove the existing runtime line it fails.

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Kearvek

79387879

Date: 2025-01-26 02:30:10
Score: 1
Natty:
Report link

use this code:

getRepository(Post).update(postId, {
  view: newViewValue,
  updated_at: () => 'now()'
})
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: hezf

79387861

Date: 2025-01-26 02:08:06
Score: 1.5
Natty:
Report link

This might be an issue with the depth testing. It looks like opengl does not care which object should render in front or behind.

Unfortunately I don't know how the SceneManager renders the object - is this a class you defined that uses the ModelBatch?

My suggestions are:

  1. make sure depth testing is enabled using glEnable(GL_DEPTH_TEST) when rendering

  2. use fbx-conv to convert a 3d model to a libgdx friendly 3d format. You may output a json formatted 3d model and inspect it further, to see if you get what you expect (of course, this is not practical for models more complex than ~a cube).

  3. provide your own shader to libgdx. The default ones can look horrible.

  4. try rendering a simple object, like a cube. If you still see rendering errors, then it's more likely a rendering bug rather than a model import issue / something else.

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

79387860

Date: 2025-01-26 02:07:06
Score: 1
Natty:
Report link

Search othercontextmenus.cus in keyboard, and remove all the shortcut key for the 4 new commands.

They all start with ctrl+c as command combination, that's why ctrl+c is not working.

I believe someone in VS dev group had messed up the new commands shortcut.

enter image description here

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

79387856

Date: 2025-01-26 01:59:04
Score: 1
Natty:
Report link

I removed the styles about background of CheckboxPrimitive.Root into the file components/ui/checkbox and style it manually like this :

className={cn(showPass && 'bg-green-400')}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hamid Mohamadi

79387850

Date: 2025-01-26 01:49:02
Score: 3
Natty:
Report link

have you installed the code-features package? i also had this problem and i installed code-features and the problem was solved with that. if you are using arch use the AUR helper ```yay -S code-features``.

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

79387848

Date: 2025-01-26 01:45:02
Score: 1.5
Natty:
Report link

To expand a bit on the answer by @nirmal-kumar. Here is an example of a YAML based VSTest task without continueOnError set, so it defaults to false. A failure will stop subsequent steps from running unless you explicitly set a condition on those steps.

- task: VSTest@3
  inputs:
    platform: '$(buildPlatform)'
    configuration: '$(buildConfiguration)'
    codeCoverageEnabled : true

Here is the same VSTest task with with continueOnError set to true.

- task: VSTest@3
  continueOnError: true
  inputs:
    platform: '$(buildPlatform)'
    configuration: '$(buildConfiguration)'
    codeCoverageEnabled : true

With continueOnError set to true, subsequent steps in the build pipeline will still run even if tests fail. The overall result status will no longer be Failed (red X icon), nor will it be Success (green checkmark icon). Instead, the status will be Warning (orange circle with exclamation mark icon).

As @mengdi-liang commented, continueOnError does not appear in the VSTest@3 documentation because it is a general control option that can apply to any task, much like condition. This is important because it means that continueOnError does not go under inputs like many task settings. It should be indented to a level where it is a sibling of inputs as shown above. If continueOnError is indented beneath inputs as shown below, it will not work.

- task: VSTest@3
  inputs:
    platform: '$(buildPlatform)'
    configuration: '$(buildConfiguration)'
    codeCoverageEnabled : true
    continueOnError: true   # DOES NOT WORK INDENTED UNDER INPUTS!
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @nirmal-kumar
  • Low reputation (1):
Posted by: Dean Peterson

79387844

Date: 2025-01-26 01:41:01
Score: 2
Natty:
Report link

Apply this to B1:F1, I'm assuming A1 would never be green right?

=B1>=max($A$11:B1)

Change it to this if you don't want it to be green when the cell ties for being the highest =B1>max($A$11:B1)

The dollar signs around $A$11 is in a way locking down the start of the range, while the B1 will change with the cell its applied to

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

79387842

Date: 2025-01-26 01:36:01
Score: 3.5
Natty:
Report link

you may need find Runner.entitlements at runner directory and edit it as required

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

79387839

Date: 2025-01-26 01:33:00
Score: 1
Natty:
Report link

It does sound like a non-typical behaviour as I remember rendering hundreds of sprites multiple times, resulting in only a few draw-calls and ~144 FPS on an i7 processor and NVidia 1050.

What I suggest doing is -

  1. try looking at the DesktopLauncher.java and see if there's a config parameter that might affect the framerate - such as vsync.

  2. try rendering the texture many times and no times at all to see how it affects the frame rate.

  3. try removing any fps cap to see how it performs unrestricted.

Good luck and consider posting your findings

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

79387837

Date: 2025-01-26 01:29:59
Score: 1.5
Natty:
Report link

only with pd.eval() you can solve your problem:

df.eval('f_1=1_2+1_3+1_4',inplace=True)

Do it for every column you want to add

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gersain Guzmán

79387824

Date: 2025-01-26 01:18:57
Score: 2.5
Natty:
Report link

Try Tygrid: https://tygrid.com/. It's very simple, but you can see what the endpoint has and it can make OData queries.

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

79387816

Date: 2025-01-26 01:10:55
Score: 2.5
Natty:
Report link

I did solve mine by finding the bug by tracking what I did previously then removing part by part to find the bug, also expo is bundling all your components even they are not in use in your app just a tip!

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

79387808

Date: 2025-01-26 01:04:54
Score: 4.5
Natty:
Report link

"strictPropertyInitialization": false,

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Joseph

79387807

Date: 2025-01-26 01:03:53
Score: 2.5
Natty:
Report link

I got the same issues like you when "npm run test" with lots of spec files. Then I ope the console tab of Karma's browser and found that there were errors and fixed them. As a result, no error on the top any more.

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

79387806

Date: 2025-01-26 01:03:53
Score: 1
Natty:
Report link

This seems incredibly dumb to me, but the solution was to rename svelte.config.ts to svelte.config.js. No errors in my terminal made this clear to me, but I found this doc file: https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/config.md#config-file-resolving. Annoyingly, the sveltekit plugin for Vite doesn't allow you specify the config file (but the svelte plugin, which sveltekit wraps, does have this option). Seems like a massive oversight by the devs here.

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

79387805

Date: 2025-01-26 01:03:53
Score: 0.5
Natty:
Report link

I think this is something Meteor is doing, because their docs seem to think connectSrc should allow everything:

[.....] except for connect which allows anything (since meteor apps make websocket connections to a lot of different origins).

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

79387802

Date: 2025-01-26 00:57:52
Score: 0.5
Natty:
Report link

It appears that for gateway endpoints, the Principal element must be set to *. To specify the principal, you need to use the aws:PrincipalArn key like this:

"Condition": {
    "StringEquals": {
        "aws:PrincipalArn": "arn:aws:iam::1111111:role/lambdaRoleA"
    }
}

Just needed to add this inside of of the Statement at the same level as Resource.

Found the answer in the AWS documentation: https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints-access.html

Tested it by added a different role initially - lambdaRoleB and the s3 object was not deleted. Later changed it to lambdaRoleA and the object was successfully deleted.

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

79387794

Date: 2025-01-26 00:50:51
Score: 1
Natty:
Report link

I fixed this issue by ticking "Solver" in the references. It got unticked after an update, but my macros worked with no issue after I re-ticked it. The settings are above in the thread.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29367480

79387779

Date: 2025-01-26 00:35:47
Score: 2.5
Natty:
Report link

I used this online converter: https://www.vertopal.com/en/convert/ipynb-to-pdf

Cheers

Reasons:
  • Blacklisted phrase (1): Cheers
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Edgar Villegas Alvarado

79387777

Date: 2025-01-26 00:35:47
Score: 4.5
Natty: 5
Report link

You might want to see this package. https://www.npmjs.com/package/proto-to-glue

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

79387775

Date: 2025-01-26 00:33:46
Score: 2.5
Natty:
Report link

free open source, it is support move, rename, drag and drop upload, cross platform for Mac or windows https://github.com/half-6/cloud-storage-client

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

79387762

Date: 2025-01-26 00:24:44
Score: 1
Natty:
Report link

I only see two options here to address this issue, even tho I would argue that none of them is ideal:

the first one by having :

impl Displayable for ArticleView {
    type SomeState = MyMutableState<'static>;

    fn show(&self, data: &mut MyMutableState<'_>) -> String {
        format!("👋 {}, {}", data.third.title, data.buffer.len())
    }
}

This fixes the error at this level, but it makes MyMutableState only working with a &'static str for ThirdPartyState.

The second one, as first suggested by @GiM in his comment, required you to have a lifetime for ArticleView :

Comment of @GiM :

@ChayimFriedman yeah adding lifetime (and phantom data) seems to work, although that doesn't seem like a great solution :/ play.rust-lang.org/?gist=66e4d23b7439ce60243201eb3509a953

So the result will be :

use std::marker::PhantomData;
struct ArticleView<'a> {
    // Note that the version of @DiM use `phantom: PhantomData<&'a u32>` which has no difference except personal preferences
    _phantom: PhantomData<&'a ()>,
}

impl<'a> Displayable for ArticleView<'a> {
    type SomeState = MyMutableState<'a>;

    fn show(&self, data: &mut MyMutableState<'_>) -> String {
        format!("👋 {}, {}", data.third.title, data.buffer.len())
    }
}

This unfortunately changes the way ArticleView is constructed (ArticleView { _phantom: PhantomData } instead of ArticleView)

Otherwise, I actually don't thinks there is a way to constrains a lifetime to this impl without being able to modify the trait you want to implements

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @GiM
  • User mentioned (0): @GiM
  • User mentioned (0): @ChayimFriedman
  • Low reputation (1):
Posted by: Taraxtix

79387759

Date: 2025-01-26 00:19:43
Score: 3
Natty:
Report link

The solution was to move the path to EXCLUDE_PATTERNS instead of EXCLUDE

enter image description here

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

79387746

Date: 2025-01-26 00:04:40
Score: 1
Natty:
Report link

So the problem that i was facing is passing the bool to a viewModifier. I needed to pass the selectedItem as binding in order to work properly

//MARK: - Selectable Cell ViewModifier

struct ExpenseSelectableCell: ViewModifier {
    @Binding var selectedItem: Expense?
    var expense: Expense

    func body(content: Content) -> some View {
        content
            .overlay {
                Color.black.opacity(isSelected() ? 0.2 : 0)
            }
    }

    func isSelected() -> Bool {
        guard let selectedItem else { return false }
        return selectedItem.id == expense.id
    }
}

extension ExpenseCellView {
    func selectableCell(selectedItem: Binding<Expense?>) -> some View {
        self.modifier(ExpenseSelectableCell(selectedItem: selectedItem, expense: self.expense))
    }
}

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: RafaSG13

79387744

Date: 2025-01-26 00:02:39
Score: 4
Natty: 5
Report link

this is spectacularly useful help. Thank you so much

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

79387742

Date: 2025-01-26 00:01:39
Score: 0.5
Natty:
Report link

Had the same issue

in angular.json

"scripts": [],
        "server": "src/main.server.ts",
        "prerender":false,  <======= SET TO FALSE 
        "ssr": false  <========= ADD THIS 
      },
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: SeanDp32

79387739

Date: 2025-01-25 23:56:38
Score: 2.5
Natty:
Report link

I have tried using PHP 8.3+ on Windows 7 too and not only it doesn't officially support this OS anymore, but the set-up won't likely ever work, as it's designed that way.

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

79387725

Date: 2025-01-25 23:39:35
Score: 1.5
Natty:
Report link

You can do this by going to your profile notifications settings here: https://github.com/settings/notifications

By enabling the On GitHub checkbox in the Actions subsection of System you will receive a GitHub notification in your GitHub inbox and an email on fail.

I'm not sure why an email is sent, however, this enables you to receive a notification when the other actions in the project fails.

GitHub Actions Settings

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

79387718

Date: 2025-01-25 23:35:34
Score: 2
Natty:
Report link

Per Einarf (ModernGL dev) on Discord, not being able to add buffers to a VertexArray after it's created is a limitation of ModernGL at the moment,

You must create a new VAO for each of your VBOs, or re-create the same VAO with the new VBOs each time, which isn't even worth the complexity, because VertexArrays are small metadata objects, as Einarf says.

I was seeking an answer to this merely because I wanted to be as correct as possible with my code. I ended up just having a VAO for each VBO.

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

79387716

Date: 2025-01-25 23:34:33
Score: 2
Natty:
Report link

the condition is wrong. Replace the "or" with "and"

while unit != ("F" and "C")
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mahtabuzzaman

79387704

Date: 2025-01-25 23:21:31
Score: 1.5
Natty:
Report link

This isn't the right place for that kind of question but I would recommend Harvard's CS50 course. It will cover web development, as well as other topics of computer science that you'll need to know. Also, in my opinion, the best way to learn is to build personal projects that interest you. For example, build a website that solves a problem that you have and would use or start with something simple like a to-do list.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: David Robinson

79387685

Date: 2025-01-25 23:08:28
Score: 2.5
Natty:
Report link

pdm

uv run --python 3.11 --with setuptools --with pdm pdm import setup.py
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user333958

79387678

Date: 2025-01-25 23:05:27
Score: 1.5
Natty:
Report link

Hardik Mehta was correct. Searching "namespace not specified" gives websites which show the solution used.

Placing the following code into android/build.gradle will solve the issue

subprojects {
afterEvaluate { project ->
    if (project.hasProperty('android')) {
        project.android {
            if (namespace == null) {
                namespace project.group
            }
        }
    }
}

}

It must be placed in the correct position in build.gradle. In my case I put it right after

subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"

}

The websites are Android getting error: Namespace not specified

https://medium.com/@derricktab44/resolving-the-namespace-not-specified-error-in-flutter-builds-1ce818214b54

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Peter Thompson

79387677

Date: 2025-01-25 23:05:27
Score: 1.5
Natty:
Report link

For macos, try these

python3 -m venv path/to/venv
source path/to/venv/bin/activate
python3 -m pip install pynvim
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: melowlzzz

79387664

Date: 2025-01-25 22:54:21
Score: 2
Natty:
Report link

After 12 years, I created a source generator that can do this. https://github.com/Aytackydln/Doner.Wrapper

You can find it from NuGet with the name: Doner.Wrap

It can create delegate methods of a field/property existing in the class

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Aytaç Kayadelen

79387663

Date: 2025-01-25 22:52:20
Score: 3.5
Natty:
Report link

Discord was having issues that prevented the web request from being processed and the code is working again.

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

79387657

Date: 2025-01-25 22:48:20
Score: 1.5
Natty:
Report link

go to settings of extension then "Folder: Theme" it must be showing "specific" which is a by default setting but instead change it to "classic" your icons will start showing up. now you could change it back to specific setting if you want, the icons will remain same. just solved this issue on my vsc thought of answering this question.

PS - posting it now for the future audience. :)

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

79387654

Date: 2025-01-25 22:47:19
Score: 2.5
Natty:
Report link

For people who have the same issue:

It was fixed by using the ngOnDestroy event of Angular. You need to unsubscribe from these requests because they are not canceled otherwise:

Example:

export class MyComponent implements OnDestroy {
   private subscriptions: Subscription[] = []
   
   ngOnDestroy(): void {
    this.subscriptions.forEach(s => s.unsubscribe());
  }

  myApiFunction(feature_id: number, vote: boolean): void {
    const feature_vote: Subscription = this.apiService.sendFeatureVote().subscribe({
      next: (_data: any): void => {
        // do something
      },
      error: (error: HttpErrorResponse): void => {
        // do something
      }
    });

    this.subscriptions.push(feature_vote);
  }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same issue
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Razzer

79387652

Date: 2025-01-25 22:46:19
Score: 1.5
Natty:
Report link

I started developing frontend and tried there to login and then call refresh endpoint from browser and it worked, so there must have been some error with postman I think. Now all works as i wanted.

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

79387648

Date: 2025-01-25 22:42:18
Score: 1
Natty:
Report link

If you want to get the fullname and not the user id, you can get from /etc/passwd and get your line with grep; or simpler with id -P which get the line for the current user; and, in all case, something like that:

id -P|cut -d":" -f5,5|cut -d"," -f1,1

(first cut to get the GECOS part, then 2nd cut to get the fullname, in case other info is present)

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

79387646

Date: 2025-01-25 22:42:18
Score: 1
Natty:
Report link

I don't know if this the right forum to ask this.

Anyway, I think you might be missing explanation in general. For example, what a list is and what it tries to represent. Similarly, what classes are, instead of just examples. Also, I don't think beginners would look in a github repository firstly, before even knowing how to code.

I've seen a use of '''comment''', even though triple ' should be used (pep8) only for multiline strings and docstring, and not for comments (in example 5). In addition, I think you might update the README to relate for the requirements for each language.

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

79387623

Date: 2025-01-25 22:28:15
Score: 1.5
Natty:
Report link

.

Linking projects can not be undone with Android Studio Ladybug | 2024.2.1

.

Linked projects is a legacy feature that largely does not work with Kotlin 2 and the 2024 build process due to differences in project setups for build and data-duplications in code analysis functions

Don’t do it…

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

79387622

Date: 2025-01-25 22:28:15
Score: 3
Natty:
Report link

The null value fault seems persistent. It was supposed to be fixed in version 8.3.13 but I just installed 8.4.3 and still have the problem.

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

79387620

Date: 2025-01-25 22:25:15
Score: 1
Natty:
Report link

I just figured it out. My database was not a singleton and DI was providing a new instance every time so it wasn't working. I spent DAYS figuring this out because someone forgot an annotation in the DI module. Time to retire and be a farmer.

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

79387619

Date: 2025-01-25 22:23:14
Score: 2
Natty:
Report link

You can now accomplish this with CSS using text-wrap: balanced;

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

79387618

Date: 2025-01-25 22:23:14
Score: 2
Natty:
Report link

I find Object Oriented Python is not as simple as it seems.

Might I suggest a restructuring ...

See this example for a new project structure that implements classes through an import. No init.py, no other external imports except the class file.

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

79387614

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

run rustup target add x86_64-pc-windows-gnu and try building the app via tauri build --target x86_64-pc-windows-gnu. i686-msvc is only (32bit msvc)

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

79387609

Date: 2025-01-25 22:13:12
Score: 2.5
Natty:
Report link

I searched a bit and found mirror-webrtc. Description: "The purpose of this transport is to provide an alternate method of online connectivity that does not require port forwarding by the game host." It might be working, but I haven't checked.

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

79387600

Date: 2025-01-25 22:07:11
Score: 2
Natty:
Report link

Tailwind CSS has recently been updated to version 4.0, which might be causing the issue. Please refer to the official documentation for version 4.0 to ensure the setup is correctly configured.

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

79387597

Date: 2025-01-25 22:05:11
Score: 2.5
Natty:
Report link

not jquery but works! https://github.com/chancyk/sql_editor for insert query inner editor use: window.editor.setValue(your query)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: אבינעם קארו

79387594

Date: 2025-01-25 22:01:10
Score: 3
Natty:
Report link

Use the new twinBASIC programming language. It can import and run VB6 projects.

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

79387587

Date: 2025-01-25 21:55:09
Score: 3.5
Natty:
Report link

if you want to use it for video captioning, use SSA.

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

79387579

Date: 2025-01-25 21:49:08
Score: 1
Natty:
Report link

To solve the problem with plt.show() which doesn't display anything, one solution using fig.axes[0] instead of plt.gca() and using display() in Jupyter notebook:

fig = P.draw()
ax = fig.axes[0]
ax.set_xticklabels(["2030","2040","2050"])
display(fig)

plot

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

79387565

Date: 2025-01-25 21:38:05
Score: 1.5
Natty:
Report link

Me sumo en esta consulta como nuevo usando tailwindcss, genere un output.css como indica en la version 4 de tailwind utilizando postcss https://tailwindcss.com/docs/installation/using-postcss, pero la salida output solo me trae algunas class básicas como sizes, width o heights, como puedo hacer para que al salida output.css me devuelve TODAS las class de tailwind como "column"

este es mi postcss.config.mjs:

export default {
    plugins: {
        "@tailwindcss/postcss": {},
    }
}

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

79387557

Date: 2025-01-25 21:33:04
Score: 0.5
Natty:
Report link

ActiveRecord associations to the rescue!

If you add the following association to your model, all slugs that have ever been associated with it will be released when the model is destroyed (remember that this will not work if delete is used instead of destroy).

has_many :slugs, class_name: "FriendlyId::Slug", as: :sluggable, dependent: :destroy
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Goulven

79387554

Date: 2025-01-25 21:33:04
Score: 1
Natty:
Report link

I read through the comments to the question and some are missing the point that security is not an all or nothing but step for step approach. It could happen that a Wordpress theme or plugin is written in a way that it works correctly when accessing it through Wordpress but malfunctions and causes unexpected behaviour or exposes private data when accessed directly.

Adding the line prevents this by terminating the script when called directly through the web interface. Of course there are better alternatives like preventing front end access to files in subdirectories through server directives. In practical use though there's no reason not to use both and add an extra layer of security. It's also a good option for when you don't have the option of configuring the web server.

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

79387545

Date: 2025-01-25 21:26:02
Score: 4.5
Natty:
Report link

Like @Christian suggested in the comments (thank you!!), my question was similar to another post. TLDR: had to revert back my python version to 3.11.9 (I was on 3.13.*), and matplotlib to 3.8.3

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Christian
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: hoimetwillem

79387540

Date: 2025-01-25 21:21:00
Score: 0.5
Natty:
Report link

There is a way to from this Q&A to only support one orientation if you check Requires full screen or add it to your project’s Info.plist. Apple does not generally support this because they want the full functionality of iPad, so doing this risks the app being rejected during review.

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

79387539

Date: 2025-01-25 21:20:00
Score: 1.5
Natty:
Report link

I think you may be entering an email address that already exists.Please see link below to change the error message to read email already exists instead of invalid. It worked for me.

please follow this link: https://docs.ultimatemember.com/article/1697-email-validation-in-registration

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Mvee

79387537

Date: 2025-01-25 21:19:00
Score: 3
Natty:
Report link

enter image description here

I had to turn both the screensaver and display setting to 'never' to fix the issue. Tried various combinations and have listed them below. I'm on a 2019 Intel based mac pro running 15.1.1 (24B91), selenium 4.5.0 and safari driver is what came bundled with the OS

enter image description here

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

79387536

Date: 2025-01-25 21:19:00
Score: 2
Natty:
Report link

Thank you this helped me figure it out. I assumed the data type would be sent serialized through Retrofit. I am testing this on a local server so I do have access. I needed to update the server PHP script. Below is what I needed to do to receive the data.

<?php

....
$data = json_decode(file_get_contents('php://input'));

$username = $data->{'username'};
$email = $data->{'email'};
$password = $data->{'password'};

....
?>
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Russell Sjoblom

79387518

Date: 2025-01-25 21:06:58
Score: 0.5
Natty:
Report link

I tried running the bat file and I got 2 errors on build:

Environment variable 'ARMCC5BIN' is not set indicating ARMCC 5 is not properly installed. at ArmccCompilerSettings..ctor () [0x0003f] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\ArmccCompilerSettings.cs:16 at UnityEditor.N3DS.Il2CppPlatformProvider.CreateNativeCompiler () [0x00001] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\Il2CppPlatformProvider.cs:85 at UnityEditorInternal.IL2CPPBuilder.Run () [0x0009e] in C:\buildslave\unity\build\Editor\Mono\BuildPipeline\Il2Cpp\IL2CPPUtils.cs:153 at UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, Boolean debugBuild) [0x0000f] in C:\buildslave\unity\build\Editor\Mono\BuildPipeline\Il2Cpp\IL2CPPUtils.cs:41 at UnityEditor.PostProcessN3DS.PostProcess (BuildTarget target, BuildOptions options, System.String installPath, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String stagingAreaDataManaged, UnityEditor.RuntimeClassRegistry usedClassRegistry) [0x00146] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\PostProcessN3DS.cs:200 UnityEditor.HostView:OnGUI()

Error building Player: Environment variable 'ARMCC5BIN' is not set indicating ARMCC 5 is not properly installed. at ArmccCompilerSettings..ctor () [0x0003f] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\ArmccCompilerSettings.cs:16 at UnityEditor.N3DS.Il2CppPlatformProvider.CreateNativeCompiler () [0x00001] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\Il2CppPlatformProvider.cs:85 at UnityEditorInternal.IL2CPPBuilder.Run () [0x0009e] in C:\buildslave\unity\build\Editor\Mono\BuildPipeline\Il2Cpp\IL2CPPUtils.cs:153 at UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, Boolean debugBuild) [0x0000f] in C:\buildslave\unity\build\Editor\Mono\BuildPipeline\Il2Cpp\IL2CPPUtils.cs:41 at UnityEditor.PostProcessN3DS.PostProcess (BuildTarget target, BuildOptions options, System.String installPath, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String stagingAreaDataManaged, UnityEditor.RuntimeClassRegistry usedClassRegistry) [0x00146] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\PostProcessN3DS.cs:200

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

79387512

Date: 2025-01-25 21:02:57
Score: 3.5
Natty:
Report link

google sites is not for actually coding, its a website creator, you could try using another hosting tool, like https://neocities.org/, i used neocities to host my websites, and on neocities you can code and make files for your directory.

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

79387510

Date: 2025-01-25 21:01:56
Score: 0.5
Natty:
Report link

I was wrestling with this myself before I finally gave up and stopped trying to make UWP sane. Fair warning TLDR;

It is difficult and time consuming to successfully use a message bus communication model anywhere in a UWP application. The way it is done in other applications, when done in UWP will cause memory leaks and nasty exceptions that will take days to track down.

The reason for this is that if you use the built-in Navigation framework to manage your views, you are not in control of when those views (or even ViewModels) get created and released. So, what will happen when a View or ViewModel subscribes to a message from the service bus? That subscription will never be released. The next time a View or ViewModel is new'ed up, another subscription comes and the old one will still be there...along with the old View and ViewModel instance.

This is all because UWP never bothered to implement IDisposable in the framework, leaving a developer with nothing but an extremely convoluted way to execute any "cleanup" type code associated with the abandonment of a View or ViewModel. I get why the navigation framework needs to manage that. In general, with MVVM it is so incredibly easy to completely ruin good performance that every stop had to be pulled to eek out every performance improvement including a View caching strategy. What's the alternative? Abandon one of the key selling points of UWP, the Navigation system. Do you really want to write your own and/or manage that yourself?

Sort of, it can still be done. See this question for a reference of just how ceremonious it is to do the simplest of cleanup in a UWP application: UWP C# Cleaning up secondary page

You will find article and question upon article and question out there espousing the virtues of trying to turn a UWP app into all kinds of other apps and frameworks that weren't designed that way. Sure, you can do it, sort of, but I wouldn't go that way unless you want a constant nagging stream of issues post-release.

If you can't put more sanity into UWP, you'll need accommodate the insanity in UWP. While I'm not a fan of MVVM patterns in general, UWP among the least desirable frameworks I've ever had the displeasure of making work.

Passing a message usually means passing data. In UWP, and MVVM in general, you don't do that. Instead, you come up with long life data models, update them directly, and then notify Views, ViewModels, and anything else that wants to know, about changes to the one authoritative source of that data in the application.

It's a VERY different way of thinking about how data change propagation in an application and it can be a gigantic time wasting PITA, but there it is.

Oh, and if you have any background tasks, network enabled applications with server side push, or anything else updating those long life data models other than the controls in the Views running on the main thread, then multiply that gigantic time wasting PITA by a factor of at least 3.

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

79387502

Date: 2025-01-25 20:54:55
Score: 0.5
Natty:
Report link

I know this is an old thread, but this is a new answer. I got an AI tip when I posed this problem to Google just now, so I can't provide an authoritative link, but here's what worked for me.

First, as a diagnostic I edited the URL in my browser from localhost:8888/tree to 127.0.0.1:8888/tree and that gave me some reasonable content. Then I edited /etc/hosts, found this:

127.0.0.1           localhost
255.255.255.255     broadcasthost
::1                 localhost 
fe80::1%lo0         localhost

and deleted the last two definitions of local host. Problem solved. For now. Who knows what will happen when IPv6 takes over the world?

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: RadlyEel

79387483

Date: 2025-01-25 20:40:52
Score: 2.5
Natty:
Report link

Have you enabled autofill on your device in the phone settings?

Based on the autofill docs:

Android autofill: Go to Settings -> System -> Languages & input -> Autofill service. Enable the autofill service of your choice, and make sure there are available credentials associated with your app.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mateusz Szczudłowski

79387474

Date: 2025-01-25 20:36:52
Score: 2.5
Natty:
Report link

I faced the same issue and the @Adrian Mole answer helped fix it. Basically, my settings.json had the property "typescript.tsdk" like that:

"typescript.tsdk": "node_modules\\typescript\\lib",

So, I basically changed to:

"typescript.tsdk": "./node_modules/typescript/lib",

And it all worked out. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Adrian
  • Low reputation (1):
Posted by: thfrod

79387473

Date: 2025-01-25 20:35:51
Score: 1
Natty:
Report link

As colleagues said, if you have 1 nginx or more and the route goes through them, write in the server block (blocks if u have many NGINX)

server {
    # disable any limits to avoid HTTP 413 for large image uploads
    client_max_body_size 0;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nik

79387465

Date: 2025-01-25 20:29:50
Score: 2.5
Natty:
Report link

don't name directory, where you store flower db file as "flower". It is a big mistake that took from me several hours

Not answer for this question, just advise

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Тимур Котов

79387464

Date: 2025-01-25 20:29:50
Score: 1
Natty:
Report link

I’m new to SwiftUI, and I found this tool that solves the following problem: https://github.com/markvanwijnen/NavigationBarLargeTitleItems

Here’s an example of how to use it:

import SwiftUI
import NavigationBarLargeTitleItems
    
struct ContentView: View {
    var body: some View {
        NavigationView {
            ScrollView {
                ForEach(1 ... 50, id: \.self) { index in
                    Text("Index: \(index)")
                }
                .frame(maxWidth: .infinity)
            }
            .navigationTitle("Large title")
            .navigationBarLargeTitleItems(trailing: /* your navigation link or button */)
        }
    }
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user29145211

79387461

Date: 2025-01-25 20:28:49
Score: 1
Natty:
Report link
Dim WS As Worksheet
Dim f As Worksheet
Dim lastRow As Long

Set WS = Sheets("Sheet1")
Set f = Sheets("Sheet2")

lastRow = f.Cells(f.Rows.Count, "K").End(xlUp).Row
f.Range("K7:K" & lastRow).Formula = "='" & WS.Name & "'!$C$17"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hicham Ben Benaissa

79387450

Date: 2025-01-25 20:21:48
Score: 1.5
Natty:
Report link

So after hours of desperation I finally came to a solution (in case somebody has similar issues...):

  1. I commented out all lines of code referring to crontab (#) in django settings.py module to avoid the error...
  2. then i ran docker (to be able to exec bash):

docker compose up 3. so I could bring up the terminal of celery container $ docker compose exec celery bash 4. where I simply executed a pip install: $ pip install django-crontab 5. Finally - after a cheap Ctrl+C - I restarted the container (step.2)

And Voila, NO ERRORS!

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

79387449

Date: 2025-01-25 20:21:48
Score: 3.5
Natty:
Report link

press Shift + end combined with ctrl + c

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

79387444

Date: 2025-01-25 20:19:47
Score: 1
Natty:
Report link

Add it to the PATH, as shown in the video.

If that don't work, use python3 -m pipenv instead of just pipenv.

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

79387432

Date: 2025-01-25 20:13:46
Score: 2
Natty:
Report link

I’m a pretty fairly new coder. I used the different languages for a few reasons. I used python to build the bases of the app. I then was using shell script to tie it with paypal to have a payment system set up. Then Finally I was using Javascript to create the features of the website. I do not have them calling each other or anything I do not have the knowledge yet to do that. The reasoning for this code is I am running a business that sells products and I wanted to create an app in which people could go on and buy the products without my having to do much work.

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

79387416

Date: 2025-01-25 19:59:43
Score: 1
Natty:
Report link

Are u setting a default layout in app.js|ts ?

If so try setting the resolver like this

resolve: (name) => {
    const page = resolvePageComponent(
      `./Pages/${name}.vue`,
      import.meta.glob<DefineComponent>('./Pages/**/*.vue'),
    );
    page.then((p) => {
      p.default.layout = p.default?.layout || MainLayout;
    });
    return page;
  },
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Emiliano Cencio

79387410

Date: 2025-01-25 19:55:42
Score: 2
Natty:
Report link

The general documentation I used is not sufficient. One must also use specific prefixes and alter Nuxt configuration.

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

79387407

Date: 2025-01-25 19:54:41
Score: 2.5
Natty:
Report link

Renfei Song's answer helped me out. I ended up using the obj-c extension mechanism to add a acceptsFirstResponder method to MTKView without subclassing MTKView. I know Swift supports a similar mechanism.

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

79387404

Date: 2025-01-25 19:49:40
Score: 3.5
Natty:
Report link

Be sure that you are in good directory. In my case cd to folder with .yml was helpful

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

79387401

Date: 2025-01-25 19:47:40
Score: 1
Natty:
Report link

The answer to the title is simple but undocumented, access the obj attribute, to get the original dataframe used. The answer to your question is different, but probably you have already figured this out :D.

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

79387399

Date: 2025-01-25 19:46:40
Score: 2.5
Natty:
Report link

I don't have the reputation to comment above, so adding this as a response instead - even though the approach was spawned by the above info.

interact "\r" {return}
send "\r"

The use of "\r" as the terminating condition for interact means that the password or other secret goes directly from the user to the spawned process, except for the terminating carriage return, which the send then replaces on the user's behalf and completes the user's intention.

The {return} is required because expect's default action is to drop the terminal into a tcl/expect interpreter prompt. Return tells the interpreter to return from the Interact function and continue with the script.

Reasons:
  • Blacklisted phrase (1): to comment
  • RegEx Blacklisted phrase (1.5): I don't have the reputation to comment
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dwm_bsd

79387386

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

.

In all exhibited cases, ANR “Application Not Responding” is caused by a cracked display

For non-app controls displayed by the Android system, such as the volume slider displayed by Android on pressing volume buttons, the ANR is shown as a “Process system isn't responding” pop-up

The ANR occurs in native code due to unresponsive display-gestures

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

79387379

Date: 2025-01-25 19:37:38
Score: 0.5
Natty:
Report link

I had to upgrade setuptools and wheel:

C:/Program Files/ComfyUI/ComfyUI_windows_portable/python_embeded/python.exe -m pip install -U pip setuptools wheel

Then I could install xformers.

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

79387376

Date: 2025-01-25 19:35:38
Score: 1
Natty:
Report link

I think the problem is mixing different @Singleton annotations, there are javax.inject.Singleton and jakarta.inject.Singleton, judging from the error you are trying to use jakarta, change to javax.

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

79387367

Date: 2025-01-25 19:29:37
Score: 1
Natty:
Report link
  1. Configure CORS Policy for Your S3 Bucket Follow these steps:

  2. Go to your AWS S3 bucket in the AWS Management Console.

  3. Navigate to the Permissions tab.

  4. Scroll down to the Cross-origin resource sharing (CORS) section.

  5. Add the following CORS configuration:

    [ { "AllowedHeaders": [""], "AllowedMethods": ["GET", "HEAD"], "AllowedOrigins": [""], "ExposeHeaders": ["ETag"], "MaxAgeSeconds": 3000 } ]

After this recheck the vite.config.js for Base URL

base: process.env.ASSET_URL || '/',

also clear config cache php artisan config:clear

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

79387366

Date: 2025-01-25 19:28:36
Score: 3.5
Natty:
Report link

Currently spring boot is not supporting tomcat 11.

See below references:

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

79387350

Date: 2025-01-25 19:14:34
Score: 1
Natty:
Report link

There is a way to distinguish between the different signed, unsigned, and various sized integers. The OP wrote:

  1. I want to know what my options are. It's not that I can't use templates. I want to know whether I have to.
  2. Like I said: I want to be able to call the function both with fixed-size and variable-size integers.

I'm taking your comment to mean you didn't wish to write template functions. While the format appears the same, concepts are not templates and can be used to write functions distinguishing between signed, unsigned, and fixed and variable-sized integers.

In the code, note that char, unsigned char and int8_t are differentiated. Also, see how un/signed short is handled to cover both in one function while excluding any other integers. You can expand the code to cover any cases you wish.

#include <cstdint>

template <class T> //
concept signed_char = std::same_as<char, T>;

void meow(signed_char auto i) {
   println("{}", "signed char");
}

template <class T> //
concept signed_int8_t = std::same_as<int8_t, T>;

void meow(signed_int8_t auto i) {
   println("{}", "signed int8_t");
}

template <class T>                                //
concept unsigned_char =  std::same_as<unsigned char, T>;

void meow(unsigned_char auto i) {
   println("{}", "unsigned char");
}

template <class T>                      //
concept any_short =  std::same_as<short, T> or std::same_as<unsigned short, T>;

void meow(any_short auto i) {
   println("{}", "any short");
}

int main() {
   meow((char)1);
   meow((int8_t)1);
   meow((unsigned char)1);
   meow((short)1);
   meow((unsigned short)1);

#if 0
   // these won't compile
   meow(1);
   meow(1L);
   meow(1z);
#endif
}

Compiled with GCC 12.1 using -std=c++23 -Werror -Wpedantic -Wall

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

79387348

Date: 2025-01-25 19:14:34
Score: 2
Natty:
Report link
  1. Iterate through the new document hash codes
  2. Query Pinecone using each hash as a metadata filter
  3. If there are 0 results, add the corresponding file. Else, the file is already present, so skip it.
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: SivaTN

79387341

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

Solution:

  1. Directly download the deb package from https://packages.debian.org/bullseye/r-cran-cairodevice for debian users
  2. use sudo dpkg -i to install directly on the command line
  3. try running rattle again.

This worked well for me.

Reasons:
  • Whitelisted phrase (-2): Solution:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Moses Kalyango

79387340

Date: 2025-01-25 19:09:32
Score: 2
Natty:
Report link

Upon any access to a zarr array, zarr will read the entirety of chunks "touched" by the user-specified selection. Zarr will return the user-specified selection, and then "throw away" (discard from memory) the bytes that were originally read into memory. So if you loop over a zarr array like in my example, you will never read the entire array into memory; only the chunks of the data that your accesses touch will ever be in memory. So if your slicing is always constrained to 1 chunk, only 1 chunk will ever be held in memory at a time.

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

79387337

Date: 2025-01-25 19:08:32
Score: 3.5
Natty:
Report link

you can try netlify, github, or hostinger

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

79387328

Date: 2025-01-25 19:03:31
Score: 2
Natty:
Report link

This is a feature that was shipped with .NET 9 (see Microsoft developer community post). On the aforementioned thread Microsoft have since said they are going to revert this behaviour in a service release of .NET 9. As someone else pointed out on that thread, it's utterly ridiculous that this change in behaviour was part of a point release. Another reason to move to Rider I guess lol.

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

79387323

Date: 2025-01-25 18:58:30
Score: 1
Natty:
Report link

.

If Android Qualcomm/Broadcom chip is in a non-GPS coverage location for 60+ minutes while an app is requesting fixes, it goes into sleep

GPS will only resume if during a resume period every 20 to 60 minutes, a fix can be obtained within 3 minutes, ie. excellent GPS coverage

Requesting AGPS update may speed up time-to-fix for Qualcomm but not Broadcom chips. This requires Internet access. Android does not display GPS chip type

A good AGPS app is GPSTest com.android.gpstest.osmdroid

GPS chip operation can largely not be controlled or monitored from Android

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

79387313

Date: 2025-01-25 18:54:29
Score: 1.5
Natty:
Report link

Just as an alternative answer, this free open-source application I developedfor batch ffmpeg batch operations could be easier for users preferring a graphical user interface.

It handles blank spaces and subfolders requirements.

Available at GitHub: FFmpeg Batch Converter.

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

79387310

Date: 2025-01-25 18:54:29
Score: 2
Natty:
Report link

This is a Delta maintaince question, not a Polars question.

  1. For sorting use optimize with zorder.
  2. Delta requires vacuum and it will delete those old files after 7 days.
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Frank

79387305

Date: 2025-01-25 18:51:29
Score: 0.5
Natty:
Report link

Hello,

You're expecting when updating the database it will auto-update in the frontend, while this is not possible.

There are many frameworks and libraries made to make this thing possible (easier) such as React.

When updating the database what happens?

  1. A request gets established to the server
  2. The Server receives the request
  3. The Server requests from the database server an update
  4. The server sends back a response that the object or model was updated

Now, this is the general thing that happens, how would the front end even know that the database was updated? so you must add auto-refreshing code, or the user must reload the page.

Also server cant send a request to the frontend. And server responses cannot change the frontend, the thing that changes frontend after rendering is including a script in it.

Thats' it.

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

79387304

Date: 2025-01-25 18:50:28
Score: 4
Natty:
Report link

This was considered a bug in netty that got fixed. More info here: https://github.com/netty/netty/issues/13978

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

79387296

Date: 2025-01-25 18:45:27
Score: 1
Natty:
Report link

For my case I use this line of CSS :

    min-height: fit-content;
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Ali Mahmoodi

79387294

Date: 2025-01-25 18:43:26
Score: 3.5
Natty:
Report link

Ijust found one possible solution myself, but there might be a better one in case I want to use the axis title and the facet title (header) separately. Anyone?

import altair as alt
import pandas as pd
import textwrap 



df = pd.DataFrame({
    'y': [10, 20, 30 , 40] ,
    'x': ['a', 'b', 'a', 'b'] ,
    'facet' : ['case 1', 'case 1', 'case 2', 'case 2'] 
})
# without wrapping the labels
x         = 'x'
y         = 'y'
facet     = 'facet'
xlabel = ["A long long long long long long"+
          "long long long long long long title"]
base = (alt.Chart(df))
bar = (base.mark_bar()
       .encode(
           x       = alt.X(x).axis(labelAngle=0).title(''),
           y       = alt.Y(y),
       ))
txt = (base.mark_text(dy=-5)
       .encode(
           x    = alt.X(x),
           y    = alt.Y(y),
           text = alt.Y(y),
       ))
g = (alt.layer(bar, txt)
     .properties(width=300, height=250)
     .facet(facet=(alt.Facet(facet).header(title=xlabel, titleOrient='bottom',)),
            columns=2)
     .resolve_scale(x='shared')
     )

enter image description here

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Diogo