79444112

Date: 2025-02-16 23:30:25
Score: 1.5
Natty:
Report link

There is a great tool(redocly) for managing openapi docs which also can hide your internal APIs.

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

79444108

Date: 2025-02-16 23:25:24
Score: 0.5
Natty:
Report link

It looks like as of 12 Feb 2025 all SDKs require their own privacy manifest and signature.

Therefore it seems the manually creating a master privacy manifest is no longer possible and updating all packages / SDKs is the only option.

https://developer.apple.com/support/third-party-SDK-requirements/

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

79444107

Date: 2025-02-16 23:24:24
Score: 1
Natty:
Report link

If you want to treat the zero date '0000-00-00 00:00:00' as if it were NULL, you can explicitly check for it in your query:

~~sql~~


SELECT * FROM t1 WHERE enddate = '0000-00-00 00:00:00' OR enddate > '2025-01-01 00:00:00';


Alternatively, if you want to allow NULL values in the enddate column, you should change the table definition to allow NULL:

~~sql~~


CREATE TABLE t1 ( id int(11) NOT NULL AUTO_INCREMENT, enddate datetime NULL, -- Allow NULL values PRIMARY KEY (id) );


Then you can insert NULL values and use the IS NULL operator as intended:

~~sql~~


INSERT INTO t1(enddate) VALUES (NULL); SELECT * FROM t1 WHERE enddate IS NULL OR enddate > '2025-01-01 00:00:00';


The IS NULL operator will not match the zero date '0000-00-00 00:00:00' because it is not NULL.

If you want to treat the zero date as NULL, you need to explicitly check for it or change your table to allow NULL values.

for more information ##[email protected] ##https://www.fiverr.com/s/8zYQaL4

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

79444100

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

You are getting this error because you never defined the variable value, but attempt to use it (on lines 16 and 20).

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

79444088

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

In my case deleting hmr from vite.config.js solved the issue.

