79362926

Date: 2025-01-16 20:06:06
Score: 1
Natty:
Report link

There's no built-in method for that, you'd have to query and compare; or do full index comparison using the scroll / PIT APIs.

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

79362925

Date: 2025-01-16 20:06:06
Score: 2
Natty:
Report link

You can't use your own UI fields to capture raw card information as passing raw card information to Stripe's API comes with some requirements and requires approval from Support.

I'd recommend reading https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis and reaching out to their Support team if you meet the requirements.

According to docs - CardForm and CardField both do support style parameter. Have you tried using that to customize the look?

https://stripe.dev/stripe-react-native/api-reference/index.html#CardField

https://stripe.dev/stripe-react-native/api-reference/index.html#CardForm

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: hanzo

79362923

Date: 2025-01-16 20:05:06
Score: 1
Natty:
Report link

Solution 2025

I faced the same issue while connecting to mongo through mongo-express. Below are the steps i followed to get rid of the issue.

  1. First replace ME_CONFIG_MONGODB_SERVER with ME_CONFIG_MONGODB_URL.

It should look like "docker run -it -p 8081:8081 -e ME_CONFIG_MONGODB_URL=mongodb://root:root@{IP address of mongodb container} mongo-express " this will work if your mongo server is not running on a separate network.

IP Address can be found using "docker inspect {mongo server container id}"

  1. Alternatively, If your mongo server has been created using custom network.

Your command would be "docker run -it -p 8081:8081 -e ME_CONFIG_MONGODB_URL=mongodb://root:root@{Mongo server name (or) IP address of mongodb container} --network {network id} mongo-express ".

Network id can be found using "docker network ls". search for your mongo server.

Please Upvote if you find this helpfull.

Reasons:
  • Blacklisted phrase (0.5): Upvote
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Hafeez Mohammad

79362921

Date: 2025-01-16 20:05:06
Score: 1
Natty:
Report link

Finally the solution for this case was to modify the app code by doing the following changes:

app.UseHttpsRedirection();

app.UseForwardedHeaders(new ForwardedHeadersOptions { ForwardedHeaders = Microsoft.AspNetCore.HttpOverrides.ForwardedHeaders.XForwardedProto,
});

Additionally, I performed some adjustments in apache server in the VirtualHost that handles requirements with port 80. This line was added:

Redirect permanent / "https://example.com/"

after those changes, the application was authenticated sucessfully against azure entra and the redirection was correct.

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

79362920

Date: 2025-01-16 20:03:05
Score: 0.5
Natty:
Report link

I changed time filter and loading/ loaded filter, could you please try this?

SELECT b.bill_number, 
       b.detail_line_id, 
       b.callname, 
       b.destname, 
       a.trip_number, 
       b.deliver_by, 
       a.status_code
FROM odrstat a
LEFT JOIN tlorder b 
  ON a.order_id = b.detail_line_id
WHERE a.trip_number = 62886 
  AND NOT EXISTS (
      SELECT 1 
      FROM odrstat c
      WHERE c.order_id = a.order_id 
        AND c.status_code IN ('LOADING', 'LOADED')
  )
  AND b.deliver_by >= CURRENT_TIMESTAMP + INTERVAL 3 HOUR
  AND b.deliver_by < CURRENT_TIMESTAMP + INTERVAL 4 HOUR
GROUP BY b.bill_number, 
         b.detail_line_id, 
         b.callname, 
         b.destname, 
         a.trip_number, 
         b.deliver_by, 
         a.status_code;
Reasons:
  • Whitelisted phrase (-1): try this
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: bsraskr

79362919

Date: 2025-01-16 20:03:05
Score: 1.5
Natty:
Report link

If you simply want to display it on a web page (e.g. within HTML) I use <pre><xmp>$xml</xmp></pre>

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

79362918

Date: 2025-01-16 20:03:05
Score: 2
Natty:
Report link

While the pricing calculator docs still say that no API exists, it's worth noting their does seem to be an SDK. https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/

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

79362917

Date: 2025-01-16 20:03:05
Score: 2.5
Natty:
Report link

What to do to change this not for all disks, but for a particular disk? So for example:, C: alert at 80% D: alert at 80% E: alert at 95% Because the E partition is very large and so an alert at 80% means there is still a lot of free space left.

Actually would perhaps even be better to check for a minimum of ex. 150GB free disk space on F: Is that possible?

( I use Zabbix 7)

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What to
  • Low reputation (1):
Posted by: R7W5E

79362916

Date: 2025-01-16 20:02:05
Score: 2
Natty:
Report link

-- Fetch all branches from the remote repository

git fetch

-- List all branches, including remote branches

git branch -a

-- Create a new local branch tracking the remote branch

git checkout -b feature-branch origin/feature-branch

-- Verify that you are on the new branch

git branch

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

79362914

Date: 2025-01-16 20:01:04
Score: 1
Natty:
Report link

Do you have sample code? my passwords not sync with ns flux-system in k8s github up to date password as encrypted

i shown code structure

ns: flux-system has my-secrets

i placed secret encrypted under /apps/test

apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
  name: podinfo
  namespace: flux-system
spec:
  interval: 5m
  url: https://github.com/narayanab16/podinfo
  ref:
    branch: main
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
  name: podinfo
  namespace: flux-system
spec:
  interval: 10m
  targetNamespace: flux-system
  sourceRef:
    kind: GitRepository
    name: podinfo
  path: "./apps/test"
  prune: true
  timeout: 1m
  # Decryption configuration starts here
  decryption:
    provider: sops
    secretRef:
      name: sops-age

enter image description here

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Narayana Basetty

79362891

Date: 2025-01-16 19:54:03
Score: 1
Natty:
Report link

Publishing a branch is the act of making a branch available on a remote repository (e.g., GitHub, GitLab, or Bitbucket) for the first time. When it Happens: If the branch exists only locally (on your machine), it has not been uploaded to the remote repository. When you "publish" it, the branch gets created in the remote repository, and you can share it with others.

Pushing is the action of uploading your commits (changes) from your local branch to the corresponding branch in the remote repository. When it Happens: If the branch already exists on the remote, you "push" changes to update it. This keeps the remote branch in sync with your local branch.

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

79362879

Date: 2025-01-16 19:48:01
Score: 2.5
Natty:
Report link

I have made a small Project to calculate the intersection Point of 4 Spheres in 3D Space. The approach is a set of geometrical calculations between Circles, Planes, Speres etc. in 3D space some of which migth be usefull for other purposes.

Basically i implemented this: https://gamedev.stackexchange.com/questions/75756/sphere-sphere-intersection-and-circle-sphere-intersection

The Project: https://github.com/flhel/geometricCalcuations

Side note: This is not how GPS Calculates the Position due too measurment errors. For GPS like purposes you could use something like the Bancroft-Algorithm.

Source: https://www.researchgate.net/publication/296816047_Mathematische_Grundlagen_fur_GPS

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

79362878

Date: 2025-01-16 19:47:00
Score: 5
Natty:
Report link

