79437394

Date: 2025-02-13 18:25:20
Score: 3
Natty:
Report link

Disable the extensions in Docker, finish Docker (not restart) and open it again.

I will work.

This is a known issue and will be fixed with version 4.39.x

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

79437390

Date: 2025-02-13 18:24:17
Score: 6 🚩
Natty:
Report link

i want to know this question too

Reasons:
  • Blacklisted phrase (1): i want to know
  • RegEx Blacklisted phrase (1): i want
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Urmat Asanaliev

79437387

Date: 2025-02-13 18:23:17
Score: 1.5
Natty:
Report link

In my case the problem was Node.js version. I need to run nvm install 20 and then nvm use 20.xx.xx Then Vite started to work properly.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Čamo

79437380

Date: 2025-02-13 18:21:17
Score: 1.5
Natty:
Report link

The reason RigidBody.Velocity is not working in the newer versions of Unity is that it has been renamed to Rigidbody.linearVelocity

The same can be found in the release notes https://unity.com/releases/editor/whats-new/6000.0.23

Editor: Changed: Renamed Rigidbody.velocity to Rigidbody.linearVelocity in order for the API to be symmetric with Rigidbody.angularVelocity

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

79437379

Date: 2025-02-13 18:21:14
Score: 9.5 🚩
Natty: 4.5
Report link

Has anyone solved this problem? The dotnet tooling is abstracting away the docker files and commands but it seems odd that it wouldn't be supporting project dependencies.

Reasons:
  • Blacklisted phrase (1): anyone solved
  • RegEx Blacklisted phrase (1.5): solved this problem?
  • RegEx Blacklisted phrase (3): Has anyone solved
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Daniel

79437376

Date: 2025-02-13 18:19:13
Score: 2.5
Natty:
Report link

You can install the ACDisplay app from F-Droid. It can display notifications, but not quick settings.

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

79437375

Date: 2025-02-13 18:19:13
Score: 2.5
Natty:
Report link

The mySQL documentation says to login as the root user:

$> mysql -u root -p
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Herman Autore

79437363

Date: 2025-02-13 18:14:13
Score: 1
Natty:
Report link

using spark 3.5.4 the following displays a table in pretty print. df is a spark data frame.

import pandas as pd

df.toPandas()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ultra

79437356

Date: 2025-02-13 18:11:12
Score: 2.5
Natty:
Report link

Something really curious about your code is that if you build it and run the build it works properly, but if you try to run it using npm run dev it doesn't. I am trying to debug your code to make sure I can implement the same behavior but using route handler.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mateus Prado

79437355

Date: 2025-02-13 18:10:12
Score: 0.5
Natty:
Report link

Well looks like this was being added 'by default', so I found out I can use URL Rewrite Module to remove Pragma from Headers, below the code

<configuration>
<system.webServer>
<rewrite>
  <outboundRules>
    <rule name="Remove Pragma Header">
      <match serverVariable="RESPONSE_Pragma" pattern=".+" />
      <action type="Rewrite" value="" />
    </rule>
  </outboundRules>
 </rewrite>
</system.webServer>
</configuration>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rolando F

79437353

Date: 2025-02-13 18:09:11
Score: 3.5
Natty:
Report link

try deleting node_modules from your folder and run npm install again.

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

79437351

Date: 2025-02-13 18:08:08
Score: 9.5 🚩
Natty: 6.5
Report link

I have run to a similar issue with a different flash game and was wondering if you had possible ever found out the issue. All help is appreciated, thank you.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (2): was wondering
  • RegEx Blacklisted phrase (3): help is appreciated
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Sullivan

79437344

Date: 2025-02-13 18:04:07
Score: 0.5
Natty:
Report link

To answer your question:

Note: For flexboxes, the stretch value behaves as flex-start or start. This is because, in flexboxes, stretching is controlled using the flex-grow property.

Just a quick check of the documentation should suffice as you said: https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content

scroll down to the stretch property

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

79437329

Date: 2025-02-13 17:59:06
Score: 1
Natty:
Report link

This is an answer I found on Github and is much better than the selected answer. https://github.com/immerjs/immer/issues/619#issuecomment-644393613

cloneDeep will always fully clone your entire state. This causes two fundamental problems which makes it quite unusable to use with react for any slightly significant amount of data:

  1. deepClone is very expensive. You have a collection of 100 items? All those items will continuously be retreated on every update. Hitting both the performance and the garbage collector badly
  2. deepClone can't leverage memoization, because the "same" objects will not be refererrentially equal after every update. So it means that react will always need to rerender all your components. Which basically kills all benefits that immutability would offer you in the first place.

In other words, deepClone, unlike produce, doesn't offer structural sharing of all the unchanged parts of your state after an update

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

79437325

Date: 2025-02-13 17:58:06
Score: 0.5
Natty:
Report link

