79145566

Date: 2024-10-31 16:37:29
Score: 2
Natty:
Report link

This could be because of older versions of langchain and it's related libraries using pydantic v1. To resolve this, you can uninstall all related packages with the help of pip list,I uninstalled almost all packages and installed again. https://python.langchain.com/v0.2/docs/how_to/pydantic_compatibility/

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

79145564

Date: 2024-10-31 16:36:28
Score: 1
Natty:
Report link

I wrote a quite detailed article on how React Native and Expo relate to each other, and if it is worth using React Native without Expo.

TLDR; it does not.

You are almost always better off using Expo, even the React Native team recommends that.

For the longer, comprehensive answer, read my blog post.

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

79145563

Date: 2024-10-31 16:35:28
Score: 1.5
Natty:
Report link
        <v-card-title class="d-flex justify-space-between">
            <v-icon left x-large color="primary">{{ icon }}</v-icon>
            {{ title }}
            <span><v-btn outlined class="blue--text mt-5 mr-8">
                Create
            </v-btn></span>
        </v-card-title>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28078686

79145557

Date: 2024-10-31 16:34:28
Score: 4
Natty:
Report link

I'm interested I attach my CV to the vacancy. `

https://www.linkedin.com/in/carlos-sandoval-776a09304 `

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

79145546

Date: 2024-10-31 16:32:27
Score: 1.5
Natty:
Report link

Too much text about Actors and isolation. For someone who don;t understand how task is worked, and someone who still think Task.detached is bad and have very narrow usecases.

So what I understand after some experiments and learning. All is simple. Apple did ( like every time ) old staff from past years in new cover. so:

  1. all async staff is sync. If you want to run it async use Task. ( but even u cant use it without task )
  2. Task = DispatchQueue.current.async - BUT on EVERY AWAIT system COULD change Thread.

What does it mean? If you have something like this:

class A {
func first() async {
    for i in 0...1000 {
      print("🤍 \(i)")
    }
}

} class ViewController: UIViewController {

let a = A()

override func viewDidLoad() {
    super.viewDidLoad()
    // Do any additional setup after loading the view.
    
    Task {
        await a.first()
    }
    second()
}

func second() {
    Thread.sleep(forTimeInterval: 5)
    for i in 0...1000 {
      print("♥️ \(i)")
    }
}

}

Second() will always print first, but First() could print on other Thread then main

If you need DispatchQueue.global.async you use Task.detached

  1. await its like sync on GCD this code :

    Task { await a.first() }

is something like

DispatchQueue.current.async {
        DispatchQueue.global().sync {
            a.first
        }
    }

What does it mean? - If you have @MainActor functions in your class for updating @Published properties, and you for example what update a Progress of some background work ( for example AsyncSequence ) you must use Task.detached ( what ever Apple say )

Apple problem is that they every time think that all apps in Store is 3 screen MVP whit one button and one endpoint

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @MainActor
  • User mentioned (0): @Published
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dragonboh

79145544

Date: 2024-10-31 16:32:27
Score: 1.5
Natty:
Report link

Your inputs are simply bad quality the first was a dummy so undetectable your second is so poor even a human is always going to be better than OCR.

As a Human I see the numbers easily. as 0000003531 but OCR simply is not that good at numbers without higher pixel contrast and density, the bar code is corrupted by scanning with anti-alias greyscale.

enter image description here

However with a good system the combination should function ?

enter image description here

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: K J

79145533

Date: 2024-10-31 16:29:26
Score: 3
Natty:
Report link

If you are using MedusaJS V2, please note that currently, only the Stripe payment plugin is supported, and no other options are available.

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

79145528

Date: 2024-10-31 16:28:26
Score: 3
Natty:
Report link

i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees

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

79145525

Date: 2024-10-31 16:28:26
Score: 2.5
Natty:
Report link

You can't do this with gprbuild (for now?). Try to use Alire. It's fantastic for dependency management and can run simple post-fetch, pre-build, post-build actions.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
Posted by: Maxim Reznik

79145524

Date: 2024-10-31 16:28:26
Score: 2.5
Natty:
Report link

Set the stream Position property to zero.

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

79145522

Date: 2024-10-31 16:27:26
Score: 3
Natty:
Report link

You might find our Youtube lecture series on anomaly detection useful. It contains a module on time series, which explains the special challenges and approaches on time series data.

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

79145519

Date: 2024-10-31 16:27:26
Score: 1.5
Natty:
Report link

I was unaware I was asking for the jquery-editable-select CDN.

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery-editable-select.min.js"></script>

Found it here:

jquery-editable-selelct CDN

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

79145516

Date: 2024-10-31 16:26:25
Score: 4.5
Natty:
Report link

I am seeing the same with Edge.

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

79145503

Date: 2024-10-31 16:23:24
Score: 0.5
Natty:
Report link

I finally found a solution for this problem.

In CLion under Settings > Build, Execution, Deployment > Toolchains add to the Container settings the Option --user=0.

With this option the command will be run as the root user in the container. Because Docker Desktop runs as the normal user the root user in the Container will be mapped to the host user.

After adding this setting CLion found automatically the paths to the compiler in the Docker container and building works without any permission issues. Also the files in the build directory are owned by my host user.

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

79145502

Date: 2024-10-31 16:23:24
Score: 0.5
Natty:
Report link

This happens because you named the variable "$services". Laravel is looking to bind to $service (/services/{service}).