@Prateek, could you help on where can we find the jdk-8u101 for mac os aarm chip (M2 pro). I tried https://www.azul.com/downloads/?version=java-8-lts&os=macos&architecture=arm-64-bit&package=jdk#zulu but getting null pointer exception.

java -jar V998597-01.jar -ignoreSysPrereqs Launcher log file is /private/var/folders/5j/0sp1k0g92_376dtjgdlr357w0000gn/T/OraInstall2025-01-16_11-17-24AM/launcher2025-01-16_11-17-24AM.log. Extracting the installer . . . . . . . Done Exception in thread "main" java.lang.NullPointerException at com.oracle.cie.nextgen.common.inventory.InventoryUtils.getDefaultInvPtrLoc(InventoryUtils.java:131) at com.oracle.cie.nextgen.launcher.PlatformHelper.getDefaultInventoryPointerFile(PlatformHelper.java:496) at com.oracle.cie.nextgen.launcher.Utils.getInvPtrLoc(Utils.java:449) at com.oracle.cie.nextgen.launcher.Launcher.doMainHelper(Launcher.java:2334) at com.oracle.cie.nextgen.launcher.Launcher.execute(Launcher.java:4107) at com.oracle.cie.nextgen.launcher.Launcher.main(Launcher.java:3969)

Reasons:
  • RegEx Blacklisted phrase (3): could you help
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Prateek
  • Low reputation (1):
Posted by: Jagadeesh

79362877

Date: 2025-01-16 19:47:00
Score: 1
Natty:
Report link

Another way would be:

words.removeIf( name -> name.toLowerCase().startsWith( letter.toLowerCase() ));
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Marce Puente

79362873

Date: 2025-01-16 19:42:59
Score: 1
Natty:
Report link

https://pub.dev/packages/sim_card_code

final phoneContry = await SimCardInfo.simCountryCode;

worked well for me, the good thing about it is that it is

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

79362869

Date: 2025-01-16 19:40:58
Score: 2.5
Natty:
Report link

don't assign the variables inside private void InitializeComponent(); instead "Double click on the form and in it's Load event" make the assignments. (this will keep the designer happy). Kudos to "https://mbmproject.com/blog/tutorials/windows-forms-c-variables-strings-and-boolean"

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

79362868

Date: 2025-01-16 19:40:58
Score: 1.5
Natty:
Report link

There might be an overlapping element that is not clickable.

Try Actions instead of click.

For java it would be:

new Actions(driver).moveToElement(yourElement).click().perform();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pekotski Bit

79362863

Date: 2025-01-16 19:38:57
Score: 1
Natty:
Report link

I would suggest to create a bean for RestClient client; When spring load bean properly while starting the app.

@Bean 
RestClient client() {
return RestClient.builder().baseUrl(url).build();
}

and use the bean in service directly instead of setting the url in service class

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

79362858

Date: 2025-01-16 19:35:57
Score: 2
Natty:
Report link

you need to update/downgrade ruby please follow these instructions as i had the same issue and fixed by this one

https://dev.to/luizgadao/easy-way-to-change-ruby-version-in-mac-m1-m2-and-m3-16hl

Reasons:
  • Whitelisted phrase (-1): i had the same
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: user3148077

79362856

Date: 2025-01-16 19:34:55
Score: 8 🚩
Natty: 5.5
Report link

Do you know how we can do that on windows containerd ?

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you know how
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mohamed Ashraf

79362854

Date: 2025-01-16 19:33:55
Score: 1
Natty:
Report link

Solution 2025

I faced the same issue while connecting to mongo through mongo-express. Below are the steps i followed to get rid of the issue.

  1. First replace ME_CONFIG_MONGODB_SERVER with ME_CONFIG_MONGODB_URL.

It should look like "docker run -it -p 8081:8081 -e ME_CONFIG_MONGODB_URL=mongodb://root:root@{IP address of mongodb container} mongo-express " this will work if your mongo server is not running on a separate network.

IP Address can be found using "docker inspect {mongo server container id}"

  1. Alternatively, If your mongo server has been created using custom network.

Your command would be "docker run -it -p 8081:8081 -e ME_CONFIG_MONGODB_URL=mongodb://root:root@{Mongo server name (or) IP address of mongodb container} --network {network id} mongo-express ".

Network id can be found using "docker network ls". search for your mongo server.

Please Upvote if you find this helpfull.

Reasons:
  • Blacklisted phrase (0.5): Upvote
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Hafeez Mohammad

79362853

Date: 2025-01-16 19:33:54
Score: 4
Natty: 5
Report link

Yes, it is changed to sorttable. And this solution does work. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mani Subramaniyan

79362831

Date: 2025-01-16 19:23:52
Score: 1.5
Natty:
Report link

Okay.. I found the reason why my job getting moved so early.. It often get moved with the error "maxAttemps[..]".

=> Although I set the timeout inside the job to 900sec, my worker retried the job after the default time. That results in the described behaviour. The job get finished, but appeared already as failed.

The solution for me is to set the worker timeout parameter to 0sec (--timeout=0) in that way I can choose the timeout in my jobs and now it works as intended :)

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

79362825

Date: 2025-01-16 19:21:50
Score: 9.5 🚩
Natty: 5.5
Report link

Were you ever able to resolve this? I'm having the same issue, except it's when it comes to the Fine Grin ACL Permissions. Microsoft Docs indicate that if there is no RBAC the storage will check the ACL permissions. I've fully configured the ACL, and yet I can't get in. I can get in if I use RBAC, but then the ACL gets ignored.

Reasons:
  • RegEx Blacklisted phrase (1.5): resolve this?
  • RegEx Blacklisted phrase (3): Were you ever
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Carlos Silva

79362821

Date: 2025-01-16 19:20:50
Score: 1
Natty:
Report link

As of now, this can’t be done across different GCP projects, subscriptions are only where the topic resides.

On Google side, there is a ‘feature request’ that you can file, but there is no timeline on when it can be done.

What I can suggest for now is to create a separate topic for prod and test environments then configure your Play Store RTDN to receive your desired notification.

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

79362805

Date: 2025-01-16 19:16:49
Score: 0.5
Natty:
Report link

starting with as you mentioned eventDidMount() and inset-inline-start, gave me an head-start or an idea as to where to start off, so using inspect found that each element of was positioned absolute and with css inline inset values automatically by the fullCalendar library, played around a little with classes and the inset values,

after doing all these i was sure that i need to change the inset values, which was already told by ADyson, but for having an clear picture i still checked it out once,

FAILED SOLUTION 1

now it was straight-forward like just overwrite the css inset left to 25% and right to 0 and rest to default set by the lib, the problem was all the elements were aligned in a single column overlapping each other, maybe even this is what you have tried and mentioned, which i realised it later, anyways

inset: unset 25% unset 0 !important;

FAILED SOLUTION 2

so to tackle the issue, the option left was using js, used the setProperty() to overwrite the left and right values, according to a condition, basically if the pre-set value by the lib was

it worked like a charm , but later when tried it on different real-world cases, i found out that it only worked for at least 3 events, which were in the same row, this failed miserably with 2 events, even after cracking around about it for a while, i felt thinking of another solution would be better as, literally everything was same, there was no way to distinguish between row with 3 and row with 2 events, so even this solution was scarped

