79526225

Date: 2025-03-21 17:42:19
Score: 0.5
Natty:
Report link

It's easy with static data like this:

"properties": {
          "type": { "type": "string", "enum": [ "cell", "home", "work" ] },
          "number": { "type": "string" }
        },

But what should be done if my schema is dynamic?

enum can have different values for different element of array.

{
label,
selectedIds
}
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Sergey Nikolaevich Guk

79526223

Date: 2025-03-21 17:41:19
Score: 3.5
Natty:
Report link

Same issue for me, adding Supabase + Auth worked for me

Reasons:
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (1): Same issue
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: natalyarockets

79526221

Date: 2025-03-21 17:40:18
Score: 3
Natty:
Report link

In case anyone else finds their way here, I found this list that matches Darwin kernel version to apple OS versions:
https://theapplewiki.com/wiki/Kernel#Versions

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

79526215

Date: 2025-03-21 17:37:18
Score: 1.5
Natty:
Report link

You can go to Tools > Options > Text Editor > All Languages and then check "Line numbers" it will then show you line numbers.

If checkbox is "indeterminate" (showing dash instead of checked) state then click twice to mark it as checked.

Settings

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

79526174

Date: 2025-03-21 17:20:15
Score: 2.5
Natty:
Report link

use string(SHA1) to get a unique name for the output file, use that as a target name in add_custom_target.

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

79526165

Date: 2025-03-21 17:17:14
Score: 2
Natty:
Report link

No integrated Traefik middleware for that. You can check the list of plugins for Traefik.

I doubt that it will be that easy, because you will have multiple requests for dependencies, which might not include the initial query param or header, so you probably need to establish a session with a cookie.

Maybe try with ForwardAuth again, I just created a test setup with a dummy node.js auth container, maybe you can adapt that for your requirements and add a session cookie.

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

79526164

Date: 2025-03-21 17:17:14
Score: 0.5
Natty:
Report link

I figured it out. There's a seemingly new setting in Xcode 15 called "ENABLE_USER_SCRIPT_SANDBOXING". I turned that off and all is good now. However, I have to figure out what the implications of this are.

Reasons:
  • Whitelisted phrase (-2): I figured it out
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Michael Gaines

79526156

Date: 2025-03-21 17:13:13
Score: 1
Natty:
Report link

I spent a lot of time and decided to share the solution.
And I found this to be the best solution for me.

public class SomeDbContext :DbContext
{
...
[DbFunction("set_and_get_upp_user_instance", "public")]
public IQueryable<AppUser> SetAndGetUppUserInstance(Guid userId) => FromExpression(() => this.SetAndGetUppUserInstance(userId));
...
}
var appUser = await this._context.SetAndGetUppUserInstance(userId).FirstOrDefaultAsync(c => c.UserId == userId);

Apologies for postgresql, I'm new to this.

CREATE OR REPLACE FUNCTION set_and_get_upp_user_instance(p_user_id uuid)
RETURNS TABLE (
    AppUserID uuid,
    UserID uuid,
    LastIPAddress character varying(64),
    IsOnline BOOLEAN,
    LastConnected TIMESTAMPTZ,
    LastDisconected TIMESTAMPTZ,
    CurrentLanguageID uuid
 )
 LANGUAGE plpgsql 
AS $function$
BEGIN
    RETURN QUERY SELECT * FROM get_app_user_by_id(p_user_id);

    IF NOT FOUND THEN
        INSERT INTO "AppUser" (UserID, LastIPAddress, IsOnline, CurrentLanguageID)
        VALUES (p_user_id, '124', true, get_default_language());
    END IF;

    RETURN QUERY SELECT * FROM get_app_user_by_id(p_user_id);
END;
$function$;
Reasons:
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Илья Ступин

79526155

Date: 2025-03-21 17:13:13
Score: 3
Natty:
Report link

I never tried it, but it seems if the set_integer_now_func will help to allow you to use the integer:

https://github.com/timescale/timescaledb/blob/d1d74dcc92892c72fe93ddab7002026d2aaecdd7/tsl/src/bgw_policy/compression_api.c#L120

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

79526151

Date: 2025-03-21 17:11:13
Score: 2.5
Natty:
Report link

Clemens in the comments above answered the question. I just assigned Image directly to the PictureBox.Image and it worked.

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

79526150

Date: 2025-03-21 17:11:13
Score: 2
Natty:
Report link
import util from 'util';
console.log(util.inspect(conversation, false, null));
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ollioikarinen

79526144

Date: 2025-03-21 17:10:12
Score: 7 🚩
Natty: 5.5
Report link

I have the same question smal 2.0 with jwt

Reasons:
  • Blacklisted phrase (1): I have the same question
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same question
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hello boy Yuo

79526129

Date: 2025-03-21 17:03:09
Score: 8.5 🚩
Natty: 4
Report link

I know the question is a couple of years old, but I am stuck at the exact same use case. I am also trying to access the information which is located under the "Docker Info" tab in a key/value pair in the Artifactory UI. I tried the approach in the accepted answer, which does return the properties object. But for me there is no .label part included. Basically I think this is because the information I want to request is not in the manifest.json. It is located a level "higher".

To help visualize this, I have the following screenshot:
enter image description here

Here you can see on the left my Artifactory with the selected Docker image. I want to request the information from the key "release". On the right side I opened the browser developer tools to check the request that gets executed when loading the Artifactory page. Under Network in the tab "Fetch/XHR" you can find an entry "dockerv2". When selecting this you can see under "Response" a "tagInfo" object which contains the desired information. So I guess it should be possible to request that information via an API call.

I tried the following:

curl -uadmin:pass https://artifactory.myUrl.io/ui/api/v1/ui/views/dockerv2/repo-name/path-to-image

But this returns 404 not found. In my opinion the URL is not right (because contains ui parts), but the developer tools shows this as the Request URL.
So I am kinda stuck on how to figure out the correct request. I would say it is possible to retrieve the desired information, because it is available and it should be accessible. Anyone has an idea on how to approach this? Thanks in advance!

If more information is needed, please let me know.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): please let me know
  • RegEx Blacklisted phrase (1.5): I am stuck
  • RegEx Blacklisted phrase (3): Thanks in advance
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Bernte

79526125

Date: 2025-03-21 17:00:09
Score: 1.5
Natty:
Report link