More information here: (https://laravel.com/docs/11.x/controllers#restful-naming-resource-route-parameters)

Your index and store routes work fine because they don't require a parameter.

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

79145493

Date: 2024-10-31 16:20:21
Score: 7.5 đźš©
Natty:
Report link

please if youfixed it and how?

Reasons:
  • RegEx Blacklisted phrase (1.5): fixed it and how?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sory Millimono

79145482

Date: 2024-10-31 16:17:17
Score: 7.5 đźš©
Natty: 4.5
Report link

I have the same issue and i found this via Google: Found this : https://github.com/firebase/firebase-functions/issues/1622

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: Alessandro Lamparelli

79145473

Date: 2024-10-31 16:14:17
Score: 3.5
Natty:
Report link

mov eax, num1 mov ebx, num2 mul ebx int 0x80

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

79145471

Date: 2024-10-31 16:13:16
Score: 1.5
Natty:
Report link

In our case, we had SSL errors in the eventlog of our (rarely used) development VM. We had to force adfs to update its certificates. This is only possible with a valid certificate. So we changed the system clock back.

This helped in our case:

Do the next steps in the VM:

Reasons:
  • RegEx Blacklisted phrase (2): Urgent
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Patrik B.

79145469

Date: 2024-10-31 16:13:16
Score: 3
Natty:
Report link

I encountered the same error and tried many solutions, but none worked. However, I finally found a solution from the Apple forum that worked for me.

Please Follow below steps,

  1. Go to your Build Settings and click the plus icon

enter image description here

  1. now add these INSTALL_ROOT with '/'

enter image description here

Enjoy !! Happy Coding ...

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Kavindu Dissanayake

79145465

Date: 2024-10-31 16:12:16
Score: 2
Natty:
Report link

The most straight forward answer to this is to add contentContainerStyle props to the components.

<FlatList horizontal showsHorizontalScrollIndicator={false} contentContainerStyle={{ gap: 16 }}

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

79145464

Date: 2024-10-31 16:12:16
Score: 5.5
Natty:
Report link

thanks for your reply.

is it your-yolov5s.pt or your-best.pt file which one I have to convert to tflite?

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: abc777

79145457

Date: 2024-10-31 16:10:15
Score: 1.5
Natty:
Report link

I faced the same issue and found out that I had added a transform: scale(0.9); style to one of the parent components. Once I removed that, the element size tooltip and the computed style sizes in the box model matched up. It might be worth checking if you have a similar transformation affecting your element.

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

79145451

Date: 2024-10-31 16:09:15
Score: 1.5
Natty:
Report link
$("img").on("click", function () {
    this.requestFullscreen();
});
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: schmark

79145430

Date: 2024-10-31 16:03:11
Score: 7.5 đźš©
Natty: 4.5
Report link

This is Shanon Daniel, one of your best friend. Now I am looking for you. Your bday is November 22th? Did you remember April 12th?

Reasons:
  • Blacklisted phrase (2): I am looking for
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Shanon Daniel

79145429

Date: 2024-10-31 16:03:11
Score: 2.5
Natty:
Report link

Click on the file pane icon with the blue dot. A file pane pop-up appears. On that pop-up, select a branch. In this case Master.

The docked file pane will return.

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

79145421

Date: 2024-10-31 16:01:11
Score: 2
Natty:
Report link

I was able to get the tooltip to show above the other elements of the table by adding the 'withinPortal' prop to the tooltip component and setting the zIndex to be higher than the elements surrounding it. In my case I had to set it to 100.

https://v6.mantine.dev/core/tooltip/?t=props

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

79145420

Date: 2024-10-31 16:01:11
Score: 8
Natty: 7
Report link

I am trying to send customers to classes hosted at a facility, but I would like for customers to select the link: https://bcatraining.x.state.mn.us/MinnesotaPortal/bca/bcatraining/Search and have the Keyword Search field on the website, via this link, auto populate with the words HERO Center. This will help customers narrow down their search to just this location. Any thoughts or suggestions on how to do this?

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Blacklisted phrase (1.5): Any thoughts
  • Blacklisted phrase (1): this link
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dan

79145412

Date: 2024-10-31 15:59:10
Score: 4.5
Natty:
Report link

Have you tried on iOS physical device? Because I have same issue but it's only happened on Simulator.

Probably related with firebase flutter docs.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: husainazkas

79145406

Date: 2024-10-31 15:57:09
Score: 0.5
Natty:
Report link

The correct answer is that thiis is usually installed into /usr/share/php, which, in turn, by default is included in php's innclude_path.

By default it will "just work" as you have listed it above. If it does not:

use dpkg -L php-getid3 to find the location of the ihstallation

Then, you can either:

Reasons:
  • No code block (0.5):
Posted by: Dennis

79145402

Date: 2024-10-31 15:56:08
Score: 0.5
Natty:
Report link

After doing some more research, I found a solution that worked for me:

My client runs on localhost:8080, while the server is on localhost:8084. This setup makes my POST request a "cross-site" request. To allow Axios to handle this properly, I needed to enable credentials and support for the CSRF token. Here’s how I configured it:

export let axiosInstance = Axios.create({
  baseURL: apiURL,
});

// New lines to allow credentials and CSRF token handling
axiosInstance.defaults.withCredentials = true;
axiosInstance.defaults.withXSRFToken = true;

The line axiosInstance.defaults.withCredentials = true; instructs Axios to include cookies and credentials in each request. Additionally, the line axiosInstance.defaults.withXSRFToken = true; enables Axios to automatically add the X-XSRF-TOKEN header in requests.

On the server side, I also needed to allow credentials by adding

@CrossOrigin(origins = "http://localhost:8080", allowCredentials = "true")

above my controller. This configuration ensures that the browser can send cookies with requests, but only if they originate from http://localhost:8080, thereby enhancing security by restricting requests to that specific origin.

Reasons:
  • Blacklisted phrase (1): thX
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): worked for me
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Romb38