export default defineConfig({
  plugins: [
    vue(),
    vueDevTools()
  ],
  server: {
    port: 3000,
  },
  resolve: {
    alias: {
      '@': fileURLToPath(new URL('./src', import.meta.url))
    },
  },
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Doctor One

79444068

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

Well, truns out i forget that inputs are treated as datasets and my masks had the wrong shape.

x_train has 60 Datapoint, with a sequence length of 577 and a dimension of 1. dummy_mask has a shape of 577 times 577 of dimension 1, which is obviously wrong.

The right shape for dummy_musk is (60, 577, 577) or more general (x_train.shape[0], sequence_size, sequence_size) in case of fitting the model.

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

79444061

Date: 2025-02-16 22:38:15
Score: 1
Natty:
Report link

For anyone that comes across this article, I'd recommend Hpk FFT if it's supported for your platform. It's a new library which has better performance and accuracy than other options out there.

They also did a great job minimizing the overheads of the python bindings, making it great for small and large problems alike.

import hpk
from timeit import default_timer as timer
import numpy as np

factory = hpk.fft.makeFactoryCC(np.float32)
fft = factory.makeInplace([256,  256], 1000)
a = np.ones([1000, 256, 256], dtype=np.complex64)

start = timer()
fft.forward(a)
end = timer()

print("Time to execute", (end - start))
Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mrburninator

79444042

Date: 2025-02-16 22:29:13
Score: 4
Natty: 6
Report link

python -m pip install --default 1000 -r requirements.txt

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

79444031

Date: 2025-02-16 22:18:11
Score: 2.5
Natty:
Report link

CloudFlare Rocket Loader can affect the loading order of some JavaScript files, causing files such as iframeresizer.contentwindow.min.js inside an iFrame to not load on time. In such cases, disabling Rocket Loader resolves the issue by ensuring that the scripts are loaded in the expected order.

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

79444029

Date: 2025-02-16 22:17:10
Score: 2
Natty:
Report link

Wipe your build and install folders inside the colcon workspace. That fixed it for me.

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

79444023

Date: 2025-02-16 22:12:09
Score: 2
Natty:
Report link

you can faund the code in your site

    <link rel="stylesheet" href="{{ mix('css/custom.css') }}">

chang to

    <link rel="stylesheet" href="{{ asset('css/custom.css') }}">
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: sulik

79444010

Date: 2025-02-16 22:05:07
Score: 0.5
Natty:
Report link

I had this issue when reloading a scene or switching from one to another. The other solutions didn't work for me. In Unity 6, this is what worked:

public class ReverseMask : Image
{
    private Material _customMaterial;

    public override Material materialForRendering
    {
        get
        {
            if (_customMaterial == null)
            {
                _customMaterial = new Material(base.materialForRendering);
                _customMaterial.SetFloat("_StencilComp", (float)CompareFunction.NotEqual);
            }

            return _customMaterial;
        }
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Anonymous

79443985

Date: 2025-02-16 21:47:03
Score: 3
Natty:
Report link

Not sure If there is a Wordpress plugin already for such a scenario, since wp-login getting bombarded is a common issue.

In my experience switching off IP addresses one-by-one is a lost battle. What I have opted usually is by using the whitelist method of allowing only certain IP' addresses. That ofc requires you to have them static. I usually describe my home IP and work IP. And For other cases use a VPN to work or home.

Something like suggested here: How to enable Wordpress login only for 1 IP?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Paperclip

79443982

Date: 2025-02-16 21:45:03
Score: 2
Natty:
Report link

That customization feature requires AddinCommands 1.3 which is currently only supported for PowerPoint add-ins. See also the "Important" note near the top of Integrate built-in Office buttons into custom control groups and tabs.

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

79443978

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

When I first started programming in 1980 the hardest thing to understand (this was not addressed in classroom) was the difference between “null” and “zero”. I’m glad my supervisor didn’t give up on me. I went on to program in COBOL first then DOS and BASIC, C++ etc for 21 years before retiring at age 65. I think my best achievement was when management brought in a piece of hardware, dropped it on my desk and said “figure this out and head up a team to write the first computerized inventory system for the City of Houston”. The thing was a barcode reader. David Perkins Fort Worth, Texas

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: user79004

79443976

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

This was asked 7 yrs ago so this is for anyone henceforth. If the installation is taking too long or seems to get stuck, you are probably attempting to install on a different hard drive. If you install on your standard C: drive as usual it will install smoothly in relatively short order. The installation sucks atleast 20gb fyi...most computers can afford that space. My two cents.

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

79443974

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

just add autoDisposeControllers:false here... and make sure to dispose all of them manually if you are using providers

PinCodeTextField(
autoDisposeControllers: false, );

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

79443971

Date: 2025-02-16 21:36:00
Score: 2.5
Natty:
Report link

Ran into a similar issue using aniMotum. You'll want to try calling aniMotum::map(fit.832.rp,what="rerouted"). This way, R knows that you're using the special 'map' command built into aniMotum, and not a map command from another package that requires certain inputs.

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

79443966

Date: 2025-02-16 21:30:00
Score: 1
Natty:
Report link

Sorry for late, but I met the same problem and solved it (worked for me at least). For your situation, try hjust = c(0,0,0). This might work. Good luck.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ruikang Wong

79443944

Date: 2025-02-16 21:20:57
Score: 1
Natty:
Report link

Solved it by comparing the resulting instance with empty one.

if structAA == (A{}) {
    fmt.Println("is empty therefore unmarshal failed")
}

Playground

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

79443942

Date: 2025-02-16 21:18:55
Score: 12 🚩
Natty: 6.5
Report link

i have the same issue. Anyone found a solution???????

Reasons:
  • Blacklisted phrase (1): ???
  • Blacklisted phrase (1): i have the same issue
  • Blacklisted phrase (2): Anyone found
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alejandro Irizarry

79443934

Date: 2025-02-16 21:15:54
Score: 1.5
Natty:
Report link

kalman filter source code is actually widely accessible via well known open source project such as apache:common:math. However most of the challenges i have seen are tuning Kalman Filter parameters to your application usecase, as it requires extensive trial and error.

I opened source this repository, aims to provide interactive and extendable tools for calibrating systems modeling to help Android/Kotlin community to apply KF to custom use cases.

https://github.com/allengotstuff/Kalman-Filter-in-Kotlin

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

79443931

Date: 2025-02-16 21:12:53
Score: 4
Natty: 5
Report link

can I disable this wpautop by the request only? I have java code that uses Wordpress api to change the h1 tags im my pages. for example add some bla string to all h1 tags. I don't want any further change in my html can I disable it by the api update request only?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): can I
  • Low reputation (0.5):
Posted by: user1628688

79443930

Date: 2025-02-16 21:11:53
Score: 1
Natty:
Report link

I had same issue, been able to solve it via this fix

<div class="table" style="overflow: auto;">

instead of this:

<div class="table table-responsive">
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: vondravl

79443922

Date: 2025-02-16 21:04:51
Score: 1.5
Natty:
Report link

If no seed is provided for pythons built-in random then it will use os.urandom() to set the seed. Crucially, if the operating system has a built in source of randomness it will default to using that instead of just using the system time.

While you could mess with the Linux configuration settings, it would be much easier just to initialize a random seed with random.seed(int(time.time())**20%100000)

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Christopher D'Arcy

79443920

Date: 2025-02-16 21:02:51
Score: 3
Natty:
Report link

There is in fact a type of pricing called Standard (On-Demand): Pay-as-you-go for input and output tokens. But you can also have a provisioned (PTUs) pricing, which I'm guessing is what you have.

"Provisioned": You can allocate and manage throughput for deployments, ensuring predictable performance and stable capacity. You are charged an hourly rate per model regardless of usage, but you can also secure additional savings through monthly and annual reservations.

You can also read more here.

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

79443909

Date: 2025-02-16 20:56:49
Score: 3.5
Natty:
Report link

Use Luraph, Moonsec or even some Ai to do it.

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

79443896

Date: 2025-02-16 20:46:46
Score: 5.5
Natty: 5.5
Report link

In mathematica, what then do you do if you want to pass a list into a function instead of having the function mapped over the list?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: dan Kucerovsky

79443882

Date: 2025-02-16 20:36:44
Score: 1.5
Natty:
Report link
AT#CID=14

This HylaFax friendly format:

RING

CID: XXX[/YYY]

DAD: HHH[/ZZZ]

RING

Also can you use the AT#CID=1, "CID indication in RING message [a]". AT-Command Set

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Zoltán Sümegi

79443875

Date: 2025-02-16 20:32:44
Score: 2
Natty:
Report link

For 16.02.2025 Deeplinks:

I tested multiple query parameters, and either one didn't work for Android or it didn't work for IOS, never worked for both.

My approach is, I'm making QR Codes, and will just create 2 separate QRs for Android and IOS.

For me, probably for you too this is how they work: viber IOS -> viber://contact?number=+00000000000 This opens the contact page. Use with '+' prefix.

viber Android -> viber://chat?number=000000000000 This opens the chat page. Use without '+' prefix.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Filler text (0.5): 00000000000
  • Filler text (0): 000000000000
  • Low reputation (0.5):
Posted by: kristijanlazarev

79443868

Date: 2025-02-16 20:28:42
Score: 4
Natty:
Report link

My solution was a synonyme on that table for the granted user.

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

79443865

Date: 2025-02-16 20:26:42
Score: 0.5
Natty:
Report link

just use autoFocus prop of TextInput. It worked even in a modal :

<TextInput
    placeholder={placeholder || "Enter text"}
    value={text}
    onChangeText={setText}
    editable={!readOnly}
    autoFocus={true}
/>
Reasons:
  • Whitelisted phrase (-1): It worked
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29670484

79443842

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

Subject: Internal script counter with FILE.TXT.

Example: time of file download, and so on.

now=$(date +'%s')sec;

echo ""

echo ""

The sleep timer command contains by default the running time in a probative form which by a comparison between the output and itself if the output is correct and the output time was printed correctly.

Timmer command, Input: 5 seconds.

sleep 5s

InfTimExe=$(TZ='UTC' date --date now-$now +"%Hhours:%Mmins.%Ssecs")

echo "$InfTimExe" >> Date.txt

unset -v InfTimExe

Output: 5 seconds.

echo "[INF] Internal run time of the script:"

echo ""

cat Date.txt

rm Date.txt

echo ""

echo ""

exit

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

79443836

Date: 2025-02-16 20:00:37
Score: 1
Natty:
Report link

Just add the following at project's build.gradle file.

tasks.processResources {
     exclude("**/*")
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Luis E. Fernandez

79443833

Date: 2025-02-16 19:57:36
Score: 2
Natty:
Report link

I think the problem here is that 'nonce' remains embedded in the HTML code of the cached page. Even though my "dynamic content is not cached" the nonce is stored within the cached HTML. When its validity period expires, the nonce is not refreshed. So, even if my dynamic content is set to 'no cache,' the requests still use the old nonce stored in the cache. So, I don't have an issue with dynamic content being cached, but the WordPress nonces are embedded in the cached HTML page. When a new nonce is generated, mycontent still sends requests using the old cached nonce instead of the valid one.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Soras kabas

79443832

Date: 2025-02-16 19:57:36
Score: 1
Natty:
Report link

I had same issue when trying to connect my webcam, I solved this by running the code on the main python kernal and not in an env

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

79443823

Date: 2025-02-16 19:52:35
Score: 2
Natty:
Report link

From my experience, this is likely due to the RDS proxy requesting more database connections than the database can service at the moment, either due to CPU limitations, or a max connection limit.

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

79443819

Date: 2025-02-16 19:48:34
Score: 1
Natty:
Report link

The original question is how to do a modulus of a very large number, but the detailed problem shows the modulus of a small number with a small exponent (which results in a very large number). These need a very different solution.

The suggested solution (function BigMod) solves the problem for modulus of a relatively small exponential number, but it can't handle one "very large number".

Excel can not store accurate numeric values of more than 15 digits (16 characters when you include the positive or negative sign) These big numbers can also cause formula errors, so you're better off calculating the modulus in another way. (the formula OP gave also gives inaccurate results for these 15 digit numbers, this might have to do with float numbers, but I won't go into detail about this)

Because of this I will show you how to solve a Modulus of a very large number (that is not an exponential number) with formulas and with a function (bottom of my answer)

OP his 2^288 example will be stored as number 497323236409787000000000000000000000000000000000000000000000000000000000000000000000000

This is an incorrect value, such a big number should be stored as a string: "497323236409786642155382248146820840100456150797347717440463976893159497012533375533056" (How you get such a big number as a string is a whole separate topic)

When you have your accurate very big number, you then have to go through the number/string from left to right, calculating modulus each time and then add the next part to it.

First possible formula solution, calculating modulus of the first chunk and adding the rest of the string back to it each time:

(note: Americans need to replace the semicolon for a comma)
A1 = "497323236409786642155382248146820840100456150797347717440463976893159497012533375533056"
(very large number)
B1 = 10
(length of the substring)
C1 = 2017
(modulus number)
A2 = MOD(LEFT(A1 ;$B$1);$C$1) & RIGHT(A1 ;LEN(A1 )-$B$1)
A3 = MOD(LEFT(A2 ;$B$1);$C$1) & RIGHT(A2 ;LEN(A2 )-$B$1)
A4 = MOD(LEFT(A3 ;$B$1);$C$1) & RIGHT(A3 ;LEN(A3 )-$B$1)
A5 = MOD(LEFT(A4 ;$B$1);$C$1) & RIGHT(A4 ;LEN(A4 )-$B$1)
A6 = MOD(LEFT(A5 ;$B$1);$C$1) & RIGHT(A5 ;LEN(A5 )-$B$1)
A7 = MOD(LEFT(A6 ;$B$1);$C$1) & RIGHT(A6 ;LEN(A6 )-$B$1)
A8 = MOD(LEFT(A7 ;$B$1);$C$1) & RIGHT(A7 ;LEN(A7 )-$B$1)
A9 = MOD(LEFT(A8 ;$B$1);$C$1) & RIGHT(A8 ;LEN(A8 )-$B$1)
A10= MOD(LEFT(A9 ;$B$1);$C$1) & RIGHT(A9 ;LEN(A9 )-$B$1)
A11= MOD(LEFT(A10;$B$1);$C$1) & RIGHT(A10;LEN(A10)-$B$1)
A12= MOD(LEFT(A11;$B$1);$C$1) & RIGHT(A11;LEN(A11)-$B$1)
A13= MOD(LEFT(A12;$B$1);$C$1) & RIGHT(A12;LEN(A12)-$B$1)
(remaining string is less than 10 characters, so we can do our final MOD now)
A14= MOD(A13;$C$1)
   = 891

Second possible formula solution, calculating the modulus of the first chunk and then keep taking the previous modulus result and adding the next chunk to it:

A2 = MOD( LEFT($A$1;$B$1);$C$1) & MID($A$1;($B$1*1)+1;$B$1)
A3 = MOD(A2;$C$1) & MID($A$1;($B$1*2)+1;$B$1)
A4 = MOD(A3;$C$1) & MID($A$1;($B$1*3)+1;$B$1)
A5 = MOD(A4;$C$1) & MID($A$1;($B$1*4)+1;$B$1)
A6 = MOD(A5;$C$1) & MID($A$1;($B$1*5)+1;$B$1)
A7 = MOD(A6;$C$1) & MID($A$1;($B$1*6)+1;$B$1)
A8 = MOD(A7;$C$1) & MID($A$1;($B$1*7)+1;$B$1)
A9 = MOD(A8;$C$1) & MID($A$1;($B$1*8)+1;$B$1)
A10= MOD(A9;$C$1)
   = 891
(with substrings of length 10 it will be done here)

If you know the maximum amount of steps you'll need, then you can combine this into 1 cell:

A2 = 
MOD(
 MOD(
  MOD(
   MOD(
    MOD(
     MOD(
      MOD(
       MOD(
        MOD(
         LEFT($A$1;$B$1)
        ;$C$1) & MID($A$1;($B$1*1)+1;$B$1)
       ;$C$1) & MID($A$1;($B$1*2)+1;$B$1)
      ;$C$1) & MID($A$1;($B$1*3)+1;$B$1)
     ;$C$1) & MID($A$1;($B$1*4)+1;$B$1)
    ;$C$1) & MID($A$1;($B$1*5)+1;$B$1)
   ;$C$1) & MID($A$1;($B$1*6)+1;$B$1)
  ;$C$1) & MID($A$1;($B$1*7)+1;$B$1)
 ;$C$1) & MID($A$1;($B$1*8)+1;$B$1)
;$C$1)
   = 891

Important note: these formulas can start throwing errors when your chunks are too big.

Now that you understand the process, I will put this into a function. This will go through the number character by character to keep it simple and to avoid errors caused by too big numbers. It also accepts both strings and numbers

Public Function BigNrMod(ByVal number As Variant, ByVal modulus As Double) As Double
    Dim remainder As Double
    remainder = 0
    Dim i As Integer
    For i = 1 To Len(number) ' Loop through each character
        'modulus of string to number (remainder & next character)
        remainder = CDbl(remainder & Mid(number, i, 1)) Mod modulus
        ' Alternatively modulus of sum (10x remainder + value of the next character)
        ' remainder = (remainder * 10 + Val(Mid(number, i, 1))) Mod modulus
    Next i
    BigNrMod = remainder
End Function

Here's also the ExponentialNumber function, but with the use of Mod instead of the formula:

Public Function ExpNrMod(ByVal number As Double, ByVal exponent As Integer, ByVal modulus As Double) As Double
    Dim tmp As Integer
    tmp = 1
    Dim i As Integer
    For i = 1 To exponent
        tmp = (tmp * number) Mod modulus
    Next i
    ExpNrMod = tmp
End Function
Reasons:
  • Blacklisted phrase (1): how to solve
  • Long answer (-1):
  • Has code block (-0.5):
  • Filler text (0.5): 000000000000000000000000000000000000000000000000000000000000000000000000
  • Low reputation (1):
Posted by: Nathan Haaren

79443815

Date: 2025-02-16 19:45:33
Score: 0.5
Natty:
Report link

at first glance, it looks like you need to change

$query = "SELECT user_id, firstname FROM users WHERE email = $1";

to

$query = "SELECT user_id, firstname FROM users WHERE email = $2";
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: slattman

79443807

Date: 2025-02-16 19:39:32
Score: 1
Natty:
Report link

I come across this old topic. My way to ignore '\n' is:

#include <string.h>
#include <stdio.h>
#define MAX_LENGTH 512

char *line, *tok;
FILE *file;

  fgets(line, MAX_LENGTH, file);
  tok = strchr(line, '\n');
  if (tok) *tok = '\0';
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Carlo Nervi

79443803

Date: 2025-02-16 19:36:31
Score: 2
Natty:
Report link

Most likely the SAP runtime is not installed, corrupted or the installed version does not match the one used in the application.

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

79443795

Date: 2025-02-16 19:27:29
Score: 0.5
Natty:
Report link

Following Tom Sharpe's suggestion from comments, I was able to build upon Creating Datavalidation with custom Formula to achieve both of my requirements:

var criteria = SpreadsheetApp.DataValidationCriteria.DATE_ON_OR_BEFORE;
var args = ["=TODAY()"];
var val = SpreadsheetApp.newDataValidation().withCriteria(criteria,args);

This gives me both dynamic check that uses "today()" as date, and date picker for input.

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

79443790

Date: 2025-02-16 19:23:27
Score: 6 🚩
Natty:
Report link

Mine is working fine. I still use flutter 3.24.5 Could you provide the flutter doctor result?

Have you try to clean the gradle?

./gradlew clean
./gradlew --stop
./gradlew build
Reasons:
  • RegEx Blacklisted phrase (2.5): Could you provide
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: anonymous cat

79443784

Date: 2025-02-16 19:18:26
Score: 3
Natty:
Report link

so if it was a command like find . -newer "1 week ago" -a -not -newer "3 days ago"

The newer command is just saying to look for files newer then 7 days ago and not to find file newer then 3 days ago, so then the find -newer command must have a date or time specified to look for files that are newer then that date or time.?/

$ find / -newer /tmp/file -print

in this example though theres no time or date specified. is that because it is referencing to

$ touch -mt 09301300 /tmp/file

which has a date and time specified in the file... /tmp/file.

does the find -newer command always need a reference file?

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

79443778

Date: 2025-02-16 19:17:26
Score: 2.5
Natty:
Report link

So here is the thing:

  1. I was generating the checksum correctly but not hashing it properly. So here I've explained it how it should be done.
  2. Minio right now (16.02.2025) has some internal issue with checksum for the entire object as I've explained here. Meaning that AWS S3 works just fine with this code.

And make sure to watch my YouTube video about this: https://youtu.be/Pgl_NmbxPUo.

Reasons:
  • Blacklisted phrase (1): youtu.be
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mohammad Jawad Barati

79443777

Date: 2025-02-16 19:16:26
Score: 0.5
Natty:
Report link

If you are using <Stack.Screen ...> (in 2025), this may solve your issue

Scenario - Inside the directory where you app.tsx (or) app directory is located, suppose you have sub-directories, which are for different groups / sub tasks for your app (ex - app/auth/otp-handling.tsx). Each such directory will have its own _layout.tsx, in which we typically have the settings for the header, which is local to the directory. Lets say you are developing / testing the otp-handling.tsx, so to do that you may have imported that component directly into your app.tsx (the mistake which I had done). And the header styles were not applied, despite mentioning then clearly in the Stack.Screen in _layout.tsx. Here when you import a component which is under a subdir with its own _layout.tsx, into app.tsx, it (otp-handling.tsx, say) would follow the _layout.tsx of the app directory (outer one). Hence instead of importing it, use 'useRouter' from expo-router and do router.push('/auth/otp-handling'), it will work, as the otp-handling.tsx will now follow _layout.tsx of the auth directory.

Note - do that router.push in a useEffect, in a set timeout (1000ms) Believe me, it works!

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Chirag G. Shetty

79443773

Date: 2025-02-16 19:15:25
Score: 2
Natty:
Report link

export const useProductsStore = defineStore("products", () => { const products = ref<TProduct[] | undefined>();

async function setProducts() { if (products.value !== undefined) return; // if it’s not necessary to block script execution here, use “then” instead of “await“ products.value = ( await fetchData( "https://dummyjson.com/products?limit=5" ) ).products; }

return { products, }; });

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Pierre Côté

79443762

Date: 2025-02-16 19:04:23
Score: 1.5
Natty:
Report link

The issue is in the timing. dynamicLoader is defined as ViewChild and because of that is available only after the AfterViewInit lifecycle hook and undefined during OnInit. Just switch ngOnInit to ngAfterViewInit and you should be good to go.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Igor Augustyński

79443747

Date: 2025-02-16 18:56:21
Score: 1
Natty:
Report link

Use a proper date-time object for your creation time

To store your creation time in an instance field in an object, use Instant, not String. Strings are for presentation to users, for storage if your storage doesn’t support date-time types and for data exchange.

For example:

    OffsetDateTime creationDateTime = ZonedDateTime.of(
                    2025, 2, 16, 23, 35, 0, 0,
                    ZoneId.of("Asia/Yekaterinburg"))
            .toOffsetDateTime();
    System.out.println(creationDateTime);

    Instant creationTime = creationDateTime.toInstant();
    System.out.println(creationTime);

Output:

2025-02-16T23:35+05:00
2025-02-16T18:35:00Z

The Instant already prints in the format you asked for, only it will also print a fraction of second if a non-zero fraction exists.

If against my recommendation you insist on a string, I suggest this formatter:

private static final DateTimeFormatter formatter
        = new DateTimeFormatterBuilder()
                .append(DateTimeFormatter.ISO_LOCAL_DATE)
                .appendLiteral('T')
                .appendPattern("HH:mm:ssX")
                .toFormatter(Locale.ROOT);

It’s wordier than yours but has the advantage of reusing the built-in DateTimeFormatter.ISO_LOCAL_DATE. Now convert to UTC and format:

    String utcString = creationDateTime.withOffsetSameInstant(ZoneOffset.UTC)
            .format(formatter);
    System.out.println(utcString);

Output is the same as before:

2025-02-16T18:35:00Z

You are not adding a time zone

An OffsetDateTime has an offset from UTC, hence the class name. In java.time parlance a time zone is a IANA time zone and comprises past, present and future UTC offsets used in a particular place, the zone, such as Asia/Yekaterinburg in my code example above. So UTC is not a time zone, and an OffsetDateTime cannot have a time zone in this sense (this is what we have the ZonedDateTime class for).

Converting to UTC

Do I need to set timezone using withOffsetSameInstant(ZoneOffset.of("UTC")))); or I can skip it?

First, ZoneOffset.of("UTC") throws an exception. Instead use the built-in constant ZoneOffset.UTC. Then the answer to your question is, it depends on the result you want, of course. Your result will typically differ depending on whether you convert it to UTC or not.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Hosna López

79443745

Date: 2025-02-16 18:55:21
Score: 1.5
Natty:
Report link

Power Automate Desktop uses its own Python env, not the system one, which is causing the issue. The packages you are installing are being installed in system's python environment. To resolve the issue, you will have to install the required packages directly in PAD's python installation. So locate and activate that enviroment and do pip install azure-storage-blob.

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

79443744

Date: 2025-02-16 18:55:21
Score: 2
Natty:
Report link

Yes, Device Bound Session Credentials (DBSC) is an industry effort to better bind cookies to the browsing context on the device.

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

79443725

Date: 2025-02-16 18:42:18
Score: 1.5
Natty:
Report link

I get wht's going wrong. Today I realize that the KKS variable include the quotation marks itself, that´s why the query_sql don't work. What I do is to get rid of the quotation marks with this:

KKS = Mid(KKS,2, Len(KKS -2)

Now it's working, thanks all for your help.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mario Cordeiro

79443719

Date: 2025-02-16 18:35:17
Score: 0.5
Natty:
Report link

Removing the encryption-related options in the device's fstab should be the easiest way to disable encryption without complicated, bug-prone edits to source code.

You can see examples of an fstab entry for userdata here.

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

79443711

Date: 2025-02-16 18:30:15
Score: 3
Natty:
Report link

SHOW tasks will show only 2 states ‘started’ or ‘suspended’. To view the past executions of task Realtime(without latency) task data of previous 7 days: https://docs.snowflake.com/en/sql-reference/functions/task_history

Task data for last 1 year with 45 minute latency: https://docs.snowflake.com/en/sql-reference/account-usage/task_history

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

79443709

Date: 2025-02-16 18:30:15
Score: 5.5
Natty: 6.5
Report link

Any update on this? I´m interested..

Reasons:
  • Blacklisted phrase (1): update on this
  • Low length (2):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pablo Aschieri

79443701

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

This Microsoft MVP Access blog seems to answer my question in that there does not seem to be a programmatic way to forget/clear the connection cache.

Even so, here are three options for others to pursue, though I encourage others to read the blog first.

  1. The conditional MS Access policy time out needs to be expanded. Although the security team isn't really budging on this, I still think this is the first solution to explore for anyone else facing my problem.

  2. Using a SQL authenticated account. This is not best practice in my opinion. You can create a dedicated SQL Server authenticated account (or several) and share this with account and the password with users. The obvious risks are outlined more clearly in the MS blog.

  3. Create a custom library to pass the refresh token. The way I might do this is use a .NET (with COM) approach and build something using the MSAL library. Then integrate this into VBA and update the connection string to use the token using the SQL_COPT_SS_ACCESS_TOKEN attribute.

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

79443694

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

I think the best approach here would be to use the ignoreErrors option https://docs.sentry.io/platforms/javascript/configuration/filtering/

Sentry.init({
  ignoreErrors: [
    "Can't find variable: gmo"
  ],
});
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kenyon Kowal

79443687

Date: 2025-02-16 18:16:11
Score: 1
Natty:
Report link

I had the same ussue, updating permissions solved it.

Click create new app, choose source Git and digital ocean will ask you to update git permissions

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

79443661

Date: 2025-02-16 18:00:07
Score: 1
Natty:
Report link

# Subject: Internal script counter with VARIABLE.

# Example: time of file download, and so on.

now=$(date +'%s')sec;

echo ""

echo "[INF] Running script..."

echo ""

# The sleep timer command contains by default the running time in a probative form which by a comparison between the output and itself if the output is correct and the output time was printed correctly.

# Timmer command, Input: 5 seconds.

sleep 5s

InfTimExe=$(TZ='UTC' date --date now-$now +"%Hhours:%Mmins.%Ssecs")

# Output: 5 seconds.

echo "[INF] Internal run time of the script: $InfTimExe"

echo ""

exit

Code/JPG

Execution/JPG

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

79443658

Date: 2025-02-16 17:58:07
Score: 3
Natty:
Report link

Your direction == "North" or "South" or "East" or "West" isn't actually doing what you think it is. (There was a reply about this, but it didn't explain fully what was going on.) Every string, in logic, is equivalent to True. So this actually means direction == True or True or True or True. This collapses down to direction == True, which is always false. Instead, you should do direction == "North" or direction == "South" or direction == "East" or direction == "West". Python is like English, but it doesn't have all the properties of it. I'm a beginner at Python, can do most basic things, but I don't understand a lot of what these answers are, and I'm glad to help if any more problems are in my expertise. Feel free to edit my typos or anything else. Please don't edit the answer, though, unless it is a vital caveat that I missed.

Reasons:
  • RegEx Blacklisted phrase (2): I'm a beginner
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: required_banana

79443652

Date: 2025-02-16 17:54:05
Score: 1
Natty:
Report link

If you are using Norton Antivirus, try disabling the "Safe Web" feature

Only disabling Firewall is not enough!

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

79443651

Date: 2025-02-16 17:53:05
Score: 2
Natty:
Report link

open app.config.ts and flow these steps:

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

79443648

Date: 2025-02-16 17:51:04
Score: 0.5
Natty:
Report link

The problem is that standard input is not always a pipe, and splice(2) requires at least one side to be a pipe.

$ ./test < test.c
splice: Invalid argument
(exit: 1)
$ cat test.c | ./test
$ ./test
(exit: 1)

In the first case, standard input is a file, which cannot be spliced. In the second case, it is a pipe. In the third case, it's a character device i.e. my terminal.

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

79443647

Date: 2025-02-16 17:50:04
Score: 2.5
Natty:
Report link

Thanks to this i got the answer!

All HTTPS connections outside of browser fail with "SSL certificate problem: unable to get local issuer certificate"

If you are using Norton Antivirus, try disabling the "Safe Web" feature

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Jilco Tigchelaar

79443646

Date: 2025-02-16 17:48:04
Score: 1
Natty:
Report link
@import "tailwindcss";

@theme {
}

@keyframes asd {
    0% {
        opacity: 1;
    }
    10%,
    100% {
        opacity: 0;
    }
    50%,
    100% {
        width: 0;
        margin: 0;
    }
  }

#main {
  width: 450px;
  height: 200px;
  border: solid 1px black;
  margin: 100px;
  display: flex;
  justify-content: center;
}

#one {
  width: 200px;
  height: 200px;
  border: solid 1px red;
}

#second {
  position: static;
  visibility: visible;
  width: 200px;
  height: 200px;
  border: solid 1px blue;
}

