79570856

Date: 2025-04-12 19:36:55
Score: 3.5
Natty:
Report link

Make sure you don't have Source overrides enabled. This is what fixed it for me.

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

79570845

Date: 2025-04-12 19:23:51
Score: 2.5
Natty:
Report link

Solved
max_input_vars was set to max_input_vars=10000000000000000
I added this in .htaccess now working fine

<IfModule mod_php.c>
    php_value max_input_vars 3000
</IfModule>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Filler text (0.5): 0000000000000000
  • Low reputation (1):
Posted by: Ovais Jetnetix

79570842

Date: 2025-04-12 19:21:51
Score: 2
Natty:
Report link

You can just check if "city" variable is at the last index of the array and break accordingly ie. if all elements are unique.

otherwise you can keep track of the current index and increment it everytime after the selenium code, once it becomes len(cities)-1 you can break the loop.

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

79570834

Date: 2025-04-12 19:09:47
Score: 4
Natty: 5
Report link

It seems still to be an unresolved issue

https://github.com/apache/camel-karaf/issues/562

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

79570831

Date: 2025-04-12 19:05:46
Score: 1.5
Natty:
Report link

reg.predict expects 2D arrays, so you need to turn it into list

reg.predict([[1740]])

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

79570823

Date: 2025-04-12 18:57:44
Score: 0.5
Natty:
Report link

In case anyone stumbles across this whilst using Assembly Definitions...

You'll need to explicitly add a reference to `UnityEngine.InputSystem` to the relevant assembly definition

enter image description here

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

79570822

Date: 2025-04-12 18:56:44
Score: 1
Natty:
Report link
  @import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap');
  
  .eb-garamond-text {
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    line-height: 1.5;
  }
</style>

<div class="eb-garamond-text">
  <!-- Your content here -->
  <p>This text will appear in EB Garamond font.</p>
  <p>You can add as many paragraphs as needed.</p>