You might want to turn the two surface meshes in Hex_Screw.obj and HexBitEE.obj into tetrahedral-mesh VTK files following this Google Doc Advice to prepare non-convex meshes for hydroelastics. Passing OBJ files as compliant-hydroelastic collision geometries means we will use their convex hulls (https://drake.mit.edu/doxygen_cxx/group__geometry__file__formats.html).

The tools mentioned in the Google Doc should work if the obj files have water-tight surface meshes. Otherwise, you could send me the obj files, and I can help make them into tetrahedral-mesh VTK files.

The tutorial https://github.com/RobotLocomotion/drake/blob/master/tutorials/hydroelastic_contact_nonconvex_mesh.ipynb uses tetrahedral meshes in VTK files for collision geometries.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Damrong Guoy TRI

79437313

Date: 2025-02-13 17:54:05
Score: 3
Natty:
Report link

Even I had this issue, It got resolved when I switched my Instagram App from Development mode to Live mode. 👍

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

79437297

Date: 2025-02-13 17:50:04
Score: 0.5
Natty:
Report link

If you're following the deployment steps outlined above, the URL to access your application will depend on where you've deployed your backend and frontend.

  1. Backend URL (AWS Elastic Beanstalk) After deploying your backend using AWS Elastic Beanstalk, you’ll get a URL in the format:
  2. Backend URL (AWS Elastic Beanstalk) After deploying your backend using AWS Elastic Beanstalk, you’ll get a URL in the format: http://.elasticbeanstalk.com For example: http://my-ai-app-env.elasticbeanstalk.com This is the base URL for your backend API. You can access specific endpoints like:

POST /chat

GET /task-status/<task_id>

POST /login

  1. Frontend URL (Netlify) If you deployed your React frontend to Netlify, you’ll get a URL in the format: https://.netlify.app For example: https://my-ai-app.netlify.app

This is where your users will interact with the application.

Example URLs Backend API: http://my-ai-app-env.elasticbeanstalk.com

Frontend App: https://my-ai-app.netlify.app How to Access Backend API:

Use tools like Postman, cURL, or your browser to interact with the API.

Example cURL command: curl -X POST http://my-ai-app-env.elasticbeanstalk.com/chat
-H "Content-Type: application/json"
-H "Authorization: YOUR_API_KEY"
-d '{"input": "TASK: summarize research on AI ethics"}' Frontend App:

Open the Netlify URL in your browser:

https://my-ai-app.netlify.app

The frontend will communicate with the backend API to fetch and display data. Notes If you haven’t deployed yet, follow the steps in the deployment plan to get your URLs.

Ensure your backend is secured with HTTPS (use AWS Certificate Manager for SSL) and your frontend is properly configured to point to the backend URL. Let me know if you need further clarification or help with deployment! 🚀

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

79437288

Date: 2025-02-13 17:46:03
Score: 2
Natty:
Report link

Thanks for the solution it worked for me!

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

79437263

Date: 2025-02-13 17:40:01
Score: 0.5
Natty:
Report link

This is the solution I have gone for. I've created a container that uses ref and a few methods to handle mouse click and drag. I can then pass whatever I want to scroll horizontally into the component.

import React, { ReactNode, useRef } from "react";

interface ScrollingDivProps {
  children: ReactNode;
}

const ScrollingDiv: React.FC<ScrollingDivProps> = ({ children }) => {
  const scrollRef = useRef<HTMLDivElement | null>(null);

  const handleMouseDown = (e: React.MouseEvent) => {
    const scrollContainer = scrollRef.current as HTMLDivElement & {
      isDown: boolean;
      startX: number;
      scrollLeft: number;
    };
    if (!scrollContainer) return;
    scrollContainer.isDown = true;
    scrollContainer.startX = e.pageX - scrollContainer.offsetLeft;
  };

  const handleMouseLeave = () => {
    const scrollContainer = scrollRef.current as HTMLDivElement & {
      isDown: boolean;
    };
    if (!scrollContainer) return;
    scrollContainer.isDown = false;
  };

  const handleMouseUp = () => {
    const scrollContainer = scrollRef.current as HTMLDivElement & {
      isDown: boolean;
    };
    if (!scrollContainer) return;
    scrollContainer.isDown = false;
  };

  const handleMouseMove = (e: React.MouseEvent) => {
    const scrollContainer = scrollRef.current as HTMLDivElement & {
      isDown: boolean;
      startX: number;
      scrollLeft: number;
    };
    if (!scrollContainer || !scrollContainer.isDown) return;
    e.preventDefault();
    const x = e.pageX - scrollContainer.offsetLeft;
    const walk = (x - scrollContainer.startX) * 2; // scroll-fast
    scrollContainer.scrollLeft = scrollContainer.scrollLeft - walk;
  };

  return (
    <div
      className="scroll-container"
      ref={scrollRef}
      onMouseDown={handleMouseDown}
      onMouseLeave={handleMouseLeave}
      onMouseUp={handleMouseUp}
      onMouseMove={handleMouseMove}
    >
      {children}
    </div>
  );
};

export default ScrollingDiv;

and the css

/* header buttons css */
.scroll-container {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scroll-container::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scroll-container {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

Use it as follows:

import ScrollingDiv from "./ScrollingDiv";

return (
        <ScrollingDiv>
          <ChildComponent />
        </ScrollingDiv>
      );

Tested and works well....

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

79437262

Date: 2025-02-13 17:39:00
Score: 5.5
Natty: 4.5
Report link

I am having the same problem, our application deployed to cloudways and we have the same htaccess. I still can't get around with it. If you have a fix kindly answer please thank you

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nazareno Mateo

79437257

Date: 2025-02-13 17:38:00
Score: 0.5
Natty:
Report link

Not a direct answer to the original child arc question but,
as I do not have any mutable functions in T I just went with:

enum AnyT {
  T1(Arc<Impl1OfT>)
  T2(Arc<Impl2OfT>)
}

which works fine for both &self and Arc<Self> trait functions.

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

79437256

Date: 2025-02-13 17:38:00
Score: 2
Natty:
Report link

After upgrade [email protected] I to [email protected] problem is solved.

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

79437253

Date: 2025-02-13 17:36:59
Score: 2
Natty:
Report link

@pius-lee is right. Adding -vf "premultiply=inplace=1" to the -auto-alt-ref 0, fixes the alpha in vp8.

This command went through and kept the alpha info intact

ffmpeg -i input.mov -c:v libvpx -b:v 2M -pix_fmt yuva420p -auto-alt-ref 0 -vf "premultiply=inplace=1" output.webm
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @pius-lee
  • Low reputation (1):
Posted by: Jonasz Bigda

79437241

Date: 2025-02-13 17:33:58
Score: 4
Natty:
Report link

There is a simple Excel option to toggle this: enter image description here

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

79437226

Date: 2025-02-13 17:28:56
Score: 5.5
Natty: 4.5
Report link

I have the same Problem in EXCEL with powequery. I have seen, opening the excel file, and first refresh only makes one web request. All following refresh Makes two web requests. Crazy.

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
  • Low reputation (1):
Posted by: Andreas Fuehrer

79437221

Date: 2025-02-13 17:27:55
Score: 4
Natty:
Report link

as i said, i had updated my c++ x86 file, updating file x64 worked.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Luís Ulian

79437215

Date: 2025-02-13 17:24:55
Score: 0.5
Natty:
Report link

I finally figured it out after a couple hours. You must first create a new agent, go through setup like normal. Add your knowledge base and logo and everything. Configure settings like generative orchestration on/off, authentication, etc. Then you need to open the solutions page and in the lefthand vertical tool bar navigate to library where you need to make a component collection. Only choose the developer-added custom topics and flows. If you include all topics in your collection, once you add it to your new (duplicate) agent, there will be two of all of the system-generated default topics. Once you have your collection, click into it and there is a large box in the top right that lets you add an existing agent. Once you select the new (duplicate) agent to the collection, navigate back to the copilot studio UI and click into the duplicate agent where you'll see all your topics populated instantly.

Hope this helps someone else!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Logan

79437208

Date: 2025-02-13 17:21:53
Score: 5.5
Natty: 4.5
Report link

@OP, Have you tried making your widgets with anywidget? It's so easy! https://anywidget.dev/en/getting-started/

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: crsrcool

79437202

Date: 2025-02-13 17:20:53
Score: 2
Natty:
Report link

This article helped me a lot, you should use CSS Blend Modes for text color, and for background color is linear-gradient.

Fixing Gmail’s dark mode issues with CSS Blend Modes

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Fixing Gmail’s dark mode issues with CSS Blend Modes</title>
    <style>
        u + .body .gmail-blend-screen { background:#000; mix-blend-mode:screen; }
        u + .body .gmail-blend-difference { background:#000; mix-blend-mode:difference; }
    </style>
</head>
<body class="body">
    <div style="background:#639; background-image:linear-gradient(#639,#639); color:#fff;">
        <div class="gmail-blend-screen">
            <div class="gmail-blend-difference">
                <!-- Your content starts here -->
                Lorem ipsum dolor, sit amet, consectetur adipisicing elit.
                <!-- Your content ends here -->
            </div>
        </div>
    </div>
</body>
</html>

Reasons:
  • Blacklisted phrase (1): This article
  • Blacklisted phrase (1): helped me a lot
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: majsterka

79437198

Date: 2025-02-13 17:19:53
Score: 2.5
Natty:
Report link

try nusb, a pure rust implementation usb library

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

79437195

Date: 2025-02-13 17:17:52
Score: 4
Natty:
Report link

It's on:

/dependencies/tasks/:task_id

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

79437178

Date: 2025-02-13 17:11:50
Score: 5.5
Natty:
Report link

im having the same issue. somehow it got fixed on its own after a few commits but later got the same issue again. very weird

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zync

79437174

Date: 2025-02-13 17:10:49
Score: 1
Natty:
Report link

prebuild generates the ios/android folders and code, build actually produces an executable.

When building via EAS prebuild isn't run - just build - since running prebuild there would overwrite any customizations to made to the native folders. But when building locally via expo CLI the prebuild is a phase of build.

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

79437173

Date: 2025-02-13 17:10:49
Score: 1.5
Natty:
Report link

I finally find a way just in case it can help others.

#views.py

category_patterns = (
    [
        path("/<slug:slug>/", views.category_detail, name='category-detail'),
    ],
    'category',
)

urlpatterns = [
    path(_('[CATEGORY/]'), include(category_patterns, namespace="category")),
]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sacha Rk.

79437171

Date: 2025-02-13 17:10:49
Score: 0.5
Natty:
Report link

It looks like Microsoft added a Netsh bridge create command in Windows 11

[...] available beginning with 2023-09 Cumulative Update for Windows 11, version 22H2 (KB5030310)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Henk Langeveld

79437163

Date: 2025-02-13 17:07:48
Score: 4
Natty: 5.5
Report link

Also stumbled into this issue, unfortunately the solution provided by mokh223 did not work for me.

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Edgar Sánchez

79437151

Date: 2025-02-13 17:05:47
Score: 10.5
Natty: 7
Report link

did you solve this problem please?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve this problem
  • RegEx Blacklisted phrase (1.5): solve this problem please?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): did you solve this
  • Low reputation (0.5):
Posted by: nafaa jamel

79437146

Date: 2025-02-13 17:03:46
Score: 2.5
Natty:
Report link

I FINALLY FIXED IT! I had my ogImage in folder which was disabled for cravlers by robots.txt. I simply moved the image out of this folder to the web root and voila... Instantly working.

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

79437129

Date: 2025-02-13 16:56:45
Score: 0.5
Natty:
Report link

The above Answer will resolve a single fact by using the "filter" key in module_args. If you wish to access multiple facts, or all of them within your custom Ansible module, you can omit the filter key. In the following example, the "filter" key is replaced with a notional "path" key in module_args to give the module an argument. You can then assign all Ansible facts into a variable, which will return a dict. From there, simply reference whatever fact(s) you need.

def run_module():
    module_args = dict(
        path=dict(type="str", required=False, default="/etc/hosts")
    )
    module = AnsibleModule(argument_spec=module_args, supports_check_mode=True)
    all_facts = ansible_facts(module)

    ipv4_addresses = all_facts["all_ipv4_addresses"]
    hostname = all_facts["hostname"]

    module.exit_json(changed=False, ipv4=ipv4_addresses, host=hostname)


if __name__ == "__main__":
    run_module()
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: register

79437122

Date: 2025-02-13 16:54:44
Score: 3
Natty:
Report link

Give the element style={{left: 0}} that will override the inset 50%

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: D Kreiswirth

79437121

Date: 2025-02-13 16:54:44
Score: 0.5
Natty:
Report link

This worked for me:

style.map("Treeview", rowheight=[("!disabled", 25)])

replace 25 with your desired height.

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

79437119

Date: 2025-02-13 16:53:44
Score: 0.5
Natty:
Report link

The Fluent UI refresh is available behind a hidden feature flag, even in the non-preview release. Install the Feature Flags VS extension, then go to Tools > Options > Environment > Feature Flags, disable Shell.ClassicStyle, and enable Shell.ExperimentalStyles. Restart the IDE and you will see the new styles.

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

79437102

Date: 2025-02-13 16:49:43
Score: 3
Natty:
Report link

1

The date_format argument should be a string, not function. (documentation)

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

79437101

Date: 2025-02-13 16:49:43
Score: 1
Natty:
Report link

It should be Raw Amount in token's decimals. This means amount should be how much of that token you have.

When buying: amount of sol lamports. solana has 9 decimals, so if you want to buy 0.1 sol of the target token you need to input 0.1 x 1_000_000_000 = 100_000_000

When selling: amount of how much token you have. for example you have 435.54 $some token. and token decimal is 6. so 435.54 x 1_000_000 ( 6 zeros, because token's decimal is 6.

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

79437080

Date: 2025-02-13 16:44:41
Score: 4
Natty:
Report link

You can also try adding ?athena.enableFnOTables=ture after the URL.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sufiyan Ahmed Shaikh

79437076

Date: 2025-02-13 16:43:41
Score: 0.5
Natty:
Report link

J Eti's "accepted" answer directly answers my question, but it misses the intuition which I wanted to get when I asking this as well, which I understand a lot better now that I'm older. I wanted to leave this here to anyone discovering this thread again.

The issue with web scraping is that it's a very "I/O bound" task (eg. waiting for an internet packet to physically traverse across cables across the world have a server respond, etc. Another good one is waiting for a filesystem to respond). When your code runs to send this web request, you don't want function invocation to be "dead-waited". If you solve this via multi-threading (in a naive approach where you don't customize your own sockets/syscalls which 99.99% of developers are), you are effectively leaving your operating system's process scheduler to properly sleep your thread and free up that thread so other threads could do work. Asynchronous threads on the other hand effectively have this "process scheduler" built into a single thread, where dead-wait is explicitly defined by the programmer. And so, the dead-wait optimization is more explicit by the nature of asynchronous programming and thus easier to optimize around to the library writer, leading to faster code without us having to do that task scheduling manually :-)

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

79437071

Date: 2025-02-13 16:42:40
Score: 0.5
Natty:
Report link

This issue was suprisingly fixed by changing the order in which plugins were added.

In main.dart

from

Amplify.addPlugins([authPlugin, dataStorePlugin, apiPlugin]);

To

Amplify.addPlugins([dataStorePlugin, authPlugin, apiPlugin]);

And the following commands were required for me

flutter clean

flutter pub get

flutter run -d iPhone

Don't know why this was never referenced or needed by Amplify as authPlugin has no requirements for dataStore

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

79437068

Date: 2025-02-13 16:41:40
Score: 2.5
Natty:
Report link

A fix like that would not pass many code review processes. There has got to be a better way. Maybe chain those calls in promise..then. It is great that it works but in terms of software solutions, I wouldn't promote it to production like that.

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

79437050

Date: 2025-02-13 16:36:39
Score: 2.5
Natty:
Report link

Can you see Max backoff value ? I think is 3600s by default.

A task will be scheduled for retry between minBackoff and maxBackoff duration after it fails.

If maxBackoff unspecified when the queue is created, Cloud Tasks will pick the default (3600s = 60mn).

Google cloud api explorer: https://cloud.google.com/tasks/docs/reference/rest/v2/projects.locations.queues#RetryConfig.FIELDS.max_backoff

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (0.5):
Posted by: Abdellatif Derbel

79437049

Date: 2025-02-13 16:36:39
Score: 0.5
Natty:
Report link

When you want to suppress multiples warning:

[pytest] // or [tool:pytest]
filterwarnings =
    ignore::DeprecationWarning
    ignore::PendingDeprecationWarning
    ignore::UserWarning
    ignore::RuntimeWarning
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
Posted by: abdoulsn

79437048

Date: 2025-02-13 16:36:39
Score: 3
Natty:
Report link

You can try https://nemesyslabs.com, you can turn up to 10,000 characters at once for free forever with their api.

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

79437045

Date: 2025-02-13 16:36:39
Score: 1.5
Natty:
Report link

fix is following - add m_shaderProgram.bind() in paintGL:

    void GLWidget::paintGL()
{
    m_shaderProgram.bind();
...
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Velutis

79437034

Date: 2025-02-13 16:32:37
Score: 4.5
Natty: 4
Report link

this sounds really interesting. I just inherited a system myself and would appreciate if you could share part of your code to get started.

Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1.5): would appreciate
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ingo

79437026

Date: 2025-02-13 16:30:37
Score: 2.5
Natty:
Report link

for ubuntu users

ctrl + shift + 7

Reasons:
  • Low length (2):
  • No code block (0.5):
Posted by: Francisco Cortes

79437003

Date: 2025-02-13 16:21:35
Score: 0.5
Natty:
Report link

Are you importing and referencing androidx.activity version 1.8 or higher? EdgeToEdge was added in version 1.8.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: thecoolmacdude

79436999

Date: 2025-02-13 16:20:32
Score: 6 🚩
Natty: 6.5
Report link

i tried the above code and it works well. i am wondering if it could be extended to hiding menu items which arent from stock wordpress but from plugins...?

for example if you would also like to hide "Yoast SEO" in the admin menu from the editor role...?

i ofc tried to just add "__('Yoast SEO')" to the list, but yea... that doesn't do anything :-)

help would be appreciated :-)

Reasons:
  • Blacklisted phrase (1): appreciated
  • RegEx Blacklisted phrase (3): help would be appreciated
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: gnarre

79436996

Date: 2025-02-13 16:20:32
Score: 3.5
Natty:
Report link

If you in private endpoint select sub resource type DFS instead of BLOB, it wont work. Even tho storage account is DataLake.

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

79436988

Date: 2025-02-13 16:15:31
Score: 5
Natty: 5
Report link

Does the last step require a gateway for a cloud-connection? Can we do it without ?

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

79436986

Date: 2025-02-13 16:15:28
Score: 9 🚩
Natty: 4
Report link

Did you ever get this working? I'm figuring it out as well and when using the admin API, I always receive a 401 unauthorized...

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever get this
  • RegEx Blacklisted phrase (2): working?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: legan

79436977

Date: 2025-02-13 16:12:28
Score: 3
Natty:
Report link

para el caso de la propiedad en un reporte con Evaluation Time = "Auto" alguien Sabe por que al ejecutar el pdf desde apex usando el paquete PL-jrxml2pdf aparecen vacios, solo se me presentan cuando ejecuto la herramienta Ireport al previsualizar, mas no al levantarlo

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

79436974

Date: 2025-02-13 16:11:27
Score: 2.5
Natty:
Report link

Collects works perfect to SUM all numeric values un a table and reapecting all character fields.

loop at itable into structure. collect structure to Itable2. endcollect.

sadly this is being discontinued. (ATC check P1)

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

79436971

Date: 2025-02-13 16:10:27
Score: 2
Natty:
Report link

If your Discord4j bot works in plain Java but fails in Quarkus when resolving DNS for discord.com, the issue might be related to Quarkus' network configuration. Try forcing IPv4 by adding System.setProperty("java.net.preferIPv4Stack", "true"); at the start of your code. Also, ensure your Netty and Reactor dependencies are up to date and that Quarkus has proper network permissions. If the issue persists, configure a custom DNS resolver in Reactor Netty!!! :)

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: http-pixelon

79436963

Date: 2025-02-13 16:08:26
Score: 2.5
Natty:
Report link

Just in case it helps anyone, i managed to get bluetooth 4.0 (a2dp support etc) on Windows 7 64bit by installing the TP link bluetooth dongle in combination with the realtek bluetooth drivers:

https://www.tp-link.com/uk/support/download/ub500/v1/

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

79436962

Date: 2025-02-13 16:08:26
Score: 3
Natty:
Report link

Had a similar experience, fix for me was logout from visual studio and login again into visual studio then it was ok

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

79436959

Date: 2025-02-13 16:06:26
Score: 2
Natty:
Report link

What do you mean by doesn't work? Are you seeing an error, or is the text in the wrong position?

What version of moviepy are you using? Version 2.0+ changes set_position to with_position

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What do you mean
  • Low reputation (1):
Posted by: Jessica Doherty

79436949

Date: 2025-02-13 16:03:25
Score: 1.5
Natty:
Report link

ChatGPT to the rescue!

On a serious note, I applause your attempt at parsing calendars strictly with SQL. Years ago I tried it, gave up and just wrote a parser in PHP. Works like a charm in https://scheduletracker.app that I created for XER parsing and schedule analysis.

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

79436946

Date: 2025-02-13 16:02:24
Score: 5.5
Natty:
Report link

Perhaps you directly use date_format="%m/%d/%Y" instead while reading csv?

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

79436945

Date: 2025-02-13 16:01:24
Score: 2.5
Natty:
Report link

I developed my Ansible playbooks on a linux computer and deployed it on a linux VM without any trouble.

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

79436922

Date: 2025-02-13 15:52:21
Score: 4
Natty: 4.5
Report link

The problem is with your windows security and it will be solved by allowing on this devicejust search for protection history and tap on allow .... I really searched for this answer a lot

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

79436919

Date: 2025-02-13 15:51:20
Score: 2
Natty:
Report link

I know you are not as stupid as I am, but just to be clear, the "[Extension Development Host] Search" field is not a command palette. I wasted a lot of time before I realized this.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 小方こはく

79436916

Date: 2025-02-13 15:50:20
Score: 2
Natty:
Report link

A solution of the capture with scroll issue by @songxingguo

height: fit-content

A code snippet that works for me:

const capture = () => {
  const node = document.getElementById('timeline-list');
  const currentHeight = node.style.height;
  node.style.height = 'fit-content';
  html2canvas(node)
    .then(function (canvas) {
      const imgData = canvas.toDataURL('image/png');
      const link = document.createElement('a');
      link.href = imgData;
      link.download = 'captured-image.png';
      link.click();
    })
    .finally(() => {
      node.style.height = currentHeight;
    });
};

Can I use "fit-content"? supported browser list

Reasons:
  • Whitelisted phrase (-1): works for me
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: renzhexigua

79436897

Date: 2025-02-13 15:43:18
Score: 3.5
Natty:
Report link

for me it was the Maven version, I put an older version and everything worked.

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

79436888

Date: 2025-02-13 15:41:17
Score: 0.5
Natty:
Report link

These are the steps to follow to use FontAwesome icons with React + Vite.js:

1.Install the dependencies:

Run the following commands to install the necessary FontAwesome packages:

npm install --save @fortawesome/fontawesome-svg-core npm install --save @fortawesome/free-solid-svg-icons npm install --save @fortawesome/react-fontawesome

2.Import the FontAwesomeIcon component:

In your React component, import the FontAwesomeIcon like this:

import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';

3. Import the icons you want to use:

When importing icons, you need to write the icon's name in camelCase (starting with a lowercase letter and capitalizing subsequent words). You should also use the exact name of the icon as it’s defined in the FontAwesome library.

For example, if you want to use the arrow-right icon, the original name on FontAwesome is "fa-arrow-right". When you import it into your React component, you will use camelCase like this:

"import { faArrowRight } from '@fortawesome/free-solid-svg-icons';"

Note: The name faArrowRight corresponds to the FontAwesome icon "fa-arrow-right". When working with FontAwesome in React, the icon names are converted from the original format (with dashes) into camelCase.

Also, remember to import icons from the correct package: in this case, we're using the @fortawesome/free-solid-svg-icons package for the solid icons. If you're using a different set (like regular or brands), make sure to import from the corresponding package.

4.Finally, use the FontAwesomeIcon component in your JSX like this:

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

79436885

Date: 2025-02-13 15:40:17
Score: 0.5
Natty:
Report link

I found a way to fix this behaviour, anyone who might need it in the future here it is:

    document.addEventListener("pointerdown", (event: PointerEvent) => {
      const target = event.target as HTMLElement;
      target.setPointerCapture(event.pointerId);
    });

    document.addEventListener("pointerup", (event: PointerEvent) => {
      const target = event.target as HTMLElement;
      target.releasePointerCapture(event.pointerId);
    });
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mr.B

79436882

Date: 2025-02-13 15:39:17
Score: 0.5
Natty:
Report link

If you have an ‘active choice’, the choice is exclusive, so you can’t set ‘some of A’ and ‘some of B’, you probably need to restructure your options if you want all the (1,2,3,4,5,6) options to be a separate selection from the initial choice (A or B)

As for storing the values, you can do that in several different ways, either putting the values in a build wide variable after the start, or saving a build artifact by writing the choice results out to json or yaml files, and tagging them as a build artifact so you can access them later.

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

79436861

Date: 2025-02-13 15:33:16
Score: 1
Natty:
Report link

Did you try putting the expression after eq in upper brackets ''? Should look something like :

_ownerid_value eq 'triggerOutputs()?['body/_ownerid_value']'
Reasons:
  • Whitelisted phrase (-2): Did you try
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Max

79436858

Date: 2025-02-13 15:31:15
Score: 3
Natty:
Report link

Unbinding paste from Keyboard Shortcuts fixes this problem for me.

Related GH issue: https://github.com/microsoft/vscode/issues/238609#issuecomment-2611147382

Arch, Hyprland, VSCode v1.97.0

This problem should be resolved in VSCode v1.98: https://github.com/microsoft/vscode/pull/237557

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

79436855

Date: 2025-02-13 15:29:14
Score: 0.5
Natty:
Report link

The solution was to 1 - download easyphp sever 32 bit and apache2443vc15x86x250213064314 2 - PHP 8 from easyphp 32 bit

edit the PHP.ini file in the PHP 8 server and set the URL

extension_dir = "D:\000_WORK\EasyPHP-Devserver-17\eds-binaries\php\php833vs16x86x250213064440\ext"

3 - make the PHP read only so it does not get modified afterwards

4 - somehow go to the server folder of the database used and launch every single exe file that is in there as an administrator and then restart the machine.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Man Of God

79436848

Date: 2025-02-13 15:26:14
Score: 3
Natty:
Report link

This post explains how to configure so the mandatory flag is set on all messages sent. It is not a direct solution to your question, but it will ensure messages is not lost when sending to an exchange that does not have any bindings.

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

79436843

Date: 2025-02-13 15:26:14
Score: 0.5
Natty:
Report link

Given that other options don't apply, you could just connect to the database directly and pull the data that you need. There are opensource Python parsers out there, but Oracle has a pretty good documentation on table names, their fields and relationship between different properties. It may be enough to get started and at least pull some basic information on projects and schedules.

That's what I did in https://scheduletracker.app where I import every table from an XER file into the database, and then generate a myriad of reports. It's all SQL based so here you go.

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

79436836

Date: 2025-02-13 15:23:13
Score: 1.5
Natty:
Report link

I reviewed the code on GitHub and found that it uses React v16 with class components. Nowadays, it's more common to use hooks. Additionally, the project was created with Create React App, whereas Vite is now the recommended choice for new projects.

You have two options:

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

79436830

Date: 2025-02-13 15:22:13
Score: 2.5
Natty:
Report link

I face the same problem, my issue is related to IISExpress and One drive, the files were not in the correct folder as one drive didn't download them, so I have to move the IISExpress folder (copying all structure folders and files) and set the new path in environment variables with this:

setx IISSERVER_CONFIG_PATH "C:\IISExpress\config"
Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): I face the same problem
  • Low reputation (0.5):
Posted by: cflorenciav

79436824

Date: 2025-02-13 15:19:12
Score: 2.5
Natty:
Report link

I had a similar problem, so I'm posting my solution in case it helps someone facing the same issue related to Laravel Livewire events.

In my case, none of the commonly suggested solutions worked, such as removing data-dismiss from submit button, adding aria-bs-backdrop="false", add wire:submit.prevent to form action.. etc.

The solution was simply to add wire:ignore.self to the Bootstrap modal HTML element. For example:

 <div class="modal fade" id="newtargetModal"
       tabindex="-1" role="dialog"
       aria-labelledby="newtargetModalLabel" wire:ignore.self>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (1):
Posted by: vvave vvave

79436817

Date: 2025-02-13 15:16:11
Score: 1.5
Natty:
Report link

I find this extremely annoying too, particularly when I am attempting to copy text, unfortunately I wasn't able to find any permanent fix.

The best solution I have found is simply pressing the [Alt] key to close the tooltip window. Doing this allows me to view/click the text without the tooltip popping up again. Technically all this is doing is highlighting the file level menus instead of the editor view but it is effective because it is refocussing the cursor.

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

79436805

Date: 2025-02-13 15:12:10
Score: 4.5
Natty: 4
Report link

How to publish if using eclipse paho java library

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Gaurav

79436804

Date: 2025-02-13 15:12:10
Score: 0.5
Natty:
Report link

I have this solution for invoice application, it allow to round positive number (0.005 ==> 0.01) and négative number for credit (-0.005 ==> 0.01)

round(num: number, fractionDigits: number = 2): number {
        if (!isFinite(num)) return num; // Handle NaN, Infinity, and -Infinity

        const factor = Math.pow(10, fractionDigits);
        const result = Math.round((num + Math.sign(num) * Number.EPSILON) * factor) / factor;

        return result === 0 ? 0 : result; // Ensure `-0` becomes `0`
    }

I think something like this could be the solution at the probleme for positive number (0.005=>0.01) and négative number (-0.005 ==> 0):

round(num: number, fractionDigits: number = 2): number {
if (!isFinite(num)) return num; // Handle NaN, Infinity, and -Infinity
if (isNaN(num)) return NaN;

const factor = Math.pow(10, fractionDigits);
return result === 0 ? 0 : Math.round(num * factor) / factor;

}

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

79436802

Date: 2025-02-13 15:12:09
Score: 4
Natty:
Report link

maybe you need to set an instances prop https://vitest.dev/guide/browser/#configuration

Reasons:
  • Probably link only (1):
  • Low length (2):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Kei

79436619

Date: 2025-02-13 15:09:09
Score: 0.5
Natty:
Report link

I just found the Solution by accident. I removed the explicit setting of the voncersion exit:

cl_salv_column_table( r_salv-salv->get_columns( )->get_column( <dropdown_columns>-columnname ) )->set_edit_mask( <dropdown_columns>-conv_exit )

and instead, added it to the Domain itself. Then i changed the dropdown values from domvalue_l to ddtext to show the text. Now the automatic check accepts it and the texts are show as wanted, but still uses the ID internally:

Dropdown with text values

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

79436614

Date: 2025-02-13 15:08:09
Score: 2
Natty:
Report link

Yes, agreed with answer above ^ please provide more information on what functionality you want to test and what your expected outcome is. PubSub is very hard to implement testing for unless you're unit testing and can mock EVERYTHING. IF it were me writing this test case I would structure things very differently. A good pubsub architecture Ive implemented recently used a Factory for each topic to publish or subscribe. This would look something like:

    public class TopicFactory{

      @Value("${path.to.topicName}")
      private TopicName topicName;
      
      @Value("${path.to.subscriptionName}")
      private SubscriptionName subscriptionName;
      
      private PubsubTemplate pubsubTemplate;
      

      @AutoWired
      private void TopicFactory(PubSubTemplate template, 
                                ObjectMapper mapper){
        this.pubsubTemplate = template;
        this.mapper = mapper;
      }
      
      
     public String publish(String json){
      PubsubMessage message = new PubSubMessage.data(json.getBytes());
      ListenableFuture<String> id = pubsubTemplate.publish(topicName, message);
      return id.get();
     }
    }
Reasons:
  • RegEx Blacklisted phrase (2.5): please provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: damesdev

79436612

Date: 2025-02-13 15:07:08
Score: 2.5
Natty:
Report link

To make sure @Value does the autoinjection from prop file , as per me the class which is using it must be having a stereotype (as @component, @service etc) and secondingly spring manages the stuff only if class / bean is created by Spring( in other words it must not be having new Keyword )

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Value
  • User mentioned (0): @component
  • User mentioned (0): @service
  • Low reputation (0.5):
Posted by: Parameshwar

79436608

Date: 2025-02-13 15:07:08
Score: 1.5
Natty:
Report link

Go to Settings -> Editor -> Inscpection For both profiles (IDE Default and Project Default), Search & check "Python | Unresolved references" Make sure it is enabled with the below config

  1. Scope: "All Scope"
  2. Severity: "Error"
  3. Highlight in Editor: "Error"
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: k4anubhav

79436606

Date: 2025-02-13 15:06:08
Score: 2.5
Natty:
Report link

Only set. GridView1.OptionsPrint.PrintHorzLines = False GridView1.OptionsPrint.PrintVertLines = False

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

79436597

Date: 2025-02-13 15:03:07
Score: 0.5
Natty:
Report link

Setting Cache-Control headers for the whole app seems to fix the issue.

AWESOME. This worked for me with MicroPie as well.

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

79436588

Date: 2025-02-13 15:00:06
Score: 1.5
Natty:
Report link

Try downgrading the Clion version to 2024.2.4 or lower, that's how I solved it

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jackycjw chen

79436586

Date: 2025-02-13 14:59:06
Score: 2
Natty:
Report link

Thanks to all the comments, you got me moving in the right directions. I finally wound up with this code : round(cast(cast(cast(substring(cast(cast(inv.latitude as int) as varchar),1,2) as int) as numeric) + cast(cast(substring(cast(cast(inv.latitude as int) as varchar),3,2) as int) as numeric)/60 + cast(cast(substring(cast(cast(inv.latitude as int) as varchar),5,4) as int) as numeric)/100/3600 as varchar),5) as "Latitude"

Yes, its bad. But its verified working and unless I can get the DBA to change how he captures/stores data... it is what it is...

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tim Barrera

79436579

Date: 2025-02-13 14:56:05
Score: 1
Natty:
Report link

Setting an Image in a cell using SpreadsheetApp.newCellImage()

Using SpreadsheetApp.newCellImage() do work by using the following methods,.setSourceUrl().build() and here's a code snippet that could help.

function myFunction() {
  const image = "-DataURI-"
  const imageBuild = SpreadsheetApp.newCellImage().setSourceUrl(image).build()
  const sheet = SpreadsheetApp.getActiveSheet();
  sheet.getRange(1, 1).setValue(imageBuild);
}

Sample Output:

Image Output

References:

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

79436578

Date: 2025-02-13 14:56:05
Score: 1
Natty:
Report link

Not really. The HLS demuxer usually provides all streams of an HLS source, video, audio and subtitles, and that's the way it is meant to work. Even with that stream in question it does so, and a transcode output creates a file with both, video and audio (you can't hear the audio, though, likely due to the timestamp errors).

The code you have shown is no more than a workaround and not the way how it's supposed to work.

I can't tell whether the HLS source is malformed in some way or whether it's rather an issue in ffmpeg. Both ways are possible, but due to the fact that it's the first time seeing this, I'd rather suspect the HLS source - if not invalid then probably at least unusual in some way.

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

79436568

Date: 2025-02-13 14:51:04
Score: 2.5
Natty:
Report link

you can design a simple image with paint windows with circle and 2 simple eye and test it....... enjoy it....

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

79436566

Date: 2025-02-13 14:51:04
Score: 3
Natty:
Report link

"One of the best websites I’ve come across! Keep providing such amazing content!" Please read my article mamo coin

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

79436561

Date: 2025-02-13 14:50:03
Score: 2
Natty:
Report link

You misspelled children in AppContext.jsx {props.childern} instead of {props.children}.

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