79145400

Date: 2024-10-31 15:55:08
Score: 3.5
Natty:
Report link

I was struggling 2 or 3 days. The answer is really strange... First, you need to create columns with names you need. Only after that it will insert data from scv.

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

79145394

Date: 2024-10-31 15:55:08
Score: 0.5
Natty:
Report link

Use Figma’s prototyping features to link different frames and create a flow. Add interactivity (like button clicks and page transitions) to simulate the user journey. And Share the prototype link with testers or stakeholders, allowing them to interact with the wireframes as though they were using a real product.

Plugins like User Testing, Maze, or Lookback integrate with Figma to facilitate user testing directly. They can capture user behavior, clicks, and responses, providing insights into usability and potential areas of confusion.

Use Figma’s comments feature to gather feedback. Ask testers to leave comments directly on the wireframes, detailing any issues or confusing elements they encounter. This works well for asynchronous feedback. Remote Usability Testing:

Use tools like Maze or Useberry, which connect to Figma prototypes and allow you to set up specific tasks. These platforms collect analytics on click paths, task completion rates, and drop-off points, giving quantitative insights into the wireframe’s usability. Hope this will be helpful.

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

79145392

Date: 2024-10-31 15:54:08
Score: 2
Natty:
Report link

One caveat to keep in mind: Quay.io registry entries are marked "private" by default. So, for example, if you are attempting to pull an image from quay.io that says is "not found" and you know it's there, check the publicity setting.

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

79145389

Date: 2024-10-31 15:53:08
Score: 3.5
Natty:
Report link

Great. It would be good to post this question/answer to the Oracle Analytics Community Website to help other users.

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

79145387

Date: 2024-10-31 15:52:07
Score: 1
Natty:
Report link

I was able to load assets in integration tests when calling

IntegrationTestWidgetsFlutterBinding.ensureInitialized();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jeangali

79145386

Date: 2024-10-31 15:52:07
Score: 0.5
Natty:
Report link

RESOLVED

I was able to get the query to work. Based on @Frank van Puffelen's comment on my original question, I checked the initialization of the DocumentReference and it was final itemReference = _itemsCollection.doc(item.reference.id);. Instead of that, I just passed the existing item.reference into the query and it worked. Not sure why that made a difference, but it did.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Has code block (-0.5):
  • User mentioned (1): @Frank
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: byron

79145381

Date: 2024-10-31 15:51:07
Score: 2
Natty:
Report link

Sync is trash as it copies over files that you already have the existing version of, incredibly slow with a large project. What you want is to use the GUI, go to the "Submitted" tab, right click the desired changelist and click "Get Revision..." then add the root folder, make sure "only get revisions for files listed in changelist" is off, then click 'Get Revision'. Super quick, easy to run a binary search with.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jules Gabriel Pare

79145371

Date: 2024-10-31 15:48:06
Score: 3.5
Natty:
Report link

I am getting this error with java.lang.IllegalStateException: No current Mutiny.Session found - no reactive session was found in the Vert.x context and the context was not marked to open a new session lazily - a session is opened automatically for JAX-RS resource methods annotated with an HTTP method (@GET, @POST, etc.); inherited annotations are not taken into account - you may need to annotate the business method with @WithSession or @WithTransaction at io.quarkus.hibernate.reactive.panache.common.runtime.SessionOperations.getSession(SessionOperations.java:159) at io.quarkus.hibernate.reactive.panache.common.runtime.AbstractJpaOperations.getSession(AbstractJpaOperations.java:368) at io.quarkus.hibernate.reactive.panache.common.runtime.AbstractJpaOperations.persist(AbstractJpaOperations.java:37) at io.quarkus.hibernate.reactive.panache.PanacheEntityBase.persist(PanacheEntityBase.java:57) at org.acme.hibernate.orm.panache.FruitServiceTest.lambda$0(FruitServiceTest.java:57) at io.smallrye.mutiny.groups.UniOnItem.lambda$invoke$0(UniOnItem.java:58) at io.smallrye.context.impl.wrappers.SlowContextualConsumer.accept(SlowContextualConsumer.java:21) at io.smallrye.mutiny.operators.uni.UniOnItemConsume$UniOnItemComsumeProcessor.invokeEventHandler(UniOnItemConsume.java:77) at io.smallrye.mutiny.operators.uni.UniOnItemConsume$UniOnItemComsumeProcessor.onItem(UniOnItemConsume.java:42) at io.smallrye.mutiny.operators.uni.builders.UniCreateFromKnownItem$KnownItemSubscription.forward(UniCreateFromKnownItem.java:38) at io.smallrye.mutiny.operators.uni.builders.UniCreateFromKnownItem.subscribe(UniCreateFromKnownItem.java:23) at io.smallrye.mutiny.operators.AbstractUni.subscribe(AbstractUni.java:36) at io.smallrye.mutiny.operators.uni.UniOnItemConsume.subscribe(UniOnItemConsume.java:30) at io.smallrye.mutiny.operators.AbstractUni.subscribe(AbstractUni.java:36) at io.smallrye.mutiny.operators.uni.UniOnItemTransformToUni.subscribe(UniOnItemTransformToUni.java:25) at io.smallrye.mutiny.operators.AbstractUni.subscribe(AbstractUni.java:36) at io.smallrye.mutiny.operators.uni.UniOnItemConsume.subscribe(UniOnItemConsume.java:30) at io.smallrye.mutiny.operators.AbstractUni.subscribe(AbstractUni.java:36) at io.smallrye.mutiny.groups.UniSubscribe.withSubscriber(UniSubscribe.java:51) at io.smallrye.mutiny.groups.UniSubscribe.with(UniSubscribe.java:110) at io.smallrye.mutiny.groups.UniSubscribe.with(UniSubscribe.java:88) at io.quarkus.test.vertx.RunOnVertxContextTestMethodInvoker$RunTestMethodOnVertxEventLoopContextHandler.doRun(RunOnVertxContextTestMethodInvoker.java:191) at io.quarkus.test.vertx.RunOnVertxContextTestMethodInvoker$RunTestMethodOnVertxEventLoopContextHandler.handle(RunOnVertxContextTestMethodInvoker.java:178) at io.quarkus.test.vertx.RunOnVertxContextTestMethodInvoker$RunTestMethodOnVertxEventLoopContextHandler.handle(RunOnVertxContextTestMethodInvoker.java:149) at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:270) at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:252) at io.vertx.core.impl.ContextInternal.lambda$runOnContext$0(ContextInternal.java:50) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:994) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:833)