FAILED SOLUTION 3

similar to the solution 2 we use javascript, and instead of using simple if-else based upon the pre-set left value, i used different data structures like array and dictionary, the idea was to add the start and end time values to the data structure, but before adding , i checked whether there is a an overlapping of the current event with the previously added events, if present then increase the left with 25%, it was the perfect solution for two events, but when the third event was introduced, it wasnt being positioned as expected,

tried different method on how the overlapping was checked, but still no progress, so had to again discard this method

SUCCESSFUL SOLUTION 4

using the dictionary data-structure, simply put i divide the whole width of the table into 4 parts with 25% for each part, as it was mentioned that the maximum events is 4 and the width is maximum of 25%,

so after dividing the page into 4 parts, kept adding events to each part based upon the overlapping status for that single part instead of all the events ( method used in solution 3 ),if not overlapping then add that event to that part, as simple as that

var dicte= new Map(); // dictionary to store the events of each part

eventDidMount: function(info) {
    // this function is called when everytime a new evented is added to the table

     var e = info.el.parentNode; // accessing the container class for current event, basically where the inset was added
     var sT = info.event.start; // to access the start time of the current event
     var eT = info.event.end; // to access the end time of the current event

     var startTime = new Date(sT).toTimeString().split(' ')[0]; // extract the start time in hh:mm:ss format
     var endTime = new Date(eT).toTimeString().split(' ')[0]; // extract the end time in hh:mm:ss format

     startTime = parseInt(startTime.split(":")[0].trim())*3600 + parseInt(startTime.split(":")[1].trim())*60 + parseInt(startTime.split(":")[2].trim()) // converting the start time to total seconds
     endTime = parseInt(endTime.split(":")[0].trim())*3600 + parseInt(endTime.split(":")[1].trim())*60 + parseInt(endTime.split(":")[2].trim()) // converting the end time to total seconds
     
     var base=0; // variable used to mention which part of the table, will the event be added to
     var skip=0; // used as an variable to determine, whther to go to the next part or not 
      for (const [key, value] of dicte) { // iterating over the dict
        for (const data of value){ // iterating over the array of current part's event time positions
          var currentstart=data[0] // extracting the start-time
          var currentend=data[1] // extracting the end-time
          if( // if cases to check all the possible overlapping conditions
            (startTime<=currentstart && (endTime>=currentstart && endTime<currentend)) || // checks for events starting earlier than the previous event but ending after the start of previous event 
            ((startTime>=currentstart && startTime<currentend) && endTime>=currentend) || // checks for events starting in between of previous event but ending after the completion 
            ((startTime>=currentstart && startTime<currentend) && (endTime>=currentstart && endTime<currentend)) || // checks for events starting and ending inbetween of previous events
            (startTime<=currentstart && endTime>=currentend) // checks for events starting before and ending later than the previous events
            ){
            skip=1; // if any of the condition satisfies, then break from the loop and skip to the next part of the body
            break;
          }
        }
        if(skip==1){
          base+=25; // skipping to next part by adding 25%
        }else break;// if skip == 0 meaning no collision or overlapping found in this part
        skip=0;// to reset the value for new part
      }

     var arr=(dicte.get(base)||[]);// get or create a new array for storing current part's events time
     arr.push([startTime,endTime]);// adding the current event time
     dicte.set(base,arr);// updating the dict

     e.style.setProperty("left",(base+"%"),"important"); // positioning the event based upon the base value
     e.style.setProperty('right','0%','important'); // setting it to zero always, providies clarity of logic
}

added an image which was used to develop the overlapping check condition, not sure if you understand it due to incomplete drawing, but still for reference

overlapping check condition

so the working in simple words is that the time is converted to seconds,for example

used 24-hr format, to make this solution work use 24hr format only to get the time and conversion to seconds, hope the above example was enough to understand why 23-hr format is used

okay so after converting the time to seconds it becomes way easier to compare with other event times, specially when dealing with a fixed size column ( 25% width ), instead of a matrix or table with uneven row sizes

so the control flow is like when an event is added the event time is converted to seconds , then every part of the table from beginning is checked in a column wise manner, where the event can be replaced without overlapping, after checking. the part is returned and required changes are made to the left and right style property of the event

according to me , while developing the code i have taken care of all the possible use cases, if i have left out any, please feel free to reach out

also if there is any part of the code that you feel, i havent explained, you can still contact

Reasons:
  • Blacklisted phrase (0.5): i need
  • Blacklisted phrase (1): worked like a charm
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (1): i have left out any, please
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Daksh Rawal

79362802

Date: 2025-01-16 19:14:48
Score: 2
Natty:
Report link

[Yecau]<

8842R70718 WARY PRAIRIE GOTHENBURG

5706584133 here methodologies

][9] you yas have here SERVER

Heights from generation https://Gorebox/please 8 200 SERVER version

Blockquote

strong text

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Валентина Назарук

79362801

Date: 2025-01-16 19:13:48
Score: 1
Natty:
Report link

The following worked for me: In my VS Code terminal, instead of "Powershell" I just opened "Command Prompt" terminal.

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

79362798

Date: 2025-01-16 19:10:47
Score: 2
Natty:
Report link

For futures references. The following works:

df = spark.read.option("delimiter", ";").option("quote", "").csv(path, header=False, inferSchema=False)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Javier Sevillano

79362794

Date: 2025-01-16 19:09:47
Score: 0.5
Natty:
Report link
#include <stdint.h>