</div>```
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dff

79570820

Date: 2025-04-12 18:53:43
Score: 1
Natty:
Report link

Try to use this in your ColorMap section

depth_colormap = cv2.applyColorMap(
    cv2.convertScaleAbs(depth_image, alpha=0.03),
    cv2.COLORMAP_JET
)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: poisoned_monkey

79570818

Date: 2025-04-12 18:52:42
Score: 3
Natty:
Report link

I think, it will be just like you upload any file (e.g image, pdf, etc). You need to upload the file to a Backend then the Backend need to give back a url to your react.

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

79570805

Date: 2025-04-12 18:30:37
Score: 1.5
Natty:
Report link

Answer: "PMIx" = "OpenPMIx". This is answered elsewhere in the documentation. https://docs.openpmix.org/en/latest/ says, "You will see OpenPMIx frequently referred to as just PMIx. While there is a separate PMIx Standard, there are (as of this writing) no alternative implementations of that Standard. In fact, the Standard post-dates the library by several years, and often lags behind the library in terms of new definitions. Thus, it is customary to refer to the library as just PMIx and drop the longer name - at least, until some other implementation arises (which many consider unlikely)." And https://docs.open-mpi.org/en/v5.0.x/installing-open-mpi/required-support-libraries.html says, 'While OpenPMIx is the formal name of the software that implements the PMIx standard, the term “PMIx” is used extensively throughout this documentation to refer to the OpenPMIx software package.'

Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Cavalcade of Cats

79570795

Date: 2025-04-12 18:23:35
Score: 0.5
Natty:
Report link

A simple approach would be to check whether a dependable git bisect artifact like it's log file .git/BISECT_LOG exists, so:

[ -f .git/BISECT_LOG ] && echo "git bisect in progress"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Sri Kadimisetty

79570790

Date: 2025-04-12 18:17:34
Score: 0.5
Natty:
Report link

Important: See the documentation link below about Plesk Obsidian using a composer extension. If you are using Plesk Obsidian this is the recommended way to run composer on a plesk server.

From the Plesk documentation:

Run Composer from a command-line interface

Where X.X is a PHP version:

Documentation links:

https://www.plesk.com/kb/support/how-to-run-composer-with-plesk-php/

https://www.plesk.com/extensions/composer/

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

79570762

Date: 2025-04-12 17:42:26
Score: 0.5
Natty:
Report link

I agree with answers above: you generally don't need micro-optimizations, especially with high-level languages with optimizing compilers.

However, I want to add one more, slightly lower point of view.

Let's pretend (almost)all optimizations are OFF and find out what machine code we end up with:

In case 1:

In case 2:

Real examples (built with `gcc -c -O0 testX.c -o testX`):

test1.c:

    #include <stdio.h>
    void log(void) { printf("Hello\n"); }
    int main(int argc, char **argv)
    {
        int logMode = 0;
        int result;
        while (1) {
            if (logMode == 1) {
                log();
            }
            result = 1; /* simulate useful work */
        }
        return result;
    }

test1 disassembly fragment:

    ...
    0000000000000016 <main>:
      16:   55                      push   %rbp
      17:   48 89 e5                mov    %rsp,%rbp
      1a:   48 83 ec 20             sub    $0x20,%rsp
      1e:   89 7d ec                mov    %edi,-0x14(%rbp)
      21:   48 89 75 e0             mov    %rsi,-0x20(%rbp)
      25:   c7 45 fc 00 00 00 00    movl   $0x0,-0x4(%rbp)
    /* start of loop */
      2c:   83 7d fc 01             cmpl   $0x1,-0x4(%rbp) /* compare `logMode` to `1` */
      30:   75 05                   jne    37 <main+0x21>  /* if `false`, jump directly to "useful work" (37) */
      32:   e8 00 00 00 00          call   37 <main+0x21>  /* call log */
      37:   c7 45 f8 01 00 00 00    movl   $0x1,-0x8(%rbp) /* "useful work" */
      3e:   eb ec                   jmp    2c <main+0x16>  /* back to start of the loop */
    ...

test2.c:

    #include <stdio.h>
    void log(void) { printf("Hello\n"); }
    void noop(void) { /* nothing here */ }
    void (*func_ptr)(void);
    int main(int argc, char **argv)
    {
        int logMode = 0;
        int result;
        if(logMode == 1){
            func_ptr = log;
        } else {
            func_ptr = noop;
        }
        while (1) {
            func_ptr();
            result = 1; /* simulate useful work */
        }
        return result;
    }

test2 disassembly fragment:

    ...
    0000000000000016 <noop>:        /* here's five lines of our "empty" function */
      16:   55                      push   %rbp
      17:   48 89 e5                mov    %rsp,%rbp
      1a:   90                      nop
      1b:   5d                      pop    %rbp
      1c:   c3                      ret
    
    000000000000001d <main>:
      1d:   55                      push   %rbp
      1e:   48 89 e5                mov    %rsp,%rbp
      21:   48 83 ec 20             sub    $0x20,%rsp
      25:   89 7d ec                mov    %edi,-0x14(%rbp)
      28:   48 89 75 e0             mov    %rsi,-0x20(%rbp)
      2c:   c7 45 fc 00 00 00 00    movl   $0x0,-0x4(%rbp)
      33:   83 7d fc 01             cmpl   $0x1,-0x4(%rbp)
      37:   75 10                   jne    49 <main+0x2c>
      39:   48 8d 05 00 00 00 00    lea    0x0(%rip),%rax
      40:   48 89 05 00 00 00 00    mov    %rax,0x0(%rip)
      47:   eb 0e                   jmp    57 <main+0x3a>
      49:   48 8d 05 00 00 00 00    lea    0x0(%rip),%rax
      50:   48 89 05 00 00 00 00    mov    %rax,0x0(%rip)
    /* start of loop */
      57:   48 8b 05 00 00 00 00    mov    0x0(%rip),%rax   /* loading function pointer from memory into register */
      5e:   ff d0                   call   *%rax            /* calling function regardless we want logs */ 
      60:   c7 45 f8 01 00 00 00    movl   $0x1,-0x8(%rbp)  /* useful work */
      67:   eb ee                   jmp    57 <main+0x3a>   /* back to start of the loop */
    ...
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user30222012

79570750

Date: 2025-04-12 17:26:21
Score: 4
Natty:
Report link

In addition, $this refers to: WP_Event_Manager::instance()

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

79570745

Date: 2025-04-12 17:23:20
Score: 1
Natty:
Report link
  1. Use FLASK_ENV=development flask run in the terminal to launch Flask. This makes the Flask development server available and enables error feedback and automatic reloading.

  2. Use the F12 key or right-click and choose Inspect to launch the Developer Tools in your browser. The console.log() outputs from your JavaScript code are visible in the Console tab.

  3. From the VSCode Extensions Marketplace, install the Debugger for Chrome extension. Using this extension, you can debug JavaScript by attaching the VSCode debugger to a Chrome instance.

  4. launch.json: To launch Chrome and link it to your Flask application, include the following settings in your launch.json file:

{ "version": "0.2.0", "configurations": [ { "name": "Launch Chrome Flask", "url": "http://localhost:5000", "webRoot": "${workspaceFolder}", "sourceMaps": true } ] }

  1. Press F5 after choosing Launch Chrome against Flask from the VSCode Run panel. By doing this, VSCode will begin debugging your JavaScript code and open Chrome with your Flask app.

  2. Create breakpoints for your application. JavaScript by selecting the line numbers next to them. VsCode will halt execution when the code reaches a break-point, enabling you to step through your code and examine variables.

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

79570744

Date: 2025-04-12 17:21:20
Score: 0.5
Natty:
Report link

I am not the best at JavaScript or NodeJS so I can't really give exact good, but just what I think is good advice.

If you want to implement this animation with just NodeJS, make sure you are using HTML and you have some libraries for animation (I'm sure you're probably already past this part) and make sure you have your libraries imported (I don't really understand how Node works, so I am just going by Python logic)

Now for the actual animation process, there's probably some sort of function to create lines in the canvas library. So, you can create your own function (Maybe name it something like "brushStroke()") and define it with some canvas functions to make it operate correctly.

Since the function for making lines probably requires the developer to state the coordinates for each plot connecting the lines, you should make sure that you find coordinates that make sense for the stroke, and so that it creates lines.

To make the lines look more like a brush stroke, you could also consider making the lines a bit thicker so it looks more natural.

If you want an actual animation for the stroke, try using a function that erases bits of each line from left to right in order. I don't really know how to explain this part, but the way the animation works is all up to you, since this is your project!

That's basically it! After the animation is done, you might want to reposition it or resize it. However, on't forget that I don't actually know that much about NodeJS, so everything I said was just about how to implement it and not how to code it.

I hoped this helped, and I hope you have a great rest of your day!

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

79570740

Date: 2025-04-12 17:17:19
Score: 2.5
Natty:
Report link

As far as I understand, when there is no message to consume, Spark will not advance the watermark, and the condition to emit the last window will not be met until a new message is consumed.

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

79570737

Date: 2025-04-12 17:13:18
Score: 3.5
Natty:
Report link

For creating a bootable Debian 10 Buster XFCE Image you might try Debian Live. The offical WebPage is a good source for more information. For the beginning you might use this guide or go direktly to the already configured Images.

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

79570735

Date: 2025-04-12 17:05:15
Score: 4.5
Natty:
Report link

According to Siteground's website, Node.js is not supported on their shared and cloud hosting plans.

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

79570732

Date: 2025-04-12 17:04:15
Score: 1.5
Natty:
Report link

If you're using an Android phone, try unplugging the USB cable. I faced this issue because my Expo app on the phone wasn't up to date. Once I tested it with my emulator, it worked fine.

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

79570730

Date: 2025-04-12 17:04:15
Score: 2
Natty:
Report link

I see what’s happening here.

The problem most likely comes from CSS animations or positioning issues that are not properly supported or behaving differently on mobile browsers.

Here’s what could be wrong and how to fix it:

  1. Check if position: relative is the issue In your Windowz component, you are generating stars like this:

✅ Instead of position: relative, you should use position: absolute for the stars because relative positioning doesn’t really move elements freely — it just nudges them inside their normal flow. On mobile devices, this can cause nothing to appear if the layout is broken.

👉 Update it to:

<div key={index} style={{ position: "absolute", top: element, left: element }}></div>
  1. Check your viewport meta tag Make sure your HTML has this inside the :

Without this, mobile browsers can misinterpret your layout and animations.

  1. CSS Animations Compatibility If you are using CSS animations (like moving clouds, orbiting sun/moon), check:

Are you using transform and @keyframes properly?

Are overflow or z-index settings causing them to be clipped or hidden on small screens?

Sometimes mobile browsers disable animations if they are too heavy or not optimized. You might want to check if there are any CSS media queries like:

@media (max-width: 768px) {
/* Animations turned off accidentally here? */

}

🔍 Tip: Always test if you accidentally turned off animations for smaller devices.

  1. Browser Developer Tools on Mobile Use Chrome Developer Tools → Toggle device toolbar (Ctrl+Shift+M) → Simulate mobile → Check console for errors.

You might find helpful warnings like "Animation dropped because..." or "Layout Shift" issues.

✨ Summary

Change stars from relative ➔ absolute.

Add correct viewport meta tag.

Check CSS media queries.

Use Chrome DevTools Mobile View for debugging.

Let me know if you want a working code example after fixing these points.

Reasons:
  • Blacklisted phrase (1): what could be
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @keyframes
  • Low reputation (1):
Posted by: SEO Expert Md Jamil Hosain

79570723

Date: 2025-04-12 16:52:12
Score: 3
Natty:
Report link

example with js enter image description here


For example use js input value with oninput

let str = phrase.value.split(``)
for (let index = 0; index < str.length; index++) {
    // Add any way arabic diacretic sumbul fatha for example
    str[index] = str[index] + `َ`;
    
}

let str2 = str.join(``)

str2 for SQL query, I use this
Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tollyab Musafeer

79570719

Date: 2025-04-12 16:49:11
Score: 1
Natty:
Report link

You should make a new folder in xampp/htdocs and then place the contents of the build folder to the new folder you just created.

Also, if you are using react-router-dom, you would need to edit your package.json to include the line:

"homepage": "./name-of-the-folder",
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Apoorv Mittal

79570718

Date: 2025-04-12 16:48:11
Score: 2
Natty:
Report link

There isn't a direct way to kill Snowflake queries using the Spark connector.

you can retrieve the last query ID in Spark to manage it outside Spark, later you can kill that with CALL SYSTEM$CANCEL_QUERY('<query_id>');

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

79570713

Date: 2025-04-12 16:46:11
Score: 2
Natty:
Report link

UPDATE: running npm install react@latest react-dom@latest next@latest cleared the dependency errors and npm run dev worked with no errors. I did have to additionally run npm @next/codemod new-link . in order to clear an error with invalid <Link> tags resulting from the new versions.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mike McGee

79570704

Date: 2025-04-12 16:41:09
Score: 2.5
Natty:
Report link

For anyone who is facing similar issue. That is

SyntaxError: unterminated string literal (detected at line 29)
File "/usr/local/lib/node_modules/pm2/lib/ProcessContainerForkBun.js", line 29
// Change some values to make node think that the user's application

The key point here is the commented line which is actually a message.
You have to try modifying the parameters in my case it was something like this
Set interpreter as "none" and script to "/absolute/path/venv/bin/python main.py"
It might be different parameter for you tho. (If anyone has more in detailed answer please feel free to edit my answer)

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing similar issue
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Arfath Yahiya

79570702

Date: 2025-04-12 16:40:09
Score: 2.5
Natty:
Report link

abricator(:diffusion, from: message) do

instagrm(count: 3) {"proof#{i}@example.com" }

subject:"Hackety-hack instagrm"

body:"This is instagrm from hackety-hack.com"

end

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

79570698

Date: 2025-04-12 16:36:08
Score: 0.5
Natty:
Report link

this is a very classical issue for a beginner/junior react dev. See in the first case, when you are using your own custom hook to fetch data, it is not triggering any re-renders in your component, so even though you fetched the data, it is not rendered in your UI. Your function getData() in first case changes the state in setData() but you need to trigger a DOM event to render the data in front. Try using this getData() function with a useEffect hook and you will see the difference on your own. Take a look in docs or online on how the DOM and DOM event works in react.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: PythonOp

79570695

Date: 2025-04-12 16:36:08
Score: 1.5
Natty:
Report link

Using RPi OS bookworm Lite (64bit):

I found the instructions here (Win, Mac and Deb are provided) worked when all else failed:
https://people.csail.mit.edu/hubert/pyaudio/

It is vital to read the "Notes:" section for the OS you are using.

Also, obviously, make sure what you install is visible to python

(in my case I installed into /bin in the venv I was using).

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

79570692

Date: 2025-04-12 16:31:07
Score: 2.5
Natty:
Report link

It's the same error, but in my case it was caused by importing a backend file—something that uses Node-specific features. Check your frontend code to see if any Node-related code is sneaking in.

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

79570691

Date: 2025-04-12 16:30:06
Score: 0.5
Natty:
Report link

I recommend defining your own function in your init.el

(defun kill-to-end-of-buffer ()
    "Kill text from point to the end of the buffer."
    (interactive)
    (kill-region (point) (point-max)))

then binding it to a key:

(global-set-key (kbd "C-s-k") 'kill-to-end-of-buffer)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aiden Cullo

79570681

Date: 2025-04-12 16:20:03
Score: 0.5
Natty:
Report link

The key is to use Nginx's proxy_pass with URL rewriting correctly, but you need to handle it differently than you've tried. The issue with your approach is that using proxy_pass http://odoo/en; creates redirect loops because Odoo keeps seeing the /en path and tries to handle it repeatedly.

Here's how to solve it properly:

server {
    listen 443 ssl http2;
    server_name www.mycompany.com;
    
    # SSL settings as you have them...
    
    location / {
        rewrite ^(.*)$ /en$1 break;
        
        proxy_set_header X-Forwarded-Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header Host $host;
        
        # Important: Use proxy_pass without path
        proxy_pass http://odoo;
    }
    
    # Additional locations for static content, etc.
    # ...rest of your config...
}

server {
    listen 443 ssl http2;
    server_name www.mycompany.it;
    
    # SSL settings as you have them...
    
    location / {
        rewrite ^(.*)$ /it$1 break;
        
        proxy_set_header X-Forwarded-Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header Host $host;
        
        proxy_pass http://odoo;
    }
    
    # Additional locations for static content, etc.
    # ...rest of your config...
}

Note that you'll need to ensure your Odoo instance is properly set up with the correct languages and base URLs in the configuration to avoid any unexpected redirects.

Reasons:
  • Blacklisted phrase (1): how to solve
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yassin Slati

79570668

Date: 2025-04-12 16:10:00
Score: 1
Natty:
Report link
For example use js input value with oninput

let str = phrase.value.split(``)
for (let index = 0; index < str.length; index++) {
    // Add any way arabic diacretic sumbul fatha for example
    str[index] = str[index] + `َ`;
    
}

let str2 = str.join(``)

str2 for SQL query, I use this
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tollyab Musafeer

79570662

Date: 2025-04-12 16:00:57
Score: 9.5 🚩
Natty: 5.5
Report link

did you manage to resolve this, I am having the same issue.

Reasons:
  • RegEx Blacklisted phrase (3): did you manage to resolve this
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same issue
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Richard Yaya-Abatan

79570659

Date: 2025-04-12 15:57:56
Score: 0.5
Natty:
Report link

Since I don't know what to do, I have now created a Docker Compose which calls my Maven plugins, it's not clean but it's a simple and quick solution.

`Docker-compose.yml`

version: "3.8"

services:
  maven-sonar:
    image: maven:3.8.5-openjdk-17-slim
    container_name: maven-sonar
    restart: no
    network_mode: host
    environment:
      - TESTCONTAINERS_HOST_OVERRIDE=host.docker.internal
    volumes:
      - .:/usr/src/mymaven
      - /var/run/docker.sock:/var/run/docker.sock
    working_dir: /usr/src/mymaven
    command: mvn clean verify jacoco:report sonar:sonar
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: DerSilver

79570658

Date: 2025-04-12 15:56:55
Score: 4.5
Natty:
Report link

Nvm it works now I figured how

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

79570656

Date: 2025-04-12 15:52:54
Score: 5
Natty: 4.5
Report link

May I ask if the value of the url-template tag in the custom Intent is completely customizable? After developing a custom Intent, is it necessary to package and upload the new version of the application to Google Play before being able to use Google Assistant for testing? Does the Activity corresponding to the target class in the AndroidManifest.xml file require any additional configurations besides the configuration of android:exported="true"?

Reasons:
  • Blacklisted phrase (1): May I ask
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: KUNMING YANG

79570655

Date: 2025-04-12 15:51:53
Score: 1
Natty:
Report link

Use isCoreLibraryDesugaringEnabled = true

compileOptions {
        sourceCompatibility = JavaVersion.VERSION_11
        targetCompatibility = JavaVersion.VERSION_11
        isCoreLibraryDesugaringEnabled = true
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abhishek razy

79570650

Date: 2025-04-12 15:49:53
Score: 3
Natty:
Report link

I can't find it built in to VS Code, but the Restore Editors extension does this, although you have to name the layout.

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

79570642

Date: 2025-04-12 15:46:51
Score: 1
Natty:
Report link

I'm using AI agents and these still generate commands/toolchains that suprisingly by default have master instead of main. I've struggled with removing default branch 'main' on bitbucket. The three dots menu did not allow it. I did not have 'branch permissions' under workflow in settings. What I found out is that you need a change of what is the main/primary branch. This is under general->Repository details->Advanced->Main branch. Hope this saves someone some time until AI agents are up to date with what they generate (claude-3.7-sonnet)

enter image description here

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Maciek Binder

79570638

Date: 2025-04-12 15:43:51
Score: 1.5
Natty:
Report link

Sorry not a solution, but I am also experiencing the same issue on my Mac. Furthermore, I did update the Android Studio (AS) on my Windows and also encountered the same issue. So I might be wrong, but perhaps it might be a patch issue from AS
But when you create a new Flutter project on VSCode and open in AS it works fine

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

79570621

Date: 2025-04-12 15:28:47
Score: 1.5
Natty:
Report link

Thanks @ismirsehregal. You're absolutely right that DataExplorer::plot_str() can be tricky to use inside a Shiny app

I encountered the same issue when knitting R Markdown documents using rmdformats::readthedown. The default plot_str(df) call does not render properly in the knitted HTML.

The fix is the same: pass the list to networkD3::diagonalNetwork() manually

```{r, echo=FALSE}