Reasons:
  • Blacklisted phrase (1): I am getting this error
  • RegEx Blacklisted phrase (1): I am getting this error
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @POST
  • User mentioned (0): @WithSession
  • User mentioned (0): @WithTransaction
  • Low reputation (1):
Posted by: esteveavi

79145363

Date: 2024-10-31 15:46:05
Score: 3.5
Natty:
Report link

This post provided me a simple example of how to make it work : stackoverflow.com/q/34252413/11603485 Like @JarMan mentioned , it is not possible to declare the model in the QML file, it should be instantiated in the python file. Thanks for your help !

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-0.5): Thanks for your help
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mayadev

79145358

Date: 2024-10-31 15:45:05
Score: 0.5
Natty:
Report link

This is a classic mistake regarding rounding and casting. Rounding a position in space or casting a fraction to an integer, results in the integer discarding any fractional information. What happens is that your delta is too small for the position to significantly update to a new integer position. So, when you round it, it will round to the nearest integer. In this case back to its original position. Try to avoid rounding when it comes to position. You could also increase the gravity to see when it begins to move.

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

79145355

Date: 2024-10-31 15:43:04
Score: 5
Natty:
Report link

Maybe you need virtual scroll here

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

79145338

Date: 2024-10-31 15:40:03
Score: 1
Natty:
Report link

The problem was caused by another system I had installed in my quicklisp/local-projects directory that came with its own version of alexandria. It turns out that quicklisp was loading this version of alexandria, which did not provide the proper namespaces. So, removing this system out of the local-projects directory enabled quicklisp to load the correct version.

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

79145334

Date: 2024-10-31 15:38:02
Score: 2.5
Natty:
Report link

For me the problem was that my VM at some moment began to run on port 2376 instead of the default 2375... Thus since that happened I run any docker commands with the parameter "-H 192.168.99.100:2376", and "docker-compose up" as well

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

79145332

Date: 2024-10-31 15:36:02
Score: 1.5
Natty:
Report link

Thanks to Rune FS's XML hack. (How to perform spell check and grammar check in Powerpoint using VBA?)

  1. Save the pptx file as a PowerPoint XML Presentation.

  2. Open the XML file with a text editor like 'notepad.'

  3. replace every ' err="1"' with ''(remove any instance of ' err="1"')

  4. Save the XML file.

  5. Open the xml file in PowerPoint and save it as a pptx file.

  6. Reopen the pptx file and all the red underlines are gone!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: konahn

79145325

Date: 2024-10-31 15:34:01
Score: 1
Natty:
Report link

This issue can help: https://github.com/bytecodealliance/wasmtime-go/issues/80

And yet another example: https://github.com/bytecodealliance/wasmtime-go/blob/a1a8116cf3965d0e228229f3b3a497ba6da6a9b7/func_test.go#L422

You should use wasmtime.Linker.DefineFunc() to link host-func by name. Something like this:

...
linker := wasmtime.NewLinker(engine)
err := linker.DefineWasi()
if err != nil {
    return err
}
store := wasmtime.NewStore(engine)
wasiConfig := wasmtime.NewWasiConfig()
...
store.SetWasi(wasiConfig)
err = linker.DefineFunc(store, "env", "HostFunc", func() {
    fmt.Println("HOSTCALL!!!")
})
if err != nil {
    return err
}
instance, err := linker.Instantiate(store, module)
if err != nil {
    return err
}
...

And in the guest:

package main

//export HostFunc
func HostFunc()

