79743906

Date: 2025-08-22 22:48:58
Score: 3
Natty:
Report link

for the new android studio versions, you find it here:

do it after the gradle project done importing once, toggle the icon in pink and you're good to go enter image description here

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

79743905

Date: 2025-08-22 22:47:58
Score: 1.5
Natty:
Report link

The INSERT...RETURNING clause was added to MariaDB in version 10.5.0, released on December 3, 2019.

Example:

INSERT INTO mytable
  (foo, bar)
VALUES
  ('fooA', 'barA'),
  ('fooB', 'barB')
RETURNING id;
``
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Geoff

79743898

Date: 2025-08-22 22:23:52
Score: 2.5
Natty:
Report link

flutter utilizza reg.exe per localizzare windows 10 sdk.

Serve che la directory contenente reg.exe sia nella variabile di ambiente PATH.

Consiglio di trovare reg.exe nei file di sistema e copiarlo c:\windows

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

79743888

Date: 2025-08-22 22:03:49
Score: 3.5
Natty:
Report link

Use span links for long running tasks.

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: John-Paul Cunliffe

79743882

Date: 2025-08-22 21:50:46
Score: 1.5
Natty:
Report link

Just in case you can't get the code working, here is a formula that will display the last row containing data in column D: =AGGREGATE(14,6,ROW(D:D)/(D:D<>""),1)

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

79743875

Date: 2025-08-22 21:41:44
Score: 0.5
Natty:
Report link

Fake ass bitch bye




enter image description here<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.2.0/react.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/15.2.0/react-dom.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/3.5.1/vue.global.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.5.1/knockout-latest.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/7.0.1/d3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.1.2/angular.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/3.4.4/vue.global.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/16.8.6/umd/react.production.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.8.6/umd/react-dom.production.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/7.6.0/d3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.7.8/angular.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.5.0/knockout-min.js"></script>

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jimmy Butler

79743871

Date: 2025-08-22 21:38:43
Score: 0.5
Natty:
Report link

In case anyone else runs into the same issue, here is the workaround I've come up with. Like Nick mentioned, my original timestamp didn't store any time zone information, so I had to use the more general TO_TIMESTAMP() function, perform the calculation in UTC, and then convert back to Pacific.

SELECT
    TO_TIMESTAMP('2025-01-30 23:19:45.000') as ts
    ,CONVERT_TIMEZONE('UTC', 'America/Los_Angeles', DATEADD(DAY, 90, CONVERT_TIMEZONE('America/Los_Angeles', 'UTC', ts))) as ts_pdt
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: dnaeye

79743866

Date: 2025-08-22 21:26:41
Score: 1
Natty:
Report link

function checkURL (abc) {
  var string = abc.value;
  if (!~string.indexOf("http")) {
    string = "http://" + string;
  }
  abc.value = string;
  return abc
}
<form>
  <input type="url" name="someUrl" onblur="checkURL(this)" />
  <input type="text"/>
</form>

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

79743861

Date: 2025-08-22 21:17:39
Score: 1.5
Natty:
Report link

well its 2025, the best one out there is now https://changedetection.io/ now exist, which are also available as opensource if you want to run it yourself.

it supports email, Discord, rock-chat, NTFY, and about 90 other integrations.

It's so customisable that theres not much you cant do with it! Also check out the scheduler, conditional checks, and heaps more features, whats cool is that its python based opensource.

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

79743845

Date: 2025-08-22 20:50:33
Score: 1
Natty:
Report link

you can use

import type { Types } from 'mongoose';
Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Jaydeep

79743839

Date: 2025-08-22 20:42:31
Score: 2.5
Natty:
Report link

This is completely from a Python neophyte's perspective but, based on discussions with developer regarding other IDEs, functions are and libraries are great! They provide functionality in reference call reducing the amount of time required to develop the same functionality manually. There is cost for that convenience though; you have memory overhead required for preloading libraries and other add-ons and then you have reference lag (looking up and loading the function) which you don't have with task specific code written out long hand (so to speak). With today's processing speeds and I/O capacity, many will poopoo this but in my discussions with long term coders in the MS Visual studio field, the dislike of bloated libraries and dlls, and the overhead and performance hits endemic with (dot)NET libraries are just something you have to deal with, otherwise, you have to roll your own leaner meaner utilities.

I agree that you can't test with a few records and make a broad generalization like you have, even a warm breath from the fan on a resistor could be responsible for your perceived performance inequities. Run the same test against a half a million records, then run it again after resequencing you process executions to give each process the opportunity to be first/second/third, then come back with your results.

Personally, my bias (neophyte-bias) tells me you may be right but my curiosity thinks a better test is in order.

Reasons:
  • Blacklisted phrase (2): poop
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: VorDesigns

79743832

Date: 2025-08-22 20:32:29
Score: 2.5
Natty:
Report link

FROM THIS NIGHT ON I'LL BE TEXT IN UPPERCASE, MY TEXTS CARRY LOTS OF MEANIN'

KolomentalSpace®

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

79743829

Date: 2025-08-22 20:31:28
Score: 4.5
Natty:
Report link

https://spaces.qualcomm.com/developer/vr-mr-sdk/ both devices use qualcomm chips but they added extra layers to prevent compatibility

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

79743826

Date: 2025-08-22 20:30:28
Score: 3
Natty:
Report link

You should not have automatic updates enabled. But I guess switching hosting to a quality one would resolve this.

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

79743812

Date: 2025-08-22 20:15:24
Score: 1.5
Natty:
Report link

You are probably thinking memory blocks as similar boxes kept side by side, and to look up 209th box, you may need to count the boxes as you go.

But think of it this way, suppose there are 1024 boxes, and each has a number written on the side facing you. Also, they are arranged around you in a circle in a clockwise order. Now, if you are instructed to get the value in the 209th box, what do you do? You exactly know where the 209th box is (at 209/1024*360 degrees clockwise). You turn by that exact amount, see the box, and fetch the value.

Calculating the degrees to turn is a constant time operation.

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

79743811

Date: 2025-08-22 20:14:24
Score: 5.5
Natty: 6.5
Report link

can we improve search results over time in the sense make the scoring profile dynamic in that sense from user feedback ?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): can we
  • Low reputation (1):
Posted by: samadeep

79743808

Date: 2025-08-22 20:09:22
Score: 1
Natty:
Report link

Yes, in your settings change workbench.editor.navigationScope to:

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

79743805

Date: 2025-08-22 20:05:20
Score: 8
Natty: 6
Report link

I'm in a similar situation, was this ever resolved?