library(DataExplorer)

library(networkD3)

df <- mtcars  # Your dataset here

# Pass ‘plot_str’ output to diagonalNetwork

diagonalNetwork(plot_str(df))

```

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

79570618

Date: 2025-04-12 15:26:46
Score: 2.5
Natty:
Report link

tienes que cambiar el orden primero seed.js y segundo main.js new Vue({ el: '#app', data: { submissions: Seed.submissions aqui solo ponle submissionns } });

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

79570615

Date: 2025-04-12 15:23:45
Score: 0.5
Natty:
Report link

Well, whenever some API happens to do something one doesn't expect, the first reflex should always be: "Lets take a minute and look up what the documentation of that API has to say!" (I know, very old-fashioned and not really reconcilable with modern software development techniques. But lets pretend it's the last century and try anyways...)

From the remarks section of the Array.Resize documentation:

This method allocates a new array with the specified size, copies elements from the old array to the new one, and then replaces the old array with the new one.

and

If newSize is equal to the Length of the old array, this method does nothing.

So, documentation FTW....

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

79570614

Date: 2025-04-12 15:23:45
Score: 0.5
Natty:
Report link

Array.Resize create a new array and then copies element of old one into new one, However it also has a shortcut, so if you resize to the same size, method will not create a new array. So while function copies a reference to original array, after the first Resize locally stored reference is replaced with a new one. that is why first Reverse works on original array, while second one alters only new ones, locally stored COPY of the original array. Adding ! Array.Resize(ref A, A.Length + 1); ! Array.Resize(ref A, A.Length - 1); ! Will replace reference to the original, while not changing data and will pass the Array.Resize shortcut. So all further operations will be performed with a copy of the array. Important to note that Array.Resize copies only one level of array and multi-dimensional arrays will still be altered. That is why same line of code can be added for each iteration

Btw this is code should not be used in any way, unless you want to sabotage something.

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

79570608

Date: 2025-04-12 15:18:44
Score: 2
Natty:
Report link

So, no help ? :(

If anyone is interested, I didn't manage to get my dynamic rule working without impacting the edition of Wordpress pages, so I just used a rule with a static array of makes instead :

$all_makes_rules = array(
        'AC', 'Acura', 'Adler', 'Alfa Romeo', 'Alpina', 'Alpine', 'AMC', 'Apal', 'Aro', 'Asia', 'Aston Martin', [...]
, 'ZX'
);
// The real code contains all the makes. Just making it shorter here.

$all_makes_rules = array_map(function($make) {
     return str_replace(' ', '_', strtolower($make));
}, $all_makes_rules);

$pattern = implode('|', $all_makes_rules);

[...]
"^(?i:fr/($pattern)/?$)" => 'index.php?pagename=car-make-fr&make=$matches[1]',
"^(?i:en/($pattern)/?$)" => 'index.php?pagename=car-make&make=$matches[1]'[...]

This works fine.

But if anyone has any idea on how to get my original dynamic rule working, I'm still interested ...

Reasons:
  • Blacklisted phrase (1): :(
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Franck FELIX

79570596

Date: 2025-04-12 15:06:41
Score: 3
Natty:
Report link

Without seeing the code, I guess you need to format the Excel cells you're writing to, as "text" number format.

To do it with openpyxl, take a look at this similar StackOverflow question. @SuperScienceGrl answer suggests this code:

cell = ws['A1']
cell.number_format = '@'
Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @SuperScienceGrl
  • Low reputation (1):
Posted by: R4ygen

79570593

Date: 2025-04-12 15:04:40
Score: 5.5
Natty:
Report link
// route
export const todoRoute = new Hono().post(
  "/",
  zValidator("json", createTodoSchema, (result, c: Context) => {
    if (!result.success) {
      return c.json(
        {
          message: "Validation failed",
          errors: result.error.errors.map(({ message }) => message),
        },
        400
      );
    }
    c.set("validatedData", result.data);
    // Optional: c.set("isValidated", result.success);
  }),
  createTodo
);




export async function createTodo(c: Context) {
  const body = c.get("validatedData") as CreateTodoSchemaType;

  const newTodo = new Todo(body);
  await newTodo.save();

  return c.json({
    message: "Todo created successfully",
    data: {
      title: body.title,
      completed: body.completed,
    },
  });
}

Is this an acceptable way to avoid using Context<Env, Path, Input> generics and still make full use of validation?

Does storing the validated data in c.set() have any performance or memory drawbacks, or is this considered a clean solution?

Thanks in advance!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is this an
  • Low reputation (1):
Posted by: Rupesh Thapa

79570585

Date: 2025-04-12 14:59:39
Score: 1.5
Natty:
Report link

[Window Title]

C:\Users\biswa\AppData\Local\Temp\aa2564e5-d78f-41ec-87ed-a8c65f5ca6ca_New Compressed (zipped) Folder.zip.6ca\fsjd-7\Java History\image.png

[Content]

Windows cannot find 'C:\Users\biswa\AppData\Local\Temp\aa2564e5-d78f-41ec-87ed-a8c65f5ca6ca_New Compressed (zipped) Folder.zip.6ca\fsjd-7\Java History\image.png'. Make sure you typed the name correctly, and then try again.

[OK]

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

79570571

Date: 2025-04-12 14:44:35
Score: 3
Natty:
Report link

I have a code to get value from memory at their jungle to her yellow topic with their brown container. I try to get mt violet program with their jungle.

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

79570564

Date: 2025-04-12 14:37:34
Score: 1
Natty:
Report link

use PUMP mode more spesific use the PUMP_MODE_USERS and set timeout more better

manager.Connect("localhost", 443, "admin", "password",MT5Manager.ManagerAPI.EnPumpModes.PUMP_MODE_USERS, 120000)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ari Alfi Syahrin

79570556

Date: 2025-04-12 14:26:31
Score: 1.5
Natty:
Report link

Answer by Torgrim worked for me. Adding a screenshot for more clarity-

enter image description here

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

79570553

Date: 2025-04-12 14:23:29
Score: 7.5 🚩
Natty:
Report link

طرح مهر ارسال به سراسر کشور بهترین قیمت و برندها

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: SEO TEAM

79570547

Date: 2025-04-12 14:17:27
Score: 0.5
Natty:
Report link

I know it's been a while since this question was asked. But, I had the same problem last week and tried a ton of ways to fix it. In the end, all I had to do was change my weights from numeric to integer.

So, use class(data$weights) to check the class of your weights.

Then

data$weights<-as.integer(data$weights)

When I did that, the message stopped showing up.

Hope that helps!

Reasons:
  • Blacklisted phrase (1): I know it's been
  • Whitelisted phrase (-1): Hope that helps
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pamela Elias

79570539

Date: 2025-04-12 14:09:26
Score: 1
Natty:
Report link

```