The LOCKLPM5 bit was not cleared in the slave code which means that the GPIO pins were not unlocked, therefore preventing proper operation of P1.3 and P1.2 in I2C mode.

The line:

PM5CTL0 &= ~LOCKLPM5

clears the LOCKLPM5 bit and unlocks the GPIO pins on the MCU.

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

79526124

Date: 2025-03-21 17:00:09
Score: 2
Natty:
Report link

utilize:

"collection.include.list": "databaseName.collectionName1, databaseName.collectionName2"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Rafael Peggau

79526100

Date: 2025-03-21 16:47:06
Score: 1
Natty:
Report link

This extra code you're seeing during "start execution" is Dataform's way of ensuring the environment is properly set up before running your SQL. To put it simply, it's taking care of schema creation if it doesn't already exist. This is a built-in feature to prevent errors if the target schema is missing. This is a best practice for production deployments as it prevents failures if the schema doesn't already exist.

You don't actually need to remove this generated code. It's crucial for robust deployments.

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

79526086

Date: 2025-03-21 16:40:05
Score: 5
Natty: 5
Report link

bruh

why no answers is anyone reads sauce labs here?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Z T M N

79526082

Date: 2025-03-21 16:38:04
Score: 5.5
Natty: 5.5
Report link

....but it won't for more than 5000 pixels.

Is there a solution to get all the coordinates of pixels in a given image? here a image represent more than 5 US states at the resolution of 30m.

Reasons:
  • Blacklisted phrase (3): Is there a solution
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Amrit Shrestha

79526076

Date: 2025-03-21 16:36:03
Score: 1
Natty:
Report link

Using gradle you need to add the following to build.gradle:

bootRun {
    standardInput = System.in
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: User8461

79526075

Date: 2025-03-21 16:35:02
Score: 1
Natty:
Report link
(define (recognize-move label tape)
   (cond ((equal?(assoc label abbreviations)#f)(print "erreur"))
    ((or (eq? label (car tape))
          (member (car tape) (assoc label abbreviations)))      
      ((list (cdr tape)))
     (eq? label '|#|)
          (list tape)))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: c.talarmin

79526070

Date: 2025-03-21 16:34:02
Score: 1
Natty:
Report link

Using gradle you need to add the following to build.gradle:

bootRun {
    standardInput = System.in
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: User8461

79526068

Date: 2025-03-21 16:34:02
Score: 1.5
Natty:
Report link

The 403 Forbidden error usually means that the server understands the request but refuses to authorize it. Missing or Invalid Spotify Scopes In your refreshAccessToken() function, you are refreshing the token but not specifying the required scopes. Without proper scopes, you might get a 403 error when trying to access playlist data.

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

79526067

Date: 2025-03-21 16:34:02
Score: 3.5
Natty:
Report link

You can replace @EnableJpaRepositories with @EnableEnversRepositories and it will work as needed.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @EnableJpaRepositories
  • User mentioned (0): @EnableEnversRepositories
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: vbg

79526066

Date: 2025-03-21 16:34:02
Score: 3.5
Natty:
Report link

Please review the splunk community link for an answer. https://community.splunk.com/t5/Getting-Data-In/Splunkforwarder-Startup-Error-in-Docker-containers/m-p/740901. This solution worked for me who had the same error messages.

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

79526064

Date: 2025-03-21 16:33:02
Score: 0.5
Natty:
Report link

As of 2025-03-21 the API appears to accept up to 12 dimensions at a time despite what the documentation says. The discovery document for the beta version of the API reads:

Requests are allowed up to 9 dimensions.

My requests with 12 dimensions are currently succeeding though.

Source: https://analyticsdata.googleapis.com/$discovery/rest?version=v1beta

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

79526060

Date: 2025-03-21 16:33:02
Score: 4
Natty:
Report link

Have You tried verifying & retrieving data using same tokens with Postman or cURL ?

Reasons:
  • Whitelisted phrase (-1): Have You tried
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Shane Dushyantha

79526053

Date: 2025-03-21 16:32:01
Score: 2.5
Natty:
Report link

The uniqueness of an item in HashSets is ultimately determined by the equals() method of the underlying object. See these references in JDK to a comment and the specific code.

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

79526050

Date: 2025-03-21 16:30:01
Score: 1.5
Natty:
Report link

Since strings in C# are variable-based, they starts with 32-bit integer that tells how many characters stored in string. So the answer will be 2^32 if we ignore the limitation of the system.

If we imagine that we have completely filled the memory, it's representation in memory will have: 8 (SyncBlock) + 8 (Virtual Table Pointer) + 4 (m_arrayLength before .NET Framework 4.0, or padding for later versions) + 2 * length (characters itself) + 2 (null-terminator) = (26 + 2 * length) bytes in 64-bit system.

In reality, you'll never fill out the string completely, because you'll hit the 2Gb limits faster :)

I recommend to read this article for deeper knowledge about string implementation (use translator): https://habr.com/ru/articles/727300/

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Redplcs

79526048

Date: 2025-03-21 16:29:00
Score: 2.5
Natty:
Report link

Unfortunately, no there isn't.

My recommendation is to use a .NET Framework that supports cross-platform.
Avalonia is my go-to when it comes to cross-platform UI. I would stay away from NET Maui as it is just riddled with bugs and a pain to use.

I am currently working on a project porting over a lot of WinForms Apps to Avalonia, so if you need any help feel free to reach out!

Reasons:
  • Blacklisted phrase (1): any help
  • No code block (0.5):
  • Low reputation (1):
Posted by: nosniktaj

79526045

Date: 2025-03-21 16:27:00
Score: 2.5
Natty:
Report link

I found my issue and it was actually caused by running as sudo vs the user. When I was executing the AppleScript in the script editor it was running as my user account and editing the com.apple.dock.plist in my /User/.... folder. This has the intended behaviour of editing my dock. When I ran the same code, osascript or bash directly, as sudo it did not edit the com.apple.dock.plist in either my user directory or the system directory /Library/Preferences/.

I am now trying to use PlistBuddy to explicitly edit the file that I want, taking some time to learn today

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Daniel T.S

79526034

Date: 2025-03-21 16:23:59
Score: 1.5
Natty:
Report link

Per recommendation in atob function documentation, use Buffer.

const newUint8Array = Uint8Array.from(Buffer.from(text,'base64'));

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

79526028

Date: 2025-03-21 16:20:58
Score: 2.5
Natty:
Report link

Although @Daniel answers was working and correct, but I think using user agent is not working in all of the cases and we should check every browser with the version to understand if its compatible or not.
At the end I came up with this solution that I am checking with the "flutter-view" element to see if its available or not and if not so I conclude that the browser is not supporting.
I would appreciate if anyone came up with a better solution.

for this solution i changed my index.html in this way:

<body>
  <!-- Flutter App Container -->
  <div id="flutter-app" style="display: none;">
    <script src="flutter_bootstrap.js"></script>
  </div>

  <script>

    (function() {
      var MIN_VERSIONS = {
        chrome: 120,
        firefox: 72,
        safari: 14,
        edge: 84
      };

      function checkFlutterView() {
        setTimeout(function() {
          const flutterViewElement = document.querySelector('flutter-view');

          if (flutterViewElement) {
            console.log("Browser supported. Showing app.");
          } else {
            console.log("Browser NOT supported. Showing error message.");
            showUnsupportedBrowserMessage();
          }
        }, 2000); // Wait 2 seconds to allow Flutter to load
      }

      function showUnsupportedBrowserMessage() {
        var messageDiv = document.createElement('div');
        messageDiv.style.position = 'fixed';
        messageDiv.style.top = '0';
        messageDiv.style.left = '0';
        messageDiv.style.width = '100%';
        messageDiv.style.height = '100%';
        messageDiv.style.backgroundColor = '#ffffff';
        messageDiv.style.display = 'flex';
        messageDiv.style.flexDirection = 'column';
        messageDiv.style.alignItems = 'center';
        messageDiv.style.justifyContent = 'center';
        messageDiv.style.padding = '20px';
        messageDiv.style.textAlign = 'center';
        messageDiv.style.fontFamily = 'Arial, sans-serif';
        messageDiv.style.zIndex = '9999';

        var header = document.createElement('h1');
        header.style.color = '#e53935';
        header.style.marginBottom = '20px';
        header.textContent = 'Browser Not Supported';

        var message = document.createElement('p');
        message.style.maxWidth = '600px';
        message.style.lineHeight = '1.5';
        message.style.marginBottom = '20px';
        message.textContent = 'Your browser is not supported by this application. Please use one of the following browsers:';

        var browserList = document.createElement('ul');
        browserList.style.listStylePosition = 'inside';
        browserList.style.textAlign = 'left';
        browserList.style.display = 'inline-block';
        browserList.style.marginBottom = '30px';

        var browsers = [
          'Google Chrome (version ' + MIN_VERSIONS.chrome + ' or later)',
          'Mozilla Firefox (version ' + MIN_VERSIONS.firefox + ' or later)',
          'Microsoft Edge (version ' + MIN_VERSIONS.edge + ' or later)',
          'Safari (version ' + MIN_VERSIONS.safari + ' or later)'
        ];

        browsers.forEach(function(browserText) {
          var item = document.createElement('li');
          item.style.margin = '10px 0';
          item.textContent = browserText;
          browserList.appendChild(item);
        });

        var updateMessage = document.createElement('p');
        updateMessage.style.fontWeight = 'bold';
        updateMessage.textContent = 'Please update your browser or switch to a supported one to continue.';

        messageDiv.appendChild(header);
        messageDiv.appendChild(message);
        messageDiv.appendChild(browserList);
        messageDiv.appendChild(updateMessage);
        
        document.body.innerHTML = '';
        document.body.appendChild(messageDiv);
      }

      // Run the check once the document is fully loaded
      document.addEventListener('DOMContentLoaded', checkFlutterView);
    })();
  </script>

</body>
</html>
Reasons:
  • Blacklisted phrase (1.5): would appreciate
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Daniel
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mohsen

79526016

Date: 2025-03-21 16:14:57
Score: 2.5
Natty:
Report link

try to clear route cache php artisan route:cache

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

79526012

Date: 2025-03-21 16:14:57
Score: 1
Natty:
Report link

with Ashkan solution anywhere in the page

<style>
 .ui.table thead tr:first-child>th {
 position: sticky !important;
 top: 0;
 z-index: 2;
 }
</style>

<div style="overflow-y: auto; overflow-x: hidden; resize: vertical; height: 400px;">
<table class="ui celled striped selectable table">
...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ParMesSoins

79525996

Date: 2025-03-21 16:09:56
Score: 7
Natty: 7
Report link

how do you make this UML diagram ? with plantUML ?

i cannot find in documentation how to round corners like you do? (even ai are out of range)
Thank you

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): how do you
  • Blacklisted phrase (1.5): i cannot find
  • Blacklisted phrase (0.5): i cannot
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): how do you
  • Low reputation (1):
Posted by: frank nowhere

79525989

Date: 2025-03-21 16:06:54
Score: 9.5 🚩
Natty: 5.5
Report link

Did you find a solution for this?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution
  • 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 find a solution for this
  • Low reputation (1):
Posted by: Leonardo Gama

79525980

Date: 2025-03-21 16:01:53
Score: 2
Natty:
Report link

Thank you very much @β.εηοιτ.βε. Your answer pointed me to the good documentation.

And I found vars[item] to complete my research (here Ansible: how to construct a variable from another variable and then fetch it's value).

Thus my last version, that works with a list of variables :

---
- name: Playbook to try assert module
  hosts: all
  gather_facts: false

  vars:
    mandatories:
      - variableA
      - variableB
      - variableThatDoesNotExist

  tasks:
    - name: Check mandatory variableA
      assert:
        quiet: false
        that:
          - variableA is defined
          - variableA | length > 0

    - name: Check mandatory variableB
      assert:
        quiet: false
        that:
          - variableB is defined
          - variableB | length > 0

    - name: Check mandatory variables with loop
      assert:
        quiet: false
        that:
          - vars[item] is defined
          - vars[item] | length > 0
      loop: "{{ mandatories }}"

    - meta: end_play
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Michel Briand

79525979

Date: 2025-03-21 16:01:53
Score: 3.5
Natty:
Report link

just change the overflow-x to scrollbar in .test-table css and it will work fine.

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

79525973

Date: 2025-03-21 15:58:53
Score: 0.5
Natty:
Report link

You need to made chagnes in css

Here is code:

<div class="bg-[linear-gradient(to_right,var(--tw-gradient-stops))] from-pink-500 via-purple-500 via-blue-500 to-pink-500 bg-[length:200%_100%] animate-[gradientMove_4s_linear_infinite]">
         <!-- Content will be here  -->
</div>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kamran Khalid

79525970

Date: 2025-03-21 15:58:53
Score: 2
Natty:
Report link
import turtle

# Configuración inicial
screen = turtle.Screen()
screen.bgcolor("lightblue")

# Crear una tortuga para dibujar
pen = turtle.Turtle()
pen.shape("turtle")
pen.speed(10)

# Función para dibujar un pétalo
def draw_petal():
    pen.color("yellow")
    pen.begin_fill()
    pen.circle(100, 60)
    pen.left(120)
    pen.circle(100, 60)
    pen.end_fill()
    pen.left(120)

# Función para dibujar el centro de la flor
def draw_center():
    pen.color("brown")
    pen.begin_fill()
    pen.circle(20)
    pen.end_fill()

# Función para dibujar una flor completa
def draw_flower():
    for _ in range(6):
        draw_petal()
    draw_center()

# Mover la tortuga a una posición inicial
pen.penup()
pen.goto(-50, 150)
pen.pendown()

# Dibujar la flor
draw_flower()

# Mover la tortuga a otra posición para dibujar otra flor
pen.penup()
pen.goto(200, -100)
pen.pendown()

# Dibujar otra flor
draw_flower()

# Finalizar
pen.hideturtle()
screen.mainloop()
Reasons:
  • Blacklisted phrase (2): Crear
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alejandro Largo

79525966

Date: 2025-03-21 15:56:52
Score: 0.5
Natty:
Report link

If you are using Host.CreateDefaultBuilder()

Host.CreateDefaultBuilder(args)
           ...
           .ConfigureWebHostDefaults(webBuilder =>
           {
               webBuilder.ConfigureKestrel(options => options.Limits.MaxRequestBodySize = 50 * 1024 * 1024);
               ...
           });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tropin Alexey

79525957

Date: 2025-03-21 15:54:51
Score: 6
Natty: 7
Report link

Excuse me. How do you use your own adapter with php?
I assume you're using php, right?

Reasons:
  • Blacklisted phrase (1): How do you
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Juan Antonio Santiago

79525941

Date: 2025-03-21 15:49:49
Score: 2.5
Natty:
Report link

For Linux machine, if you have installed pymongo using "pip install pymongo". I would recommend trying to export the PYTHONPATH by appending the site-packages location, like: export PYTHONPATH=$PYTHONPATH:/home/ec2-user/.local/lib/python3.11/site-packages and check again.

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

79525931

Date: 2025-03-21 15:46:48
Score: 4
Natty:
Report link

It may be that the process was killed by Colab due to OOM. Have you tried to reduce the batch_size?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hoshiyoru

79525907

Date: 2025-03-21 15:32:46
Score: 3
Natty:
Report link

I would be looking to find R code for this.

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

79525895

Date: 2025-03-21 15:28:45
Score: 1
Natty:
Report link

1 and 2 question: - create database temp:

CREATE TABLE Product (

ProductID INT PRIMARY KEY,

ProductName VARCHAR (100) NOT NULL, no items INT DEFAULI O, rate_per item INT,

total_price INI GENERATED ALWAYS AS (rate per_item * no items) STORED) :

  1. INSERT INTO Product (ProductID, ProductName, no items, rate_per item)

VALUES (1001,

'Prale G', 50, 10);

(1002,

'Product B', 20, 25),

(1003,

*Product_C'. 30, 35).

(1004,

"Product D',

(1005, Product E', 50, 55):

  1. :- select - from product where ProductID = * 1005*;

5) :- apdate produet set zate_per_iten = eo where ProduetiD i12003':

:- select ProductName, total price trom product wheze ProductID =-10011:

7)

:- delete from produet Where ProductID ="1004 :

  1. :- select ProductName from product:
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 159. Saniya Shaikh

79525888

Date: 2025-03-21 15:26:44
Score: 2
Natty:
Report link

I have the same problem, I fixed like that:

Fist, I make a class and write all of function I use:

// /src/common/utils/web_alternative.dart
void usePathUrlStrategy() {}

dynamic get window => null;

After that, I use it to import:

// When I want to use html
import 'package:vinh/src/common/utils/web_alternative.dart' if (dart.library.html) 'dart:html' as html;
// When I want to use usePathUrlStrategy
import 'package:vinh/src/common/utils/web_alternative.dart' if (dart.library.html) 'package:flutter_web_plugins/flutter_web_plugins.dart' show usePathUrlStrategy;

I can use that like it:

if (kIsWeb) {
  usePathUrlStrategy();
  html.window;
}
Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Whitelisted phrase (-2): I fixed
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (0.5):
Posted by: Vinh

79525881

Date: 2025-03-21 15:23:44
Score: 1
Natty:
Report link

AWS SDK provides JsonMapper

var jsonSchemaObject = JsonMapper.ToObject(jsonSchema);

new ToolSpecification
{   
    InputSchema = new ToolInputSchema { Json = Document.FromObject(jsonSchemaObject) }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Maksim Iakovlev

79525871

Date: 2025-03-21 15:20:43
Score: 0.5
Natty:
Report link

The proper way is:

import 'package:app_name/dart_application_1/dart_application_1.dart' as dart;

You can find your actual app_name on the top portion of your pubspec.yaml

name: app_name

Take note that this is only applicable to your predefined or customized dart files.

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

79525869

Date: 2025-03-21 15:19:43
Score: 3.5
Natty:
Report link

The original cordova-plugin-local-notification was fixed on 18. August 2024 and can be used again: https://github.com/katzer/cordova-plugin-local-notifications

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

79525860

Date: 2025-03-21 15:17:42
Score: 2
Natty:
Report link

I faced the similar situation, there could be multiple reasons-

you can try creating proxy or placing these files in Public folder of React App

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

79525855

Date: 2025-03-21 15:15:42
Score: 1.5
Natty:
Report link

You almost have it. All you to do is remove the outermost list() inside layout(). For completeness, the R reference documentation describes the namelength here.

plot_ly(pd, x = ~ x, y = ~ value, color = ~ variable) |>
    layout(hoverlabel = list(namelength = -1L))

plot

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

79525852

Date: 2025-03-21 15:14:41
Score: 2.5
Natty:
Report link

Elevating the comment to an answer: this is a bug. Tracked with github.com/apache/beam/issues/34089

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

79525851

Date: 2025-03-21 15:14:41
Score: 9 🚩
Natty: 4.5
Report link

@Kropek, did you ever get this one figured out? Running into the same issue..

Reasons:
  • RegEx Blacklisted phrase (3): did you ever get this
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Kropek
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: drgonso66

79525849

Date: 2025-03-21 15:14:41
Score: 3.5
Natty:
Report link

stuck one with same issue!!!!!!!!!!!!!!!

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Filler text (0.5): !!!!!!!!!!!!!!!
  • Low reputation (0.5):
Posted by: Abdul haseeb

79525837

Date: 2025-03-21 15:07:39
Score: 2
Natty:
Report link

Oh, thanx to @JON and @Manish !

I'm using a slightly improved version that checks the data type and outputs it in a convenient way if it's an object or an array.

//PHP log helper - root/log folder (v0.57)
function wr_log($log_msg)
{
    $log_path = $_SERVER['DOCUMENT_ROOT']."/log";

    if (!file_exists($log_path))
    {
        //create dir for logs
        mkdir($log_path, 0777, true);
    }

    $log_filename = $log_path.'/log_' . date('Y-m-d') . '.log'; //date('d-M-Y')

    if( is_array($log_msg) || is_object($log_msg) ) $log = print_r($log_msg, true);
    else $log = $log_msg;

    file_put_contents($log_filename, $log ."\n", FILE_APPEND);
}
Reasons:
  • Blacklisted phrase (1): thanx
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @JON
  • User mentioned (0): @Manish
  • Low reputation (1):
Posted by: Romaster590

79525826

Date: 2025-03-21 15:03:38
Score: 3.5
Natty:
Report link

The error caused by wrong channel config (configtx.yaml). In my case, I have a 3-level msp organization structure. And the MSPDir-Parameter was referencing the wrong level.

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

79525817

Date: 2025-03-21 15:01:38
Score: 1.5
Natty:
Report link

https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLChannel.html

This can be done now if you specify validation channel type.


A channel is a named input source that training algorithms can consume. The validation dataset size is limited to less than 2 GB. The training dataset size must be less than 100 GB. For more information, see Channel.
ChannelType
The channel type (optional) is an enum string. The default value is training. Channels for training and validation must share the same ContentType and TargetAttributeName. For information on specifying training and validation channel types, see How to specify training and validation datasets.

Type: String

Valid Values: training | validation

Required: No
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: shabam

79525815

Date: 2025-03-21 15:01:38
Score: 0.5
Natty:
Report link

An interesting way to perform C.R.U.D. in your Express.js API app without using delete is only using a post. You might be asked, Why post? Because you mostly needed to perform delete to pass an argument such as an ID or identifier to which specific record you're trying to delete. It's a matter of managing your functions in your API app and defining a corresponding method either post or get, even if you refrain from using the delete method request. Nonetheless, it depends on your system use case.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: DevQt

79525809

Date: 2025-03-21 14:59:38
Score: 3
Natty:
Report link

Do you mean to simply hide or solve this warning? If it is hidden,

import warnings

with warnings.catch_warnings():
    warnings.simplefilter("ignore", UserWarning)
    model.load_state_dict(state_dict, strict=False)
Reasons:
  • RegEx Blacklisted phrase (1.5): solve this warning?
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Hoshiyoru

79525807

Date: 2025-03-21 14:57:37
Score: 1
Natty:
Report link

Adding (installing) openssl in Dockerfile and changing node:20-alpine to node:18-slim fixed it for me.

# Install openssl
RUN apt-get update
RUN apt-get install -y openssl
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: atahan

79525804

Date: 2025-03-21 14:56:37
Score: 3.5
Natty:
Report link

Found the Fix for this particular Issue:

1.- Right click on gray icon file, select "Include in project" (On image "Exclude from project" after I included it)
2.- Push changes made on the .csproj including the file
enter image description here

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

79525786

Date: 2025-03-21 14:48:35
Score: 14
Natty: 8
Report link

I have the same problem. How did you resolved it ?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): did you resolved it
  • RegEx Blacklisted phrase (1.5): resolved it ?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: julie

79525767

Date: 2025-03-21 14:42:33
Score: 1.5
Natty:
Report link

(Tom from Overleaf Support here.)

It's not possible to get just the PDF from Overleaf and embed it automatically. You can turn on link-sharing and put the viewer link in your website if you don't mind people seeing the code. This will serve them the PDF every time they click the link.

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

79525765

Date: 2025-03-21 14:41:33
Score: 3.5
Natty:
Report link

I don't find any filter except by email. Where can I find the filter by template ID ?
Thanks for your help

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-0.5): Thanks for your help
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Camille

79525736

Date: 2025-03-21 14:27:30
Score: 3
Natty:
Report link

Your head becomes the next element of the linked list through head->next, but in main your start still points to the original head, but this head has been deleted.

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

79525723

Date: 2025-03-21 14:20:28
Score: 1.5
Natty:
Report link

I think that you might be successful with the command:

npm run test:coverage:file <your_file>

where test:coverage:file is

vitest run --coverage --testNamePattern
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Miki Bakaiki

79525709

Date: 2025-03-21 14:16:27
Score: 0.5
Natty:
Report link

Since invalidate caches is not suitable for me so I did the following:

  1. (Optional) Restart PC. I did it but I think it's not necessary

  2. Sync Gradle

  3. (Optional) Build -> Clean Project. It probably doesn't make much sense because of the next step but I did it to be sure

  4. run ./gradlew clean

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

79525686

Date: 2025-03-21 14:08:24
Score: 1
Natty:
Report link

To attach horizontal scrollbar, use...


skrolbar = ttk.Scrollbar(root, orient=HORIZONTAL, command=self.tree.xview)
self.tree.configure(xscroll=skrolbar.set)
skrolbar.pack(side=BOTTOM,fill=X)

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

79525681

Date: 2025-03-21 14:07:24
Score: 1
Natty:
Report link

AWS SDK provides JsonMapper

var jsonSchemaObject = JsonMapper.ToObject(jsonSchema);

new ToolSpecification
{   
    InputSchema = new ToolInputSchema { Json = Document.FromObject(jsonSchemaObject) }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Maksim Iakovlev

79525675

Date: 2025-03-21 14:03:24
Score: 1.5
Natty:
Report link

t-component mainly uses a variable or method to evaluate.
try adding this in the main component.

get seat_map_component(){
        return registry.category('components').get('seat_map_modal');
    };
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Odooooo

79525673

Date: 2025-03-21 14:02:23
Score: 2
Natty:
Report link

In the markup of the React Image Turntable there are two attributes which you can use to create a progress bar: enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Калистеника за всеки

79525666

Date: 2025-03-21 13:59:23
Score: 0.5
Natty:
Report link

In the whitesource agent config file, use the gradle.additionalArguments to set the env variables

gradle.additionalArguments=-Partifactory_user=${artifactory_user} -Partifactory_password=${artifactory_password}

Nothing worked. This is the only solution that worked for me.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: DharaniSanjai

79525663

Date: 2025-03-21 13:58:22
Score: 3
Natty:
Report link

I was able to get this error to go away by opening the xml file and deleting any leading spaces.

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

79525661

Date: 2025-03-21 13:58:22
Score: 1.5
Natty:
Report link

There is a lot of errors/warnings like that across the library with different types of conversions (in total more than 100):

  1. error: conversion to ‘float’ from ‘double’ may alter its value [-Werror=float-conversion]

  2. error: conversion to ‘unsigned char’ from ‘uint32_t {aka unsigned int}’ may alter its value [-Werror=conversion]

  3. error: conversion from ‘int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Werror=conversion]

Of course one can turn off Werror or Wconversion flags and then all this errors will disappear, but what if project requires compilation with this flags and how to find such types of errors in users code if these flags are turned off.

Maybe it is makes sense to precisely cast types to appropriate where it can cause compiler problem? E.g.
uint8_t Y = (uint8_t)(X); (in C)
uint8_t Y = static_cast<uint8_t>(X); (in C++)

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

79525660

Date: 2025-03-21 13:57:22
Score: 1.5
Natty:
Report link

I know it is a year old, but I did more or less what you asked.
Only now I want to get the active plot name to put it in the filename, but I cannot get this to work.
But the rest of the code might be beneficial for you too.
If you create a few 'saved views' this macro will loop through those and save a PNG for each view to an export folder. This way if you sort this folder on name you can click back and forth to see what changed between runs. It also allows you to add a descriptive suffix to the image filenames.

Option Explicit

Dim swApp           As SldWorks.SldWorks
Dim swModel         As SldWorks.ModelDoc2
Dim COSMOSWORKS     As CosmosWorksLib.COSMOSWORKS
Dim CWAddinCallBack As CosmosWorksLib.CWAddinCallBack
Dim ActDoc          As CosmosWorksLib.CWModelDoc
Dim StudyMngr       As CosmosWorksLib.CWStudyManager
Dim Study           As CosmosWorksLib.CWStudy
Dim activeStudyIndex As Integer
'Dim CWResult        As ICWResults
'Dim plot            As CWPlot
'Dim PlotNames       As Variant
'Dim PlotCount       As Long
'Dim PlotName        As String
Dim vViews          As Variant
Dim viewCount       As Long
Dim ViewName        As String
Dim OutputFolder    As String
Dim SubFolder       As String
Dim ImagePath       As String
Dim ImageName       As String
Dim ModelPath       As String
Dim FileName        As String
Dim StudyName       As String
Dim Suffix          As String
Dim i               As Integer
Dim boolstatus      As Boolean
Dim longstatus      As Long, longwarnings As Long

Sub main()
    Debug.Print "---------------" & Now() & "----------------"
    Set swApp = Application.SldWorks
    Set swModel = swApp.ActiveDoc

    'Set settings for png export
    boolstatus = swApp.SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swTiffScreenOrPrintCapture, 0)

    'Get model location and FileName
    ModelPath = swModel.GetPathName
    FileName = Left(Mid(ModelPath, InStrRev(ModelPath, "\") + 1), InStrRev(Mid(ModelPath, InStrRev(ModelPath, "\") + 1), ".") - 1)
    Debug.Print "FileName: " + FileName

    'Set image location
    OutputFolder = "C:\SW-Simulations"
    SubFolder = FileName
    
    'Create folder if it doesn't exist
    CreateFolder OutputFolder
    CreateFolder OutputFolder & "\" & SubFolder
    ImagePath = OutputFolder & "\" & SubFolder & "\"
    
    'Gather named views
    vViews = swModel.GetModelViewNames

    ''Print vViews
        'For viewCount = LBound(vViews) To UBound(vViews)
        '        Debug.Print viewCount & ": " & vViews(viewCount)
        'Next viewCount
    
    'Add-in callback
    Set CWAddinCallBack = swApp.GetAddInObject("SldWorks.Simulation")
    Set COSMOSWORKS = CWAddinCallBack.COSMOSWORKS

    'Get active document
    Set ActDoc = COSMOSWORKS.ActiveDoc()

    'Get the active study
    Set StudyMngr = ActDoc.StudyManager()
    activeStudyIndex = StudyMngr.ActiveStudy

    Set Study = StudyMngr.GetStudy(activeStudyIndex)
    StudyName = Study.Name
    Debug.Print "StudyName: " & StudyName
    
'   Try out to get the plot names to loop through and to put the plot name in the filename
'    CWResult = Study.results
'    PlotNames = CWResult.GetPlotNames()
'
'    For PlotCount = LBound(PlotNames) To UBound(PlotNames)
'        PlotName = PlotNames(PlotCount)
'        Debug.Print PlotName
'    Next PlotCount

    'Ask  user to add suffix to image filename
    Suffix = InputBox("The filename of the snapshots will get the following name:" _
        & vbNewLine & StudyName + " - [ViewName] - [time yy-mm-dd_hh mm ss]" _
        & vbNewLine & "" _
        & vbNewLine & "You can add a more specific description if you like:" _
        , "Add suffix to snapshot name", "", vbOKOnly)
    Debug.Print Suffix
    Suffix = " - " & Suffix
    
    i = 0
    'Loop through views and save PNGs
    For viewCount = LBound(vViews) To UBound(vViews)
        ViewName = vViews(viewCount)

        If InStr(ViewName, "*") > 0 Then
            'Skip standard views (contains "*")
            'Debug.Print "Standard view: skipped"
        Else
            'Process named views
            i = i + 1
            Debug.Print ""
            Debug.Print i & " View name: " & ViewName
            'Compile imagename
            ImageName = StudyName + " - " + ViewName + " - " + Format(Now, "yy-mm-dd_hh mm ss") & Suffix
            Debug.Print "Image name: " + ImageName

            'Activate view
            swModel.ShowNamedView2 ViewName, -1
            
            'Save as PNG
            longstatus = swModel.SaveAs3(ImagePath + ImageName + ".PNG", 0, 2)
            Debug.Print "SaveStatus: " & longstatus
        End If
    Next viewCount
    
    'If no views are available, inform  user and save current view
    If i = 0 Then
        MsgBox "There are no saved views to export as PNG." _
        & vbNewLine & "First create some views:" _
        & vbNewLine & "1. Orient and zoom your model to the desired view." _
        & vbNewLine & "2. Press spacebar" & vbNewLine & "3. Click 'New view'" _
        & vbNewLine & "4. Give it a recognizable name" _
        & vbNewLine & "" _
        & vbNewLine & "Now the current view will be saved as PNG.", _
        vbExclamation, "No views to process"
        
        'Compile imagename
        ImageName = StudyName + " - current view - " + Format(Now, "yy-mm-dd_hh mm ss") & Suffix
        Debug.Print "Image name: " + ImageName
        
        'Save as PNG
        longstatus = swModel.SaveAs3(ImagePath + ImageName + ".PNG", 0, 2)
        
        Debug.Print "No saved views, current view is saved."
    Else
        Debug.Print ""
        Debug.Print i & " views saved as PNG"
    End If
    
    'Open output folder
    'Shell "explorer.exe " & ImagePath, vbNormalFocus
End Sub

Sub CreateFolder(FolderPath As String)
    If Dir(FolderPath, vbDirectory) = "" Then
        MkDir FolderPath
        Debug.Print "New folder created: " & Replace(FolderPath, "\\ms1\CompanyData", "K:")
    Else
        Debug.Print "Folder already exists: " & Replace(FolderPath, "\\ms1\CompanyData", "K:")
    End If
End Sub
Reasons:
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Erik

79525644

Date: 2025-03-21 13:51:21
Score: 2
Natty:
Report link

Having similar problem. It took me one week to figure out a way.

Problem: Upgraded a solution (.sln) from VS2017 to VS2022. Got this error (The build tools for v143 (Platform Toolset = 'v143') cannot be found), even though the MSVC v143 has been installed. Tried many approaches without success: recheck $(VCTargetsPath), examine path of Microsoft.CppBuild.targes, reinstall VS2022, choose many alternatives v143 toolsets selections, read content .sln & .vcxproj by Notepad. Hardly to find what is wrong at my machine.

Finally I found a "tricky" steps to let the IDE works ( The Idea is to "restore" the ability of the IDE to "see" the v143)

(1) Remove the Project (where the error come from) (the project is a VC++) from the Solution (do it in Solution Explorer)

(2) Add a new sample VC++ project (ConsoleApplication), set PlatformToolset=v143 for this project

(3) Rebuild solution (it works). Save the solution.

(4) Re-add the original Project, and compile. it works.

(5) Review the new Sample (VC++ project) from the solution, save it.

Hope this can help.

Reasons:
  • Whitelisted phrase (-1): Hope this can help
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): Having similar problem
  • Low reputation (1):
Posted by: spidervn

79525643

Date: 2025-03-21 13:50:21
Score: 4
Natty:
Report link

It looks like I finally found the solution.

The problem was related to the version of TensorFlow. Using the versions recommended on the installation page there is no problem.

https://gpflow.github.io/GPflow/develop/installation.html

I tried to solve the example with gpflow 2.9.1 and tensorflow 2.12.0 and everything worked fine.

Best regards

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Samuel M

79525642

Date: 2025-03-21 13:50:21
Score: 1.5
Natty:
Report link

Late response but hopefully it helps someone facing latency issues with GHD(GitHub desktop) One of the way you can increase the speed of GHD (everything in general) is by running it in desktop mode. It will improve the speed greatly

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

79525629

Date: 2025-03-21 13:44:20
Score: 1
Natty:
Report link

The path to the file was incorrect

... /angular_test/src/app/src ...

Got rid of the extra '/app/src' and it worked as expected.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: OkayGoogle_HowToDeploy

79525627

Date: 2025-03-21 13:43:20
Score: 1
Natty:
Report link
C++ 

Advantages: STL (Standard Template Library), high performance, memory control.

Disadvantages: More detailed syntax than Python, requires memory management.

Ideal use: Competitive and challenges that disable high performance
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Eduardo Decussi

79525626

Date: 2025-03-21 13:43:20
Score: 2
Natty:
Report link

Today I tried something strange:

I removed the port-mapping of docker-container and used https on port 443. After building/starting docker-container I was able to access admin-page. No errors thrown!

It's a bit strange that port-mapping breaks access to admin-module...

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Johannes C. Schulz

79525615

Date: 2025-03-21 13:37:19
Score: 0.5
Natty:
Report link

I just published this helm chart:
📌 https://artifacthub.io/packages/helm/helm-watchdog-pod-delete/helm-watchdog-pod-delete
📌 https://github.com/aeciopires/helm-watchdog-pod-delete

It installs a watchdog in the cluster that monitors the Pods and removes those with the CrashLoopBackOff or Error status, forcing a rebuild (if they are being managed by a controller, such as: deployment, replicaset, daemonset, statefulset, etc).

The use case is:
🔧 Reduce manual intervention to rebuild Pods.
🔥 Fix issues with sidecars and initContainers by ensuring that Pods are fully restarted instead of remaining in a partially functional state.
🌍 Resolve race conditions caused by external dependencies being unavailable at startup, ensuring that Pods retry startup when dependencies are ready.

#kubernetes #k8s #helm #devops #CloudNative

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Aécio Pires

79525613

Date: 2025-03-21 13:37:19
Score: 1
Natty:
Report link

When redirecting to Microsft, a state value has been generated and added to the /authorize URL. After a succesful login at Microsoft, this state value should be retourned to the CAS callback URL. The error you get occurs when the state parameter is missing.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • High reputation (-1):
Posted by: jleleu

79525608

Date: 2025-03-21 13:35:18
Score: 2.5
Natty:
Report link

I co-authored the following article that is a very detailed step-by-step guide to do so : 🦓 Implement a Safari iOS Extension with React Step-By-Step.

Do not hesitate if you have any question :)

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

79525596

Date: 2025-03-21 13:30:17
Score: 4
Natty:
Report link

we have same problem with Spring boot 3 , when we try to migrate sb2 to SB3 (javax to jakarta)
I my case i had :
for help jpa to update register DDL

hibernate:
  ddl-auto: update
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): have same problem
  • Low reputation (1):
Posted by: saxdevweb

79525588

Date: 2025-03-21 13:26:16
Score: 3
Natty:
Report link

If you have lost money fraudulently to any company, broker or account manager and want to retrieve it, then contact recoveryscamcrypto via google mail com he will help.

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

79525585

Date: 2025-03-21 13:26:16
Score: 1.5
Natty:
Report link

You can exponentially increment the price (ex. x1.25 everytime)

So this would give a sequence of prices like follow (assuming the base price is 10): 10, 10x1.25, 10x1.25x1.25, 10x1.25x1.25x1.25, etc.

=> 10, 12.5, 15.625, 19.53...

(Obviously you should round these values so the actual price would be something like 10, 13, 16, 20, etc..)

You can change the ratio if you want the price to grow faster

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

79525579

Date: 2025-03-21 13:25:15
Score: 1
Natty:
Report link

If you were already signed in, you can run cf target -s <SPACE_NAME>.
Alternatively you can try to login again and you'll get a prompt allowing you to choose the space.

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

79525566

Date: 2025-03-21 13:18:13
Score: 14
Natty: 7.5
Report link

I am facing the exact same issue. Have you found any solution?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2.5): Have you found any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the exact same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: voltov

79525550

Date: 2025-03-21 13:11:12
Score: 1.5
Natty:
Report link

I replaced CURRENT_TIMESTAMP in DB2 with statement_timestamp() in PostgreSQL, and so far, we have not experienced any side effects. The documentation is already linked in the question. I will mark this as the answer unless someone proves otherwise.

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

79525549

Date: 2025-03-21 13:11:12
Score: 3.5
Natty:
Report link

I would use System.Numerics.BigInteger.
There is no real limit on number size, only limit is memory.
Can be used like any other whole number type.

here's a couple of good references to read further
https://www.getcoding.co.uk/c-net/variables/biginteger/
https://learn.microsoft.com/en-us/dotnet/api/system.numerics.biginteger?view=net-8.0

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

79525542

Date: 2025-03-21 13:09:11
Score: 0.5
Natty:
Report link

It's an indexing error
Try like this:

    // Create new entry label
    long_entry_label := label.new(
      bar_index, low, 
      text="LONG ENTRY\nLeverage: " + str.tostring(leverage_long) + "x\nPrice: " + str.tostring(close, format.mintick), 
      color=bgcolor_with_transparency(long_entry_color), 
      style=label.style_label_up, 
      textcolor=label_text_color, 
      size=label_text_size,
      yloc=yloc.belowbar)

test

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

79525535

Date: 2025-03-21 13:07:11
Score: 1.5
Natty:
Report link

Any statement in a python function after the return-statement will never be executed and is thus unreachable. (Re)move the debug print to resolve your issue.

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

79525533

Date: 2025-03-21 13:06:10
Score: 0.5
Natty:
Report link

guys!

I just published this helm chart:

📌 https://artifacthub.io/packages/helm/helm-watchdog-pod-delete/helm-watchdog-pod-delete

📌 https://github.com/aeciopires/helm-watchdog-pod-delete

It installs a watchdog in the cluster that monitors the Pods and removes those with the CrashLoopBackOff or Error status, forcing a rebuild (if they are being managed by a controller, such as: deployment, replicaset, daemonset, statefulset, etc).

The use case is:

🔧 Reduce manual intervention to rebuild Pods.

🔥 Fix issues with sidecars and initContainers by ensuring that Pods are fully restarted instead of remaining in a partially functional state.

🌍 Resolve race conditions caused by external dependencies being unavailable at startup, ensuring that Pods retry startup when dependencies are ready.

#kubernetes #k8s #helm #devops #CloudNative

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Aécio Pires

79525526

Date: 2025-03-21 13:03:09
Score: 2
Natty:
Report link

This forum is for the open-source edition of SymmetricDS. The Symmetric-ds-pro has substantially different codebase.

Here's an article showing differences between PRO and community editions.

The PRO edition comes with a trial, but since it provides access to support engineers who help you set everything up and keep it running, it is not free.

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

79525520

Date: 2025-03-21 13:02:09
Score: 2
Natty:
Report link
public  <T> T extractClaim(String token, Function<Claims,T> claimsResolver){
    Claims claims = Jwts.parserBuilder().setSigningKey(SECRET_KEY).parseClaimsJws(token).getBody();
    return claimsResolver.apply(claims);
}

i i am getting here error massage is 'Cannot resolve method 'parserBuilder' in 'Jwts'' '

Reasons:
  • RegEx Blacklisted phrase (1): i am getting here error
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sambhaji Shinde

79525515

Date: 2025-03-21 13:01:09
Score: 2.5
Natty:
Report link

file_put_contents(/opt/lampp/htdocs/development/patidar_holiday/storage/framework/sessions/IHGY9DnsOv3MoxoNCuYbvmodHpZQKtWsobHN7p8V): Failed to open stream: No such file or directory

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

79525512

Date: 2025-03-21 13:01:08
Score: 1
Natty:
Report link

If you go through this method, you might see these kind of hints:

Zed editor showcasing @implements behavior in a JavaScript class The image if a capture of my zed code editor

The code snippets to reproduce the behavior are the same of my previous answer, JavaScript "implements" example:

// specific-parser.js
/**
 * @class
 * @implements {GenericParserPrototype}
 */
export class SpecificParser {
    getFoo(name) {
    //     ^ (parameter) name: any
    }

    foo = 20
}
// jsconfig.json
{
  "compilerOptions": {
    "allowJs": true,
    "checkJs": true,
    "types": ["./index"]
  }
}
// index.d.ts
declare interface GenericParserPrototype {
  foo: string;
  getFoo(param: string): string[];
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Simón Villafañe

79525510

Date: 2025-03-21 13:01:08
Score: 2.5
Natty:
Report link

You can use this website to get Go struct from your Json

https://mholt.github.io/json-to-go/

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Matan