Reasons:
  • RegEx Blacklisted phrase (1.5): resolved?
  • RegEx Blacklisted phrase (0.5): was this ever resolved
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: John Potter

79743801

Date: 2025-08-22 20:00:19
Score: 0.5
Natty:
Report link

This issue was resolved here: https://devzone.nordicsemi.com/f/nordic-q-a/123400/zephyr-sd-card-remount-issue-fs_unmount-vs-disk-deinitialization-leading-to-eio-or-blocked-workqueue

I was able to solve it with these steps:

1. Did not use either of the following:

disk_access_ioctl("SD", DISK_IOCTL_CTRL_INIT, NULL);
disk_access_ioctl("SD", DISK_IOCTL_CTRL_DEINIT, NULL);

Earlier I would init the disk, mount, (do stuff) and then on pin triggered removal of SD card unmount and deinit. It seems I need to remove the init/deinit them altogether or deinit right after init if I need to access any parameters using the disk_access_ioctl command.

2. Even with the above solution for some reason everything would get blocked after at unmount. This was resolved once I moved to a lower priority workqueue. I was using the system workqueue before and it would block forever.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: aanas.sayed

79743797

Date: 2025-08-22 19:54:17
Score: 1.5
Natty:
Report link

Simply use sorted():

sorted_list = sorted(c)

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

79743796