func main() {
    HostFunc()
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ants

79145312

Date: 2024-10-31 15:32:01
Score: 2.5
Natty:
Report link

I know at bit late to be here, but the flowbite-angular library is in alpha version (few components for the moment but it will grow over the time) I drop you the link here https://github.com/themesberg/flowbite-angular

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

79145308

Date: 2024-10-31 15:30:00
Score: 0.5
Natty:
Report link

If you want it to apply to the entire app, you can do this by setting it in ThemeData when initializing the app.

ThemeData get lightTheme {
  return ThemeData(
    scrollbarTheme: ScrollbarThemeData(
      thickness: WidgetStateProperty.all(0),
    ),
  );
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shafiq Jefri

79145306

Date: 2024-10-31 15:30:00
Score: 3
Natty:
Report link

In my case, I was using an incompatible SDK version with my current React native version. I only updated the SDK version, and that fixed the problem

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

79145300

Date: 2024-10-31 15:28:00
Score: 3
Natty:
Report link

Just posting to say same error:

This link says to go to: “View > Tool Windows > App Inspection” https://developer.android.com/studio/debug/network-profiler
But I don’t have the “App Inspection” option:

beautiful default settings with light theme

(I know light theme cry about it I got better things to do.)

Here’s that same screenshot but in high contrast so I can satisfy y’alls need for cool colors while defeating the purpose of not burning your eyes out:

wicked cool high contrast screenshot

Reasons:
  • Blacklisted phrase (1): This link
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Funny Geeks

79145298

Date: 2024-10-31 15:25:59
Score: 1.5
Natty:
Report link

For me you need to upgrade your gradle it's better than downgrade JAVA. But for many people it's different. If you think u will upgrade flutter, upgrade gradle is a good solution (upgrade flutter it's good for more compatibility and performance on smartphone). But if you do, you will probably need to update part of your library.

If you don't want to upgrade Flutter, I think you can downgrade JAVA.

I hope my answer will help you or other people

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

79145292

Date: 2024-10-31 15:23:58
Score: 5
Natty: 7
Report link

Check out this tutorial as it has all necessary info to fetch time records from ActiveCollab https://www.createit.com/blog/fetching-time-records-from-activecollab-api/

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: adrianIT

79145282

Date: 2024-10-31 15:20:57
Score: 2
Natty:
Report link

How about this one?

if debug.getinfo(3) then
  print("in package")
else
  print("in main script")
end

Same idea, less keystrokes. Level 3 as argument is sufficient, because debug.getinfo is not called within another function.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: Meindert Meindertsma

79145270

Date: 2024-10-31 15:17:56
Score: 2
Natty:
Report link

Excellent analysis of the impact of HTML comments on webpage load times! It’s absorbing to see how even small elements can influence performance. The insights shared here are helpful for both beginners and experienced developers aiming to optimize their sites. I appreciate the clear explanations and examples—this makes understanding the nuances of web development easier.

Thank you for fostering such an informative dialogue!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abc Tabhron

79145265

Date: 2024-10-31 15:16:56
Score: 0.5
Natty:
Report link

I found the issue.

This is how I finally made it work as I expected:

apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ .Values.configMapName }}
  labels:
    app: {{ .Release.Name }}
data:
{{- range $path, $bytes := .Files.Glob "config/*.yaml" }}
  {{ base $path }}: |
{{ tpl (toString $bytes | indent 2) $ | indent 4 }}
{{- end }}

The trick is in the range before the .Files.Glob, and the toString of the file value (as Glob returns a byte array).

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Alessandro D'Armiento

79145264

Date: 2024-10-31 15:15:55
Score: 0.5
Natty:
Report link

First, one thing must be clarified before moving on with my answer. Do you want your app to "remember" that the user has completed in the past the onboarding procedure, even if the user uninstalls/installs the app?

if yes, hydration is not a solution here because as soon as the user uninstalls the app, the hydrated data are deleted as well.

Assuming that the above is not the problem, what I would do is make a wrapper widget for the login page. Let's call this OnBoardingWrapper, which will accept a Widget parameter child. In our case, the child is the LoginPage.

This wrapper will have a simple logic in the builder if the onBoarding is already been done in the past, then render the LoginPage Widget, else render the OnBoarding widget.

On this Wrapper widget, a hydrated cubit can be provided which only has a state value like isOnBoardingCompleted and a method that sets this value from false to true.

So if the onBoarding is rendered, on the completion the method is called setting the value to true and displaying the login page.

if the user re-visit the app after the completion of onboarding flow, the hydrated state with the isOnBoardingCompleted == true will be retrieved and the user will skip the onboarding.

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

79145249

Date: 2024-10-31 15:11:54
Score: 5.5
Natty:
Report link

thanks for your reply.

is it your-yolov5s.pt os your-best.pt file which one I have to convert to tflite?

I have

yolov5su.pt
yolov5xu.pt
yolov5x.pt

thx

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): thx
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: abc777

79145245

Date: 2024-10-31 15:09:54
Score: 2.5
Natty:
Report link

I faced the same issue. Restarted my network but that didn't help. I waited for about half an hour and the problem resolved own its own.

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

79145234

Date: 2024-10-31 15:07:53
Score: 1
Natty:
Report link

to_dataframe is expecting a PCollection[1], but you are passing a single element of your PCollection instead. Instead of calling df = to_dataframe(element) as part of PandasTransform, you can do something like:

messages = (p
                    | 'Read from PubSub' >> beam.io.ReadFromPubSub(subscription=input_subscription)
                    | 'Parse PubSub Message' >> beam.ParDo(ParsePubSubMessage())
                    | 'Attaching the schema' >> beam.Map(lambda x: BmsSchema(**x)).with_output_types(BmsSchema)
                    )
df_messages = to_dataframe(messages)

and then you can manipulate df_messages with dataframe operations. See https://beam.apache.org/documentation/dsls/dataframes/overview/ for more info.

[1] https://beam.apache.org/releases/pydoc/current/apache_beam.dataframe.convert.html#apache_beam.dataframe.convert.to_dataframe

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

79145231

Date: 2024-10-31 15:06:53
Score: 2.5
Natty:
Report link

You can get dc.js version 4.2.7 from npm

npm install dc

See https://www.npmjs.com/package/dc

Watch out for vulnerabilities (npm will list them).

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

79145224

Date: 2024-10-31 15:04:53
Score: 3.5
Natty:
Report link

I would recommend to ask the question also in the Oracle Analytics Community website for additional help.

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

79145220

Date: 2024-10-31 15:03:52
Score: 2
Natty:
Report link

If you want to check for the number of CPU(s) on your machine:

lscpu | grep CPU
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: kiuzzaxk

79145206

Date: 2024-10-31 14:57:48
Score: 6 đźš©
Natty: 5
Report link

I have the same problem and my environment is not broken, When I run conda info -json at the command line it returns 0. I tried the sledgehammer above to no avail. Anyone solve this. Is it better in latest release.

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

79145201

Date: 2024-10-31 14:55:48
Score: 2.5
Natty:
Report link

I've faced this problem once! I set validate method with some conditions like follows:

//...
validate: values => {
const errors: IForm = { //form inputs like username: "" <- empty string
 }
//...

each time I wanted to submit the form, it didn't triggered! so the problem as can be seen above was so simple! the validation is the problem! why?

const errors: IForm | null {username: null} <- it must be null to work correctly
Reasons:
  • Blacklisted phrase (0.5): why?
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Hamed

79145197

Date: 2024-10-31 14:54:47
Score: 5
Natty: 4
Report link

Are you just flexing with your solid block of contributions? :) 100 days of code challenge? good work BTW

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

79145196

Date: 2024-10-31 14:54:47
Score: 0.5
Natty:
Report link

I highly recommend using Django sessions to secure your application.

when you log in, Django automatically inserts the session id and the CSRF token into the cookies, the session id is used by Django as authentication and the CSRF token allows you to prevent CSRF attacks.

I also recommend using the django-cors-headers library to authorize requests to your backend only from certain domains and using Django models/make queries with the placeholders to avoid SQL injection vulnerabilities

some time ago I was in the same situation as you and after a long search I decided to use this integrated Django system for several reasons:

  1. it's much easier to implement than a JWT token if you know enough about Django
  2. it is an alternative that offers an excellent level of security
  3. it's less challenging to make mistakes when writing code than implementing a system that uses the JWT token
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: kkk

79145175

Date: 2024-10-31 14:48:46
Score: 2
Natty:
Report link

i was able to fix that issue by putting the SENTRY_AUTH_TOKEN in the env of my computer.

on mac with : export SENTRY_AUTH_TOKEN=[variable_value]

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

79145169

Date: 2024-10-31 14:46:45
Score: 2.5
Natty:
Report link

if you are on windows just change your interpreter from Python/python3 and use the venv Python or venv Python3 by clicking on problems and and right clicking the problem and selecting a different interpreter

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

79145165

Date: 2024-10-31 14:45:45
Score: 5
Natty: 5
Report link

Out of curiosity, what happens if you move getchar() to the beginning of the loop, prior to the instructions?

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

79145160

Date: 2024-10-31 14:43:44
Score: 0.5
Natty:
Report link

My observation was initially rejected with the "unclear" mention.

I will try to be clearer in explaining my context:

I deliver an application through Docker to ensure cross-platform portability.

My development environment is Mac with an Intel processor.

The application code is identical regardless of the platform.

What can change from one platform to another is the hardware, the operating system, and the environment that runs the Docker containers.

Originally, the stack included in my Docker image was as follows: a) Centos 8 b) Python 3.9 c) Pandas 2.2.2 d) Numpy 1.26.4

When running this image on my Intel Mac, there were no execution problems.

When porting this image to a first Linux system with podman 1.6.4 (instead of docker), still no execution problems.

However, when porting this image to a second Linux system with podman 4.0.2, I encounter this error "TypeError: Cannot convert numpy.ndarray to numpy.ndarray".

I then completely modernized the image stack:

a) switched to Red Hat 8 b) adopted Python 3.12 c) adopted Pandas 2.2.3 d) Numpy 1.26.4

The problem is still present on this last platform (absent on Mac)

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

79145141

Date: 2024-10-31 14:36:42
Score: 0.5
Natty:
Report link

Resolved by adding WebMvcConfig code.

@Configuration