g=int(input("We don't know the input after this time")

r=int(input("We also may have integers one here line the one before this, but both can by anything of integers")

print("The product of",g,"and",r,"is",g*r)

```

A code to give the output for 24 for 4 and 6 is here.

It is not this one

print("The product of",j,"and","is",b)

The actual code to do that is this as a different thing.

print("The product of",j,"and",b,"is",j*b)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Cotton

79570535

Date: 2025-04-12 14:05:25
Score: 1
Natty:
Report link

There are two aspects to this question.

First: yes, GitHub Copilot (free version) is likely to use your source code for multiple purposes, such as model training. But in the first place, it will send your code snippets out to analyze outside your machine, which by itself is already a security breach, if you work under client NDA.
Second: secrets (like usernames, passwords), should not be part of the source code - a general good practice, which will not prevent you from all trouble but will often minimize risk. In the particular case of working with copilots, this practice gains importance.
Here's more on both topics: https://medium.com/@pp_85623/github-copilot-for-private-code-think-twice-079c5b5a0954

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Data Man

79570531

Date: 2025-04-12 14:01:24
Score: 0.5
Natty:
Report link

I have also struggled with this problem.

Finally, I found that if I drew an image with dpi meta, the image in the pdf generated by Microsoft Print To PDF would not be scaled.

There are a few libraries that can help do this (parse the image and edit the meta in it), but they're all too big. I tried to write two programs to add dpi meta to png and jpg. Maybe there are some bugs, but it worked for me.

jpg:
https://gist.github.com/DiamondMofeng/94a16775552cc10374d3a911242c4085

png:
https://gist.github.com/DiamondMofeng/9a54329842eea6306c8f6132cbeadae7

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • Contains signature (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mofeng

79570504

Date: 2025-04-12 13:34:18
Score: 0.5
Natty:
Report link

If your version is around Python 3.13, first try to reinstall pip, and see if that works. If it doesn't, run this command: pip freeze > requirements.txt. This command will save the python packages into a text file. Next, go install an older python version (like 3.10-3.11, as said above), and install the adequate pip. Then, run this command: pip install -r requirements.txt, and it should, at the very least, help. I hope this fixes the problem with your pip.

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

79570493

Date: 2025-04-12 13:21:16
Score: 1.5
Natty:
Report link

In my case, revert all file use git, restart android studio compile works.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: yu yang Jian

79570485

Date: 2025-04-12 13:17:14
Score: 2.5
Natty:
Report link

This error occurrs for me when I try to use the package("com.example") method in my JerseyConfig class. I just added the classes individually using register(Example.class) method (which is a chore) and it does not throw this error anymore.

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

79570476

Date: 2025-04-12 13:07:12
Score: 3
Natty:
Report link

I found a general example you can consult at :

https://debuglab.net/2023/07/04/handling-accept-cookies-popup-with-selenium-in-python/

and also an older post over here:

Handling "Accept Cookies" popup with Selenium in Python

I'm no a pro but based on what you shared you should take a look at the overlay modal part of this article:

https://www.lambdatest.com/blog/webdriverio-tutorial-handling-alerts-overlay-in-selenium/

Hope it helps

Reasons:
  • Blacklisted phrase (1): this article
  • Whitelisted phrase (-1): Hope it helps
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: emmanuel Charpentier

79570475

Date: 2025-04-12 13:06:11
Score: 6 🚩
Natty:
Report link

This appears to be an issue with the terminal configuration as suggested in issue, keeping this as an answer for anyone having the same problem.

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

79570470

Date: 2025-04-12 13:01:10
Score: 1
Natty:
Report link

After reviewing all the responses (thank you), the problem seems to be that, without adding the (Bool) in provided by the .onEditingChanged closure, the true .onEditingChanged closure is not being called. The fix with the shortest code is to use:

Slider(value: $value2) { _ in print("Slider 2 updating ") }

But then what is being called isn't entirely clear either. One of the Slider's declarations is:

nonisolated public init<V>(value: Binding<V>, in bounds: ClosedRange<V> = 0...1, @ViewBuilder label: () -> Label, @ViewBuilder minimumValueLabel: () -> ValueLabel, @ViewBuilder maximumValueLabel: () -> ValueLabel, onEditingChanged: @escaping (Bool) -> Void = { _ in }) where V : BinaryFloatingPoint, V.Stride : BinaryFloatingPoint

where there are several @ViewBuilder parameters with closures as candidates - it could think it's redrawing: Label, minimumValueLabel, or maximumValueLabel (which all seem unnecessary to redraw too), but I figured that without my closure 'returning' a Label or ValueLabel, as required for those other parameter closures respectively, the compiler would eliminate those as candidates, as only the .onEditingChanged closure returns a Void, which is what my closure was returning. Now I'm not sure which it thinks my closure is? In any case, adding the Bool with " _ in" at the start of my closure distinguishes it most clearly as meant for the .onEditingChanged parameter specifically.

I also learned from Swift docs that if any @State property changes, if the compiler can't be sure of what all that might effect, then it redraws *everything*, sometimes twice, as if it's look for what all changed.

In the end, not being sure of exactly how to properly implement Slider's .onEditingChanged functionality in my own slider, I'm just going to use a .onChange(of: value2){} modifier to ensure that multiple entire closures aren't being re-executed when only one slider is moved.

.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: LGLB

79570466

Date: 2025-04-12 12:56:09
Score: 2
Natty:
Report link

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex "&{$((New-Object System.Net.WebClient).DownloadString('https://gist.github.com/MadeBaruna/1d75c1d37d19eca71591ec8a31178235/raw/getlink.ps1'))} global"

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Влада Дедицкая

79570463

Date: 2025-04-12 12:53:08
Score: 1.5
Natty:
Report link

data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28' fill='none'%3E%3Cg clip-path='url(%23clip0_8_46)'%3E%3Crect x='5.88818' width='22.89' height='22.89' transform='rotate(15 5.88818 0)' fill='%230066FF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M20.543 8.7508L20.549 8.7568C21.15 9.3578 21.15 10.3318 20.549 10.9328L11.817 19.6648L7.45 15.2968C6.85 14.6958 6.85 13.7218 7.45 13.1218L7.457 13.1148C8.058 12.5138 9.031 12.5138 9.633 13.1148L11.817 15.2998L18.367 8.7508C18.968 8.1498 19.942 8.1498 20.543 8.7508Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_8_46'%3E%3Crect width='28' height='28' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E:

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

79570458

Date: 2025-04-12 12:46:06
Score: 5.5
Natty:
Report link

Facing the same errors, turns out I accidentaly changed the 'distributionUrl' on [project-dir]/android/gradle/wrapper/gradle-wrapper.properties .

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Facing the same error
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hisyam Kazim

79570455

Date: 2025-04-12 12:43:05
Score: 2.5
Natty:
Report link

How do browsers decide whether or not to display punycode?

The WHAT-WG URL spec: https://url.spec.whatwg.org/#idna

Points to Unicode TR46: https://www.unicode.org/reports/tr46/#Processing

But it also appears that IgnoreInvalidPunycode implementation is not consistent in web engines, per this illuminating discussion that ends in 🤷🏽‍♂️

https://github.com/whatwg/url/issues/821#issuecomment-1973116108

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How do
  • Low reputation (0.5):
Posted by: Dietrich Ayala

79570451

Date: 2025-04-12 12:37:03
Score: 1
Natty:
Report link

Great question! 🎯
If you're preparing to launch a mobile app, sharing it with the press before release is a smart way to build buzz and secure early media coverage.

Here’s how to do it effectively:

1. Create a press kit – Include app details, screenshots, features, your company bio, and a short pitch.

2. Provide early access – Share a beta version or test build using tools like TestFlight (iOS) or closed testing via Google Play (Android).

3. Write a compelling press release – Explain what makes your app unique, the problem it solves, and when it officially launches.

4. Distribute through trusted news wires – That’s where PR Wires can help.

At PR Wires, we specialize in publishing your story across reliable news networks like Google News, Digital Journal, and more—so you can reach journalists, bloggers, and tech reviewers ahead of your app launch.

🚀 Build anticipation. Get coverage. Reach the right audience.

Let your app make headlines before it even hits the app store!
– Team PR Wires

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Business wire Press release

79570431

Date: 2025-04-12 12:04:56
Score: 2.5
Natty:
Report link

You need to add parameter { testIsolation : false } in the next line:

describe("Full system test", { testIsolation : false }, () => {

This parameter turn off isolation of tests, I mean "it({})" elements.

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

79570420

Date: 2025-04-12 11:53:54
Score: 3
Natty:
Report link

Gradle 8.13 do not support Java 24.
See Compatibility matrix

The next version will support Java 24.
See: https://docs.gradle.org/8.14-rc-1/release-notes.html
Release: https://github.com/gradle/gradle-distributions/releases/tag/v8.14.0-RC1

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

79570419

Date: 2025-04-12 11:52:53
Score: 4
Natty: 4
Report link

Обычно nginx возвращает весь путь сайта (без меток) в переменной $_GET['q'], и для обработки можно использовать $path=explode("/", $_GET['q']); и дальше по усмотрению. Всё придётся делать в index.php и подгружать файлы через include. Так не придётся мучительно настраивать файл конфигурации, изучать правила и перезагружать сервер.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Александр Маликов

79570411

Date: 2025-04-12 11:44:51
Score: 1.5
Natty:
Report link

It seems like you are using a the rule-specific allow list [rules.allowlist] instead of the global allowlist [allowlist].

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

79570396

Date: 2025-04-12 11:34:48
Score: 1.5
Natty:
Report link

You should strictly follow the syntax based on the developer's guide to make sure that your code will always produce same correct results.

Based on ansible-lint docs:

Please check that link for more explanations.

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

79570395

Date: 2025-04-12 11:34:48
Score: 2
Natty:
Report link

Wow good timing Wesley S. I am in 2025 and I found this old thread. I happened to have a lot of child pages and came to a certain point my desired parent page wouldn't appear anymore in wordpress FSE drop down menu after creating a lot of child pages that were linking to the same parent page.

Thanks a lot for your tip. It was exactly the solution that I was looking for.

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

79570394

Date: 2025-04-12 11:34:48
Score: 0.5
Natty:
Report link

The closest thing to a provided description could be understood as the animation of an object that should move along the path
and also if the ScrollTrigger is involved here, it means the object has to be animated as the scrolling happens.

In any case, an animation should be playing only if it's visible inside the viewport, otherwise who would see that animation if it's out of view. (although that behavior could be achieved it is strongly advised against it).

MotionPath
If you want to move an element along an SVG path and also synchronize the motion with the user's scrolling activity, there's possibility to create a tween as paused and then update it as the scrolling would progress.
Use paused:true in your MotionPath tween.

let tweenPausedMotionPath = gsap.to(objectToMoveAlongThePath, {
  paused: true,
  ease: 'none',
  motionPath: {
    path: pathToFollow,
    align: pathToFollow,
    alignOrigin: [0.5, 0.5],
  },
};

Here you might not need to use any ease function yet, later we'll discuss its usefulness more practically.
For now just set it to a linear using ease:'none'. (If you omit to specify ease: then default 'power1.out' would be used as the easing function, so set it to 'none' explicitly to prevent that).

ScrollTrigger
The example of using timeline with configured scrollTrigger object is fine, though documentation said it is common use case, docs also said it is for basic usage. If you really want to unlock advanced functionality like controlling callbacks, you have to use ScrollTrigger.create to create a standalone ScrollTrigger instance.

ScrollTrigger.create({
  trigger: container,
  start: "top center",
  end: "bottom center",
  // other ScrollTrigger config options
  onUpdate: (self) => {
    const scrollProgress = self.progress.toFixed(2);
    tweenPausedMotionPath.progress(scrollProgress);
  }
});

Most important thing here is that we're using onUpdate callback to get scroll progress
(essentially progress is the value between 0 and 1 - where 0 is when we're yet to start scrolling the trigger element and 1 means we've finished scrolling it out of the viewport)
and use it to update our paused MotionPath tween created earlier.
.progress() method is a setter/getter for tween's progress.

Centering object vertically in the viewport
Now, to center object at the begging and at the ending of the scrolling is straightforward. You could achieve that in two ways at least.

  1. Adjust ScrollTriger start: and end: config options.
    for example start: top center would mean the animation will start when the trigger element's top gets to the center of the viewport, and end: bottom center would mean the animation will stop when the element's bottom arrives there.
    Refer to info video about ScrollTrigger options - https://youtu.be/X7IBa7vZjmo?t=310
  2. Add two space-filler elements with height: 50vh CSS property before and after SVG element inside scroll trigger container.
    This approach also increases scroll length of the container so decide on these both options by experimenting with them, it may give you desired effect.

Centering in the viewport en route
Haven't you noticed the logical problem that arises here? Your scroll trigger element has fixed height of one certain amount. But your path's length could be longer than that, and during the scrolling, the path length that object needs to travel is different depending how complex is the path itself.

In other words scrolling moves by straight line from top to bottom, your path does not. That's when you need your custom made easing function. Gsap allows you to use CustomEase.create with yours made easing function to adjust that difference and to position animated object exactly as it needs to be during the scrolling progress. How to create such a function is left to you to figure that one out.
Refer to the documentation to learn more - https://gsap.com/docs/v3/Eases

Room for improvement
This animation will break each time a user is resizing the screen or scaling the viewport. To address this problem, you have to recreate gsap MotionPath tween and reapply preserved progress to it on resize handler.

window.addEventListener("resize", () => {
  const previousProgress = tweenPausedMotionPath.progress();
  tweenPausedMotionPath = 
    gsap.to(objectToMoveAlongThePath,
      {/**... rest of the same config as before */}
    );

  tweenPausedMotionPath.progress(previousProgress);
});

To get you an idea here's the CodePen prototype -
https://codepen.io/ajishiguma/pen/raNXMve
svg path scrolling animation along the path


Bonus:
There is a really nice online tool to create and edit SVG paths. Easily add or change d attribute commands - https://yqnn.github.io/svg-path-editor/

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: chill_pupper

79570387

Date: 2025-04-12 11:29:47
Score: 10.5
Natty: 7.5
Report link

i think this grammer is ambiguous. But i am not able to solve it can anyone help me ?

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): i am not able to
  • RegEx Blacklisted phrase (3): can anyone help me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AKASH KUMAR

79570386

Date: 2025-04-12 11:28:46
Score: 4.5
Natty: 5.5
Report link

Check out this guide for implementing themed icons in android, it also cover how to craft multi-tone themed icons

https://medium.com/proandroiddev/android-adaptive-themed-icons-guide-8e690263f7aa

enter image description here

Reasons:
  • Blacklisted phrase (1): this guide
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Dinoy Raj

79570382

Date: 2025-04-12 11:25:45
Score: 1
Natty:
Report link

Since Python 3.10, it is possible to use pairwise from itertools:

from itertools import islice, pairwise

result = list(islice(pairwise(my_list), 0, None, 2))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: uhrm

79570381

Date: 2025-04-12 11:24:44
Score: 2.5
Natty:
Report link

Nevermind I found https://www.reddit.com/r/asm/comments/opbsm0/no_such_file_or_directory_when_trying_to_run_a/

The answer was the dynamic linker didn't exist. Ld was using the wrong path for some reason. Fixed it and it works now.

ld --dynamic-linker=/lib64/ld-linux-x86-64.so.2 -lc ./Cat.bin ./Dog.bin ./Cow.bin ./Util.bin ./AnimalSounds.bin -o animalprogram.bin

is what finally worked

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Charles Lentz

79570378

Date: 2025-04-12 11:22:43
Score: 5
Natty: 4
Report link

Thank you @Strahinja, this worked for me. Cheers!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): Cheers
  • Whitelisted phrase (-1): this worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Strahinja
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Nick Kay

79570375

Date: 2025-04-12 11:19:42
Score: 1.5
Natty:
Report link

I had the same problem and it was because when generating the access token on the app page on the Vimeo dev site, you need to pick "Authenticated (you)" instead of "Unauthenticated".

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

79570371

Date: 2025-04-12 11:16:41
Score: 2.5
Natty:
Report link

Could you please validate if you have the SSO set up on Snowflake?

If not, please create a security integration of type SAML on Snowflake. Then, when you see a pop-up when you initiate the connection to authenticate, Authenticate via SSO.

browser-based SSO authentication

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: anshul.anand

79570370

Date: 2025-04-12 11:15:41
Score: 1
Natty:
Report link

Found the solution. The use of the deprecated attribute "resizableActivity" was the culprit:

<application
    ...
    android:resizeableActivity="false"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Stéphane

79570365

Date: 2025-04-12 11:14:40
Score: 1
Natty:
Report link
  1. Go to your package and click "Show in Finder":

    Show in finder

  2. Open it in terminal (type cd and drag your package folder here)

    cd

  3. Do xcodebuild -list to see your package schemes

    ...
        Schemes:
          SnapKit
    
  4. Run tests for your scheme:

    xcodebuild -scheme YOUR_SCHEME test -destination "platform=iOS Simulator,name=iPhone 16 Pro,OS=latest"
    
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kiryl Famin

79570356

Date: 2025-04-12 11:05:38
Score: 3.5
Natty:
Report link

ykrop, thanks a lot for this answer because I've lost 5 days to find solution but yours is very simple and solved my problem.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mkp.netcup2

79570355

Date: 2025-04-12 11:05:38
Score: 2
Natty:
Report link

You're right — while they’re related, they’re not exact synonyms:

So, separators and terminators are both types of delimiters.

Need help working with separators? Check out Comma Separator Tool to easily format your lists online.

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

79570352

Date: 2025-04-12 11:00:37
Score: 1
Natty:
Report link

Based on how memory allocation works, you need to add the index into an complex type. So you need a findex object:

findex = { value: 0 }

When you modify the value, it saves it on the object findex which remains at the same adress space

function Base64toPDFandSave (base64String, filename) {

    const fs = require('fs');
    const path = require('path');

    // Remove the prefix if it exists
    const base64Data = base64String.replace(/^data:application\/pdf;base64,/, "");

    // Define the path to save the PDF file on the user's desktop
    const desktopPath = path.join(require('os').homedir(), 'Desktop');
    const filePath = path.join(desktopPath, filename);

    // Write the PDF file
    fs.writeFile(filePath, base64Data, 'base64', (err) => {
    if (err) {
    console.error('Error saving the file:', err);
    } else {
    console.log('PDF file saved successfully at:', filePath);
    }
    });

}

function JsontoBase64 (jsonData, filename) {
    // Verifica se jsonData é um objeto
    if (typeof jsonData !== 'object' || jsonData === null) {
        throw new Error("Entrada inválida: deve ser um objeto JSON.");
    }

    // Função recursiva para percorrer o JSON e encontrar os campos "BytesBoleto"
    function procurarBytesBoleto(obj, fname, findex) {
        for (const key in obj) {
            console.log("......")
            console.log(key + "::" + findex.value);
            if (obj.hasOwnProperty(key)) {
                if (key === 'BytesBoleto' && typeof obj[key] === 'string') {
                    findex.value= findex.value+1;
                    console.log("BytesBoleto:"+findex.value);
                    Base64toPDFandSave(obj[key], fname+findex.value.toString()+'.pdf');
                } else if (typeof obj[key] === 'object') {
                    console.log("Recursiva:"+findex.value);
                    procurarBytesBoleto(obj[key], fname, findex); // Chama a função recursivamente
                }
            }
        }
    }
    const findex = { value: 0}
    procurarBytesBoleto(jsonData, filename, findex);    
}

JsontoBase64 (jsonobj, 'boleto');

Reasons:
  • RegEx Blacklisted phrase (2): encontrar
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tomescu Mihail

79570346

Date: 2025-04-12 10:56:36
Score: 1.5
Natty:
Report link
$parsedTime = Carbon::parse($value);
$minute = $parsedTime->minute + $parsedTime->hour * 60; 
return $minute;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Admin

79570327

Date: 2025-04-12 10:43:33
Score: 0.5
Natty:
Report link

ValidatingAdmissionPolicies don't support PATCH operations. That's the root cause of such behaviour

kubectl scale and KEDA use PATCH operations so they don't invoke ValidatingAdmissionPolicies.

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

79570320

Date: 2025-04-12 10:36:32
Score: 0.5
Natty:
Report link

This works with modern Apache. All the and things did not work for me.

ExpiresActive Off
Header set Cache-Control "no-store, no-cache, must-revalidate, max-age=0"
Header set Pragma "no-cache" 

<If "%{REQUEST_URI} =~ m#^/assets/.*$#">
  ExpiresActive On
  ExpiresDefault "access plus 1 year"
  Header set Cache-Control "max-age=31536000, public"
  Header unset Pragma 
</If>
Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
Posted by: Holtwick

79570317

Date: 2025-04-12 10:35:31
Score: 0.5
Natty:
Report link

My reading of the paper is that the learned embeddings are tied for the source and target language, and the same weight matrix is used to decode the decoder representations into next token logits.

Tokenizers such as byte level BPE will encode basically any language (eg expressed in utf-8) into the same token vocabulary, so you only need one embedding matrix to embed these tokens. The embedding associates with each integer token a vector of size $d_\text{model}$. This is an internal representation for that token. At the end of the decoder stack, the decoder features are compared again (dot product) with these representations to get the next token logits.

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

79570316

Date: 2025-04-12 10:34:30
Score: 5
Natty:
Report link

did you find the solution? I am having the same problem on deepseekr1 and falcon3:10b and it seems to always happen on the same questions. It worked from question 1-6 and 8 but gave no response on question 7,9,10.

import ollama
import time
import traceback
import json

models = [ 
    "falcon3:10b"
]

questions = [
    r"Solve the PDE: \(u_{tt}=c^{2}u_{xx}\),with initial conditions \(u(x,0)=\sin (x)\) ,\(u_{t}(x,0)=0\).",
    "Compute the Lebesgue integral of the Dirichlet function on [0,1].",
    "Design a nondeterministic Turing machine that decides the language L={0^n 1^n∣n≥0}",
    "Prove that the halting problem is undecidable without referencing diagonalization.",
    "Optimize the Fibonacci sequence calculation to O(1) space complexity.",
    "Derive the Euler-Lagrange equations for a pendulum with air resistance proportional to velocity.",
    "Explain the Born rule in quantum mechanics and its interpretation.",
    "Explain the Black-Scholes PDE and its assumptions. Derive the closed-form solution for a European call option.",
    "Describe the Diffie-Hellman key exchange protocol and its vulnerability to quantum attacks.",
    "Model the spread of a virus using a SIR model with time-varying transmission rates.",
    "Write a Python function to compute the nth prime number, optimized for n > 10^6",
    "If the roots of lx2+2mx+n=0 are real & distinct, then the roots of (l+n)(lx2+2mx+n)=2(ln−m2)(x2+1) will be:",
    r"show that (without induction) $$\frac{1}{\displaystyle\prod_{i=0}^{i=n}A_{i}}=n!\int\limits_{|\Delta^{n}|}\frac{\mathrm d\sigma}{\left( \displaystyle \sum\limits_i s_i A_i \right)^n}$$ where $\mathrm d\sigma$ is the Lebesgue measure on the standard $n$-simplex $|\Delta^{n}|$, and $s_i$ are dummy integration variables."
]

log_file = r"C:\Users\ubuntu\Desktop\math model test results.txt"
max_retries = 3
retry_delay = 10  # seconds
wait_between_prompts = 30  # seconds

def log(message):
    print(message)
    with open(log_file, "a", encoding="utf-8") as f:
        f.write(message + "\n")

def get_resume_info(log_file_path, models):
    model_data = {}  # {model: {'last_attempted': int, 'last_completed': int}}
    current_model = None
    last_model = None

    try:
        with open(log_file_path, 'r', encoding='utf-8') as f:
            for line in f:
                line = line.strip()
                if line.startswith('=== Testing Model: '):
                    model_name = line[len('=== Testing Model: '):].split(' ===', 1)[0].strip()
                    if model_name in models:
                        current_model = model_name
                        if current_model not in model_data:
                            model_data[current_model] = {'last_attempted': 0, 'last_completed': 0}
                        last_model = current_model
                elif line.startswith('Question '):
                    if current_model:
                        q_num = int(line.split()[1].split(':')[0])
                        model_data[current_model]['last_attempted'] = q_num
                elif line.startswith('Response from '):
                    if current_model and model_data[current_model]['last_attempted'] > model_data[current_model]['last_completed']:
                        model_data[current_model]['last_completed'] = model_data[current_model]['last_attempted']
    except FileNotFoundError:
        pass

    if last_model:
        data = model_data.get(last_model, {'last_attempted': 0, 'last_completed': 0})
        if data['last_attempted'] > data['last_completed']:
            # Resume at the incompletely logged question
            return last_model, data['last_attempted']
        else:
            # Resume at next question
            return last_model, data['last_completed'] + 1
    else:
        return None, 1  # Start fresh

# Determine where to resume
last_model, start_question = get_resume_info(log_file, models)

start_model_index = 0
if last_model:
    try:
        start_model_index = models.index(last_model)
        # Check if we need to move to next model
        if start_question > len(questions):
            start_model_index += 1
            start_question = 1
    except ValueError:
        pass  # Model not found, start from beginning

# Clear log only if starting fresh
if last_model is None:
    open(log_file, "w").close()

for model_idx in range(start_model_index, len(models)):
    model = models[model_idx]
    log(f"\n=== Testing Model: {model} ===\n")
    
    # Determine starting question for this model
    if model == last_model:
        q_start = start_question
    else:
        q_start = 1
    
    for q_idx in range(q_start - 1, len(questions)):
        question = questions[q_idx]
        i = q_idx + 1  # 1-based index
        
        # Optionally, add an explicit end-of-answer cue to the question
        # question += "\n\nPlease ensure that your answer is complete and end with '#END'."
        
        log(f"Waiting {wait_between_prompts} seconds before next prompt...\n")
        time.sleep(wait_between_prompts)
        
        log(f"Question {i}: {question}")
        attempt = 0
        success = False
        while attempt < max_retries and not success:
            try:
                start_time = time.time()
                response = ollama.chat(
                    model=model,
                    messages=[{"role": "user", "content": question}]
                )
                time_taken = time.time() - start_time
                
                # Log raw response for debugging
                log(f"Raw response object (string): {str(response)}")

                
                content = response.get('message', {}).get('content', '').strip()
                
                # Check if the response seems suspiciously short
                if len(content) < 50:
                    log(f"⚠️ Warning: Response length ({len(content)}) seems too short. Possible incomplete output.")
                
                log(f"\nResponse from {model}:\n{content}")
                log(f"Time taken: {time_taken:.2f} sec\n" + "-" * 60)
                success = True
            except Exception as e:
                attempt += 1
                error_info = f"Attempt {attempt} failed for model {model} on question {i}: {e}"
                log(error_info)
                if attempt < max_retries:
                    log(f"Retrying in {retry_delay} seconds...\n")
                    time.sleep(retry_delay)
                else:
                    log(f"Failed after {max_retries} attempts.\n")
                    log(traceback.format_exc())
                    log("-" * 60)

input('Press Enter to exit')
Reasons:
  • Whitelisted phrase (-1): It worked
  • RegEx Blacklisted phrase (3): did you find the solution
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I am having the same problem
  • Contains question mark (0.5):
  • Starts with a question (0.5): did you find the solution
  • Low reputation (1):
Posted by: SeveralExtent

79570299

Date: 2025-04-12 10:18:26
Score: 1
Natty:
Report link

Apply a horizontal reduction and then a vertical reduction: df.fold(lambda s1, s2: s1 | s2).any()

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

79570296

Date: 2025-04-12 10:16:25
Score: 3.5
Natty:
Report link

The buffer is automatically refilled by the sdk, you don't have to do anything.

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

79570289

Date: 2025-04-12 10:10:24
Score: 2.5
Natty:
Report link

This answer already suggests:

  1. Open workspace in Xcode
  2. Select Host app Target -> Edit Scheme -> Build

Edit Scheme

  1. Enable test for all unit test suites showing in the list

Build

  1. Have a clean build and test

Clean

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

79570282

Date: 2025-04-12 10:02:21
Score: 4
Natty:
Report link

Check the "Hot Reload on File Save" dropdown menu option and run your project.

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

79570281

Date: 2025-04-12 09:58:20
Score: 2.5
Natty:
Report link

The reason why the object factory method is not taken into account is not because it is a ```default``` method in an interface. Rather, the ```ReferenceCycleTracking``` parameter is missing the annotation ```@Context``` in my example.

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

79570279

Date: 2025-04-12 09:56:20
Score: 0.5
Natty:
Report link

Hello and welcome to the community!

  1. You can modify yaml files using builtin modules.
    Multiple examples are provided for another question from 2015: Is there a yaml editing module for ansible?
  2. Based on output and path in error, I can say that module is missed on managed node (torizon@box8). Here's an example of downloading it to your host and installing to managed:
tasks:
  - name: "Download jmespath"
    ansible.builtin.shell:
      executable: "/bin/bash"
      cmd: |
        set -o pipefail
        python3 -m pip \
        download jmespath \
          --dest /tmp/ \
          --no-input \
        | grep /
    become: false
    changed_when: false
    check_mode: false
    delegate_to: "localhost"
    register: "pip_download_jmespath"

  - name: "Copy jmespath"
    ansible.builtin.copy:
      src: "{{ pip_download_jmespath.stdout.split(' ')[-1] }}"
      dest: "/tmp/jmespath/"
      mode: "0664"

  - name: "Install jmespath from downloaded package"
    ansible.builtin.pip:
      name: "jmespath"
      extra_args: >
        --no-index --find-links=file:///tmp/jmespath/
    when: "not ansible_check_mode"
Reasons:
  • Blacklisted phrase (1): another question
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrei Andriushin

79570278

Date: 2025-04-12 09:54:19
Score: 3
Natty:
Report link

unfortunately i cant comment since i dont have 50rep but there’s no special @ts-self-types. You just need to: Add // @ts-check to your .js files or define the types in a .d.ts next to the file and avoid @ts-check if only using declarations. As for a way to make JSDoc types work directly with deno doc / JSR, No, not currently. deno doc and JSR ignore JSDoc types. They only parse TypeScript declarations with what i am aware of.

Use .ts for new libraries if publishing on JSR. If you want .js compatibility, keep .js as the implementation and .d.ts for API or for better maintainability, consider generating .d.ts from .ts and bundling for JSR.

Reasons:
  • RegEx Blacklisted phrase (1): cant comment
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @ts-self-types
  • User mentioned (0): @ts-check
  • User mentioned (0): @ts-check
  • Low reputation (1):
Posted by: Frenk Side

79570273

Date: 2025-04-12 09:45:16
Score: 1
Natty:
Report link

just add folder libs to your project, then put this code to your gradle.kts (Module)

...

sourceSets {
    getByName("main") {
        jniLibs.srcDirs("libs")
    }
}

dependencies {
...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: viroff