#main:hover {
  animation-duration: 1s;
  animation-name: make-small;
  animation-fill-mode: forwards;
}

#main > *{
  margin: 0 auto;
  }

#main:hover #second {
  animation-duration: 1s;
  animation-name: asd;
  animation-fill-mode: forwards;
}

done: https://play.tailwindcss.com/JniN5UninR?file=css

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Priyansh Bisht

79443641

Date: 2025-02-16 17:42:02
Score: 1
Natty:
Report link

For PHP 8.4.3

For PHP 8.4.3 on Debian 12 "bookworm", the OS of the official docker image, add the following to your Dockerfile:

RUN apt-get install -y libgmp-dev && \
docker-php-ext-install -j$(nproc) gmp
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mel Te

79443635

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

I always put the string into a local Access table and use DoCmd.TransferText...

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

79443629

Date: 2025-02-16 17:35:00
Score: 0.5
Natty:
Report link

The solution was to close the pipe handles after creating the process.

So

  if (!CreateProcess( 
    NULL,
    filename, //TODO: check unicode?
    NULL,
    NULL,
    TRUE,
    0,
    NULL,
    NULL,
    &si,
    pi)
  ) {
    printf("Could not create process\n");
    return NULL;
  }
CloseHandle(g_hChildStd_OUT_Wr); 
CloseHandle(g_hChildStd_IN_Rd);