public class WebMvcConfig implements WebMvcConfigurer {
@Override
public void configureContentNegotiation(ContentNegotiationConfigurer configurer) {
    configurer.defaultContentType(MediaType.APPLICATION_JSON, MediaType.TEXT_PLAIN)
              .mediaType("json", MediaType.APPLICATION_JSON)
              .mediaType("text", MediaType.TEXT_PLAIN)
              .parameterName("mediaType")
              .favorPathExtension(true);
}

@Override
public void configureMessageConverters(List<HttpMessageConverter<?>> converters) {
    converters.add(new StringHttpMessageConverter(StandardCharsets.UTF_8));
    converters.add(new MappingJackson2HttpMessageConverter());
}
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: kaidey

79145133

Date: 2024-10-31 14:35:42
Score: 3.5
Natty:
Report link

Solution :

It's seems that it's due to the AssetMapper which is installed by default when creating a new webapp project.

If you prefer to use webpack to manage your assets, follow the link below to the documentation to switch from AssetMapper to Webpack properly :

https://symfony.com/doc/current/frontend.html#switch-from-assetmapper

Reasons:
  • Blacklisted phrase (1): the link below
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mwiapfeo_142

79145120

Date: 2024-10-31 14:31:41
Score: 2.5
Natty:
Report link

Turns out I had made an incorrect assumption: that you needed to redeploy the api-gateway. This was incorrect.

That solution was simple: delete the previous config and deploy the new one. That's it.

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

79145117

Date: 2024-10-31 14:30:41
Score: 0.5
Natty:
Report link

I was getting ReplicaSetNoPrimary on every connection. I'm using MongoDb v7.0 on Atlas Free Tier, node.js v18.15, and had installed mongodb 6.10 driver with npm. Despite previous suggestions, what worked for me was downgrade mongodb driver with npm install [email protected]

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: ponteskl

79145116

Date: 2024-10-31 14:30:41
Score: 0.5
Natty:
Report link

Its hard to say for sure without seeing the other DoFns here, but it looks to me like you're yielding unkeyed output from WaitUntilDevicesExist, and then calling a GroupByKey (or similar operation) in GroupMessagesByShardedKey. Instead of just yielding the message, should you be doing something like the following?

yield shard_id, message

I think Number of components does not match number of coders. is basically saying that the coders are expecting a key/value pair, and you're only passing them a value.

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

79145111

Date: 2024-10-31 14:28:40
Score: 0.5
Natty:
Report link

I was offsetting by 1 column too much. In addition, Sheets(1) does not refer to Sheet1 in excel, I have no specified the sheet name. The error is given when nothing can be found, I prevented this with a Try & Catch Error combo. Working code:

^+F1::
{
Try {

title := WinGetTitle("A") ; Works
UniqueRef := Trim(SubStr(title,1,InStr(title," (")-1)) ; Works

xl.Sheets("CURRENT").Range("A:A").Find(UniqueRef).Offset(0,10).Value := ComObjActive("Excel.Application").ActiveCell.Value ;WORKS!
} Catch Error {

    msgbox "Unable to locate reference.","Error."

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

79145108

Date: 2024-10-31 14:27:40
Score: 3
Natty:
Report link

As advised by Estus Flask, when I updated Typescript (to v. 5.6.3) the problem is solved.

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

79145107

Date: 2024-10-31 14:26:40
Score: 2.5
Natty:
Report link

Thank you David, sometimes the solution is right before your eyes:

just needed to install that:

npx @next/codemod@latest next-async-request-api .

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: stefdec

79145100

Date: 2024-10-31 14:24:39
Score: 1
Natty:
Report link

You can use NetSuite Analytics Warehouse which is Oracle Analytics Cloud specifically for NetSuite with managed Data Pipelines.

See more information on the Oracle Analytics Community website.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Benjamin Arnulf

79145099

Date: 2024-10-31 14:24:39
Score: 1.5
Natty:
Report link

Type in echo $profile to find the path to your .profile file equivalent on windows. Create the file if it does not exist.

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

79145096

Date: 2024-10-31 14:23:39
Score: 1.5
Natty:
Report link

In my case i used DynamoDB Connector. The tables were encrypted with customer managed encryption key. And queries returned the same error message.

So i just needed to extend the Connector Lambda permission with the kms:Decrypt to be able to query the tables

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

79145094

Date: 2024-10-31 14:23:39
Score: 2
Natty:
Report link

In my case it was finally the SQL Agent job that I had to change owner to SA.

SQLServer Error: 15404, Could not obtain information about Windows NT group/user 'SERVERNAME\Administrator', error code 0x54b. [SQLSTATE 42000] (ConnIsLoginSysAdmin)

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

79145090

Date: 2024-10-31 14:21:38
Score: 1.5
Natty:
Report link

This worked: ^(.+)\1$ replacing it by \1

Still don't get why ^(.+)(?=\1)$ doesn't work.

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

79145083

Date: 2024-10-31 14:18:37
Score: 2
Natty:
Report link

This was great, I have been researching for a while now, and I think this has helped. Have you ever come across binehealthcenter. com PD-5 Programme (just google it). It is a smashing one of a kind product for reversing Parkinson’s disease completely. Ive heard some decent things about it and my HWP got amazing success with it.

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

79145074

Date: 2024-10-31 14:15:36
Score: 3
Natty:
Report link

To add space below the ion-content tag, you can choose any margin-bottom value you prefer, such as margin-bottom: 100px;. I found this approach to be the simplest.

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

79145072

Date: 2024-10-31 14:14:36
Score: 2
Natty:
Report link

Using this version resolved the error ""cmdk": "1.0.0""

I also see that you are missing the "overrides"

my configuration: ""overrides": { "@types/react": "npm:[email protected]", "@types/react-dom": "npm:[email protected]", "react-is": "19.0.0-rc-65a56d0e-20241020" }"

https://ui.shadcn.com/docs/react -19

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jose Cueva Celis

79145071

Date: 2024-10-31 14:14:36
Score: 1
Natty:
Report link

I experienced this error for some time while trying to convert a pyspark dataframe to a pandas dataframe.

I am using pyspark version 3.5.3

This was my solution.

'''python #imports from pyspark.sql.functions import col import pandas as pd

pandas_df = pyspark_df.select('column_1', 'column_2', 'column_3___').filter(col("filter_column") == "some_value").limit(10000).collect()

NOTE: Mine has a filter since I had to filter the data

filtered_df = pd.DataFrame(df, columns=['column_1', 'column_2', 'column_3---']) '''

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

79145065

Date: 2024-10-31 14:12:35
Score: 1
Natty:
Report link

you can use the image plugin available for Oracle Analytics.

Please check the Oracle Analytics Community website to download it.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Benjamin Arnulf

79145060

Date: 2024-10-31 14:11:34
Score: 2.5
Natty:
Report link

Turns out I had changed my MUI AppBar to position "sticky", which for some reason caused the issue described. I changed it back to position "fixed" as the MUI mini drawer example showed and all is well now. I'm not savvy enough with the css to understand why.

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

79145057

Date: 2024-10-31 14:09:34
Score: 3
Natty:
Report link

if you are looking for encoding your php code so its hard to understand. You want to secure your code from unauthorized here the too that helped me. https://php-minify.com/php-obfuscator/

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

79145056

Date: 2024-10-31 14:09:34
Score: 1
Natty:
Report link

I have no doubt there is a better way but this seems to match your example:

Where-Object { $_ -match '^(?!.*user).*error.*' }

it will pass only the lines which do not match the word user anywhere but match the word error

https://regex101.com/r/9kFxBt/1

Reasons:
  • RegEx Blacklisted phrase (2): I have no doubt
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: sirtao

79145045

Date: 2024-10-31 14:07:33
Score: 2
Natty:
Report link

Yes, the problem you encoutred is due to deploying Doc Intelligence in unsupported Azure region.

It's specified in the Azure AI Document Intelligence documentation that the 2024-07-31-preview version is currently available only in the following Azure regions:

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

79145040

Date: 2024-10-31 14:06:33
Score: 3
Natty:
Report link

Je lance bash mais j'utilise le VS code mais quand je lance dans le terminal le code python manage.py runserver le resultant s'affiche cette message aucune chose qui peut ajouter

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

79145039

Date: 2024-10-31 14:06:33
Score: 1
Natty:
Report link

Browsing for an alternative to our current solution right now and stumbled across this question. It'll highlight as an error, but I promise it works if you put it at the end of your devcontainer.json:

  "runArgs": ["--env-file", "${localWorkspaceFolder}/.devcontainer/.env"]
}

I'll be back if I find something better/official

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

79145038

Date: 2024-10-31 14:06:33
Score: 4
Natty:
Report link

As far as i know, the common method is to store secrets, such as the secret to access the key vault, in environment variables and then accessing the env-vars through your code.

Is this helpfull?

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

79145036

Date: 2024-10-31 14:05:32
Score: 2
Natty:
Report link

Got it work now. The issue was that my token had a special characther "=" so I had to encode it before.

encoded_token=$(printf '%s' "$token" | jq -sRr @uri)

Thanks for your help!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-0.5): Thanks for your help
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: basel.9188

79145033

Date: 2024-10-31 14:05:32
Score: 1.5
Natty:
Report link

Could you share a copy of your pom.xml? I tried running your code with the same setup, including @EnableCaching and spring-boot-starter-cache, and it worked as expected. Here’s the output I see:

Services annotated with @DataService:
Bean Name: barService, Class: BarService
Bean Name: fooService, Class: FooService

One thing you might want to try is using AopProxyUtils.ultimateTargetClass(bean) in your AnnotationProcessor.

This approach helps because AopProxyUtils.ultimateTargetClass(bean) retrieves the original class behind any proxies that Spring might create when caching is enabled.

When you use this method, you’ll get the actual class name, which ensures that any annotations on the original class are accessible, even when proxies are involved.

Here’s an example of how you might update the code:

IService bean = (IService) entry.getValue();
Class<?> targetClass = AopProxyUtils.ultimateTargetClass(bean);
System.out.println("Bean Name: " + beanName + ", Class: " + targetClass.getSimpleName());

Using targetClass like this should prevent NullPointerException issues caused by accessing annotations on a proxy class. Let me know if this helps!

Reasons:
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (2.5): Could you share
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Olufemi Thompson

79145031

Date: 2024-10-31 14:05:32
Score: 0.5
Natty:
Report link

I think that the key might be about the non-const reference details and to bind an object of a different type.

Here’s a Template example:

template <typename Iterator>
void f(Iterator& p)
{
    ++p;
}

Live Demo

Hope this is helpful in resolving this issue.

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

79145025

Date: 2024-10-31 14:03:32
Score: 3
Natty:
Report link

Another option that worked for me was adding a GitHub account - the Copilot was automatically registered as well.

enter image description here

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: avivc411

79145017

Date: 2024-10-31 13:59:31
Score: 2
Natty:
Report link

I seems Tornado is trying to get the entire response body before passing it on to the client.

have a look at @gen.coroutine or @web.asynchronous .

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