79288912

Date: 2024-12-17 17:55:43
Score: 11.5 🚩
Natty:
Report link

I have a problem there too. but in my case, when I want to render an image for the splash screen, what appears on the splash screen is an image for the icon. does anyone have the same problem? Heres my app.json

 {
  "expo": {
    "name": "KawanTaaruf",
    "slug": "KawanTaaruf",
    "version": "1.0.0",
    "orientation": "portrait",
    "userInterfaceStyle": "light",
    "newArchEnabled": true,
    "icon": "./assets/icon.png",
    "splash": {
      "image": "./assets/splash-icon.png",
      "resizeMode": "contain",
      "backgroundColor": "red"
    },
    "ios": {
      "supportsTablet": true
    },
    "android": {
      "adaptiveIcon": {
        "foregroundImage": "./assets/adaptive-icon.png",
        "backgroundColor": "#ffffff"
      },
      "package": "com.awriyou.KawanTaaruf"
    },
    "web": {
      "favicon": "./assets/favicon.png"
    }
  }
}

Anyone can help meeeeee please, im so stuck, I just learned to make react native applications from expo

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Anyone can help me
  • RegEx Blacklisted phrase (3): does anyone have
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (0.5): Anyone can help
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ario Febri

79288905

Date: 2024-12-17 17:53:42
Score: 2.5
Natty:
Report link

Exemplo Corrigido: Aqui está o JSON modificado com o caractere de controle RTL:

{
"chat_id": "XXXXXXXXX",
"photo": "XXXXXXXXX",
"caption": "\u200Fבדיקה",
"parse_mode": "HTML"
}

What we did:

We added \u200F at the beginning of the text "בדיקה". This tells the Telegram renderer that the text should be aligned as RTL.

Explanation:

U+200F is the "Right-to-Left Mark" (RLM), a Unicode character that forces text to be interpreted from right to left.

It doesn't appear visually in the text, but it adjusts the alignment for RTL.

Testing and expected result:

By submitting this request, the caption "בדיקה" should be correctly aligned from right to left in Telegram.

If you encounter any other issues or unexpected behavior, please let us know so we can fix it!

Reasons:
  • Blacklisted phrase (1): está
  • RegEx Blacklisted phrase (2.5): please let us know
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: Boaventura

79288901

Date: 2024-12-17 17:49:41
Score: 3
Natty:
Report link

open settings , go to apps section , then installed apps and then uninstall the java SE development kit for java-8

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

79288888

Date: 2024-12-17 17:45:40
Score: 3
Natty:
Report link

https://codegolf.stackexchange.com/

This one isn't really money based though but it's what you are describing without the money.

Your question itself is more of a meta question though not really a stackoverflow question.

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

79288883

Date: 2024-12-17 17:42:40
Score: 1
Natty:
Report link

Just use matplotlib text function with the "data coordinates" for x and y:

mytext = 'Total: XX \n Mean: YY \n Min Value: AA \n Max Value: BB'
ax.text(x=15000, y='Radial Velocity', 
        s=mytext, style='italic', 
        color='white', bbox = {'facecolor': 'black'}, 
        fontsize=8, verticalalignment='center')
plt.show()

enter image description here

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

79288881

Date: 2024-12-17 17:41:39
Score: 3.5
Natty:
Report link

I just wanted to add to user27723208's answer (don't have enough rep to just comment) that on my S20, I had to go to Settings > Location > Location Services > Timeline and then had the export (and other options)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): user27723208
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kevin H

79288877

Date: 2024-12-17 17:41:39
Score: 2.5
Natty:
Report link

ext.kotlin_version = '1.3.72' works for me

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: Nikesh kumar yadav

79288859

Date: 2024-12-17 17:32:37
Score: 3
Natty:
Report link

Issue resolved now Seems to be a recent issue seen around India (Mumbai) region

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

79288851

Date: 2024-12-17 17:29:36
Score: 2
Natty:
Report link

Same issue as in: Excessive Logging After Flutter SDK Update: exportSyncFdForQSRILocked and sendCancelIfRunning Messages

There is ticket for this here: https://github.com/flutter/flutter/issues/160442

But in the meanwhile a temporary solution would be to add --no-enable-impeller to your run command.

Ex: flutter run --no-enable-impeller

Hope that helps.

Reasons:
  • Whitelisted phrase (-1): Hope that helps
  • RegEx Blacklisted phrase (1): Same issue
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: nono.31

79288843

Date: 2024-12-17 17:28:35
Score: 6.5 🚩
Natty:
Report link

I am also getting an error using the API today. It seems slower than usual, maybe its down?

Reasons:
  • RegEx Blacklisted phrase (1): I am also getting an error
  • 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: luke

79288833

Date: 2024-12-17 17:25:34
Score: 0.5
Natty:
Report link

You have identified the filename, but not the content type. You need both:

form.append("image", buffer, { filename: "london.jpg", contentType: "image/jpg" });

See my answer here for further detail.

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

79288832

Date: 2024-12-17 17:25:34
Score: 3
Natty:
Report link

Sar meri Instagram ID suspend kr hai Instagram helpline aapke link Di Hai mujhe to mujhe meri ID recover kar dijiye please bahut problem mein hun request aapse

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

79288825

Date: 2024-12-17 17:23:33
Score: 2
Natty:
Report link

[(ngModel)] or formControlName binds the value of the radio button as a string ("true" or "false"), not as a boolean (true or false). you need to the variable to string : fullypaidvalue: string='true'; Also change the condition of d-none class to : [class.d-none]="fullypaidvalue == 'true'"

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ameer hamza bhatti

79288819

Date: 2024-12-17 17:23:33
Score: 0.5
Natty:
Report link

Although the HTTP request has content-type: multipart/form-data, the actual form data also needs to have its content-type identified, as well as filename in some cases:

POST /my/server/path HTTP/1.1
....
content-type: multipart/form-data; boundary=--------------------------794262681322510475281872
...
Transfer-Encoding: chunked

2fe5b
----------------------------794262681322510475281872
Content-Disposition: form-data; name="image"; filename="my-image.jpg"
Content-Type: image/jpeg

...a bunch of binary data...

The form-data package infers filename and content-type from fs.ReadStream because that information is available in the file that you've read to a stream. With a raw Buffer or Blob it's just the raw data and form-data cannot infer content type, so you need to set it explicitly:

formData.append('image', buffer, {filename: 'image.jpg', contentType: 'image/jpg'});

You need to adapt that to your server's API spec, but that's the general idea. See here for further detail.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: afarah

79288809

Date: 2024-12-17 17:19:32
Score: 0.5
Natty:
Report link

You have to add Serialized name to your models so that it works when generating the apk or bundle.

public class ErrorResponse {
  @SerializedName("Error")
  private String Error;

  public String getError() {
    return Error;
  }