I guess because then only the child holds a handle to the resources, not the parent.

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

79443628

Date: 2025-02-16 17:35:00
Score: 0.5
Natty:
Report link

r=polar.base_scalar(0) or r,theta=polar.base_scalars() should be added before definition of the metric g=....

Please note that the definition of x and y x,y=symbols(...) should be moved before their use in relation_dict = {....

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

79443610

Date: 2025-02-16 17:25:58
Score: 0.5
Natty:
Report link

For those who are looking for RSA (asymmetric keys), You can set the key id while constructing the security credentials (below snippet shows an example).

var accessTokenDescription = new SecurityTokenDescriptor
{
    Issuer = "https://example.in",
    IssuedAt = DateTime.UtcNow,
    NotBefore = DateTime.UtcNow,
    Expires = DateTime.UtcNow.AddSeconds(accessTokenExpiry),
    SigningCredentials = new SigningCredentials(new RsaSecurityKey(rsa)
    {
        KeyId = "hello-world"
    }, SecurityAlgorithms.RsaSsaPssSha256)
};

When the token is generated, it will have kid in the JWT header like below:

Decoded JWT showing the kid in header

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aravindh Kumar

79443600

Date: 2025-02-16 17:17:56
Score: 2
Natty:
Report link

I find this happens most often when I switch windows. If I toggle preview on and off (⌘K then v) - it usually resolves itself.

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

79443598

Date: 2025-02-16 17:17:56
Score: 2.5
Natty:
Report link

Feel free to check isolated_box library. This box is build on top on Hive with the same API but different init and is multi-isolate.

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

79443593

Date: 2025-02-16 17:13:56
Score: 1
Natty:
Report link
  1. I am not going to ruin performance and productivity by forcing any WASM project to work via an API. Performance is awful.
  2. Databases like DynamoDB can be accessed directly from WASM
  3. When running WASM in a container on the server, it is pointless to create an API to access SQL Server in this scenario.
  4. Blazor SSR is not at all helpful!

Give us SQL Server access from client/server WASM.

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

79443591

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

If you are using <Stack.Screen ...> (in 2025), this may solve your issue

Scenario - Inside the directory where you app.tsx (or) app directory is located, suppose you have sub-directories, which are for different groups / sub tasks for your app (ex - app/auth/otp-handling.tsx). Each such directory will have its own _layout.tsx, in which we typically have the settings for the header, which is local to the directory. Lets say you are developing / testing the otp-handling.tsx, so to do that you may have imported that component directly into your app.tsx (the mistake which I had done). And the header styles were not applied, despite mentioning then clearly in the Stack.Screen in _layout.tsx. Here when you import a component which is under a subdir with its own _layout.tsx, into app.tsx, it (otp-handling.tsx, say) would follow the _layout.tsx of the app directory (outer one). Hence instead of importing it, use 'useRouter' from expo-router and do router.push('/auth/otp-handling'), it will work, as the otp-handling.tsx will now follow _layout.tsx of the auth directory. Believe me, it works!

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Chirag G. Shetty

79443572

Date: 2025-02-16 17:02:54
Score: 2.5
Natty:
Report link

Found at: Settings>Editor>UI Tools>Editor View Mode: Resource: Code

Screenshot: Android Studio XML as code setting

Windows 10 and recent Android Studio version: Android Studio Ladybug Feature Drop | 2024.2.2

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

79443571

Date: 2025-02-16 17:02:54
Score: 2.5
Natty:
Report link

it seems to be a bug because I was also looking for a solution and I saw that on other sites there are people who have had this problem just recently. I don't usually use stackoverflow, so forgive me for the not very detailed answer (maybe someone can add some more details). The solution that a user on reddit seems to have used, is to do the configuration only on the platforms that interest you. In my case only ios and android.

flutterfire configure --platforms=android,ios

I hope I helped you!

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • No code block (0.5):
  • Low reputation (1):
Posted by: Claudio

79443568

Date: 2025-02-16 16:59:53
Score: 2.5
Natty:
Report link

I got the same error I am able to fix it the issue was in the website folder I created the file init.py file incorrectly first i created like these init.py and when I tried to run main.py I am getting error
ImportError: cannot import name 'create_app' from 'website' (unknown location)

second I renamed the file with two underscores init.py and when I tried to rerun the main.py my issue was solved PS C:\Users\dgr_g\daily-task\flask-web-aaplication> & C:/Users/dgr_g/AppData/Local/Programs/Python/Python313/python.exe c:/Users/dgr_g/daily-task/flask-web-aaplication/main.py

Reasons:
  • Blacklisted phrase (1.5): m getting error
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: d.gou

79443565

Date: 2025-02-16 16:58:52
Score: 3.5
Natty:
Report link

It's pip issue, updating it should help https://github.com/pygobject/pycairo/issues/384

Reasons:
  • Probably link only (1):
  • Low length (2):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Felixoid

79443564

Date: 2025-02-16 16:57:51
Score: 10.5 🚩
Natty: 5
Report link

Facing the similar issue. Did you got the solution for this issue ?

Reasons:
  • RegEx Blacklisted phrase (3): Did you got the solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Facing the similar issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Shouvik Das

79443556

Date: 2025-02-16 16:51:50
Score: 1
Natty:
Report link

# Subject: Internal script counter with FILE.TXT.

# Example: time of file download, and so on.

now=$(date +'%s')sec;

echo ""

echo ""

# The sleep timer command contains by default the running time in a probative form which by a comparison between the output and itself if the output is correct and the output time was printed correctly.

# Timmer command, Input: 5 seconds.

sleep 5s

InfTimExe=$(TZ='UTC' date --date now-$now +"%Hhours:%Mmins.%Ssecs")

echo "$InfTimExe" >> Date.txt

unset -v InfTimExe

# Output: 5 seconds.

echo "[INF] Internal run time of the script:"

echo ""

cat Date.txt

rm Date.txt

echo ""

echo ""

exit

Code/JPG

Execution/JPG

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

79443555

Date: 2025-02-16 16:51:50
Score: 2.5
Natty:
Report link

I believe it's simpler. When you create your Firestore database, you probably assign it a name. Try recreating it without specifying a name—Firestore will automatically create one with the (default) name. That should work. Give it a try!

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

79443526

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

I changed bcrypt package to bcryptjs and it worked 🚀.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Daniel Valencia

79443525

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

I substantively use the AnthonyC solution by means of a small function that prunes the stratified terms from the model:

library(survival)
library(survminer)

  colon <- within(colon, {
  sex <- factor(sex, labels = c("female", "male"))
  differ <- factor(differ, labels = c("well", "moderate", "poor"))
  extent <- factor(extent, labels = c("submuc.", "muscle", "serosa", "contig."))})


stratamodel <- coxph(Surv(time, status) ~ sex + strata(rx) + adhere + 
differ + extent + node4,
                 data = colon )

prun<-function(model) {
    if (any(grepl("strata", names(attr(model$terms, "dataClasses"))))) {attr(model$terms, "dataClasses")<-attr(model$terms, "dataClasses")[-which(grepl("strata", names(attr(model$terms, "dataClasses"))))]}
    model
    }

windows(8,8);ggforest(prun(stratamodel), data=colon, main="Stratified model")

enter image description here

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

79443522

Date: 2025-02-16 16:30:46
Score: 0.5
Natty:
Report link

What you can do is:

  1. Get the version of your NDK by going to C:\Users\<your_user>\AppData\Local\Android\Sdk\ndk
  2. Mention the same version in <project_directory>\android\local.properties file by changingndk.dir value to the version you get in step 1. If ndk.dir is absent, add ndk.dir=<your_version> to the file.
  3. Set the version of flutter.ndkVersion to the same version in <flutter_dir>\flutter\packages\flutter_tools\gradle\src\main\groovy\flutter.groovy file.
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): What you can
  • Low reputation (0.5):