uint16_t rotate_right_16bit(uint16_t value, uint8_t num_rotates)
{
    num_rotates %= 16;

    while (num_rotates--)
    {
        uint16_t lsb = (value & 1) << 15;
        value = (value >> 1) | lsb;
    }
    return value;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alon Alush

79362789

Date: 2025-01-16 19:08:46
Score: 4.5
Natty: 7
Report link

Very much appreciated. It works amazingly fine!

Reasons:
  • Blacklisted phrase (1): appreciated
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Salvador Martinez

79362773

Date: 2025-01-16 19:00:44
Score: 1.5
Natty:
Report link

You can also add multiple file types in the "in" parenthetical list. For example, I am working with thousands of various pictures as part of an archival effort, and this includes .jpg, .jpeg, and .PNG file types. Since the pictures came from numerous cameras and backup sources, there are duplicate file names to deal with. I modified the original batch file to meet my needs as follows:

@echo off for %%a in (*.txt) do ren "%%a" "DUP~%%a.tmp" ren *.tmp *.

Note: in my Windows 10 environment, I did not need to add the file type extension on the last line. When I did test with the final entry to address only .jpg files as: ren *.tmp *.jpg The resulting rename caused the file extension to be .jpg.jpg Leaving the line as I posted it in my example properly renamed as needed, and the correct file extensions were assigned according to the original file's extension (.jpg, .jpeg, or .PNG) as appropriate.

Hope this helps someone!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • User mentioned (1): @echo
  • Low reputation (1):
Posted by: user29231773

79362762

Date: 2025-01-16 18:53:43
Score: 3
Natty:
Report link

Saved my life! I updated Expo from 49 to 50 and started having problems. Now it's solved. God bless you my friend!

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

79362755

Date: 2025-01-16 18:51:42
Score: 1
Natty:
Report link

This checks if string is not empty before extracting its first character and comparing it, case-insensitively, to "s" and avoid errors with empty strings.

words.removeIf(name -> !name.isEmpty() && name.substring(0, 1).equalsIgnoreCase("s"));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sim

79362753

Date: 2025-01-16 18:50:42
Score: 0.5
Natty:
Report link

I solved the problem by requesting the auth product.

I don't know why they didn't just give me access to auth right away.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Roizy Kish

79362751

Date: 2025-01-16 18:49:42
Score: 2
Natty:
Report link

add &connect_timeout=10 at the end of your env variable. This error comes because your neon DB connection gets cut after 5 min of inactivity. Read about it in the following url: https://neon.tech/docs/guides/prisma#connection-timeouts

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

79362747

Date: 2025-01-16 18:48:41
Score: 2.5
Natty:
Report link

Same. I have a sheet with 500 images inserted via Apps Script sheet.insertImage(). I can rebuild the sheet a thousand times by running the script a thousand times, but sooner or later, insertImage() will fail and the user has to make a copy of the spreadsheet to make the same code work the way it used to.

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

79362728

Date: 2025-01-16 18:38:39
Score: 3
Natty:
Report link

sometimes, if error still occurs, we just define the llm model in all of the agents, as they have been assigned a default model.

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

79362727

Date: 2025-01-16 18:38:39
Score: 3
Natty:
Report link

I understand this is an old post but it's one of the first that showed up in google so here I am. I found Pinax's API endpoints and after testing them, I can say they are the fastest API I found for Near also using cross-chain features, especially for indexers using RPCs. Curious if you guys found another faster provider? Was aiming to beat the TOP3 out there but none could make the cut to get Near AND also SOlana's data in one fast sitting.

Another test made with substreams gave me 300ms faster calls than RPCs. Curious? Just google: Substreams for Near, it's in Rust btw.

Thoughts on any of these?

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Louis-Philippe Bellier

79362725

Date: 2025-01-16 18:36:38
Score: 0.5
Natty:
Report link

import pandas as pd

Step 1: Load the Excel file

input_file = 'Corporate Fin. Assignment.xlsx' # Replace with your actual file name output_file = 'Financial_Ratios_Calculations.xlsx' # The output file name

Load sheets

income_statement = pd.read_excel(input_file, sheet_name='Income Statement & Balance shee') financial_ratios = pd.read_excel(input_file, sheet_name='Financial Ratio')

Step 2: Merge both sheets on 'Company' and 'Year'

data = income_statement.merge(financial_ratios, on=['Company', 'Year'])

Step 3: Calculate ratios

data['Calculated_Current_Ratio'] = data['Current Assets'] / data['Current Liabilities'] data['Calculated_Quick_Ratio'] = data['Current Assets'] / data['Current Liabilities'] # No inventory data data['Calculated_Gross_Profit_Margin'] = (data['Gross Profit'] / data['Revenue']) * 100 data['Calculated_Net_Profit_Margin'] = (data['Net Income'] / data['Revenue']) * 100 data['Calculated_ROA'] = (data['Net Income'] / data['Total Assets']) * 100 data['Calculated_ROE'] = (data['Net Income'] / data['Shareholder Equity']) * 100 data['Calculated_Debt_to_Equity'] = data['Total Liabilities'] / data['Shareholder Equity'] data['Calculated_Asset_Turnover'] = data['Revenue'] / data['Total Assets'] data['Calculated_Interest_Coverage'] = data['Operating Income'] / data['Interest Expense'] data['Calculated_EPS'] = data['Net Income'] / data['Average Shares Outstanding'] data['Calculated_PE_Ratio'] = data['Market Price per Share'] / data['Calculated_EPS']

Step 4: Save the results to an Excel file

output_columns = [ 'Company', 'Year', 'Current Ratio', 'Calculated_Current_Ratio', 'Quick Ratio', 'Calculated_Quick_Ratio', 'Gross Profit Margin (%)', 'Calculated_Gross_Profit_Margin', 'Net Profit Margin (%)', 'Calculated_Net_Profit_Margin', 'Return on Assets (ROA) (%)', 'Calculated_ROA', 'Return on Equity (ROE) (%)', 'Calculated_ROE', 'Debt-to-Equity Ratio', 'Calculated_Debt_to_Equity', 'Asset Turnover Ratio', 'Calculated_Asset_Turnover', 'Interest Coverage Ratio', 'Calculated_Interest_Coverage', 'Earnings per Share (EPS)', 'Calculated_EPS', 'Price to Earnings (P/E) Ratio', 'Calculated_PE_Ratio' ]

Select relevant columns and save

data[output_columns].to_excel(output_file, index=False)

print(f"Financial Ratios have been saved to {output_file}")

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

79362720

Date: 2025-01-16 18:35:38
Score: 2.5
Natty:
Report link

We also need to do something similar for an air-gapped device. I.e build a patch in CI and then copy the patch across and apply it on a device that is fully offline.

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

79362706

Date: 2025-01-16 18:29:36
Score: 0.5
Natty:
Report link

You should use a combination of dir with the /B flag and findstr

@echo off
setlocal enabledelayedexpansion

set "zipMask=ZipForCloudMaster ????-??-??_??-??-??.zip"
set "zcnt=0"

REM Use dir and pipe through findstr to handle the specific pattern
for /f "delims=" %%A in ('dir /b /a-d ^| findstr /r /i "^ZipForCloudMaster [0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]_[0-9][0-9]-[0-9][0-9]-[0-9][0-9]\.zip$"') do (
    if !zcnt!==0 echo Zip files present:
    echo %%A
    set /a zcnt+=1
)

if !zcnt!==0 (
    echo WARNING: Older zip files found. Proceeding will include these in the new zip.
) else (
    echo No older zip files found. Safe to proceed.
)
Reasons:
  • Blacklisted phrase (1): ???
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Swapnil Prakash

79362688

Date: 2025-01-16 18:23:34
Score: 2.5
Natty:
Report link

Just generate new keys, it works for me as my time was correct

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: siesto1elemento

79362677

Date: 2025-01-16 18:19:33
Score: 3.5
Natty:
Report link

check out this link: https://github.com/longld/peda/issues/177

apt install python3-six and then inside the peda folder remove the six.py from lib folder.

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Moritz Hasenleithner

79362675

Date: 2025-01-16 18:19:32
Score: 7 🚩
Natty: 4
Report link

Did you ever figure this out? We are having this issue right now as well.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever figure this out
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: Dean Friedland

79362674

Date: 2025-01-16 18:18:31
Score: 1.5
Natty:
Report link

The problem with slow connection opening may be caused by using the outdated Microsoft OLE DB Provider for SQL Server (Provider=SQLOLEDB.1).

In this case, switching to Microsoft OLE DB Driver for SQL Server (Provider=MSOLEDBSQL.1) should help.

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

79362672

Date: 2025-01-16 18:18:31
Score: 2.5
Natty:
Report link

I found a way, just adding ToList().AsQueryable(), resolved the issue:

I change my query line with the following: query = (_context.FormCellSouches).Select(a => mapper.Map<FormCellSouch, DTOFormCellSouches>(a)).ToList().AsQueryable();

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

79362671

Date: 2025-01-16 18:17:31
Score: 1
Natty:
Report link

(From this github issue) Instead of using react-native-reanimated runOnJS on your frame processor, switch to https://github.com/margelo/react-native-worklets-core

"Use const myFunctionJS = Worklets.createRunInJsFn(myFunction) and then call myFunctionJS from the frame processor"

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

79362670

Date: 2025-01-16 18:17:31
Score: 3.5
Natty:
Report link

Sergei's solution works for my case too. But I didn't find any content about the REP socket type in the libzmq documentation, and they are using SUB socket in their code example. So is the documentation wrong?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bo Zhang

79362668

Date: 2025-01-16 18:15:29
Score: 11.5 🚩
Natty: 5
Report link

I'm trying to create a workspace this API call: https://learn.microsoft.com/en-us/rest/api/power-bi/groups/create-group

Previously I created a service entity profile and sent in body request for create workspace like this: 'Authorization' => 'Bearer ' . $accessToken, 'X-PowerBI-Profile-Id' => $profileId, 'Content-Type' => 'application/json', In Azure Portal I have granted specific permissions for the handling API based on this article: https://learn.microsoft.com/es-es/power-bi/developer/embedded/embed-multi-tenancy#create-a-profile Azure Permissions

I don't see the workspace associated to service entity profile in Power BI Service.

Do you have any idea?

Thanks in advance.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (1): any idea?
  • RegEx Blacklisted phrase (3): Thanks in advance
  • RegEx Blacklisted phrase (2.5): Do you have any
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: David Monreal

79362653

Date: 2025-01-16 18:10:28
Score: 0.5
Natty:
Report link
  1. Understand the Engine’s Rendering System

Disassemble the existing OpenGL DLL and Render DLL to understand how they interact with the game engine. Use dependency walkers (like Dependency Walker or Ghidra) to inspect function calls and dependencies.

If available, check the engine’s documentation or modding community for insights into how rendering works.

  1. Reverse-Engineer the Existing DLLs

If the engine is closed-source, you may need to reverse-engineer the DLLs using IDA Pro, Ghidra, or similar tools. Identify function calls related to rendering (e.g., glBegin, glEnd, glDrawArrays). Map the function signatures to their equivalent in modern OpenGL or another rendering API.

  1. Create a Wrapper DLL

A common approach is to create a wrapper DLL that mimics the original DLL’s exported functions but redirects calls to a modern renderer. This way, the engine still believes it is calling the original OpenGL functions, but your wrapper handles rendering differently. Use tools like Detours (for Windows) or LD_PRELOAD (for Linux) to intercept and replace function calls.

  1. Develop a New Render DLL Once you understand the rendering flow, you can develop a new Render DLL that directly communicates with a newer API like Vulkan, DirectX, or Modern OpenGL (Core Profile). Implement an abstraction layer that translates old OpenGL calls to newer equivalents.

  2. Inject and Test

Replace the old DLLs with your new ones and test for compatibility. Use debugging tools like RenderDoc or apitrace to check if rendering commands are working correctly. Expect crashes initially—use logs and debugging tools to diagnose issues.

  1. Optimize and Expand

Once you have the basics working, you can introduce performance improvements, new shaders, and modern rendering techniques. Alternative Approach: Use an Existing Wrapper Some projects already provide OpenGL wrappers that modernize older versions. Check:

GLShim (translates OpenGL 1.x calls to OpenGL ES). Mesa3D’s llvmpipe (a software OpenGL renderer). Let me know if you need specific guidance on implementation.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: GO4IT NICOLAS FREELANCER IT

79362652

Date: 2025-01-16 18:09:28
Score: 1.5
Natty:
Report link

To send an 8-bit keycode (which includes multimedia keys), you need to add the modifier. E.g. KEY_MUTE is defined as 0x7F, but the library always clears the 8th bit unless the key is Shifted. So, use:

​DigiKeyboard.sendKeyStroke(KEY_MUTE, MOD_SHIFT_LEFT).​
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Richard

79362642

Date: 2025-01-16 18:07:27
Score: 3.5
Natty:
Report link

Just do the link thingy in SwiftUI, and as the url, put imessage:// That will open the app. But to start a chat with a person in iMessage, the url will be imessage://

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

79362640

Date: 2025-01-16 18:06:27
Score: 1.5
Natty:
Report link

Thank you very for all of you. I found

I found the answer. It was a rookie syntax error This is the working code

FDQuery1.sql.Text := 'INSERT INTO tblTags ("Group", "Title", "Keys", "AllKeys") VALUES (:group, :title, :keys, :allkeys)';
 FDQuery1.ParamByName('group').asString := ComboBox1.Text;
 FDQuery1.ParamByName('title').asString := cxTextEdit2.Text;
 FDQuery1.ParamByName('keys').asString := cxTextEdit3.Text;
 FDQuery1.ParamByName('allkeys').asString := cxRichEdit2.Text;
 FDQuery1.ExecSQL;

The problem was that I didn't put the fields in the table under " "

Thanks again to everyone.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dusko Jovic

79362633

Date: 2025-01-16 18:03:26
Score: 1
Natty:
Report link

I have verified the following solution and it working as expectedly jasper report text exports.

<property name="net.sf.jasperreports.export.text.line.separator" value="&#x0D;&#x0A;"/>

After changing LF to CRLF

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

79362630

Date: 2025-01-16 18:03:26
Score: 0.5
Natty:
Report link

Regression is a classification problem, where the output function y is 0,1 or True, False. Then it is enough to fit_transform your original data.

from sklearn import preprocessing
y = y_train.ravel()
lab = preprocessing.LabelEncoder()
y_transformed = lab.fit_transform(y)
print(y_transformed)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: novice_cplusplus

79362628

Date: 2025-01-16 18:01:25
Score: 1.5
Natty:
Report link

The answer was:

import { jest } from "@jest/globals";

jest.unstable_mockModule("../const/a", () => ({
  isOn: true,
}));

const { b } = await import("func/b");
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Davi Caamano

79362607

Date: 2025-01-16 17:53:23
Score: 2.5
Natty:
Report link

Have you tried adding the following to the background.service_worker file?

chrome.sidePanel
  .setPanelBehavior({ openPanelOnActionClick: false })
  .catch(console.error);
Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: WarrenMfg

79362604

Date: 2025-01-16 17:52:22
Score: 0.5
Natty:
Report link

For Angular 18+ I use the appropriate overrides mixin for customization of angular material components. For example, to make the border width 4 add this to your styles.scss file and override the outlined-outline-width and/or outlined-focus-outline-width varriables :

@use '@angular/material' as mat;

html,
body {
  @include mat.form-field-overrides((
    outlined-outline-width: 4px,
    outlined-focus-outline-width: 4px
  ));
}

I would avoid overriding classes because those classes are NOT part of an API and are subject to change so could break if you upgrade. There are a variety of variables that can be overridden. I look at this file and search on overrides to see the various mixins: node_modules@angular\material_index.scss

Then you can find the scss file for a form fields. For example the form-fields-override:

@forward './form-field/form-field-theme' as form-field-* show form-field-theme, form-field-color, form-field-typography, form-field-density, form-field-base, form-field-overrides;

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @forward
  • Low reputation (1):
Posted by: Sean Segura

79362599

Date: 2025-01-16 17:52:22
Score: 1.5
Natty:
Report link

--tunnel

is the culprit. Seems like this is specifically a Windows 11 issue. To fix:

Go to Wifi Settings -> CLick on your wifi properties -> Switch to private network Configure firewall and security settings -> Disable firewall After this just run

npx expo start

without any additional args and it should work. I faced a similar issue and just solved it with this.

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

79362598

Date: 2025-01-16 17:52:22
Score: 4
Natty:
Report link

Where is the query funtion that uses that query key ‘session’

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Where is the
  • Low reputation (1):
Posted by: Owusu Gideon

79362594

Date: 2025-01-16 17:50:21
Score: 1
Natty:
Report link

I was advised to find a well-maintained React library because well-maintained code tends to be more reliable.

My coworker found this React library: Idle Timer.

Here are the considerations we had when implementing a user logout feature for inactivity:

The user should be logged out if they remain inactive after being shown a modal warning. Multiple tabs must be synchronized. For example, if the user is active in one browser tab, they shouldn't be logged out just because another tab is idle. If the user's computer goes into sleep mode, JavaScript timers will pause. When the user returns, the system must detect if they've been away too long and either prompt them to refresh the page or automatically log them out, requiring them to log back in.

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

79362590

Date: 2025-01-16 17:47:21
Score: 1
Natty:
Report link

If you define a KafkaAdmin bean in your application context, it can automatically add topics to the broker. To do so, you can add a NewTopic @Bean for each topic to the application context. Add the following code snippet that can use the same configuration to create the topic and kafka template also use the same

@Bean public KafkaAdmin admin() {
Map<String, Object> configs = new HashMap<>();
configs.put(AdminClientConfig.BOOTSTRAP_SERVERS_CONFIG, "localhost:9092");
return new KafkaAdmin(configs);

}

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Bean
  • Low reputation (1):
Posted by: Shahid Hussain

79362585

Date: 2025-01-16 17:45:20
Score: 0.5
Natty:
Report link

Answer by @peterhuba is incorrect. Apparently you need to do a lot more in Quarkus as you need to add spring data, spring jpa and spring envers dependency in liquibaseRuntime phase.

There is no direct way of doing this, but answer is it's tricky but yes you can achieve it. It's not very neat but close to a working solution.

You can also check certain discussions in Quarkus Github as well as Liquibase-hibernate issues here and here

In my ecosystem I use gradle.

configurations {
    compileOnly {
        extendsFrom annotationProcessor
    }
    liquibase
    liquibaseRuntime.extendsFrom runtime
}

ext {
    diffChangeLogVersion = "CHANGE-0002"
    rollbackTagVersion = "CHANGE-0002"
    diffChangeLogFile = "src/main/resources/XXXX/db-changelog-${diffChangeLogVersion}.oracle.sql"
    entitiesPackage =  XXX.XXX.XXX.XXX"
    hibernateGenericDialect = "org.hibernate.dialect.OracleDialect"
    springCoreVersion = "6.1.2"
    springDataVersion = "3.2.1"
}

dependencies {
    // Liquibase
    implementation "io.quarkus:quarkus-liquibase"
    liquibaseRuntime "org.liquibase.ext:liquibase-hibernate6:4.30.0"
    //liquibaseRuntime "org.liquibase:liquibase-groovy-dsl:3.0.2"
    liquibaseRuntime "info.picocli:picocli:4.7.5"
    liquibaseRuntime "com.oracle.database.jdbc:ojdbc11-production:23.2.0.0"
    liquibaseRuntime "javax.xml.bind:jaxb-api:2.3.1"
    liquibaseRuntime "ch.qos.logback:logback-core:1.2.9"
    liquibaseRuntime "ch.qos.logback:logback-classic:1.2.9"

    liquibaseRuntime "org.springframework:spring-core:${springCoreVersion}"
    liquibaseRuntime "org.springframework.data:spring-data-jpa:${springDataVersion}"
    liquibaseRuntime "org.springframework.data:spring-data-envers:${springDataVersion}"
    liquibaseRuntime sourceSets.main.output
}

task deleteDiffChangeLog(type: Delete) {
    delete diffChangeLogFile
}

task liquibaseEntitiesToDbDiffChangelog(type: JavaExec) {
    dependsOn deleteDiffChangeLog
    group = "liquibase"
    classpath sourceSets.main.runtimeClasspath
    classpath configurations.liquibaseRuntime
    mainClass = "liquibase.integration.commandline.LiquibaseCommandLine"
    args "--logLevel=FINE"
    args "--changeLogFile=${diffChangeLogFile}"
    args "--url=${dbURL}"
    args "--username=${dbUser}"
    args "--password=${dbPassword}"
    args "--defaultSchemaName=${dbSchema}"
    args "--driver=${dbDriver}"
    args "--referenceUrl=hibernate:spring:${entitiesPackage}?dialect=${hibernateGenericDialect}"
    args "diffChangeLog"
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @peterhuba
  • Low reputation (1):
Posted by: siddharthapd

79362583

Date: 2025-01-16 17:44:20
Score: 1.5
Natty:
Report link

You neet to publish app in GPGS in Google play console (if publish button disable, resolve conflicts below) and set application sign SHA1 (not upload sign) to Android oAuth in GoogleCloudConsole. In unity => Windows => Google Play => Android Setup - set Web client ID (not application alient id). GPGS worked before publishing because Unity make other SHA-1 for .apk files, for .aab files work other rules.

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

79362578

Date: 2025-01-16 17:43:19
Score: 3
Natty:
Report link

Check your antivirus logs and/or quarantine zone - it's possible that the a/v deleted the script as soon as it was ran.

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

79362571

Date: 2025-01-16 17:41:19
Score: 0.5
Natty:
Report link

An aggregate root is an entity that contains sub-entities, which must be stored atomically. In an order system, changes to OrderItems affect the total price of the Order. This ties into atomicity and transactions, which is why DDD advocates for a repository per aggregate root.

And I think it's important to mention that you'll need to keep your runtime instances of entities synced. This is a good idea not to let the developer create a new instance from sub-entities.

Note 1: A single entity can serve as an aggregate root without sub-entities.

Note 2: Sub-entities within an aggregate root should only be managed through the aggregate. Developers should not manipulate them directly from outside.

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

79362568

Date: 2025-01-16 17:39:18
Score: 1.5
Natty:
Report link
let jwtSecret = await pm.vault.get("jwtSecret");

Taken from...

https://github.com/postmanlabs/postman-app-support/issues/12864

You must add the await operator before each pm.vault method. Without the operator, the method won't run

console.log(await pm.vault.get("jwtSecret"));
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mikee

79362567

Date: 2025-01-16 17:39:18
Score: 2
Natty:
Report link

I just ran into the same problem earlier today, so I'll leave this in case anyone else stumbles upon the same problem.


As of 2025-01-16, the only clean way to do this is to create your own implementation of IHybridCacheSerializerFactory and register it in place of DefaultJsonSerializerFactory.

Register the service and your custom serializer factory:

builder.Services.AddHybridCache().AddSerializerFactory<CustomJsonSerializerFactory>();

Create CustomJsonSerializerFactory.cs:

internal sealed class CustomJsonSerializerFactory : IHybridCacheSerializerFactory
{
    private static readonly JsonSerializerOptions _defaultOptions;

    static CustomJsonSerializerFactory() =>
        _defaultOptions = new JsonSerializerOptions
        {
            DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull
        };

    public bool TryCreateSerializer<T>([NotNullWhen(true)] out IHybridCacheSerializer<T>? serializer)
    {
        serializer = new DefaultJsonSerializer<T>();
        return true;
    }

    internal sealed class DefaultJsonSerializer<T> : IHybridCacheSerializer<T>
    {
        T IHybridCacheSerializer<T>.Deserialize(ReadOnlySequence<byte> source)
        {
            var reader = new Utf8JsonReader(source);
            return JsonSerializer.Deserialize<T>(ref reader, _defaultOptions)!;
        }

        void IHybridCacheSerializer<T>.Serialize(T value, IBufferWriter<byte> target)
        {
            using var writer = new Utf8JsonWriter(target);
            JsonSerializer.Serialize(writer, value, _defaultOptions);
        }
    }
}

As needed, you may specify other options you find useful as well.

See this question as well, as the conclusion by the OP was somewhat similar: How can I use NodaTime with redis?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Stefan Stanić

79362556

Date: 2025-01-16 17:36:18
Score: 1.5
Natty:
Report link

An answer to anyone still struggling with this, like I was. The 'missing import' errors you were expecting come from Typescript and do not show in your Javascript files. But you can add a // @ts-check at the top of the JS file and the said errors will show. enter image description here

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

79362553

Date: 2025-01-16 17:35:17
Score: 1.5
Natty:
Report link

One of the reason for "The resource owner or authorization server denied the request" is client_id & client_secret does not exist in your database. Incase you are using passport run php artisan passport:install

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

79362544

Date: 2025-01-16 17:33:17
Score: 1
Natty:
Report link

I would like to add something to Gilm's answer, I had an Unsupported feature splitting used in archive error and it worked for me by adding skipSplitSig = true in the constructor

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Edward Rojas Alfaro

79362536

Date: 2025-01-16 17:30:16
Score: 2.5
Natty:
Report link

As of November 2024, you can append to objects in S3, but only in S3 express one zone buckets. Note that this means less cross-AZ replication, and pricing that is about 8x as high as regular buckets. You do get substantially faster performance and lower latency though.

The announcement: https://aws.amazon.com/about-aws/whats-new/2024/11/amazon-s3-express-one-zone-append-data-object/

The documentation on the API: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-append.html

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

79362530

Date: 2025-01-16 17:27:15
Score: 0.5
Natty:
Report link

What worked for me is simply returning a flowOf().

@Test
    fun `execute() should return a response true when object is found`() = runTest {
       coEvery { repository.entityExists(id) } returns flowOf(Response.Success(true))
       ...
    }
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Guilherme Napoleão

79362528

Date: 2025-01-16 17:27:15
Score: 2.5
Natty:
Report link

After trying out several combinations with /r and /f and without /r, the one that worked for me perfectly is:

@echo off for /r %%f in (*.jpg) do ( "C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\magick" mogrify -gravity South -chop 0x42 -shave 14x0 "%%f" )

This worked beautifully across the base directory and all sub-directories and nested one's too :) Thanks very much for the tips!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • User mentioned (1): @echo
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Basil Stergiou

79362509

Date: 2025-01-16 17:19:13
Score: 0.5
Natty:
Report link

You can try the following:

Reasons:
  • Whitelisted phrase (-1): try the following
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Unclebigbay

79362507

Date: 2025-01-16 17:19:13
Score: 2
Natty:
Report link

just to let everyone know, I found a very nice Nuget library to give me exactly what I need. The idea with my question above was to be able to generate a unique hardware ID for the PC.

The link below is where I found the solution and the nuget library. https://jonathancrozier.com/blog/what-makes-a-good-device-identifier

Reasons:
  • Blacklisted phrase (1): The link below
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-2): I found the solution
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Raider_007

79362506

Date: 2025-01-16 17:19:13
Score: 3.5
Natty:
Report link

in your .env SESSION_DRIVER is set to database. change it to SESSION_DRIVER=file

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

79362502

Date: 2025-01-16 17:17:13
Score: 2
Natty:
Report link

The GUID solutions did not work for me in VS 2022. Turns out all I needed to do was edit the project file and add the IsTestProject value:

<PropertyGroup>
  <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  <ProjectGuid>{553487BF-FC0B-4FC5-B25B-C8C89A13F4ED}</ProjectGuid>
  <IsTestProject>true</IsTestProject>
  <OutputType>Library</OutputType>
  .
  .
  .
</PropertyGroup>
Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bbdrvr

79362501

Date: 2025-01-16 17:16:13
Score: 1
Natty:
Report link

Adding following line to .xcode.env file did the job:

export NODE_BINARY=`which node`

Of course we need to have node installed first.

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

79362495

Date: 2025-01-16 17:14:11
Score: 4
Natty:
Report link

I have added the following line at the end of the ggplot code: scale_colour_manual(breaks = c("Q0", "Q1"), values = c("red", "black"))

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user28496863

79362487

Date: 2025-01-16 17:11:10
Score: 1.5
Natty:
Report link

You may try:

=QUERY(Data!A6:F241, "SELECT A WHERE E > 1 ORDER BY E Desc limit 300") 
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gyul

79362485

Date: 2025-01-16 17:10:10
Score: 1.5
Natty:
Report link

Levenshtein coding is asymptotically optimal and preserves the ordering. It also has short codes for zero (0) and one (10) . It's not optimal for numbers in between (like 256 end 65536). It's also not that hard to implement.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Wolfgang Brehm

79362483

Date: 2025-01-16 17:09:10
Score: 1.5
Natty:
Report link

It could be anything. Enable Prisma logging by putting DEBUG="prisma*" in your ENV file so you can investigate further.

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

79362480

Date: 2025-01-16 17:09:10
Score: 1.5
Natty:
Report link

It could be anything. Enable Prisma logging by putting DEBUG="prisma*" in your ENV file so you can investigate further.

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

79362478

Date: 2025-01-16 17:08:09
Score: 0.5
Natty:
Report link

This issue has been outstanding for some time. There's no official solution to this which makes little sense considering the time this has been an issue and the destructive nature of doing a push after moving a file.

Here's the procedure we use when moving files:

  1. Before moving files, always do a push/pull and make sure that there are no outstanding changes.
  2. Move the files.
  3. Reset the changes from step 2: sf project reset tracking

This is very manual and if you forget step 1 before step 2, your next push deletes files and makes a

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

79362468

Date: 2025-01-16 17:05:08
Score: 1
Natty:
Report link

You need to create a new Runbook using Runtime 5.1.

Funny you should mention this, I just so happened to be researching this yesterday, only to come into work this morning to find a brand new search result! I am posting this less than 10 minutes after figuring out the fix.

Anyways, I did the exact same thing you did, except I troubleshot by using "Get-Module -ListAvailable" in a runtime 5.1 and a 7.2 runbook. The ExchangeOnlineManagement module did not show in 7.2 but did in 5.1.

After confirming the module was showing in the 5.1 runbook, I then tested the actual "Connect-ExchangeOnline" cmd and was able to see that it connected.

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

79362466

Date: 2025-01-16 17:04:08
Score: 2
Natty:
Report link

--tunnel

is the culprit. Seems like this is specifically a Windows 11 issue. To fix:

  1. Go to Wifi Settings -> CLick on your wifi properties -> Switch to private network
  2. Configure firewall and security settings -> Disable firewall

After this just run

npx expo start

without any additional args and it should work. Logs are showing just fine - Fast reload too!

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

79362465

Date: 2025-01-16 17:04:07
Score: 12.5 🚩
Natty: 6.5
Report link

Did you solve it ? I am getting the same error

Reasons:
  • RegEx Blacklisted phrase (3): Did you solve it
  • RegEx Blacklisted phrase (1.5): solve it ?
  • RegEx Blacklisted phrase (1): I am getting the same error
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am getting the same error
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you solve it
  • Low reputation (1):
Posted by: Hemant Yadav

79362454

Date: 2025-01-16 17:00:06
Score: 3
Natty:
Report link

I found out myself. In the image included in my question I hadn't included the token audience Uri to the resource...

All aforementioned steps in setting up the service principal were correct it seems.

Token uri needed to be https://vault.azure.net

See revised image below.

Corrected connection settings.

Reasons:
  • Blacklisted phrase (0.5): i need
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: JFlo

79362450

Date: 2025-01-16 16:57:05
Score: 4
Natty:
Report link

i am also facing this problem but the correcy way is this a href="https://livetvuk.co.uk/">IPTV UK

Reasons:
  • Blacklisted phrase (1): also facing this
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vicky Turner

79362443

Date: 2025-01-16 16:54:04
Score: 1
Natty:
Report link
    data = err_log_path + 'error_TEST001.log'
    bytes_data = data.encode("utf-8")

    win32evtlogutil.ReportEvent(
                                "TEST001",
                                101,
                                eventType=0,
                                data = bytes_data,
                               )
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Barry Stevenson

79362442

Date: 2025-01-16 16:54:03
Score: 5.5
Natty: 4.5
Report link

Ok that's great for a window that floats above everything including other apps windows. Is there a way to float only above the app windows but stay behind other apps windows?

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Greg

79362441

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

Same with me.

I checked the cloudflare status page, seems some maintenance going on. https://www.cloudflarestatus.com/

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

79362428

Date: 2025-01-16 16:48:01
Score: 0.5
Natty:
Report link

I just posted this in Github also but this worked for us.

"I know this post is old but I wasn't getting anywhere with the same symptoms for the past few weeks. We have local development VMs that were working fine with the homepage UI load but migrating to our more secure AWS solution is where we ran into issues. The setting that reaches out to airflow to pass data is what was causing the problem. Runs, Last Run, and Recent Tasks all spun for minutes before finally showing results. Specifically, I changed the variable AIRFLOW__USAGE_DATA_COLLECTION__ENABLED from enabled=True to enabled=False. Those fields populate almost instantly now."

Reasons:
  • Whitelisted phrase (-1): solution is
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Jim

79362419

Date: 2025-01-16 16:44:00
Score: 1
Natty:
Report link

Based on @HangarRash's recommendations, I've added the following changes:

DispatchQueue.global().async {
    do { try fileManager.unzipItem(at: sourceURL, to: destinationURL, progress: unzipProgress) }
    catch {  print("error") }
}

Full code:

func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
    
    let url = URL(string: "1.zip")!
    let downloadManager = DownloadManager()
    downloadManager.identifier = indexPath.row+1
    downloadManager.collectionId = 0
    downloadManager.folderPath = "\(indexPath.row+1)"
    let downloadTaskLocal = downloadManager.activate().downloadTask(with: url)
    downloadTaskLocal.resume()
    
    downloadManager.onSuccess = { [weak self] row in
        guard let self = self else { return }
        DispatchQueue.main.async {
            self.items[row - 1].state = .completed
            self.reloadItem(indexPath: .init(row: row - 1, section: 0))
            
            if fileManager.fileExists(atPath: destination.path){
                let sourceURL = URL(fileURLWithPath: "\(destination.path)/1.zip")
                let destinationURL = URL(fileURLWithPath: destination.path)
                let unzipProgress = Progress()
                let observation = unzipProgress.observe(\.fractionCompleted) { progress, _ in
                    print("Extraction progress: ", progress.fractionCompleted)
                    if progress.fractionCompleted == 1.0 {
                        self.items[row - 1].state = .unzipped
                        self.reloadItem(indexPath: .init(row: row - 1, section: 0))
                    }
                }
                DispatchQueue.global().async {
                    do { try fileManager.unzipItem(at: sourceURL, to: destinationURL, progress: unzipProgress) }
                    catch {  print("error") }
                }
                observation.invalidate()
            } else { print("error") }
        }
    }
    
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @HangarRash's
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alex Smith

79362417

Date: 2025-01-16 16:44:00
Score: 1
Natty:
Report link

Suprising anyone got this to work because the parameters in findwindow are reversed and wrong. Should be

TrayHandle := FindWindow(nil, pchar('Shell_TrayWnd'));

and

PostMessage(TrayHandle,WM_CLOSE{ WM_EXITEXPLORER}, 0, 0);

works fine.

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

79362408

Date: 2025-01-16 16:39:59
Score: 3.5
Natty:
Report link

This is a fake letter and scam where someone with similar sounding name with actual company is sending mail to people to get money. Be wary.

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

79362398

Date: 2025-01-16 16:36:58
Score: 1
Natty:
Report link

The primary rule of thumb is PBI does NOT like 2-d dataset; unpivot it.

enter image description here

The measure itself is not complex,

Check = 
FORMAT (
    IF (
        HASONEVALUE ( DATA[Profile] ),
        MAXA ( DATA[Value] ),
        DISTINCTCOUNT ( DATA[Value] ) - 1
    ),
    "\Y;;\N"
)

enter image description here

The tricky part is how to make use of "Column subtotals" of Matrix viz to display the result,

enter image description here

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

79362390

Date: 2025-01-16 16:34:58
Score: 3.5
Natty:
Report link

https://hyperskill.org/learn/step/9055

I found the above website explain how the scanner read input stream.

for more information please see also https://www.baeldung.com/java-scanner-integer

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