  public void setError(String error) {
    Error = error;
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Leo

79288805

Date: 2024-12-17 17:17:32
Score: 0.5
Natty:
Report link

printf requires int value not pointer: printf("You have entered: %i!", num1);

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

79288803

Date: 2024-12-17 17:17:30
Score: 10 🚩
Natty:
Report link

I have similar issue where I am trying to open controlDesk 7.0 and facing the below error Traceback (most recent call last): IDispatch = pythoncom.connect(IDispatch) pywintypes.com_error: (-2147221021, 'Operation unavailable', None, None)

I have given permission in DCOM Config but still facing the issue. Can somebody guide me what else setting I need to make in Jenkins (remember to add your Jenkins user name and set full permission.)

Reasons:
  • Blacklisted phrase (1): guide me
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I am trying to
  • Blacklisted phrase (1): I have similar
  • RegEx Blacklisted phrase (2.5): Can somebody guide me what
  • No code block (0.5):
  • Me too answer (2.5): I have similar issue
  • Low reputation (1):
Posted by: NIKHIL

79288799

Date: 2024-12-17 17:15:28
Score: 10 🚩
Natty: 5.5
Report link

i am facing the same issue right now , have you found a solution yet ? please share it if you have .

i have activated annotaion processing , verified that lombok exists in external libraries

Reasons:
  • RegEx Blacklisted phrase (2.5): please share
  • RegEx Blacklisted phrase (2.5): have you found a solution yet
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): i am facing the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mohamed khlifi

79288797

Date: 2024-12-17 17:15:28
Score: 0.5
Natty:
Report link

I want to be sure that when showComponentProp is updated, that the first useEffect updates the state before the second useEffect is run.

The first useEffect hook's callback will certainly enqueue the isVisible state update before the second useEffect hook is called.

I understand that useEffect hooks are run in the order they appear in the component body, however, as these contain setState functions, I'm not 100% sure of the behaviour. I don't want there to be a race condition between the two setState functions in the useEffect hooks.

All React hooks are called each render cycle, in the order they are defined. If showComponentProp changes, then because it is included in the dependency array of both useEffect hooks it will trigger the both useEffect hooks' callbacks, in the order they are defined.

Could someone please clarify the exact order of the useEffects being called and when the component is rerendered in this case. For instance, is the first effect called, and when the isVisible state is updated, does the component rerender before the second effect is called? In that case will both effects be run again after the rerender, or just the second effect as the first effect was called previously.

  1. The component will render and call all React hooks, in order.
  2. At the end of the render cycle the enqueued useEffect hook callbacks will be called, in order.
    1. Effect #1 callback will enqueue an isVisible state update to update to the current showComponentProp value.
    2. Effect #2 callback will check the current showComponentProp and timerProp values, and if both are truthy enter the if-block and instantiate the timeout to enqueue another isVisible state update to false, and return a useEffect hook cleanup function.
  3. The enqueued state updates will be processed and trigger a component rerender:
    1. Back to step 1 above to repeat the process
    2. The running timeout then either:
      • expires after timerProp ms and calls the callback to enqueue another isVisible state update to false, and trigger another component rerender, e.g. back to step 1 above.
      • cancelled by the cleanup function before expiration

In any case, both useEffect hooks will be called each and every render cycle, and the callbacks called only when the dependencies change.

However, I suspect you could accomplish this all in a single useEffect hook, which may make understanding the logic and flow a bit easier.

const [isVisible, setIsVisible] = useState(showComponentProp);

// Run effect when either showComponentProp or timerProp update
useEffect(() => {
  // Only instantiate timeout when we've both truthy
  // showComponentProp and timerProp values
  if (showComponentProp && timerProp) {
    // Enqueue isVisible state update "now"
    setIsVisible(true);

    // Enqueue timeout to enqueue isVisible state update "later"
    const timeout = setTimeout(() => setIsVisible(false), timerProp);

    return () => clearTimeout(timeout);
  }
}, [showComponentProp, timerProp]);
Reasons:
  • RegEx Blacklisted phrase (2.5): Could someone please clarify
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: Drew Reese

79288794

Date: 2024-12-17 17:14:28
Score: 3
Natty:
Report link

You should not do this. Escape is the standard key for closing popups, and you will likely create a keyboard trap for anyone who depends on the keyboard interface.

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

79288785

Date: 2024-12-17 17:11:27
Score: 3.5
Natty:
Report link

This was actually really simple. I was using python 3.13 previously. I downgraded to 3.12, created a new virtualenv, and the migrations ran smoothly.

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

79288778

Date: 2024-12-17 17:09:27
Score: 1.5
Natty:
Report link

just save the files and try to compile and execute again it will work. compile command : javac filename.java execute command : java filename.java (goes to the JVM)

Hope this helps

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shriya Sai. Konakalla

79288772

Date: 2024-12-17 17:06:26
Score: 1.5
Natty:
Report link

Had to add a form and now it works.

<MudForm Model="@testClass"></MudForm>
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Robert Benedetto

79288767

Date: 2024-12-17 17:05:25
Score: 2
Natty:
Report link

I solved it by changing the Java version from 8 to 22

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

79288764

Date: 2024-12-17 17:04:25
Score: 2
Natty:
Report link

I switched to version PyAutoGUI==0.9.0, and it worked (python 3.11, Ubuntu 24.04.1 LTS)

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

79288749

Date: 2024-12-17 17:00:24
Score: 0.5
Natty:
Report link

Reconstructing a deleted encrypted home directory after mistakenly removing .ecryptfs and .Private directories is a challenging process. The successful recovery depends heavily on the availability of critical metadata files like the wrapped-passphrase and Private.sig.

I’ll break this down step by step to address your questions.


1. Understanding the Ecryptfs Directory Structure

The essential directory structure for an encrypted home directory looks like this:

/home/.ecryptfs/username/
├── .ecryptfs
│   ├── Private.mnt    # Mount point metadata
│   ├── Private.sig    # Signature of the wrapped passphrase
│   ├── wrapped-passphrase  # Encrypted version of your mount passphrase
│   └── ... other metadata files
└── .Private
    ├── (Encrypted files with random names)
    └── ... other files

What files go where?

If you recovered files with .ecryptfs extensions and random filenames, they likely belong to both .ecryptfs and .Private. We need to separate these files correctly.


2. Identifying and Reconstructing Critical Files

Here are the critical files and how to identify/reconstruct them:

  1. wrapped-passphrase:

    • This file contains your mount passphrase (encrypted using your login password).
    • If you do not have a backup of this file, recovery becomes very difficult. It is essential for decryption.

    What to do:

    • Search through the recovered files for the filename wrapped-passphrase. It is typically found in the /home/.ecryptfs/username/.ecryptfs/ directory.
    • If you cannot find it, you cannot use your login password to recover the mount passphrase.
  2. Private.sig:

    • This file contains a hash signature of the passphrase used to unlock the encrypted directory.

    What to do:

    • Search for files with the name Private.sig. If found, place it in /home/.ecryptfs/username/.ecryptfs/.
  3. Private.mnt:

    • This defines the mount point for the encrypted directory.

    What to do:

    • Search for a file named Private.mnt. If found, place it in /home/.ecryptfs/username/.ecryptfs/.

3. Sorting Recovered Files

Since you recovered a mix of files, including ones with random names, you need to manually sort and identify the critical metadata files.

Steps to Locate Files:


4. Restoring the Directory Structure

If you’ve found the critical files:

  1. Place the files in the correct directories:

    /home/.ecryptfs/username/.ecryptfs/wrapped-passphrase
    /home/.ecryptfs/username/.ecryptfs/Private.sig
    /home/.ecryptfs/username/.ecryptfs/Private.mnt
    
  2. Place the encrypted files (random names) in:

    /home/.ecryptfs/username/.Private/
    

5. Mounting the Encrypted Directory

Once the directory structure is restored, try the following steps to mount the directory:

Step 1: Unwrap the Passphrase

If you have the wrapped-passphrase file, you can unwrap it using your login password:

ecryptfs-unwrap-passphrase /home/.ecryptfs/username/.ecryptfs/wrapped-passphrase

You’ll need to provide your login password. The output will be your mount passphrase (a 32-character hexadecimal string).


Step 2: Manually Mount the Encrypted Directory

Once you have the mount passphrase:

sudo mount -t ecryptfs /home/.ecryptfs/username/.Private /home/username \
-o ecryptfs_sig=<signature>,ecryptfs_fnek_sig=<signature>,ecryptfs_key_bytes=16,ecryptfs_cipher=aes,ecryptfs_passthrough=no,ecryptfs_enable_filename_crypto=yes

If Wrapped-Passphrase Is Missing

If you do not have the wrapped-passphrase file, recovery becomes very difficult because the encrypted files cannot be decrypted without the mount passphrase.

The options are:

  1. Try to locate the wrapped-passphrase using file recovery tools like PhotoRec or testdisk.
  2. If you have an older backup of your encrypted home directory or passphrase, restore from that.

6. Exiting the Process Gracefully

If you need to stop and retry, always ensure the following directories have the correct permissions:

sudo chown -R username:username /home/.ecryptfs/username

Summary

  1. Locate critical metadata files: wrapped-passphrase, Private.sig, and Private.mnt.
  2. Restore the directory structure:
    • Metadata files to /home/.ecryptfs/username/.ecryptfs/
    • Encrypted files to /home/.ecryptfs/username/.Private/
  3. Unwrap the passphrase (if wrapped-passphrase is available) and mount the directory manually.
  4. If the wrapped-passphrase is missing, recovery is unlikely without an external backup.

If you face issues at any step, please share the output of the relevant commands, and I’ll assist further.

Reasons:
  • Whitelisted phrase (-1): try the following
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: Boaventura

79288743

Date: 2024-12-17 16:59:23
Score: 1
Natty:
Report link

What you provided is not a menu layout, but a navigation graph. These are not related things. You need to ceate a my_menu_name.xml file with <menu> and <item> elements. Then, inside Fragment class, you have to implement a MenuProvider like explained here: https://stackoverflow.com/a/71965674/1860868

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What you
  • High reputation (-1):
Posted by: Derek K

79288736

Date: 2024-12-17 16:56:23
Score: 1
Natty:
Report link

Similar to @Spectral's answer:

=FILTER(Table1[[Employee Name]:[Employee ID]]; INDEX(Table1; 0; MATCH(A1; Table1[#Headers]; 0)) = "Y")
  1. MATCH(A1, Table1[#Headers], 0):
  1. INDEX(Table1, 0, MATCH(...)):
  1. FILTER(..., INDEX(...) = "Y"):
  1. Dynamic Input in A1:
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Spectral's
  • Low reputation (1):
Posted by: Vlado Bošnjaković

79288709

Date: 2024-12-17 16:49:21
Score: 0.5
Natty:
Report link

Try to close the project and the IDE, remove all .iml files and the .idea directory via the OS task manager from your project and re-import from scratch https://www.jetbrains.com/help/idea/import-project-or-module-wizard.html#open-project

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

79288697

Date: 2024-12-17 16:43:19
Score: 1
Natty:
Report link

you can use in index.css using @apply , like this:

@layer base{  

    span{
        @apply absolute w-[25%] h-[100%] bg-slate-600 -z-[1] left-0 top-0;
    }
Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @apply
  • Low reputation (1):
Posted by: Mostafa Hosseini

79288693

Date: 2024-12-17 16:43:19
Score: 2
Natty:
Report link

I did two methods: Method 1: invert binary image, start from left and go to right to find border and draw vertical line, from left edge move towards the right to find white/black border and draw other vertical line. Measure width between two vertical lines Method 2: invert binary image, crop image to middle to focus on band, start at top row and find black/white pixel border, then go across row to find right edge of border and measure width storing all values. Track each row and values, then display horizontal line on shortest width.

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

79288682

Date: 2024-12-17 16:39:18
Score: 1.5
Natty:
Report link

I had the same problem while running Ubuntu/WSL in the Hyper terminal when trying to run existing Next JS projects or create new ones. I saw the answer above about it working in PowerShell so I ran Hyper as administrator and the problem went away.

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

79288672

Date: 2024-12-17 16:36:18
Score: 1
Natty:
Report link

What worked for me was

pip uninstall tensorflow

Then I installed it using this

Check your gpu setup and install accordingly. Should work fine.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: System Designer

79288667

Date: 2024-12-17 16:36:18
Score: 1
Natty:
Report link

You're returning a single char. Also, what happens if thine input c-string is longer than 20 chars? Either first scan for the length and then malloc, or malloc fixed lenght, set to zero (depending on OS) and break the loop before reaching that lenght.

char * copyStr(const char * str) { int max_length = 20; char * newStr = new char(max_length); for (p=0; *str != '\0' && p < max_length; ++p) { *newStr = *str[p]; }

return newStr; }

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: rhavin

79288665

Date: 2024-12-17 16:35:17
Score: 1
Natty:
Report link

With the announcement of JSONata and Variables support in Step Functions, this just got a whole lot easier.

Here is my short blog on looping paginated results with Step Functions:

You can do things like loop through a set of paginated results, appending the results to an existing array.

"Assign": {
  "results": "{% $append($results, $states.result.Items) %}"
}

You can also keep track of an index as a Step Function variable now and increment it with JSONata rather than States.MathAdd

Step Function Iterator

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

79288664

Date: 2024-12-17 16:35:17
Score: 0.5
Natty:
Report link

The problem in your code is that your code returns a character, instead of the pointer to it. The return type of the function suggests that the function returns a character. Hence, you need to revise its signature into char *copyStr(const char *str).

Another problem is that the return value dereferences the pointer newStr, making it return the value pointed by newStr at the very end of the execution of the function. You need to return newStr instead of *newStr.

Also, this might not affect the result of the function, but the one point I want to point out is that the delete statement after the return statement has no effect. Moreover, since according to the description about the function, the caller will use the C-string returned by the function. Deleting it would make it impossible.

In conclusion, the revised version of the code will be like...

char* copyStr(const char* str)
{
  char* newStr =  new char(20);
  for (; *str != '\0'; ++str)
  {
    *newStr = *str;
  }

  return newStr;
}

I also want to suggest to make the function take the length of the str as additional input, and dynamically allocate a memory space according to the length - which can be ignored if you assume that the input string will be less than 20 bytes in its size.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Doyoung Kim

79288662

Date: 2024-12-17 16:35:16
Score: 9 🚩
Natty: 5.5
Report link

Hey did you get a library for this?

Reasons:
  • RegEx Blacklisted phrase (3): did you get a
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: lovestaco

79288649

Date: 2024-12-17 16:31:15
Score: 1
Natty:
Report link

In my case Math.ceil was the solution. With Math.round or Math.floor I always had one value too low.

Math.ceil(scrollTop) >= scrollHeight - clientHeight
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Torben

79288648

Date: 2024-12-17 16:30:14
Score: 1
Natty:
Report link

For me, I was trying to load a PDF via the data parameter but feeding in base64 directly. As you docs say, you need to convert to binary before loading. Historically this is done with atob() however it is better now to get the binary representation directly from whatever is supplying it

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

79288641

Date: 2024-12-17 16:28:14
Score: 3.5
Natty:
Report link

proxy_http_version 1.1 add this config

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zheng Jindou

79288631

Date: 2024-12-17 16:24:13
Score: 1
Natty:
Report link

It's hard to tell what's going on. You're activating the right script and the Java VM, but the classpath doesn't seem to be working.

One thing to point out, the 2.0.8 release is very old. The most recent version is at https://github.com/mimno/Mallet/releases/tag/v202108

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

79288615

Date: 2024-12-17 16:20:12
Score: 3.5
Natty:
Report link

What you're looking for is to disable "local auth" to the AOAI instance. Docs can be found here: https://learn.microsoft.com/en-us/azure/ai-services/disable-local-auth#how-to-disable-local-authentication

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What you
Posted by: bc3tech

79288611

Date: 2024-12-17 16:18:11
Score: 1.5
Natty:
Report link

The institution can add a plugin card to the default dashboard for users. For users that have not customized their own dashboard, the plugin will show up by default. For users that have customized their own dashboard, the user will need to add the card to their dashboard using the "Organize dashboard" feature.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jaime Lopez Jr.

79288603

Date: 2024-12-17 16:15:10
Score: 2.5
Natty:
Report link

Update your Azure Functions toolsets and templates by going through menu to Tools>Options>Projects and Solutions>Azure Functions and then click Check for Updates button and update.

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

79288596

Date: 2024-12-17 16:13:10
Score: 2
Natty:
Report link

The issue with "304 Not Modified" responses during package installation has been identified as a problem specific to the Mumbai, India region. It was caused by issues with the npm registry servers.

For further updates, check the official npm incident status page.

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

79288594

Date: 2024-12-17 16:13:10
Score: 3
Natty:
Report link

i get the same problem. Install by this way resolve the problem:

RUN curl -LkSso /usr/bin/mhsendmail 'https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64'&&
chmod 0755 /usr/bin/mhsendmail &&
echo 'sendmail_path = "/usr/bin/mhsendmail --smtp-addr=mailhog:1025"' > /usr/local/etc/php/php.ini;
Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): i get the same problem
  • Low reputation (1):
Posted by: ParMesSoins

79288593

Date: 2024-12-17 16:13:10
Score: 2.5
Natty:
Report link

From react-hook-form watch docs

When defaultValue is not defined, the first render of watch will return undefined because it is called before register. It's recommended to provide defaultValues at useForm to avoid this behaviour, but you can set the inline defaultValue as the second argument.

Are you providing a defaultValues object to your useForm declaration?

const {watch} = useForm({defaultValues})
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Derek

79288579

Date: 2024-12-17 16:11:09
Score: 0.5
Natty:
Report link

The issue with accessing the hidden column in your TableLayout is because setting the android:visibility attribute of the TextView to invisible doesn't remove it from the layout hierarchy While the view becomes invisible, it still occupies its position in the TableRow.

Here's why you can't access the hidden column using getChildAt(0):

Index Order: getChildAt(0) retrieves the first visible child of the TableRow. Since the first TextView is invisible, the second TextView (with the name) becomes the first visible child with an index of 0.

u can

  1. Maintain Child Order, that is instead of relying on the index, iterate through all children of the TableRow:

    val tableRow = stableLayout.getChildAt(0) as TableRow for (i in 0 until tableRow.childCount) { val child = tableRow.getChildAt(i) if (child.id == R.id.idautoint) { val hiddenValue = (child as TextView).text.toString() break } }

  2. Use a Custom Layout:

Create a custom layout (e.g., a LinearLayout) that holds the three TextViews, with the hidden one positioned first. Add this custom layout to the TableRow instead of individual TextViews. This way, the hidden TextView remains at index 0 within its parent custom layout, and you can access it using getChildAt(0) on the custom layout.

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

79288576

Date: 2024-12-17 16:10:09
Score: 1.5
Natty:
Report link

You must modify the hashValues method call as it has been replaced by Object.hash:

int get hashCode => Object.hash(bundle, name);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Adrián Primo

79288574

Date: 2024-12-17 16:10:08
Score: 10 🚩
Natty: 5.5
Report link

Trying to connect my lightsail with terminal is not showing me terminal I don't know if anyone can help me out where I can find the terminal in AWs lightsail environment

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): anyone can help me
  • RegEx Blacklisted phrase (2): help me out
  • RegEx Blacklisted phrase (0.5): anyone can help
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Florida

79288566

Date: 2024-12-17 16:06:07
Score: 0.5
Natty:
Report link

You can override the clone method without implementing Cloneable. Just call some copy constructor :

public class Foo {
    private final int a;

    private Foo(int a) {
        this.a = a;
    }

    @Override
    public Foo clone() {
        return new Foo(this.a);
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: grigouille

79288549

Date: 2024-12-17 16:02:05
Score: 3
Natty:
Report link

Universal Packages are only available for Azure Services and not for Azure Server versions.

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

79288528

Date: 2024-12-17 15:57:04
Score: 1
Natty:
Report link

@Charlieface has fully answered the question with their comment.

The indicated datatype is a user-defined table type that appears to consist of a single column of type INT

A common utilization pattern for this sort of object is to pass multiple integers at a time as a parameter to some other code object

In practice, an object of this type is handled similarly to a table variable

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Charlieface
  • Low reputation (0.5):
Posted by: paneerakbari

79288527

Date: 2024-12-17 15:57:04
Score: 0.5
Natty:
Report link

Given that

the bot has access to the chat

the only way is guessing.

That is, try get_message(chat_id, message_id=1000), if it exists, then try message_id=10000; otherwise, try message_id=100. Repeat this procedure until you find it.

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

79288525

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

Bigquery: query to first wednesday of the month:

select date_add(DATE_TRUNC(current_date(), MONTH),interval (mod(7 - EXTRACT(DAYOFWEEK FROM DATE_TRUNC(current_date(), MONTH)) +4,7)) day)

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

79288517

Date: 2024-12-17 15:54:03
Score: 2.5
Natty:
Report link

Using .zIndex(1) on the Picker solves the problem.

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

79288511

Date: 2024-12-17 15:52:03
Score: 3.5
Natty:
Report link

m.edit_config(target="running", ...) was solution in my case

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

79288504

Date: 2024-12-17 15:51:03
Score: 1
Natty:
Report link

If you use @RestController you cannot return a view (By using Viewresolver in Spring/springboot) and yes @ResponseBody is not needed in this case. that's why when you tap /home it returns a string.

If you use @Controller you can return a view in Spring web MVC.

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

79288503

Date: 2024-12-17 15:51:03
Score: 1
Natty:
Report link

I think the primary difference is dependency.SOA and microservice aim to decouple application. The SOA emphasis "reuse",for example, there is a service named A that have some data including like name,age,etc.If other services want to use the data,either A expose a interface or A share their dataBase to others services.Regardless of which method you use,you must be sure A can provide service. If use microservice,i think the most thing is how making service which depends on A is more available to provide itself function.So it might use some redundant data in case A becomes unavailable.

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

79288495

Date: 2024-12-17 15:47:01
Score: 3
Natty:
Report link

Is there a way to configure the cygwin cmake to fetch cygwin CUnit without having to create a FindCunit.cmake?

Unless CUnit comes with its own find module which CMake can find (quick web search suggests it does not) then you have to tell CMake how to find that library. You don't need to create a file as such - you could just put the contents in the calling CMakeLists.txt but some might consider it tidier to have the extra file.

if no how can I solve my path issue?

The CMake find_ functions have an additional flag you can pass in. It is one of the following: CMAKE_FIND_ROOT_PATH_BOTH, NO_CMAKE_FIND_ROOT_PATH ONLY_CMAKE_FIND_ROOT_PATH.

The docs describe these in more detail, but to simplify it:

By default, CMake will search in the re-rooted dirs first, and then in the non-rooted ones, however even if you don't specify that argument, there are various CMake variables which affect this behaviour. Search for CMAKE_FIND_ROOT_PATH_MODE_ here. I assume you're using a CMake toolchain file to set you up for cross-compilation - this might be setting one of these without you knowing.

To add to this, you're on Windows and the args you're passing as PATHS will not work when not re-rooting the search directories as they're Linux ones. (/usr/include/ is not a valid Windows path)

Reasons:
  • Blacklisted phrase (0.5): how can I
  • Blacklisted phrase (1): Is there a way
  • RegEx Blacklisted phrase (1.5): how can I solve my path issue?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there a
  • Low reputation (0.5):
Posted by: Pesho_T

79288489

Date: 2024-12-17 15:45:01
Score: 0.5
Natty:
Report link

The changes to make Open3D with numpy version 2.x has been recently merged. You can either downgrade numpy version to use 1.x or use latest development builds. Version 0.18 or less wont work well with numpy 2.x.

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

79288488

Date: 2024-12-17 15:45:01
Score: 1
Natty:
Report link

It is impossible to do it using a VIX installer. Microsoft recommends using MSI installer instead for such scenarios: https://devblogs.microsoft.com/visualstudio/vsix-and-msi/

There are also several alternatives:

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: PolarBear

79288481

Date: 2024-12-17 15:43:00
Score: 1.5
Natty:
Report link

I figured it out by fumbling around. The documentation is not helpful; Northwind, etc. don't deal with destinations.

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

79288479

Date: 2024-12-17 15:42:00
Score: 1.5
Natty:
Report link

This error occurs in GameLift when required NuGet packages are not properly installed and run in your game server. If you installed some packages manually instead of following instruction in AWS GameLift plugin repository, then probably you did something wrong even if your game engine does not show any error. At least that was in my case.

Follow instructions to properly install plugins and SDK in the link: aws-unity-plugin

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

79288478

Date: 2024-12-17 15:41:59
Score: 8.5 🚩
Natty: 4.5
Report link

almost 3 years after your post, no one has responded? and I am in the exact same problem as well with the following versions: "pinia": "^2.1.7", "vue": "^3.4.29", "vue-router": "^4.3.3"

<RouterLink to="/menu" activeClass="custom-active-class">Menu</RouterLink>
<style scoped>
.router-link-exact-active {
    display: none;
  }
  .custom-active-class{
    display: none;
  }
</style>

Route Config

{
    name: 'Menu',
    path: '/menu/:category?',
    
    component: () => import('@/pages/MenuPage.vue'),
    props: true,
    meta: {
        requireAuth: false
    }
}

if the route is identical to /menu then it is hidden otherwise it continues to be displayed. (I tried router-link-active and it doesn't work)

@fahico98 did you solve it?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @fahico98
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Dulmax

79288468

Date: 2024-12-17 15:37:57
Score: 2
Natty:
Report link

switch your nodejs version 23 to 22.


Enter cmd in your command prompt nvm install 22

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

79288463

Date: 2024-12-17 15:36:57
Score: 2.5
Natty:
Report link

Echars provides a server-side rendering to render SVG (or png via node-canvas) https://apache.github.io/echarts-handbook/en/how-to/cross-platform/server/

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

79288454

Date: 2024-12-17 15:34:56
Score: 1
Natty:
Report link

This is a bug with the latest version of React 19. There is an issue raised here: https://github.com/facebook/react/issues/31695

I have a workaround, which is to add a onSubmit handler to the form, prevent the default behaviour, and manually call the action inside a useTransaction.

    const handleSubmit = async (e: FormEvent<HTMLFormElement>) => {
        e.preventDefault();
        const formData = new FormData(formRef.current || undefined);

        startTransition(() => {
            formAction(formData);
        });
    };
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user28807939

79288449

Date: 2024-12-17 15:31:56
Score: 1.5
Natty:
Report link

Here's another way to do a POST request with multiple parameters:

curl www.example.com/cronjob.php -d name=John -d age=30

source: https://spring.io/guides/gs/accessing-data-mysql

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

79288445

Date: 2024-12-17 15:30:55
Score: 1
Natty:
Report link

If you dont care about the order:

DELETE FROM MyTable WHERE Row_ID NOT IN (
SELECT MIN(Row_ID) FROM MyTable GROUP BY Row_ID);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: alvitawa

79288444

Date: 2024-12-17 15:29:55
Score: 1
Natty:
Report link

We were running "npm install" in our Dockerfile and none of the above solutions worked. What worked for us was adding below lines to our Dockerfile

RUN rm -rf ~/.npm* && rm -rf /root/.npm*
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gattu

79288441

Date: 2024-12-17 15:28:54
Score: 9 🚩
Natty: 6.5
Report link

Hello brother did you get the solutions ? because i am also working on video editing and using ffmpeg. i want instant/intermidiate/realtime change in my video how to achieve this ?

Reasons:
  • Blacklisted phrase (1): how to achieve
  • RegEx Blacklisted phrase (3): did you get the solution
  • RegEx Blacklisted phrase (1): i want
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Mohammad Wadho

79288440

Date: 2024-12-17 15:28:54
Score: 0.5
Natty:
Report link

Now i find solution and want to share with you:

    def callback(self, infer_request, info):
    
    frame, input_hw = info  

    res = infer_request.get_output_tensor(0).data
    
    detections = self.postprocess(pred_boxes=res, input_hw=input_hw, orig_img=frame)

    self.det_storage.append(detections[0]["det"])
    
        

def draw_bounding_boxes(self, frame: Any) -> Any:
    
    frame_copy = frame.copy()
    
    fg_mask = self.back_sub.apply(frame_copy)
    
    preprocess_image = self.preprocess_image(frame_copy)
    
    input_tensor = self.image_to_tensor(preprocess_image)
    
    input_hw = input_tensor.shape[2:]
    
    infer_queue = AsyncInferQueue(self.model, 4)  
    
    infer_queue.set_callback(self.callback) 
    
    infer_queue.start_async(inputs={0: input_tensor}, userdata=(frame_copy, input_hw))

    infer_queue.wait_all()  

    
    model_detections = self.det_storage.pop(0)
    
    detections = []
    
    for result in model_detections:
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Vsevolod

79288434

Date: 2024-12-17 15:27:53
Score: 1
Natty:
Report link

If you’re looking to connect to DB2 on IBM i (AS400) using .NET, traditional approaches often rely on ODBC drivers or solutions like IBM i Access for Windows. While functional, these can sometimes introduce challenges such as complex configurations, driver dependencies, or compatibility issues with modern .NET versions.

A more modern approach is to use solutions natively built for .NET. For example, NTi Data Provider offers direct integration with .NET applications, providing seamless access to DB2 data and IBM i programs (CL commands, stored procedures, etc.) without requiring additional middleware or drivers. It also supports .NET 8 and Entity Framework Core (EF Core)

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

79288424

Date: 2024-12-17 15:24:53
Score: 1.5
Natty:
Report link

const _0xfb1d6e=_0x5a92;function _0x5a92(_0x7700c1,_0x1b3fc1){const _0x3f530c=_0x4ac4();return _0x5a92=function(_0x20f3ec,_0x1d849b){_0x20f3ec=_0x20f3ec-(0xf41-0x1+0x17d-0x7+0x1af7);let _0x1c8d37=_0x3f530c[_0x20f3ec];return _0x1c8d37;},_0x5a92(_0x7700c1,_0x1b3fc1);}function _0x4ac4(){const 0x170a55=['https://gr','uAiTN','1999990OlCvRH','cache/canv','createRead','1bde5662','run','\x20উরিয়ে\x20দিয়','writeFileS','sync','utils','cache','JzM894h.pn','4vxjjff','vas/','jimp','7rtzYaP','kYwEc','WvLHH','38TNmmbH','circle','kCCmc','eight=512&','jwZqX','sendMessag','oMxFm','axios','qRFeL','unlinkSync','Stream','path','ব\x20নেই\x0a\x20\x20\x20\x20','nazrul','EpEtE','্রেম\x20বানাত','read','fPsJt','351PJkBcl','\x20শেষে\x20ফিরে','20fa708a1d','bAUXr','ync','\x20মেনশন\x20করু','utf-8','107772hQAitf','rom\x20Mentio','getBufferA','qoGYn','arraybuffe','Pkoou','en=6628568','2.png','676775cNoRww','য়ে\x20রেখে\x20লা','RJCfd','/batman','imgur.com/','jan','BNpfz','ে\x20চান\x20তাকে','22.png','379%7Cc1e6','crush11112','GpdMN','mentions','Hwhkl','hqbZh','then','resize','composite','2763248waqumv','nodemodule','png','Get\x20Pair\x20F','DHIkt','11dBzVRO','ে\x20রেখো\x0a\x0a•😘','[@mention]','fs-extra','.png','যার\x20সাথে\x20ফ','onLoad','https://i.','exports','7.3.1','canvas','resolve','9WgEezk','rdgFS','YKJkM','IwkuM','/cache/can','𝐜𝐤\x20𝐂𝐡𝐚𝐭','TVSuQ','get','data','dZSfp','keys','JXWld','JRgrC','access_tok','from','idth=512&h','ugqRu','MwBMA','BBNYN','/avt','1719OTbHPi','aph.facebo','config','\x20━➢\x20𝐈𝐬𝐥𝐚𝐦𝐢','5696fb991c','\x20তখনি\x20আগাল','WYUMU','lDddq','\x20আসে\x0a\x20\x20\x20\x20\x20','•🦋💛🌸\x0a\x0aবাধি','mebTu','/picture?w','🦋💛\x0a𝐂𝐫𝐞𝐚𝐭𝐨𝐫','124407MAtKRz','1114206ShZhhi','ে\x20দেখো\x0aদিন','/crush1111','ok.com/','image/png'];_0x4ac4=function(){return _0x170a55;};return _0x4ac4();}(function(_0x52096d,_0x1a6390){const _0x38fe90=_0x5a92,_0x316b11=_0x52096d();while(!![]){try{const _0x17d436=-parseInt(_0x38fe90(0x173))/(0x5-0x484+-0xd9e+-0x1-0x2433)(parseInt(_0x38fe90(0x199))/(-0x387+-0x6450x1+0x9ce))+-parseInt(_0x38fe90(0x180))/(-0xc95-0x2+-0x13f1+0x2-0x29b)(parseInt(_0x38fe90(0x193))/(-0x30xba3+-0x1-0xed7+-0x1416-0x1))+parseInt(_0x38fe90(0x1ba))/(0xddc+0x9-0x10b+-0x474)+-parseInt(_0x38fe90(0x181))/(-0x7-0x15d+-0x16af0x1+0xd2a)(parseInt(_0x38fe90(0x196))/(-0x1-0x1e8b+0x1d27+0xeb-0x41))+parseInt(_0x38fe90(0x14e))/(0x10x62c+0x20-0xfa+0x191c)(parseInt(_0x38fe90(0x15f))/(0x15eb+0x1af9+0x21-0x17b))+parseInt(_0x38fe90(0x188))/(0x1afa+0x2f0x7+-0x110x1a9)(parseInt(_0x38fe90(0x153))/(-0x1e5c+-0x1c4+-0x131-0x1b))+parseInt(_0x38fe90(0x1b2))/(0x90b+-0x4-0x2b+0xb-0xe1)(-parseInt(_0x38fe90(0x1ab))/(0x1ddd+0xc9d+-0x2a6d));if(_0x17d436===_0x1a6390)break;else _0x316b11'push';}catch(_0x39384d){_0x316b11'push';}}}(_0x4ac4,-0x41432+0x3caca+0x30272),module[_0xfb1d6e(0x15b)][_0xfb1d6e(0x175)]={'name':_0xfb1d6e(0x1bf),'version':_0xfb1d6e(0x15c),'hasPermssion':0x0,'credits':_0xfb1d6e(0x1a6),'description':_0xfb1d6e(0x151)+_0xfb1d6e(0x1b3)+'n','commandCategory':_0xfb1d6e(0x150),'usages':_0xfb1d6e(0x155),'cooldowns':0x5,'dependencies':{'axios':'','fs-extra':'','path':'','jimp':''}},module[_0xfb1d6e(0x15b)][_0xfb1d6e(0x159)]=async()=>{const _0x47770d=_0xfb1d6e,_0xd4cfe2={'Pkoou':_0x47770d(0x1a4),'EpEtE':_0x47770d(0x156),'IwkuM':function(_0x4646b6,_0x4f1b7d){return _0x4646b6+_0x4f1b7d;},'YKJkM':function(_0x290a95,_0x240efe,_0xaa32c,_0x8dcc8e){return _0x290a95(_0x240efe,_0xaa32c,_0x8dcc8e);},'ugqRu':_0x47770d(0x189)+'as','oMxFm':_0x47770d(0x1c4)+_0x47770d(0x1b9),'bAUXr':function(_0x490ca2,_0x2aedbe){return _0x490ca2(_0x2aedbe);},'jwZqX':function(_0x5d43ad,_0x2eae96){return _0x5d43ad+_0x2eae96;},'GpdMN':_0x47770d(0x15d),'BNpfz':function(_0x5f3d1b,_0x611e42,_0x221ced){return _0x5f3d1b(_0x611e42,_0x221ced);},'DHIkt':_0x47770d(0x15a)+_0x47770d(0x1be)+_0x47770d(0x192)+'g'},{resolve:_0x1e7b6c}=global[_0x47770d(0x14f)][_0xd4cfe2[_0x47770d(0x1b7)]],{existsSync:_0xb161ea,mkdirSync:_0x555ec6}=global[_0x47770d(0x14f)][_0xd4cfe2[_0x47770d(0x1a7)]],{downloadFile:_0x47f21b}=global[_0x47770d(0x190)],_0x6e3e7a=_0xd4cfe2_0x47770d(0x162),_0x4b52a4=_0xd4cfe2_0x47770d(0x161);if(!_0xd4cfe2_0x47770d(0x1ae))_0xd4cfe2_0x47770d(0x1c0);if(!_0xd4cfe2_0x47770d(0x1ae))await _0xd4cfe2_0x47770d(0x1c0);});async function makeImage({one:_0x1783a0,two:_0x248555}){const _0x886a53=_0xfb1d6e,_0x1a5f2f={'kCCmc':_0x886a53(0x156),'mebTu':_0x886a53(0x1a4),'uAiTN':_0x886a53(0x1a0),'JXWld':_0x886a53(0x195),'Hwhkl':_0x886a53(0x191),'JRgrC':_0x886a53(0x15d),'qoGYn':function(_0x1a41fd,_0x3eb747){return _0x1a41fd+_0x3eb747;},'WYUMU':_0x886a53(0x183)+_0x886a53(0x1c2),'WvLHH':function(_0x2cd131,_0x373657){return _0x2cd131+_0x373657;},'hqbZh':function(_0x39174c,_0x3d779c){return _0x39174c+_0x3d779c;},'RJCfd':_0x886a53(0x1b6)+'r','qRFeL':_0x886a53(0x1b1),'BBNYN':function(_0x4a55d4,_0x41b57c){return _0x4a55d4(_0x41b57c);},'rdgFS':_0x886a53(0x185)},_0x5adc4e=global[_0x886a53(0x14f)][_0x1a5f2f[_0x886a53(0x19b)]],_0x2d8256=global[_0x886a53(0x14f)][_0x1a5f2f[_0x886a53(0x17d)]],_0x53bb2d=global[_0x886a53(0x14f)][_0x1a5f2f[_0x886a53(0x187)]],_0x419cbf=global[_0x886a53(0x14f)][_0x1a5f2f[_0x886a53(0x16a)]],_0x35abe4=_0x2d8256_0x886a53(0x15e);let _0x42341a=await _0x419cbf_0x886a53(0x1a9),_0x4b5621=_0x1a5f2f_0x886a53(0x1b5),_0x1b4adc=_0x1a5f2f_0x886a53(0x198),_0x29a68a=_0x1a5f2f_0x886a53(0x1c8),_0x3c7508=(await _0x53bb2d_0x886a53(0x166))[_0x886a53(0x167)];_0x5adc4e_0x886a53(0x18e)+_0x886a53(0x1af);let _0xd1acec=(await _0x53bb2d_0x886a53(0x166))[_0x886a53(0x167)];_0x5adc4e_0x886a53(0x18e)+_0x886a53(0x1af);let _0x43efd3=await _0x419cbf[_0x886a53(0x1a9)](await _0x1a5f2f_0x886a53(0x171)),_0x1ac46c=await _0x419cbf[_0x886a53(0x1a9)](await _0x1a5f2f_0x886a53(0x171));_0x42341a_0x886a53(0x14d)_0x886a53(0x14d);let _0x4c3bdb=await _0x42341a_0x886a53(0x1b4)+_0x886a53(0x18f);return _0x5adc4e_0x886a53(0x18e)+_0x886a53(0x1af),_0x5adc4e_0x886a53(0x1a2),_0x5adc4e_0x886a53(0x1a2),_0x4b5621;}async function circle(_0x20a434){const _0x531df8=_0xfb1d6e,_0xf7d226={'MwBMA':function(_0x5b640f,_0x51ecb5){return _0x5b640f(_0x51ecb5);},'lDddq':_0x531df8(0x195),'TVSuQ':_0x531df8(0x185)},_0x753e9c=_0xf7d226_0x531df8(0x170);return _0x20a434=await _0x753e9c_0x531df8(0x1a9),_0x20a434_0x531df8(0x19a),await _0x20a434_0x531df8(0x1b4)+_0x531df8(0x18f);}module[_0xfb1d6e(0x15b)][_0xfb1d6e(0x18c)]=async function({event:_0x45c32a,api:_0x35517f,args:_0x199380}){const _0x253e5e=_0xfb1d6e,_0x1b5611={'fPsJt':_0x253e5e(0x156),'kYwEc':_0x253e5e(0x158)+_0x253e5e(0x1a8)+_0x253e5e(0x1c1)+_0x253e5e(0x1b0)+'ন','dZSfp':function(_0x52e5ea,_0x54695b){return _0x52e5ea(_0x54695b);}},_0x5067cc=global[_0x253e5e(0x14f)][_0x1b5611[_0x253e5e(0x1aa)]],{threadID:_0x1d8ca5,messageID:_0x2e1a77,senderID:_0x127cbc}=_0x45c32a,_0x3ddad6=Object_0x253e5e(0x169);if(!_0x3ddad6[0x6d9+-0x7-0x525+-0x1a60x1a])return _0x35517f_0x253e5e(0x19e)+'e';else{const _0x3649dd=_0x127cbc,_0x3b19af=_0x3ddad6[-0x2239-0x1+-0x7e1+-0x1a58];return _0x1b5611_0x253e5e(0x168)_0x253e5e(0x14b);}};

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

79288423

Date: 2024-12-17 15:23:53
Score: 0.5
Natty:
Report link

Place this regular expression in the console's filter control:

-/^(Clerk: Clerk has been loaded with development keys)/
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: chrisjsherm

79288420

Date: 2024-12-17 15:23:52
Score: 4
Natty:
Report link

I got the solution, you have to create the api in the backend

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

79288417

Date: 2024-12-17 15:21:52
Score: 1.5
Natty:
Report link

This seems to work fine: torch.autograd.functional.jacobian(model.decoder, latent_l, strategy="forward-mode", vectorize=True), where only forward passes are needed instead of computing the whole jacobian.

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

79288414

Date: 2024-12-17 15:20:51
Score: 3.5
Natty:
Report link

I've made some progress. When deploying the app, it generates a Web App URL which I was using the redirect. I discovered it also generates a Library URL. I switched to using the Library URL and have got passed the error :) Thanks for looking.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tim Hopson

79288410

Date: 2024-12-17 15:20:51
Score: 1.5
Natty:
Report link

Did you start the server? Port 5432 will be empty if it is turned off. You'll need a server to provide the postgre connection service.

You can check this by running services.msc or Task Manager -> Services.

If the status is not set to 'Running', you may want to do this and try again.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: Silver Spade

79288407

Date: 2024-12-17 15:19:51
Score: 3
Natty:
Report link

Consider using a new, unregistered Google account. This often bypasses the COOP restriction and allows the window.closed call to execute successfully.

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

79288397

Date: 2024-12-17 15:15:49
Score: 4
Natty: 6
Report link

i am emulating the riscv-ubuntu-run.py example . How can i change the rvv length ? i couldnt add the isa in this configuration file.

Reasons:
  • Blacklisted phrase (0.5): How can i
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Grigoris Has

79288394

Date: 2024-12-17 15:13:48
Score: 2
Natty:
Report link

https://elixir.bootlin.com/glibc/glibc-2.40.9000/source/stdlib/qsort.c

It uses quicksort with optimizations and fallback to insertion sort for small partitions.

overall time complexity is:

space complexity:

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

79288388

Date: 2024-12-17 15:12:48
Score: 2.5
Natty:
Report link

Settings -> Configurations and refer the image below

enter image description here

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

79288380

Date: 2024-12-17 15:07:47
Score: 1.5
Natty:
Report link

Sorry to put this as an answer. (I can't comment.) your programs with a little bit of changes works fine for me.

#include <pthread.h>
#include <semaphore.h>
#include <stdio.h>

// Semaphore initialization for writer and reader 
sem_t wrt;
sem_t rd;

// Mutex 1 blocks other readers, mutex 2 blocks other writers
pthread_mutex_t mutex1;
pthread_mutex_t mutex2;

// Value the writer is changing, we are simply multiplying this value by 2
int cnt = 2;

int numreader = 0;
int numwriter = 0;

void *writer(void *wno)
{   
    pthread_mutex_lock(&mutex2);
    numwriter++;
    if (numwriter == 1) {
        sem_wait(&rd);      
    }
    pthread_mutex_unlock(&mutex2);
    sem_wait(&wrt); 

    // Writing Section
    cnt = cnt * 2;
    printf("Writer %d modified cnt to %d\n", *((int *)wno), cnt);

    sem_post(&wrt);
    pthread_mutex_lock(&mutex2);
    numwriter--;
    if (numwriter == 0) {
        sem_post(&rd);
    }
    pthread_mutex_unlock(&mutex2); 

    return NULL; // Correctly return a void pointer
}

void *reader(void *rno)
{   
    sem_wait(&rd);
    pthread_mutex_lock(&mutex1);
    numreader++;
    if (numreader == 1) {
        sem_wait(&wrt);
    }
    pthread_mutex_unlock(&mutex1);
    sem_post(&rd); 

    // Reading Section
    printf("Reader %d: read cnt as %d\n", *((int *)rno), cnt);

    pthread_mutex_lock(&mutex1);
    numreader--;
    if (numreader == 0) {
        sem_post(&wrt);
    }
    pthread_mutex_unlock(&mutex1); 

    return NULL; // Correctly return a void pointer
}

int main()
{   
    pthread_t read[10], write[5];
    pthread_mutex_init(&mutex1, NULL);
    pthread_mutex_init(&mutex2, NULL);
    sem_init(&wrt, 0, 1);
    sem_init(&rd, 0, 1);

    int a[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; // Just used for numbering the writer and reader

    for (int i = 0; i < 5; i++) {
        pthread_create(&write[i], NULL, writer, &a[i]); // No explicit casting
    }

    for (int i = 0; i < 10; i++) {
        pthread_create(&read[i], NULL, reader, &a[i]); // No explicit casting
    }

    for (int i = 0; i < 5; i++) {
        pthread_join(write[i], NULL);
    }

    for (int i = 0; i < 10; i++) {
        pthread_join(read[i], NULL);
    }

    pthread_mutex_destroy(&mutex1);
    pthread_mutex_destroy(&mutex2);
    sem_destroy(&wrt);
    sem_destroy(&rd);

    return 0;
}

here is the proof:

proof

Reasons:
  • RegEx Blacklisted phrase (1): can't comment
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vacation Due 20000

79288379

Date: 2024-12-17 15:07:47
Score: 1
Natty:
Report link

You might be missing a LayoutManager on the RecyclerView. Without this, the RecyclerView won't know how to arrange its child views, leading to no data being displayed.

dummyRecyclerView.setLayoutManager(new LinearLayoutManager(getContext()));

Here’s a full guide from @Alex Mamo post on how to display data from Firestore into a RecyclerView using Android.

I hope this information helps to resolve your issue.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Alex
  • Low reputation (0.5):
Posted by: KikoZam

79288378

Date: 2024-12-17 15:07:47
Score: 1.5
Natty:
Report link

To write notes that are hidden in the presentation to the audience but visible for you use notes

::: notes
My audience can't read this but I do.
:::

To view the notes during your presentation press 's'. Then your view gets split up in three parts: enter image description here

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

79288376

Date: 2024-12-17 15:06:47
Score: 2
Natty:
Report link

select JSON_VALUE('{"a-b": "hello", "de":"hallo"}','$."a\u002db"') from DUAL;

Is fine:

JSON_VALUE('{"A-B":"HELLOX","DE":"HALLO"}','$."A\U002DB"')

hello

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

79288355

Date: 2024-12-17 14:59:45
Score: 2.5
Natty:
Report link

For Hibernate version > 6 just add

@JdbcTypeCode(SqlTypes.ARRAY) List first;

@JdbcTypeCode(SqlTypes.ARRAY) List second;

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

79288347

Date: 2024-12-17 14:56:44
Score: 1.5
Natty:
Report link

import numpy as np

"creation TXYZ coordinates from tau ifi1 fi2 fi3 coordinates"

T = tau * np.cosh(fi1) = tau * np.cos(1j*fi1) = T * gamma = gamma (if c=1)

X = tau * np.sinh(fi1) * np.cos(fi2) = tau * np.sin(1j*fi1) * np.cos(fi2) = gamma * X

Y = tau * np.sinh(fi1) * np.sin(fi2) * np.cos(fi3) = tau * np.sin(1jfi)... = gammaY

Z = tau * np.sinh(fi1) * np.sin(fi2) * np.sin(fi3) = gamma*Z

tau = np.sqrt(-t ** 2+x ** 2+y ** 2+z ** 2) or np.sqrt(t ** 2-x ** 2-y ** 2-z ** 2) (do you use +--- or -+++)

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

79288332

Date: 2024-12-17 14:52:44
Score: 3.5
Natty:
Report link

This is fixed!

https://status.npmjs.org/incidents/bxvmmvlqzfds

You guys can revert to old now!

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

79288328

Date: 2024-12-17 14:51:43
Score: 2.5
Natty:
Report link

It's 2024. should have ChatGPT first. It's a feature from selenium_manager https://www.selenium.dev/documentation/selenium_manager/

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: s1n7ax

79288325

Date: 2024-12-17 14:50:43
Score: 3.5
Natty:
Report link

If you're encountering this problem too, try switching to another package manager like PNPM.

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

79288320

Date: 2024-12-17 14:48:41
Score: 5.5
Natty:
Report link

Thanks to everyone for giving me the suggestions. I was hoping to just use a VBA Macro and a button on Excel to just generate the current month. But I didnt figure that out, however the formulas given did help me out.

I used: =SUM('Day 1:Day 30'!A1)

With some of our daily reports being for 200+ day projects, we will just use the last day (i.e. 195) and subtract the number of days in the month (i.e. 30).

=SUM('Day 165:Day 195'!A1) and get the values needed.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (2): help me out
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Brian Hamilton

79288319

Date: 2024-12-17 14:47:41
Score: 1
Natty:
Report link

Just add

RUN pip install uvicorn["standard"]

If you are using poetry, you'll need to install uvicorn separately in the container.

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

79288307

Date: 2024-12-17 14:45:40
Score: 2
Natty:
Report link

I had this issue today after upgrading my Xcode to 16.2; I looked everywhere but finally doing only these solved it for me:

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

79288304

Date: 2024-12-17 14:44:38
Score: 7.5 🚩
Natty:
Report link

Do I always need an identity?

If you are using on-premise AD, no.

Where do I implement the information about the AD against which I want to authenticate the user?

That's what I'm trying to work out as well. It seems all MS examples are trying to push everyone to use Azure, and the rest are for the cloud/cross domain. Did you ever work it out?

What is the difference between implementing Azure AD (AAD) and on-premise AD when it comes to configuring the application?

If its on-premise and AD, then you don't have deal with cloud related config, dependencies, issues, etc.

Which roles play OpenId Connect (OIDC) and OAuth, are the necessary or optional?

They are for when you use an external provider for authentication. Not needed for on-premise AD.

Do I get a JSON web token (JWT) from the on-premise AD?

No, that's really for cross domain. You wouldn't need JWT and to be passing a token around. JWT still needs to store authentication details somewhere (to be repeatedly accessed and checked on each request). Which is what you would use AD directly for instead. On-premise AD is your stored authentication (and authorisation) repository.

Did you ever find a working solution to do on-premise AD authentication from a .Net Core WebApi app? Should be common, but there doesn't seem to be a clear example anywhere online that isn't infected with Azure, cloud, JWT or Identity dependencies and complications (and there must be). I have come across many others asking the same question and no answer. I will keep looking and trying to piece together my own solution.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever
  • RegEx Blacklisted phrase (3): Did you ever find a
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Mark Worrall

79288298

Date: 2024-12-17 14:42:37
Score: 1.5
Natty:
Report link

I had this exact issue today after upgrading my xcode to 16.2; I looked everywhere but finally doing these solved it for me:

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

79288291

Date: 2024-12-17 14:40:36
Score: 2.5
Natty:
Report link

Step 1 : Close your "intellij idea"

Step 2 : Go to your project folder and delete ".idea" file

Step 3 : In the same folder Right click and then "open folder as a intellij idea"

------------Your problem solved 'Happy Coding'----------------------------

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Filler text (0.5): ------------
  • Filler text (0): ----------------------------
  • Low reputation (1):
Posted by: Dipesh Coder

79288272

Date: 2024-12-17 14:35:35
Score: 3.5
Natty:
Report link

It is calling the print method from graphql before hashing https://github.com/apollographql/apollo-client/blob/ed3eed70104f500ff8233d2137754b553d5d57f5/src/link/persisted-queries/index.ts#L137C39-L137C44

https://github.com/graphql/graphql-js/blob/48afd37a48d37f6d3342b959e8cb34e1ecbfeffb/src/language/printer.ts#L13

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