Posted by: Saarthak Gupta

79443520

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

Java is a Stable Language for many years.

  1. There is nothing that Java Do not have and any other language have.
  2. If you think Java doesn't have this, means you don't know.
  3. And if Java doesn't have something it must be a reason. For example Java doesn't have pointers doesn't mean it is bad than C++, It has a reason, you do not need it in Java.
  4. First understand how JDK,JRE, and JVM works. Java is not just a syntax that you can compare.
  5. No matter what anyone say WORA, WORE, Security, In-bult features of JVM, combination of being Compiled, Interpreted, and JITC these are unmatched to any programming language.
  6. In java now, if you know how to work you do not have to even write the code much there are tools for everything. (Where in Python or any language you have to write the code, you cannot just generate pre written logic like in java. So Java might have 6000 line but among them only 50 lines were manually written but in Python you have to write all the 6000 line, I personally wont like it all, Why i am unnecessary write the code to save the data in Database every time, if my code can do it on its own in 10 lines using generating pre-written logic?)

I will answer all the other question as it will come as an comments.

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

79443516

Date: 2025-02-16 16:29:45
Score: 3
Natty:
Report link

Hide your wp-login then add

rewrite /wp-login.php $scheme://$remote_addr/wp-login.php permanent; in your nginx conf file

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

