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

79387287

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

It can be resolved by setting overflow to scroll on the body element.

body{
overflow:scroll;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Christian

79387286

Date: 2025-01-25 18:40:25
Score: 5.5
Natty:
Report link

Are you using the same branch in which you have created the pipeline yaml file?

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

79387283

Date: 2025-01-25 18:39:24
Score: 1
Natty:
Report link

Do you want to check only for contiguous triplets of the form (a, b, b)? Based on your example, that doesn't seem to be the case. Then, you can just count the number of unique values and repeated values and multiply them.

In the example [5,6,7,3,3,3],

count_of_unique_vals = 3     # 5, 6 and 7
count_of_repeated_vals = 1   # 3
count_of_triplets = 3        # 3*1, or len(unique_vals) * len(repeated_vals)
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: SivaTN

79387278

Date: 2025-01-25 18:36:24
Score: 1
Natty:
Report link

You no longer need to do npx tailwindcss init -p according to tailwindcss v4 docs. Link: how to config it with vite

If you still wanna use npx tailwindcss init -p then you have to install v3 by using npm install -D tailwind@3, then you can proceed with npx tailwindcss init -p. Link: tailwindcss v3 docs installation guide

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

79387270

Date: 2025-01-25 18:30:22
Score: 5.5
Natty: 6
Report link

checkout this blog https://sagarsangwan.vercel.app/blogs/pdf-generation-in-next-js-15-with-puppeteer-1737813702027 for a detailed blog on how to convert html into pdf

Reasons:
  • Blacklisted phrase (1): this blog
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sagar Sangwan

79387269

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

He buddy, I'm try to fine-tune llama3.2:1b, 3b and llama3.1:8b and I have that same max_seq_length 2048 for all models but after fine-tuning the model context lenght will not be limited to 2048, I think!. I'm having some great problems in fine-tuning.

Sequence length: This is the specific length of the input you provide to the model, which can be shorter than the model's overall context length.

Context length: This is the maximum amount of text (in tokens) that the model can process and reference when generating an output, representing its ability to remember and understand the broader context of a conversation or document.

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

79387268

Date: 2025-01-25 18:27:21
Score: 2
Natty:
Report link

Children of a Prefab instance cannot be moved, and components cannot be reordered. You can unpack the Prefab instance to remove its Prefab connection.

for this one easy solution might be to duplicate the prefab and then copying it and then delete the duplicated one.

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

79387260

Date: 2025-01-25 18:24:21
Score: 1
Natty:
Report link

Please create a .env file at project directory and add below:

DANGEROUSLY_DISABLE_HOST_CHECK=true
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ved Prakash

79387248

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

if (name.value != name.defaultValue) { 
    alert("#name has changed"); 
    }

false

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: اية السعايدة

79387242

Date: 2025-01-25 18:14:19
Score: 0.5
Natty:
Report link

Beacon transmitters can only keep going so long as the app that creates the keeps running in the background. If the app stops for some reason (the operating system kills it, the app crashes, the user force quits it) the transmission will stop.

The most likely cause of the problem you report is that the operating system is killing the app for some reason. Motorola devices are usually pretty faithful to open-source Android, so it is a bit surprising that Motorola devices are doing this. On a Pixel 7a, I often see beacon transmitters running for many days at a time without stopping.

There are many techniques BeaconScope (and other apps) use to keep running in the background: (1. Broadcast Intents, 2. ForegroundService, 3. Job Service). The latest 1.5 version of the app uses 1 and 2, but not 3. I added this to version 1.5.2 of BeaconScope just now and sent that for review in the Google Play Store. This should be available in a couple of days, and it may improve things by restarting the app within 15 minutes if it is ever killed by the operating system.

If you would like to help troubleshoot why your phone is killing the app, so I can make this more robust, I can give you instructions to do one of two things (1) Use Android debugging tools to get an app log - this requires installing Android dev tools (2) Sending a bug report - this requires performing a procedure on your phone within 60 seconds of when the transmission stops. Let me know if you can help with either of these and I will share instructions.

Reasons:
  • RegEx Blacklisted phrase (3): you can help
  • Long answer (-1):
  • No code block (0.5):
  • High reputation (-2):
Posted by: davidgyoung

79387240

Date: 2025-01-25 18:12:18
Score: 3
Natty:
Report link

Here is an algorithm to try:

  1. Import numpy and pandas
  2. Define A = np.array([[1, 2, 1],[1, 3, 2]])
  3. Split df of B in 2
  4. Define df1 = pd.DataFrame("the first two rows of B")
  5. Define df2 = pd.DataFrame("the next two rows of B")
  6. result1, result2 = A * df1, A * df2
  7. print the result

This is a pandas documentation on multiplication for reference

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: S I

79387224

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

Just iterate over the set of dataframes and multiply each one with the array.

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

79387219

Date: 2025-01-25 17:59:16
Score: 0.5
Natty:
Report link

I would like to mention something when you try to store your data make sure

as an example below you are decoding that buffer into a UTF-8 string

const originalName = Buffer.from(file.originalname, 'binary').toString(
      'utf-8',
    );
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Abdeldjalil Hachimi

79387216

Date: 2025-01-25 17:58:15
Score: 1.5
Natty:
Report link

I was getting the same error. As a workaround, I did File.Copy() to copy to a new file, then uploaded that. Seems AWS library wants exclusive access. I don't have control over other processes accessing the file, perhaps they are not cleaning up properly.

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

79387214

Date: 2025-01-25 17:57:15
Score: 1.5
Natty:
Report link

I think the load_dotenv function fetches the environment variable's cached value. It can be resolved by enabling an override prop in the load_dotenv function.

using this you can fetch the correct value whenever it is updated in the correct order, I think this will help(taken from the docs of python dotenv - https://pypi.org/project/python-dotenv/) -

enter image description here

load_dotenv(override=True)
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vikas Kushwaha

79387213

Date: 2025-01-25 17:57:14
Score: 4
Natty: 4.5
Report link

Three dot represent the spread operator.

Below URL to understand the concepts

URl: https://www.freecodecamp.org/news/javascript-spread-and-rest-operators/

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

79387212

Date: 2025-01-25 17:55:14
Score: 3
Natty:
Report link

You can find the data in the SAP client, in Users, there is the login account and the BIND with Active Directory, I always used bind ( adname\account_id ), check if the user has permissions to access the Service Layer and the base name is correct.

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

79387199

Date: 2025-01-25 17:49:11
Score: 10 🚩
Natty: 5
Report link

@kai-pham , Did you manage to solve the issue, I am having similar problem with converting pcm16 audio to g711ulaw rtp stream. I have tried various combination with little success.

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to solve the
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having similar problem
  • User mentioned (1): @kai-pham
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: AshG

79387194

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

tomcat by default take name of war file as context root . So we can rename our war file or we can have context.xml inside /WEB-INF

inside pom.xml

<finalName>warName</finalName>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Denil Nair

79387175

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

You can try following:

aws ec2 describe-instances --filters Name=availability-zone,Values=us-east-1a

AWS CLI describe-instances documentation.

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

79387174

Date: 2025-01-25 17:36:06
Score: 7.5 🚩
Natty:
Report link

I ended up finding the solution to my problem, if someone else is having the same problem with the "IP not being whitelisted" even though it is. And if you tried changing the DNS to 8.8.8.8, turning off your vpn, creating new outbound and inbound rules for port 27017, and still you can't find the solution. Check your node version and make sure is updated, that was the mistake i was making, i checked mongoose version, express and mongodb versions and everything looked good.

It was the node update.

Reasons:
  • RegEx Blacklisted phrase (1.5): can't find the solution
  • RegEx Blacklisted phrase (2): can't find the solution
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): having the same problem
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Gerardo Acedo

79387168

Date: 2025-01-25 17:31:05
Score: 0.5
Natty:
Report link

finally I find this modification can print multiple font size

...
WebSettings wSettings = myWebView.getSettings();
String st = editText2.getText().toString();
st = st.replaceAll("\n", "<br>");
myWebView.loadDataWithBaseURL("file:///android_asset/", st, "text/html", "UTF-8", null);
wSettings.setTextZoom((int)(editText2.getTextSize()*2));//You can change 2 to the multiple you want
...
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Fisher

79387160

Date: 2025-01-25 17:24:02
Score: 5
Natty:
Report link

I have a solution. Here i use React-router-dom,TypeScript,Tailwind and Shadcn https://github.com/SadikMuktadir/tailwind-Shadcn.git

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

79387159

Date: 2025-01-25 17:23:02
Score: 2
Natty:
Report link

Since you define the _id as non-nullable, it will always generate the id with an empty string "". The solution is to make it optional, hence String?, and remove the default value.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: João Saraiva

79387158

Date: 2025-01-25 17:22:02
Score: 0.5
Natty:
Report link

Replit does not use Apache, so it ignores .htaccess files. To implement custom routing, you need to handle the incoming URLs in your PHP code by inspecting the request path (for example with $_SERVER['REQUEST_URI']) and then deciding which script or content to serve based on that. This means you should manage your rewrites and routing logic directly within index.php or another script instead of relying on .htaccess.

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

79387150

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

I encountered the same issue today; if you want to simply display as a column with no scrolling applied, the following code worked well for me:

    .tabs {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .tabs ul {
    display: flex;
    flex-direction: column;
  }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: DmitriiK

79387146

Date: 2025-01-25 17:13:59
Score: 2
Natty:
Report link

Add to setupTests.js

import console from "console"
global.console = console
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: vikonnikov

79387145

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

Explored numerous options to resolve the problem. here are some option I have tried

  1. added "type": "module" in package.json
  2. clean cache, clear dependencies and reinstall everything

rm -rf .serverless/ .webpack/ node_modules package-loc.json npm install

  1. debug using serverless print
  2. finally worked! explicitly set .mjs in serverless.yml

Before serverless.yml

functions:
  myfunction:
    handler: handler.main

After serverless.yml

functions:
  myfunction:
    handler: handler.mjs.main

That means Serverless Framework wasn't automatically detecting .mjs files

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

79387137

Date: 2025-01-25 17:05:57
Score: 4
Natty: 5
Report link

Thanks! I didn't know what (double **) meant.

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

79387135

Date: 2025-01-25 17:05:57
Score: 0.5
Natty:
Report link

This error in Azure Pronunciation Assessment typically indicates an issue with the configuration or the way the speech context is being set up. Here are a few common reasons and potential solutions:

Ensure that the configuration parameters for the pronunciation assessment are correctly set. Double-check the settings for PronunciationAssessmentConfig and make sure they match the expected format.

Verify that you are using a compatible version of the Azure Speech SDK. Sometimes, using an outdated version can cause deserialization issues1.

Ensure that the audio format of the input file is supported by the service. The service typically supports WAV files with a sample rate of 16 kHz3.

Subscription Key and Region: Make sure that your subscription key and service region are correctly set in your configuration. Incorrect credentials can lead to errors.

Implement robust error handling in your code to catch and diagnose issues more effectively.

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

79387127

Date: 2025-01-25 16:59:55
Score: 0.5
Natty:
Report link

It takes about 3 minutes, however won't break at the next update.

%%bash
wget https://github.com/TA-Lib/ta-lib/releases/download/v0.6.4/ta-lib-0.6.4-src.tar.gz
tar -xf ta-lib-0.6.4-src.tar.gz && cd ta-lib-0.6.4/
./configure --prefix=/usr && make && make install
python -m pip install ta-lib==0.6
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: numrut