Date: 2025-08-22 19:52:17
Score: 1
Natty:
Report link
@font-face {
  font-family: 'Tangerine';
  font-style: normal;
  font-weight: normal;
  src: local('Tangerine'), url('http://example.com/tangerine.ttf') format('truetype');
}
body {
  font-family: 'Tangerine', serif;
  font-size: 48px;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: samin babu

79743792

Date: 2025-08-22 19:47:16
Score: 1.5
Natty:
Report link

Credits to https://github.com/apache/airflow/discussions/26979#discussioncomment-13765204

The trick is to add environment variables with the env: attribute

env:
  - name: AIRFLOW__LOGGING__REMOTE_LOGGING
    value: "True"
  - name: AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER
    value: "s3://<bucket-name"
  - name: AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID
    value: "minio"
  - name: AIRFLOW_CONN_MINIO
    value: |
      {
        "conn_type": "aws",
        "login": <username>,
        "password": <password>,
        "extra": {
          "region_name": <region>,
          "endpoint_url": <endpoint_url>
        }
      }

The connection is still not detected in UI or CLI (in line with what @Akshay said in the comments), but logging works for sure!

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Akshay
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: FayadC

79743785

Date: 2025-08-22 19:41:14
Score: 4
Natty:
Report link

first_value = df.select('ID').limit(1).collect()[0][0]

print(first_value)

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Anthony Hall

79743783

Date: 2025-08-22 19:38:13
Score: 3.5
Natty:
Report link

Process Monitor may provide some clue as to which file ClickOnce is seeking:

https://learn.microsoft.com/en-us/sysinternals/downloads/procmon

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

79743781

Date: 2025-08-22 19:25:10
Score: 0.5
Natty:
Report link

Your Dockerfile needs to install keyrings.google-artifactregistry-auth to authenticate to Artifact Registry. Modify your Dockerfile like this:

FROM python:3.12-slim

RUN apt-get update &amp;&amp; apt-get install -y --no-install-recommends git openssh-client &amp;&amp; apt-get clean &amp;&amp; rm -rf /var/lib/apt/lists/*

RUN pip install keyrings.google-artifactregistry-auth

RUN pip install --extra-index-url https://us-central1-python.pkg.dev/<projectid>/<pypiregistry>/simple/ my-backend==0.1.3 &amp;&amp; pip install gunicorn

CMD ["gunicorn", "my_backend.app:app"]

This will then search for credentials for the pip command to use. Make sure to set up proper authentication in GitHub Actions workflow to use the required credentials. You can refer to this documentation about configuring authentication to Artifact Registry.

Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: yannco

79743776

Date: 2025-08-22 19:20:09
Score: 0.5
Natty:
Report link

TypeScript 5.6 added --noCheck.

noCheck - Disable full type checking (only critical parse and emit errors will be reported).

https://www.typescriptlang.org/tsconfig/#noCheck

This leaves tsc running as just a type stripper and a transpiler, similar to using esbuild to strip types except you get better declaration outputs (and slower transpile times).

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

79743774

Date: 2025-08-22 19:17:08
Score: 2
Natty:
Report link

In case you are trying to navigate between differences within a Repository Diff, for Next Difference press F7 and for Previous Difference press Shift+F7

enter image description here

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

79743770

Date: 2025-08-22 19:11:06
Score: 1.5
Natty:
Report link

I cannot believe how easy the solution was... and I can't believe what I had to do to figure it out. I compiled the usrsctp library in visual studio and statically linked to it with debug symbols so I could step through the code from my program. Usrsctp is incredibly complex, and I stepped through thousands of lines of code until I found the line that was sending the retransmission. Turns out it wasn't any specific retransmission code, it was just the normal send call, but it was returning an error. I looked through the documentation but I couldn't find an error code that made any sense. Then I thought about it for awhile, and realized that the error code seemed to be the same as the amount of bytes returned from the socket sendto() function. Yea, I was returning the bytes which usrsctp believed was an error code and so it kept resending the data!

I simply had to return 0 in the onSendSctpData() function and it stopped retransmitting!!

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: brandav

79743767

Date: 2025-08-22 19:04:04
Score: 4.5
Natty: 5.5
Report link

How am I able to get into my device and the WiFi /Bluetooth settings apps to be able to connect Bluetooth speakers and switch my WiFi to data when I need to use

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How am I
  • Low reputation (1):
Posted by: user31332899

79743760

Date: 2025-08-22 18:59:03
Score: 1.5
Natty:
Report link

Most likely, if you have just installed a new IDE and you are coming from VS Code with the auto-save feature enabled, you might have forgotten to save the file or missed adding the main() function.

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

79743750

Date: 2025-08-22 18:47:00
Score: 1
Natty:
Report link

We can get the File root path after deployment in Azure function using object

ExecutionContext executionContext
 public async Task<IActionResult> GetFiles([HttpTrigger(AuthorizationLevel.Function, nameof(HttpMethod.Get), Route = "Files/GetFilePath")] FilePathRequest request , ExecutionContext executionContext)
 {
     try
     {
         return await _bundleOrchestrator.GetFileData(request , executionContext.FunctionAppDirectory);            
     }
     catch (F9ApiException ex)
     {
         return new BadRequestErrorMessageResult(ex.ExceptionMessage) { StatusCode = ex.SourceStatusCode };
     }
 }   
public async Task<FilePathResponse> GetFileData( string rootPath)
{
    try
    {
        // Get the current working directory
         

        // Construct the path to the configuration folder and file
        string configFolder = "Configuration"; // Adjust as needed
        string configFileName = "NCPMobile_BundleConfig.json"; // Adjust as needed
        string filePath = Path.Combine(rootPath, configFolder, configFileName);

        // Check if the configuration file exists
        if (!File.Exists(filePath))
        {
            throw new FileNotFoundException($"Configuration file not found at: {filePath}");
        }

        // Define JSON serializer settings
        var jsonSettings = new Newtonsoft.Json.JsonSerializerSettings
        {
            MissingMemberHandling = Newtonsoft.Json.MissingMemberHandling.Ignore,
            NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore,
            MetadataPropertyHandling = Newtonsoft.Json.MetadataPropertyHandling.Ignore
        };

        // Read the JSON content asynchronously
        string jsonBundlesData = await File.ReadAllTextAsync(filePath);
        return jsonBundlesData; //Sample response

        // Proceed with processing jsonBundlesData as needed
    }
    catch (Exception ex)
    {
        // Handle exceptions appropriately
        throw new ApplicationException("Error occurred while retrieving bundle configuration.", ex);
    }
}

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: kalaivanan govindaraj

79743739

Date: 2025-08-22 18:31:57
Score: 1
Natty:
Report link

To save the photo path in the database, after capturing the photo with MediaPicker, use photo.FullPath to get the local file path. Store this string in a property bound to your ViewModel (e.g., PhotoPath). Then in your AddAsync command, assign this path to the Photoprofile field and save the entity using SaveChanges(). Ensure Photoprofile is of type string.

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

79743738

Date: 2025-08-22 18:31:57
Score: 1.5
Natty:
Report link

The statement from author is right. The _id is not a compound index, it's a mere exact index.
The high voted answer is misleading and talking about the right things without matching the original question

_id: {
entityAId
entityBId
}

to be able to query entityAId , or query and sort on entityAid and entityBid,
you ll need to create a compound index at _id.entityAid and _id.entityBid

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

79743722

Date: 2025-08-22 18:00:50
Score: 1
Natty:
Report link
app.get('/{*any}', (req, res) => 
this works for me.
Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Clasher Ofclans

79743714

Date: 2025-08-22 17:55:49
Score: 2.5
Natty:
Report link

For me in Eclipse I had to enable it in project settings under Java Compiler -> Annotation Processing -> Enable annotation processing:

Eclipse properties

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

79743708

Date: 2025-08-22 17:49:47
Score: 2.5
Natty:
Report link

SELECT SCHEMA_NAME, CREATE_TIME

FROM information_schema.SCHEMATA

WHERE SCHEMA_NAME = 'your_database_name';

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

79743689

Date: 2025-08-22 17:27:41
Score: 0.5
Natty:
Report link

Your code is using Angular 19+ APIs, but your app is on Angular 17.

RenderMode and ServerRoute (from @angular/ssr) were introduced with Angular’s hybrid rendering / route-level render modes in v19. They do not exist in v17, so VS Code correctly reports it as no exported member.

How to fix this:

  1. Upgrade to Angular 19+ (CLI and framework must match)
    Do Verify @angular/ssr is also v19+ in package.json.

  2. After updating, your imports are valid

  3. If the editor still underlines types, restart the TS server in VS Code (Command Palette -> “Developer: Restart TypeScript Server”).

    If you dont want to upgrade now remove those imports and use the legacy SSR pattern on v17.

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

79743687

Date: 2025-08-22 17:24:41
Score: 0.5
Natty:
Report link

While a Newton solver with solve_subsystems=False is truly monolithic, I wouldn’t describe the solve_subsystems=True case as hierarchical. Even though the inner subsystems are solved first, the outer Newton solver still acts on the full residual vector of its group — including both the inner subsystem residuals _and_ any coupling between inner and outer subsystems. That's why the implicit component's residual is being driven to zero at each iteration. The solve_subsystems method helps the outer solver by solving a smaller chunk of the residual first, with some computational expense. In either case, the outer solver is always trying to solve everything below it.

Diving into the OpenMDAO internals a bit...

In OpenMDAO, everything is really implicit. You can think of explicit components are a special case of implicit components. The residual is the difference between the value that is in the output vector of that component, and the value that compute produces based on the inputs. Now in the case of a feed-forward system, the explicit component's compute method effectively "solves itself", driving that residual to zero.

If theres a feedback into that explicit component, system's residual vector will show some nonzero residual for that components outputs. A Nonlinear Block Gauss Seidel solver can resolve this residual just by repeateldy executing the system until this residual is driven to zero (assuming that architecture works). Alternatively, the Newton solver just sees it as another residual to be solved.

Do you have an XDSM diagram of your system? That might make it easier to understand the behavior of your model.

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have an
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Rob Falck

79743674

Date: 2025-08-22 17:13:37
Score: 2
Natty:
Report link

# Project setup

mkdir my-gaming-app && cd my-gaming-app

# Frontend

npx create-react-app client

cd client

npm install tailwindcss lucide-react

npx tailwindcss init

cd ..

# Backend

mkdir server && cd server

npm init -y

npm install express cors nodemon

cd ..

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

79743670

Date: 2025-08-22 17:08:36
Score: 0.5
Natty:
Report link

I use https://onlinetools.ups.com/api/rating/v1/shop

Returns several rates at the same time.

<?php

/**
 * Requires libcurl
 */

$curl = curl_init();

//Receive package info from query
$Weight = $_POST['Weight'];
$ReceiverZip = $_POST['Zip'];

//Set Receiver country
$ReceiverCountry = "US";

//Set your info
$UPSID = "YOUR UPS ACCOUNT NUMBER";
$ShipperName = "YOUR NAME";
$ShipperCity = "YOUR CITY";
$ShipperState = "YOUR STATE ABBREVIATION";
$ShipperZip = "YOUR ZIP";
$ShipperCountry = "US"; 
$clientId = "YOUR API CLIENT ID";
$clientSecret = "YOUR API CLIENT SECRET";

// Step 1: access token
curl_setopt_array($curl, [
  CURLOPT_HTTPHEADER => [
    "Content-Type: application/x-www-form-urlencoded",
    "x-merchant-id: ".$UPSID,
    "Authorization: Basic " . base64_encode("$clientId:$clientSecret")
  ],
  CURLOPT_POSTFIELDS => "grant_type=client_credentials",
  CURLOPT_PORT => "",
  CURLOPT_URL => "https://onlinetools.ups.com/security/v1/oauth/token",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => "POST",
]);

$response0 = curl_exec($curl);
$error = curl_error($curl);

curl_close($curl);

if ($error) {
  echo "cURL Error #:" . $error;
} else {
$tokenData = json_decode($response0);
$accessToken = $tokenData->access_token;
}

// Step 2: shipment data
$payload = array(
  "RateRequest" => array(
    "Request" => array(
      "TransactionReference" => array(
        "CustomerContext" => "CustomerContext"
      )
    ),
    "Shipment" => array(
      "Shipper" => array(
        "Name" => $ShipperName,
        "ShipperNumber" => $UPSID,
        "Address" => array(
          "AddressLine" => array(
            "ShipperAddressLine",
            "ShipperAddressLine",
            "ShipperAddressLine"
          ),
          "City" => $ShipperCity,
          "StateProvinceCode" => $ShipperState,
          "PostalCode" => $ShipperZip,
          "CountryCode" => $ShipperCountry
        )
      ),
      "ShipTo" => array(
        "Name" => "ShipToName",
        "Address" => array(
          "AddressLine" => array(
            "ShipToAddressLine",
            "ShipToAddressLine",
            "ShipToAddressLine"
          ),
          "PostalCode" => $ReceiverZip,
          "CountryCode" => $ReceiverCountry
        )
      ),
      "ShipFrom" => array(
        "Name" => "ShipFromName",
        "Address" => array(
          "AddressLine" => array(
            "ShipFromAddressLine",
            "ShipFromAddressLine",
            "ShipFromAddressLine"
          ),
          "City" => $ShipperCity,
          "StateProvinceCode" => $ShipperState,
          "PostalCode" => $ShipperZip,
          "CountryCode" => $ShipperCountry
        )
      ),
      "PaymentDetails" => array(
        "ShipmentCharge" => array(
          array(
            "Type" => "01",
            "BillShipper" => array(
              "AccountNumber" => $UPSID
            )
          )
        )
      ),
      "NumOfPieces" => "1",
      "Package" => array(
        "PackagingType" => array(
          "Code" => "02",
          "Description" => "Packaging"
        ),
        "PackageWeight" => array(
          "UnitOfMeasurement" => array(
            "Code" => "LBS",
            "Description" => "Pounds"
          ),
          "Weight" => $Weight
        )
      )
    )
  )
);

//Rate shop
curl_setopt_array($curl, [
  CURLOPT_HTTPHEADER => [
    "Authorization: Bearer " . $accessToken,
    "transId: string",
    "transactionSrc: testing"
  ],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_PORT => "",
  CURLOPT_URL => "https://onlinetools.ups.com/api/rating/v1/shop",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => "POST",
]);

$response = curl_exec($curl);
$error = curl_error($curl);

curl_close($curl);

if ($error) {
  echo "cURL Error #:" . $error;
} else {
    $decodedResponse = json_decode($response, true); // true for associative array
    // Example using associative array
    if (isset($decodedResponse['RateResponse']['RatedShipment'])) {
        foreach ($decodedResponse['RateResponse']['RatedShipment'] as $shipment) {
            $serviceCode = $shipment['Service']['Code'];
            $rate = $shipment['TotalCharges']['MonetaryValue'];

            switch ($serviceCode) {
                case "01":
                    $ups_cost01 = $rate; 
                    break;
                case "02":
                    $ups_cost02 = $rate; 
                    break;
                case "03":
                    $ups_cost = $rate; 
                    break;
                case "12":
                    $ups_cost12 = $rate; 
                    break;
                default:    
                    break;
            }
        }
    }
}

?>
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jason Powell

79743652

Date: 2025-08-22 16:49:32
Score: 2.5
Natty:
Report link

It would appear that this behavior is simply barred from working in captive portals as a security precaution. No files can be downloaded from a captive portal to protect the device integrity. So what I'm trying to do is impossible, as far as I can tell.

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

79743644

Date: 2025-08-22 16:43:31
Score: 1.5
Natty:
Report link

The intermittent failures are happening because of build context and file path mismatches in your monorepo. Docker only sees files inside the defined build context, and your Dockerfiles are trying to COPY files that sometimes aren’t in the place Docker expects.

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

79743630

Date: 2025-08-22 16:27:27
Score: 1
Natty:
Report link

For me, it's not working for a element of a dict that type() reports as <class 'datetime.datetime'>, but it reports the both type and value as null in the difference output

I think error message about literal_eval_extended is referring to the helper.py module that is part of the deepdiff package (is "package" the right term?)

I found the source at:

https://github.com/seperman/deepdiff/blob/master/deepdiff/helper.py

But the code refers to an undefined global thingy called LITERAL_EVAL_PRE_PROCESS. I don't have the expertise to understand what this means. It's not obvious how to specify an option to fix this.

The weird thing is, the code at:

https://github.com/seperman/deepdiff/blob/b639fece73fe3ce4120261fdcff3cc7b826776e3/deepdiff/helper.py#L191

Does specify datetime.datetime as one of the things to include. Oh well.

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

79743624

Date: 2025-08-22 16:18:25
Score: 3
Natty:
Report link

How about using the org.springframework.boot.test.web.client.TestRestTemplate instead of org.springframework.boot.web.server.test.client.TestRestTemplate?

In the SpringBoot's documentation, the TestRestTemplate is declared in the package org.springframework.boot.test.web.client.

https://docs.spring.io/spring-boot/api/java/org/springframework/boot/test/web/client/TestRestTemplate.html

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
  • Low reputation (1):
Posted by: devnill.io

79743620

Date: 2025-08-22 16:09:22
Score: 5
Natty:
Report link

IMO, the convenience benefit of the builder pattern doesn't make up for the strictness you lose when instantiating the entity. Entities usually have column rules like "nullable = false" which means you are mandated to pass it when instantiating. There are other workarounds to mandate parameters in the builder pattern, but do you really want to go through all that trouble for all of your entities?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: micxav

79743618

Date: 2025-08-22 16:07:21
Score: 2.5
Natty:
Report link

I recently installed the Cinema HD APK Firestick latest version, and it completely upgraded my streaming experience. The app is fast, ad-free, and packed with high-quality movies and shows. If you want endless entertainment on your Firestick, this is the download you shouldn’t miss!

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

79743617

Date: 2025-08-22 16:07:21
Score: 2.5
Natty:
Report link

You must ensure that your Amazon EKS control plane security group contains rules to allow ingress traffic on port 443 from your connected network.

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

79743606

Date: 2025-08-22 15:58:19
Score: 1.5
Natty:
Report link

According AWS docs:

"InvalidViewerCertificate" domain name error certificates should be issued in US East (N. Virginia) Region (us-east-1).

Also there is bug https://github.com/hashicorp/terraform-provider-aws/issues/34950 corresponding this issue.

@Mush is correct answer. But need delete/destroy p;d provider staff

terraform state rm aws_acm_certificate.app_cert_eu_west_1

In multi-region setups (ACM for CloudFront) best practices to avoid similar issues:

provider "aws" { region = var.primary_region }
provider "aws" { alias = "virginia"; region = "us-east-1" }
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Mush
  • Low reputation (1):
Posted by: InPickSys

79743600

Date: 2025-08-22 15:52:16
Score: 4
Natty:
Report link

You may be interested in https://github.com/GG323/esbuild-with-global-variables

I created this fork to enable free use of global variables.

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

79743595

Date: 2025-08-22 15:46:15
Score: 3
Natty:
Report link

I've had the same issue and my takeaway is it is a side effect of using the non-cran version of xgboost.

Parsnip is still setting info using the CRAN methods in xgboost:

https://github.com/tidymodels/parsnip/blob/78116dcc06997248d6b2365bdc78149d7e1c23b9/R/boost_tree.R#L448-L466

I think xgboost (version 3.1.0.0) is still correcting for the old formatting, so for now the only issue is the annoying message:

https://github.com/dmlc/xgboost/blob/35f1e8588ef296d1455dac43c6bb8f938a88e916/R-package/R/utils.R#L714-L731

Downgrading to the CRAN version of xgboost should get rid of the warning. I think parsnip is aware of these issues with the new version, but are holding off updating until xgboost gets to CRAN:

https://github.com/tidymodels/parsnip/issues/1227#issuecomment-2576608316

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

79743591

Date: 2025-08-22 15:44:14
Score: 3.5
Natty:
Report link

How about using the MultipartFile.transferTo(Path dest) method?

https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/multipart/MultipartFile.html

This method reads and writes files using a buffer.

file.transferTo(fileName);
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: devnill.io

79743586

Date: 2025-08-22 15:40:13
Score: 0.5
Natty:
Report link

It was the dumbest problem I've ever encountered!

In my project path, one of the directories had a "!" in the name and that was the reason it couldn't get to the META-INF directory! Once I moved it to a different location it worked.

The error log suggesting that it had something to do with the plugin version was really not helpful and I also created an issue here, hopefully it will be fixed.

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Saee Saadat

79743582

Date: 2025-08-22 15:37:12
Score: 1
Natty:
Report link

It was the dumbest problem I've ever encountered!

In my project path, one of the directories had a "!" in the name and that was the reason it couldn't get to the META-INF directory! Once I moved it to a different location it worked.

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

79743576

Date: 2025-08-22 15:34:11
Score: 1.5
Natty:
Report link
{
  "nome": "Ana Souza",
  "email": "[email protected]",
  "senha": "123456",
  "codigoPessoa": "ANA001",
  "lembreteSenha": "nome do cachorro",
  "idade": 22,
  "sexo": "F"
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Wilker Godoy

79743574

Date: 2025-08-22 15:30:10
Score: 4.5
Natty: 5.5
Report link

I also get some RSA-public-key-encrypted data (32 bytes), which I want to decrypt. (call it a signature, if you want)

How can I decrypt with the private key, without changing source-code?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
Posted by: rundekugel

79743571

Date: 2025-08-22 15:29:09
Score: 2.5
Natty:
Report link

I would like to add a case @elmart did not mention: if you are sure, those file changes don't mean anything, just discard them, after you closed your IDE. (For example you just opened the IDE for reading the code, or you just needed to recompile the project to use it, discarding won't break anything for your colleagues... well, sure, there is shitty proprietary cloud-operating software, which might stab you in the back, so you should be careful, when using SaaS.)

Reasons:
  • No code block (0.5):
  • User mentioned (1): @did
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: PythoNic

79743565

Date: 2025-08-22 15:22:08
Score: 4.5
Natty: 4
Report link

I have written article for this. check it : - https://www.linkedin.com/posts/dileepa-peiris_resolve-layout-overlap-issues-after-upgrading-activity-7358300122436288513-wZv6?utm_source=social_share_send&utm_medium=member_desktop_web&rcm=ACoAAEt1CvcBECNQc8jX4cOxrzQtVKEypVgHQcM

Medium :- https://medium.com/@dileepapeiris5/resolve-layout-overlap-issues-after-upgrading-to-android-target-sdk-35-required-by-google-from-cd6c5f18fa25

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dileepa Peiris

79743551

Date: 2025-08-22 15:08:03
Score: 4
Natty:
Report link

You may be interested in https://github.com/GG323/esbuild-with-global-variables

I created this fork to enable free use of global variables.

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

79743545

Date: 2025-08-22 15:01:01
Score: 2
Natty:
Report link

NOT a solution to the original question but for posterity: this question is about second occurrence in a line and provided solutions works absolutely fine. If you are new to sed (like me) and wants to replace the second occurrence in the entire file, have a look at: sed / awk match second occurrence of regex in a file, and replace whole line

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

79743533

Date: 2025-08-22 14:50:57
Score: 3
Natty:
Report link

you have to dockerize your flask app in render and download the tesseract engine using your docker.yaml file

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

79743529

Date: 2025-08-22 14:47:57
Score: 1.5
Natty:
Report link

This distinction has irritated me for 30 years, and still trips people up. First off, there is a clear distinction between Authentication (AuthN) and Authorization (AuthZ). AuthN is answering the question of "Who are you?" AuthZ answers the question of "What are you allowed to do?" It is necessary to answer the question of AuthN before approaching the question of AuthZ, because you have to know who the user is before deciding what they can do.

"401 Unauthorized" is supposedly stating that the question of AuthN has not been answered, and "403 Forbidden" answers the AuthZ question negatively. What is confusing is that the text "Unauthorized" is incorrect, and has been for 30+ years. Should be "Not Authenticated". But many apps out there are probably looking for the text (instead of just the code), and would break if they changed it now.

Hopefully this clears up the confusing for anyone looking at the response and thinking, "Is that status right?" It is... and it isn't.

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

79743528

Date: 2025-08-22 14:47:57
Score: 3
Natty:
Report link

The sql_data is a "SnowflakeQueryResult" type object and not a dataframe object which is why it is not subscriptable when you try to get the column_1 using data['COLUMN_1']

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

79743526

Date: 2025-08-22 14:46:56
Score: 1
Natty:
Report link

you need to wrap your root component with tui-rot in app.html

E.g.

<tui-root>
    <router-outlet></router-outlet>
</tui-root>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bkh6722

79743525

Date: 2025-08-22 14:46:56
Score: 1
Natty:
Report link

The Kafka connect azure blob storage source plugin now works, even if the data was written to the Azure blob storage without using the sink connector plugin. It is now a "generalized" source plugin.

I could read the JSON data from an Azure blob storage account even though the sink plugin was not used to store them into Azure blob storage. All that is needed is the path to the files stored in the blob container.

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

79743524

Date: 2025-08-22 14:45:56
Score: 0.5
Natty:
Report link

In my case I needed to make sure equalTo() gets an argument of proper type. Here, it was not String but Long (instead of Long this method expects arg to be a Double, so convert it first).

val id: Long
val query = ref.orderByChild("id").equalTo(id.toDouble())

In other case whole root node was deleted.

As of deleting, as mentioned in other's answers using removeValue().

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jawegiel

79743516

Date: 2025-08-22 14:34:53
Score: 4.5
Natty: 5
Report link

How to convert this code in python, thanks alot

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Beram Mostafa

79743509

Date: 2025-08-22 14:32:52
Score: 0.5
Natty:
Report link

Please refer to the following discussion.

https://github.com/nextauthjs/next-auth/discussions/11271

In my case, modifying the import as follows solved the problem:

import { signOut } from "next-auth/react";

It seems to be working properly, but I'm very confused. I can't understand why it has to be done this way.

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

79743508

Date: 2025-08-22 14:29:52
Score: 3.5
Natty:
Report link

Well the good or bad news is that fillna(method='ffill') doesn't work anymore.

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

79743500

Date: 2025-08-22 14:17:48
Score: 1.5
Natty:
Report link
You might find this answer of @LondonAppDev which worked for him by doing the following in Dockerfile:
FROM python:3.10

ARG AUTHED_ARTIFACT_REG_URL
COPY ./requirements.txt /requirements.txt

RUN pip install --extra-index-url ${AUTHED_ARTIFACT_REG_URL} -r /requirements.txt

Then, run this code to build your Dockerfile:

docker build --build-arg AUTHED_ARTIFACT_REG_URL=https://oauth2accesstoken:$(gcloud auth print-access-token)@url-for-artifact-registry

Check out this link for the full details of his answer.

Reasons:
  • Blacklisted phrase (1): this link
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @LondonAppDev
  • Low reputation (0.5):
Posted by: KikoZam

79743496

Date: 2025-08-22 14:13:47
Score: 0.5
Natty:
Report link

This help me

I had uikit scrollView and inside it swiftuiView

iOS 16+

hostingController.sizingOptions = [.intrinsicContentSize]

Other
ParentViewController:

public override func viewDidLoad() {
        super.viewDidLoad()
        ...
        scrollView.translatesAutoresizingMaskIntoConstraints = false
        scrollView.delegate = self
        view.addSubview(scrollView)
        
        ...
        
        let mainVC = AutoLayoutHostingController(rootView: MainView(viewModel: viewModel))
        addChild(mainVC) /// Important
        guard let childView = mainVC.view else { return }
        childView.backgroundColor = .clear
        childView.translatesAutoresizingMaskIntoConstraints = false
        scrollView.addSubview(childView)
        mainVC.didMove(toParent: self) /// Important

        childView.setContentHuggingPriority(.required, for: .vertical)
        childView.setContentCompressionResistancePriority(.required, for: .vertical)

        NSLayoutConstraint.activate([
            ....

            scrollView.leadingAnchor.constraint(equalTo: view.leadingAnchor),
            scrollView.trailingAnchor.constraint(equalTo: view.trailingAnchor),
            scrollView.topAnchor.constraint(equalTo: view.topAnchor),
            scrollView.bottomAnchor.constraint(equalTo: view.bottomAnchor),

            childView.leadingAnchor.constraint(equalTo: scrollView.leadingAnchor, constant: 28),
            childView.topAnchor.constraint(equalTo: scrollView.topAnchor, constant: 16),
            childView.bottomAnchor.constraint(equalTo: scrollView.bottomAnchor, constant: -20),
            childView.widthAnchor.constraint(equalTo: scrollView.widthAnchor, constant: -56),

            ....
        ])
    }
// MARK: - AutoLayoutHostingController

public final class AutoLayoutHostingController<OriginalContent: View>: UIHostingController<AnyView> {
    
    // MARK: - Initializers
    
    public init(rootView: OriginalContent, onChangeHeight: ((CGFloat) -> Void)? = nil) {
        super.init(rootView: AnyView(rootView))
        self.rootView = rootView
            .background(
                SizeObserver { [weak self] height in
                    onChangeHeight?(height)
                    self?.view.invalidateIntrinsicContentSize()
                }
            )
            .eraseToAnyView()
    }
    
    @available(*, unavailable)
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
Reasons:
  • Blacklisted phrase (1): help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gleb Kovalenko

79743488

Date: 2025-08-22 14:06:46
Score: 2.5
Natty:
Report link

Well, I would like to share a new one. XXMLXX https://github.com/luckydu-henry/xxmlxx, which uses C++20 features and a std::vector to store xml tree, also it contains a parsing algorithm using "parser combinator" and "stack" (without recursive), probably can be very high performance, although it not be very "standaard."

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

79743479

Date: 2025-08-22 13:59:44
Score: 2
Natty:
Report link

there is no adequate response, to this yet, major answers here are using a static filling mode, IOC, FOK, naturally the symbol filling mode is supposed to be the filling mode accepted for that symbol, but that is not the case in every broker. using static filling mode works for just one MT5 instance, but if you consider a case where we have mutiple instances of MT5 where one filling mode, does not work for all brokers, then this becomes an issue.

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

79743478

Date: 2025-08-22 13:58:44
Score: 3
Natty:
Report link

If you have an empty NoWarn tag <NoWarn></NoWarn> in your .csproj, it will overwrite the Directory.Build.Props settings, and it will show all warnings.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ondřej Čech

79743473

Date: 2025-08-22 13:56:43
Score: 1
Natty:
Report link

Since the warning comes from library code big chance some dependency relies on a stale pydantic version. Options are to wait an update or to try to install elder pydantic version like pip install 'pydantic<2'.

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

79743466

Date: 2025-08-22 13:51:42
Score: 2.5
Natty:
Report link

The easiest way to solve this problem , is using msix package builder from pub.dev. When you do build with this package ,it includes al lnecessary libraries for MSIX build .

https://pub.dev/packages/msix

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

79743464

Date: 2025-08-22 13:51:42
Score: 2.5
Natty:
Report link

A bit late answer, but from what I've read, Informix does not support M.A.R.S. from the .NET Db2 provider (SDK).

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

79743463

Date: 2025-08-22 13:48:41
Score: 1
Natty:
Report link

The "AAAA..." pattern indicates you're getting null bytes in your buffer. The issue is that ReadAsync(buffer) doesn't guarantee reading the entire stream in one call.

Use CopyToAsync() with a MemoryStream instead:

using var stream = file.OpenReadStream(maxAllowedSize: 10 * 1024 * 1024);
using var memoryStream = new MemoryStream();
await stream.CopyToAsync(memoryStream);
var base64String = Convert.ToBase64String(memoryStream.ToArray());

For a complete solution with security considerations, check out this guide: How to Convert an Image to a Base64 String in Blazor

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Udhaya Kumar

79743459

Date: 2025-08-22 13:45:40
Score: 1.5
Natty:
Report link

I have solved the issue using the old school method of restarting my laptop. It had been runinng for 13 days. When I restarted it now the cursor works perfectly.

Reasons:
  • Whitelisted phrase (-2): I have solved
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yush Shrestha

79743456

Date: 2025-08-22 13:43:39
Score: 0.5
Natty:
Report link

This culd be usefui, if a string is null or it has spaces at the end;

Example:

string Test = "1, 2, 3, 4,  ";

Test = Test.TrimEnd(',');
//Result: "1, 2, 3, 4,  ";

Test = (Test ?? "").Trim().TrimEnd(',');
//Result: "1, 2, 3, 4";


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

79743453

Date: 2025-08-22 13:40:39
Score: 3
Natty:
Report link

Snakemake seems to resolve these paths relative to .snakemake/conda ... so two folders deeper than snakemake's working directory (e.g. configured with `snakemake --directory`)

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

79743448

Date: 2025-08-22 13:34:37
Score: 1.5
Natty:
Report link

EUREKA!
file /components/zenoh-pico/include/zenoh-pico/config.h

**MUST ALTER**

```

#define Z_FRAG_MAX_SIZE 4096

#define Z_BATCH_UNICAST_SIZE 2048

#define Z_BATCH_MULTICAST_SIZE 2048

#define Z_CONFIG_SOCKET_TIMEOUT 5000

```

*MOST IMPORTANT* seems to be the line `Z_CONFIG_SOCKET_TIMEOUT 100`from 100 to 5000. Feel free to experiment with lower values (it seems to work with 1000).

Project is uploaded in github: https://github.com/georgevio/ESP32-Zenoh.git

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: George Violettas

79743437

Date: 2025-08-22 13:20:34
Score: 1.5
Natty:
Report link

The git commit command is used in Git to record changes to the local repository. It captures a snapshot of the currently staged changes, creating a new "commit" object in the project's history.

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

79743424

Date: 2025-08-22 13:03:31
Score: 2
Natty:
Report link

On Android 12 and 13, Google has restricted native call recording due to privacy policies. However, you can still record calls using third-party apps that support accessibility services or VoIP-based recording. Many users prefer modified versions of apps like Truecaller, which offer advanced features including call recording without limitations. You can check out a trusted version here: https://truecalrmodapk.com/

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

79743418

Date: 2025-08-22 13:01:30
Score: 3
Natty:
Report link

update the pybind11 repository and this issue disappears.

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

79743415

Date: 2025-08-22 12:56:29
Score: 3
Natty:
Report link

Android Studio Narwhal Feature Drop | 2025.1.2 Patch 1

This can help.

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

79743408

Date: 2025-08-22 12:51:28
Score: 1
Natty:
Report link
ALTER TABLE ttab DROP CONSTRAINT IF EXISTS unq_ttab;

CREATE UNIQUE INDEX unq_ttab_1 ON ttab (partition_num, id);

ALTER TABLE ttab ADD CONSTRAINT unq_ttab UNIQUE (partition_num, id);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user28232928

79743399

Date: 2025-08-22 12:38:25
Score: 1
Natty:
Report link

There's a note in the "Using API tokens" article, that says:

API tokens used to access Bitbucket APIs or perform Git commands must have scopes.

Creating a scoped token and using it instead of password in PyCharm prompt solved the issue for me.

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

79743392

Date: 2025-08-22 12:25:22
Score: 2.5
Natty:
Report link

I got a similar problem, although I was using --onedir option of pyinstaller. In my case the error was due to unicode characters in the directory name. Copying the onnx model to a temp file solved the problem. It works even when the Windows username contains unicode.

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

79743391

Date: 2025-08-22 12:23:22
Score: 0.5
Natty:
Report link

So basically, when you run Vulkan, it kinda “takes over” the window. Think of it like Vulkan puts its own TV screen inside your game window and says “okay, I’m in charge of showing stuff here now.”

When you switch to DirectX, you’re telling Vulkan “alright, you can leave now.” Vulkan packs up its things and leaves… but the problem is, it forgets to actually take its TV screen out of the window. So Windows is still showing that last frame Vulkan left behind, like a paused YouTube video.

Meanwhile, DirectX is there, yelling “hey, I’m drawing stuff!” — but Windows ignores it, because it still thinks Vulkan owns the window. That’s why you just see the frozen Vulkan image.

The fix is basically making sure Vulkan really leaves before DirectX moves in. That means:


So in short: Vulkan isn’t secretly still running — it just forgot to give the window back to Windows. DirectX is drawing, but Windows isn’t letting it through until Vulkan fully hands over the keys.

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

79743388

Date: 2025-08-22 12:20:21
Score: 2.5
Natty:
Report link

Firebase Craslytcs does not run very easily on maui dotnet9 depending on the project context, many developers can use it with maui dotnet9, however for my context it does not work either, try with Sentry smooth implementation with compatibility, it ran very easily https://docs.sentry.io/platforms/dotnet/guides/maui/

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

79743387

Date: 2025-08-22 12:17:20
Score: 0.5
Natty:
Report link

As it turns out, the problem was not NextCloud. Using this tutorial I implemented a working login flow using only the `requests` package. The code for that is below. It is not yet handling performing any kind of API request using the obtained access token beyond the initial authentication, nor is it handling using the refresh token to get a new access token when the old one expired. That is functionality an oauth library is usually handling and this manual implementation is not doing that for now. However it proves the problem isn't with NextCloud.

I stepped through both the initial authlib implementation and the new with a debugger and the request sent to the NextCloud API for getting the access token looks the same in both cases at first glance. There must be something subtly wrong about the request in the authlib case that causes the API to run into an error. I will investigate this further and take this bug up with authlib. This question here is answered and if there is a bug fix in authlib I will edit the answer to mention which version fixes it.


from __future__ import annotations

from pathlib import Path
import io
import uuid
from urllib.parse import urlencode
import requests
from flask import Flask, render_template, jsonify, request, session, url_for, redirect
from flask_session import Session

app = Flask("webapp")

# app.config is set here, specifically settings:
# NEXTCLOUD_CLIENT_ID
# NEXTCLOUD_SECRET
# NEXTCLOUD_API_BASE_URL
# NEXTCLOUD_AUTHORIZE_URL
# NEXTCLOUD_ACCESS_TOKEN_URL

# set session to be managed server-side
Session(app)


@app.route("/", methods=["GET"])
def index():
    if "user_id" not in session:
        session["user_id"] = "__anonymous__"
        session["nextcloud_authorized"] = False
    return render_template("index.html", session=session), 200

@app.route("/nextcloud_login", methods=["GET"])
def nextcloud_login():
    if "nextcloud_authorized" in session and session["nextcloud_authorized"]:
        redirect(url_for("index"))

    session['nextcloud_login_state'] = str(uuid.uuid4())

    qs = urlencode({
        'client_id': app.config['NEXTCLOUD_CLIENT_ID'],
        'redirect_uri': url_for('callback_nextcloud', _external=True),
        'response_type': 'code',
        'scope': "",
        'state': session['nextcloud_login_state'],
    })

    return redirect(app.config['NEXTCLOUD_AUTHORIZE_URL'] + '?' + qs)

@app.route('/callback/nextcloud', methods=["GET"])
def callback_nextcloud():
    if "nextcloud_authorized" in session and session["nextcloud_authorized"]:
        redirect(url_for("index"))

    # if the callback request from NextCloud has an error, we might catch this here, however
    # it is not clear how errors are presented in the request for the callback
    # if "error" in request.args:
    #     return jsonify({"error": "NextCloud callback has errors"}), 400

    if request.args["state"] != session["nextcloud_login_state"]:
        return jsonify({"error": "CSRF warning! Request states do not match."}), 403

    if "code" not in request.args or request.args["code"] == "":
        return jsonify({"error": "Did not receive valid code in NextCloud callback"}), 400

    response = requests.post(
        app.config['NEXTCLOUD_ACCESS_TOKEN_URL'],
        data={
            'client_id': app.config['NEXTCLOUD_CLIENT_ID'],
            'client_secret': app.config['NEXTCLOUD_SECRET'],
            'code': request.args['code'],
            'grant_type': 'authorization_code',
            'redirect_uri': url_for('callback_nextcloud', _external=True),
        },
        headers={'Accept': 'application/json'},
        timeout=10
    )

    if response.status_code != 200:
        return jsonify({"error": "Invalid response while fetching access token"}), 400

    response_data = response.json()
    access_token = response_data.get('access_token')
    if not access_token:
        return jsonify({"error": "Could not find access token in response"}), 400

    refresh_token = response_data.get('refresh_token')
    if not refresh_token:
        return jsonify({"error": "Could not find refresh token in response"}), 400

    session["nextcloud_access_token"] = access_token
    session["nextcloud_refresh_token"] = refresh_token
    session["nextcloud_authorized"] = True
    session["user_id"] = response_data.get("user_id")

    return redirect(url_for("index"))
Reasons:
  • Blacklisted phrase (1): this tutorial
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Etienne Ott

79743385

Date: 2025-08-22 12:15:20
Score: 1
Natty:
Report link

Starting with Android 12 (API 31), splash screens are handled by the SplashScreen API. Flutter Native Splash generates the correct drawable for android:windowSplashScreenAnimatedIcon, but Android caches the splash drawable only after the first run. So, if the generated resource is too large, not in the right format, or not properly referenced in your theme, Android falls back to background color on first launch.

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

79743379

Date: 2025-08-22 12:06:18
Score: 3.5
Natty:
Report link

I am not sure if you have resolved this but what you may facing is DynamoDB read consistency issue, I had the similar issue.

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html

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

79743373

Date: 2025-08-22 11:55:15
Score: 2
Natty:
Report link

I am also struggling to set "de" as the keyboard layout on ubuntu core. I am using ubuntu-frame along with chromium kiosk for my ui. In your example, I would recommend building your own snap, which serves as a wrapper script that runs the firefox browser. With the flags daemon set to simple and restart-always set inside your snapcaft.yaml file, it should at least come up again after the user closed it.

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

79743370

Date: 2025-08-22 11:51:14
Score: 2.5
Natty:
Report link

As simple as this?
Application.bringToFront;

Works for me (Windows 10)

Reasons:
  • Whitelisted phrase (-1): Works for me
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Svein

79743360

Date: 2025-08-22 11:37:11
Score: 0.5
Natty:
Report link

I've fixed with the following:

Added app.UseStatusCodePagesWithRedirects("/error-page/{0}"); to the Program.cs.

Added the page CustomErrorPage.razor with the following content:

@page "/error-page/{StatusCode:int}"

<div>content</div>

@code {
    [Parameter]
    public int StatusCode { get; set; }

    public bool Is404 => StatusCode == 404;
    public string Heading => Is404 ? "Page not found 404" : $"Error {StatusCode}";
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: SDG6

79743358

Date: 2025-08-22 11:36:10
Score: 4
Natty:
Report link

ElastiCache supports Bloom filters with Valkey 8.1, which is compatible with Redis OSS 7.2. You can see https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BloomFilters.html for more information.

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

79743346

Date: 2025-08-22 11:25:07
Score: 5
Natty: 5.5
Report link

Olá, se estiver usando algum programa de backup em nuvem desative ele na hora de compilar.

Reasons:
  • Blacklisted phrase (2): Olá
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Marciano C.Rocha

79743345

Date: 2025-08-22 11:25:07
Score: 2.5
Natty:
Report link
mailto:[email protected],[email protected],[email protected]&cc=...

All other examples did not work for me. This one seems to work.

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: GioiGio

79743340

Date: 2025-08-22 11:22:06
Score: 3.5
Natty:
Report link

As of August 2025, Visual Studio 2017 community edition can be downloaded from this link https://aka.ms/vs/15/release/vs_community.exe without login in to a subscription.

Also, the professional version can be downloaded here https://aka.ms/vs/15/release/vs_professional.exe

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
Posted by: Dush