79443509

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

I have used angular v18, and I have moved files from the dist > browser folder to the main dist folder and it has resolved the error related to the 404 mainfest file.

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

79443508

Date: 2025-02-16 16:26:45
Score: 1
Natty:
Report link

this might be a bit comprehensive:

y::z
z::y
!a::Send("{U+00E4}")  ; Alt + a → ä
!+A::Send("{U+00C4}") ; Alt + Shift + A → Ä
!o::Send("{U+00F6}")  ; Alt + o → ö
!+O::Send("{U+00D6}") ; Alt + Shift + O → Ö
!u::Send("{U+00FC}")  ; Alt + u → ü
!+U::Send("{U+00DC}") ; Alt + Shift + U → Ü
!s::Send("{U+00DF}")  ; Alt + s → ß
!e::Send("{U+20AC}")  ; Alt + e → €

!=::Send("{U+2260}")  ; ≠
!.::Send("{U+2192}")  ; →
+::Send("{U+005D}")   ; ]
*::Send("{U+007D}")   ; }
+2::Send("{U+0040}")  ; @
+3::Send("{U+0023}")  ; #
+6::Send("{U+005E}")  ; ^
+7::Send("{U+0026}")  ; &
+8::Send("{U+002A}")  ; *
+9::Send("{U+0028}")  ; (
+0::Send("{U+0029}")  ; )

ß::Send("{U+002D}")   ; -
+ß::Send("{U+005F}")  ; _
´::Send("{U+003D}")   ; =
+´::Send("{U+002B}")  ; +
ö::Send("{U+003B}")   ; ;
+ö::Send("{U+003A}")  ; :
ä::Send("{U+0027}")   ; '
+ä::Send("{U+0022}")  ; "
ü::Send("{U+005B}")   ; [
+ü::Send("{U+007B}")  ; {
^::Send("{U+0060}")   ; `
+°::Send("{U+007E}")  ; ~
#::Send("{U+005C}")   ; \
+'::Send("{U+007C}")  ; |
-::Send("{U+002F}")   ; /
+-::Send("{U+003F}")  ; ?
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Papa Analytica

79443494

Date: 2025-02-16 16:18:43
Score: 0.5
Natty:
Report link
bottomNavigationBar: Container(
          padding: EdgeInsets.symmetric(
              horizontal: 10, vertical: 30), // Reduce padding
          decoration: BoxDecoration(),
          child: ConvexAppBar(
            backgroundColor: Colors.white,
            cornerRadius: 5,
            color: AppColors.black,
            activeColor: AppColors.primary2,
            style: TabStyle.fixedCircle,
            shadowColor: Colors.grey.shade400,
            items: [
              TabItem(title: 'Home', icon: Icons.list),
              TabItem(title: 'Home', icon: Icons.list),
              TabItem(
                icon: Container(
                  padding: EdgeInsets.all(5),
                  decoration: BoxDecoration(
                    color: AppColors.primary2,
                    shape: BoxShape.circle,
                  ),
                  child:
                      SvgPicture.asset('assets/icons/home_center_flower.svg'),
                ),
              ),
              TabItem(title: 'Home', icon: Icons.list),
              TabItem(title: 'Home', icon: Icons.list),
            ],
            initialActiveIndex: 1,
            onTap: (int i) => print('click index=$i'),
          ),
        )

use convex_bottom_bar: ^3.2.0 from pub.dev https://pub.dev/packages/convex_bottom_bar

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sharjeel Shahid

79443493

Date: 2025-02-16 16:17:42
Score: 6.5 🚩
Natty: 4.5
Report link

I was able to reproduced the jiggle both in Debian 12.x and CentOS 9 running your demo program with Java 23.0.2. In Debian the jiggle always happens. In CentOS the jiggle happens once or twice in a row, then a couple of times everything works ok, but then the jiggle comes back, and so on. I changed the visual effects setting and nothing changed. I removed the alert.initOwner() and nothing changed. Have you found a solution to this problem?

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found a solution to this problem
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Eduardo Ostertag

79443486

Date: 2025-02-16 16:12:41
Score: 1.5
Natty:
Report link

I found that I was connecting to the wrong database. My Prisma CLI was connecting find and pulling environment variables from my .env file, however my Next.Js app was pulling database connection parameters from my .env.local file. I needed to double check exactly which database I was connecting to.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Joss Bird

79443477

Date: 2025-02-16 16:08:40
Score: 1
Natty:
Report link

Old thread, but in case anyone stumbles across this...

Diagnostics should only be use in Analyzers (not Generators).

Reason: With a Generator, you need to cache Diagnostic info during parsing as part of an ImmutableArray. This needs to get passed to your RegisterSourceOutput handler (SourceProductionContext is required to report the Diagnostic).

The reason you should NOT do this is because that diagnostic info invariably relies on Symbol locations, which are highly variant. Thus, you are constantly breaking the cache-flow that relies on immutable data to remain relatively stable.

The means means your Generator will be really slow.

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

79443470

Date: 2025-02-16 16:03:39
Score: 2
Natty:
Report link

As a side note, I got this exact same error because I crossed the threshold of 6000 characters available for all embeds and fields for a single message. I wasn't aware of that limit, so didn't look for it, but instead paid attention to the limits per embed and field. Very confusing error to return for my specific problem.

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

79443469

Date: 2025-02-16 16:03:38
Score: 8.5 🚩
Natty:
Report link

I'm facing the same problem, I need to update relations but the integer "id" field is required for this and I didn't get it from anywhere , in my case I have "users" collection that have a many-to-one relationship with "position" collection my update graphql looks like this:

mutation AssignUserToPosition($id: ID!, 
$data:UsersPermissionsUserInput!) {
updateUsersPermissionsUser(id: $id, data: $data) {
  data {
    documentId
  }
}}

when I pass this for variables:

{
  id: "asdfghjkdsjkgjdvgskl",
  data: { position: "laskfjfpgiewjgwp" }
}

I found it like this in strapi v5 documentation this article

So please it's Urgent If anyone knows a solution or can give us a hint of how to preceed with this.

Thank you

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): m facing the same problem
  • Blacklisted phrase (1): anyone knows
  • RegEx Blacklisted phrase (2): Urgent
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm facing the same problem
  • Low reputation (1):
Posted by: Assia Nour

79443451

Date: 2025-02-16 15:51:35
Score: 1
Natty:
Report link

MongoDB does not natively support the relational model and its typical relationships like JOINs, which are commonly used in SQL-based databases and handled by ORMs (Object-Relational Mappers). MongoDB is a NoSQL database, and it uses a document-oriented model instead, where data is stored in JSON-like documents.

In MongoDB, relationships are typically managed in a different way, like by embedding documents or using manual references between them, but it doesn't have the automatic relationship management features that ORMs provide for relational databases.

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

79443448

Date: 2025-02-16 15:50:35
Score: 1.5
Natty:
Report link

getMonth() method returns the month as a zero-based index. Hence it is 0 for 12 as a month.

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

79443447

Date: 2025-02-16 15:49:34
Score: 1.5
Natty:
Report link

Because the architects of Unix decided that file I/O was best done with per-process arrays inside the kernel, exposing the integer indices as part of the ABI. And that C, Unix's main language, uses zero-based indices for arrays. And that standard I/O, redirect-able and pipeline-able, was best accomplished with three file descriptors, the first three, and assigning them (arbitrarily) in order as input, output, and error. And naming them thus, and providing predefined constants thereof, and utility programs (like the shell) that set all new executing processes up that way...

A Unix process doesn't have to use the standard I/O, it's free to move things around and use them any which way, but that's what every one that's created with the standard tools for doing so will wake up with, and that almost every program that already exists expects to find when it wakes up.

TL/DR? Because that's how Unix works.

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

79443439

Date: 2025-02-16 15:46:34
Score: 3.5
Natty:
Report link

I know this is an old question, but I found this today - https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-adts/dd4dc725-021b-4c8c-a44a-49b3235836b7

No actual object has objectGUID equal to the NULL GUID. The root object has parent equal to the NULL GUID.

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

79443429

Date: 2025-02-16 15:36:32
Score: 1.5
Natty:
Report link

Use gg_season() instead of ggseason().

Explanation:

As can be observed from the book question, it says autoplot(), gg_season(), gg_subseries(), gg_lag(),ACF() |> autoplot().

Whereas your question shows the use of ggseason() which can handle ts objects easily but aus_retail is not a ts object , it is tsibble which requires gg_season() R code showing that aus_retail is not a ts object

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Narayana Srikanth Reddy

79443428

Date: 2025-02-16 15:36:31
Score: 4
Natty:
Report link

Found this which looks good (quite new, still in development) https://github.com/fontanf/packingsolver

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