79718124

Date: 2025-07-29 05:00:36
Score: 0.5
Natty:
Report link

The documentation says this:

Bind a named statement parameter for ":x" placeholder resolution, with each "x" name matching a ":x" placeholder in the SQL statement.

Although you could infer otherwise, testing suggests that it indeed binds multiple placeholders that share a name.

The query in the sample situation would end up like this:

SELECT * FROM table WHERE colA = 'bar' OR colB = 'bar'

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

79718107

Date: 2025-07-29 04:36:31
Score: 0.5
Natty:
Report link

Option 1:

Run the command prompt as an administrator, than

php artisan storage:link 

Option 2: Run the command prompt as an administrator, than


mklink /D "C:\path\to\your\project\public\storage" "C:\path\to\your\project\storage\app\public"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Abdullah Al Shahed

79718100

Date: 2025-07-29 04:26:28
Score: 1
Natty:
Report link

The one-liner by @user7343148 worked really nicely from the command-line, but I had some trouble figuring out a way to make an alias for it and add it to zshrc. So, putting it here just in case someone needs it.

mp3len() {
  mp3info -p '%S\n' *.mp3 | awk '{s+=$1} END {printf "%d:%02d:%02d\n", s/3600, (s%3600)/60, s%60}'
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Night Coder

79718096

Date: 2025-07-29 04:15:27
Score: 3
Natty:
Report link

Try pressing Ctrl+Shift+E - it should restore the Explorer window. Then you can drag it back to the Activity Bar.

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

79718094

Date: 2025-07-29 04:11:26
Score: 8.5
Natty: 7
Report link

same issue, can u help me if u found solution, plz.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): can u help me
  • RegEx Blacklisted phrase (1): same issue
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Newbi

79718089

Date: 2025-07-29 04:06:24
Score: 3.5
Natty:
Report link

Exporting the CSV file using the encoding format UTF-8 resolved the issue for me.

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

79718088

Date: 2025-07-29 04:06:24
Score: 1
Natty:
Report link

The main problem is that admin_finish, the only route you have defined, returns JSON data directly. Laravel properly runs the index method and provides the raw JSON response when you visit that URL in your browser. The Blade file containing your HTML table and the JavaScript required to populate it is never loaded by your browser.

For two distinct jobs, you require two different routes:
One way to show the HTML page.
Your JavaScript needs to call one route (an API endpoint) in order to retrieve the data.

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

79718087

Date: 2025-07-29 04:06:24
Score: 0.5
Natty:
Report link

Perfect! Let's move forward with all of it. Here's what I’ll provide now based on your direction:


1. Add OnItemClickListener in MainActivity.java

Insert this at the end of onCreate():

songListView.setOnItemClickListener((parent, view, position, id) -> {
    String song = (String) parent.getItemAtPosition(position);
    Intent intent = new Intent(MainActivity.this, PlaySongActivity.class);
    intent.putExtra("songTitle", song);
    startActivity(intent);
});

2. Create PlaySongActivity.java

package com.example.rpsong;

import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.View;
import android.widget.*;
import androidx.appcompat.app.AppCompatActivity;

public class PlaySongActivity extends AppCompatActivity {

    TextView songTitleText;
    Button btnPlayPause;
    MediaPlayer mediaPlayer;
    boolean isPlaying = false;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_play_song);

        songTitleText = findViewById(R.id.songTitleText);
        btnPlayPause = findViewById(R.id.btnPlayPause);

        String songTitle = getIntent().getStringExtra("songTitle");
        songTitleText.setText(songTitle);

        int resId = getSongResourceId(songTitle); // Match song title to R.raw.<file>
        if (resId != 0) {
            mediaPlayer = MediaPlayer.create(this, resId);
        } else {
            Toast.makeText(this, "Audio file not found", Toast.LENGTH_SHORT).show();
        }

        btnPlayPause.setOnClickListener(v -> {
            if (mediaPlayer == null) return;
            if (isPlaying) {
                mediaPlayer.pause();
                btnPlayPause.setText("Play");
            } else {
                mediaPlayer.start();
                btnPlayPause.setText("Pause");
            }
            isPlaying = !isPlaying;
        });
    }

    private int getSongResourceId(String songTitle) {
        songTitle = songTitle.toLowerCase().replace(" ", "_"); // "Tum Hi Ho" → "tum_hi_ho"
        return getResources().getIdentifier(songTitle, "raw", getPackageName());
    }

    @Override
    protected void onDestroy() {
        if (mediaPlayer != null) {
            mediaPlayer.release();
        }
        super.onDestroy();
    }
}

3. Create activity_play_song.xml

Create this file in res/layout/activity_play_song.xml:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:padding="24dp"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="center">

    <TextView
        android:id="@+id/songTitleText"
        android:text="Now Playing"
        android:textSize="22sp"
        android:layout_marginBottom="24dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />

    <Button
        android:id="@+id/btnPlayPause"
        android:text="Play"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
</LinearLayout>

4. Add MP3 Files to /res/raw

Place your MP3 files in app/src/main/res/raw/ and name them like this:

Song TitleFile Name (in raw/)Tum Hi Hotum_hi_ho.mp3Kesariyakesariya.mp3Perfectperfect.mp3Shape of Youshape_of_you.mp3

File names must be lowercase and underscored (no spaces/symbols).


✅ Final Checklist:


📦 Want the ZIP Project?

If you want the full Android Studio project with this code, I can generate it as a .zip – just confirm and I’ll prepare it.

Let me know if you'd like to:

Ready when you are!

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Rp song

79718079

Date: 2025-07-29 03:55:21
Score: 1
Natty:
Report link
MAIL_MAILER=smtp   
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"

We change Update things like SMTP, Email , Password , port on .env File , We can Find on Root. 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Developer Life

79718078

Date: 2025-07-29 03:54:21
Score: 0.5
Natty:
Report link
def _generate_random_date(since: datetime, until: datetime):
    delta = until - since
    random_seconds = random.uniform(0, delta.total_seconds())
    return since + timedelta(seconds=random_seconds)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mourad Qqch

79718069

Date: 2025-07-29 03:25:15
Score: 2
Natty:
Report link

When using git shortlog -sn, without the email option, it will count all commits by author name. But when add -e option, it distinguishes first by name and then by email, creating two or more entries in the log if the same author published commits using different emails.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: João Edison Roso Manica

79718068

Date: 2025-07-29 03:25:15
Score: 1.5
Natty:
Report link

Best answer... Call to your ISP or where you dns records are and request to change your PRT record in the DNS for your public ip address. You have to add a name, for example: mail.mydomainname.com

After that, add the same name of the ptr record for your domain name inside the section of domain setup in Mdaemon, host name section, SMTP Server name.

Wait for one day for DNS replication. Done.

Pablo Solares

Setting SRL - Mdaemon Reseller

Servidores HPE Paraguay

UPS APC Paraguay

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pablo Martín Solares

79718063

Date: 2025-07-29 03:18:14
Score: 3.5
Natty:
Report link

just to let you all know, the solution was to clean the cookies related to the Github, to be able to use other options of authentication.

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

79718055

Date: 2025-07-29 03:01:10
Score: 5
Natty:
Report link

I have similar issue.

ILNodeControlStop("Firewall");

And feedback:

[*] [System]    ILNodeControlStop: Node Firewall does not exist.

CANoe node

Reasons:
  • Blacklisted phrase (1): I have similar
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have similar issue
  • Low reputation (1):
Posted by: Yilu WANG

79718047

Date: 2025-07-29 02:48:07
Score: 3
Natty:
Report link

I would suggest adding your own column to the dataset through a report extension, and replacing the Document Terms on the report layout (RDL file in Report Builder).

https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-report-ext-object?wt.mc_id=MVP_383480

Yun Zhu has a blog that might be a good starting place for you as well. https://yzhums.com/1958/

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

79718041

Date: 2025-07-29 02:36:04
Score: 1
Natty:
Report link

If you need to use nativewind for the expo camera, I could only make it work like this:



import { CameraType, CameraView, useCameraPermissions } from 'expo-camera';
import { cssInterop } from "nativewind";


cssInterop(CameraView, { className: "style" });

export default function Camera() {
...
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pacheco

79718038

Date: 2025-07-29 02:32:03
Score: 3.5
Natty:
Report link

anything with sys-* are google app scripts in GCP.

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

79718035

Date: 2025-07-29 02:23:01
Score: 2.5
Natty:
Report link

If your config tailwind.config.js is normal you can try:

1. Delete folder .next
2. npm run dev

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

79718027

Date: 2025-07-29 01:49:55
Score: 4
Natty:
Report link

You can do it here: tinyurl.com/imagexor

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

79718024

Date: 2025-07-29 01:44:54
Score: 4.5
Natty: 4
Report link

Take a look at qlmodel.tiangolo.com/

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: derek riemer

79718016

Date: 2025-07-29 01:22:50
Score: 1.5
Natty:
Report link

from PIL import Image

# Open the extracted frame

img = Image.open(frame_image_path)

# Format for iPhone wallpaper: 1170x2532 (portrait)

iphone_size = (1170, 2532)

formatted_img = img.copy()

formatted_img = formatted_img.resize(iphone_size, Image.LANCZOS)

# Save as a new jpg

iphone_img_path = "/mnt/data/frame_com_rosto_iphone.jpg"

formatted_img.save(iphone_img_path, "JPEG")

iphone_img_path

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

79718010

Date: 2025-07-29 01:05:46
Score: 3.5
Natty:
Report link

https://www.slideshare.net/slideshow/intelligent-crypto-digital-asset-recovery-solutions-http-mightyhackarrecovery-com-14042456415-whatsapp/282060616

Mighty Hackar Recovery's voice is confident, expert, and reassuring, blending professionalism with relatable client experiences to inspire trust and hope.

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

79717994

Date: 2025-07-29 00:11:37
Score: 1.5
Natty:
Report link

This took me a while to find.

My Amplify build/deployments were failing with the error message "Unable to assume specified IAM Role". The issue was the AWS Amplify Github App lost access to my Amplify Project's GitHub Repository.

Fix: In your GitHub Org, go to Settings > GitHub Apps > AWS Amplify and choose Configure. Review the settings in the section Repository Access. In my case, I had to select the GitHub repository.

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

79717993

Date: 2025-07-29 00:07:37
Score: 2.5
Natty:
Report link

Today when I try to resize the window, I find out that it can't be resized freely like other apps (reduce width, height) and I can only make it smaller but with the same ratio. Turn out it is the UIRequiresFullScreen key (second one from my Info.plist) that keeps the window to be fully displayed or at least kept the default ratio. Removing or changing it to NO/false solves the issue.

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

79717985

Date: 2025-07-28 23:49:33
Score: 1
Natty:
Report link

Nesting should work. Please post code as text and not as images. What did your nest version look like?

It should look similar to:

  Sort(
    Filter('Positions', etc...),
    Title
  )
Reasons:
  • RegEx Blacklisted phrase (2.5): Please post code
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: Sam Nseir

79717979

Date: 2025-07-28 23:41:31
Score: 1.5
Natty:
Report link

Turns out when I added the NumberRandomizer class as an autoload in the godot project settings, I added the .cs file and not the .tscn file. Switching the autoload to the .tscn file fixed the issues for me.

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

79717975

Date: 2025-07-28 23:36:30
Score: 2
Natty:
Report link

Answer is this instruction: this.world.getDispatchInfo().m_allowedCcdPenetration = 0.0001;

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

79717968

Date: 2025-07-28 23:17:27
Score: 0.5
Natty:
Report link

For question 1, I confirm that as at 2025 (Windows 10 and 11) the Registry continues to hold the list of time zone IDs in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Time Zones

These time zone IDs are unique strings to identify the time zone and are not for display to the user. The strings to display to the user can be found in the "Display" subkey (these are the strings that appear to the user when changing the time zone in Windows settings).

For example for Australia there are six such IDs:

ID: “W. Australia Standard Time”, display string “(UTC+08:00) Perth"
ID: “Aus Central W. Standard Time”, display string “(UTC+08:45) Eucla”
ID: “AUS Central Standard Time”, display string: “(UTC+09:30) Darwin”
ID: "Cen. Australia Standard Time”, display string: “(UTC+09:30) Adelaide”
ID: “AUS Eastern Standard Time”, display string: “(UTC+10:00) Canberra, Melbourne, Sydney”
ID: “E. Australia Standard Time”, display string “(UTC+10:00) Brisbane”

It can be seen that a couple of time zones in the above list have the same standard time UTC bias but have different IDs. This is because of differences in daylight saving. For example Brisbane does not have daylight saving whereas Canberra, Melbourne and Sydney do. They need separate time zone keys because the daylight saving information is kept in those keys.

Some 13 years ago the questioner reported that these strings were in the Registry and since this is documented by Microsoft both in the TIME_ZONE_INFORMATION structure information, and now also in the TimeZoneInfo.FindSystemTimeZoneById(String) Method information, I think it can be relied on for the future.

So these display strings can be extracted directly using the Registry API.

An alternative way is to use the FindSystemTimeZoneById method in the TimeZoneInfo interface and then read the DisplayName Property. The documentation states that on Windows systems this simply reads the Registry entries in the same way.

For question 2, yes the currently selected time zone is given in the TIME_ZONE_INFORMATION structure by a call to the GetTimeZoneInformation API. But this does not give you the display string. Instead, the "StandardName" as reported at +4h in that structure is the time zone ID. As mentioned in the answer to 1, the corresponding display string can be found in the Registry or by using the TimeZoneInfo interface.

Although current Windows documentation for TIME_ZONE_INFORMATION gives an example for StandardName that "EST could indicate Eastern Standard Time", this documentation dates back to 2022. I think the IDs have changed since then (naturally they will be updated from time to time). Currently "Eastern Standard Time" and not "EST" is the ID in the Registry for that time zone. The corresponding Display subkey holds "(UTC-05:00) Eastern Time (US and Canada)" for that time zone.

For question 3, in my case I only needed to know whether daylight saving was in operation for the currently selected time zone. This is returned in the eax register by the GetTimeZoneInformation API (a value of 2 showing that daylight saving is currently operating).

For other (not currently selected) time zones in 2025 it seems that various methods are available.

One is direct reading of the Registry as mentioned by Jesse.

Another is to enumerate the time zones by calling EnumDynamicTimeZoneInformation. That will give you the index of the time zone you want to look at. You can pass that index to GetTimeZoneInformationForYear. According to the documentation for the DYNAMIC_TIME_ZONE_INFORMATION structure, that reads the same Registry entries.

Now there are also methods in the TimeZoneInfo interface which can be used, like GetUtcOffset (you give the date and time zone ID and the bias is calculated) or IsDaylightSavingTime (you give the date and time zone ID and the function reports whether the date falls within daylight saving time for that time zone).

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

79717963

Date: 2025-07-28 23:10:25
Score: 1.5
Natty:
Report link

As @robertklep pointed out, my axios version was old. Updating to the latest (currently ^1.11.0) solved my problem.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @robertklep
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: nullromo

79717959

Date: 2025-07-28 23:02:23
Score: 1
Natty:
Report link

Here's what works for me:

Right click an image resource in solution explorer > Change 'Build Action' and 'Copy to Output Directory' settings > Close.

The errors disappear and I simply revert my settings back. Everything continues to work fine.

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

79717957

Date: 2025-07-28 22:57:22
Score: 0.5
Natty:
Report link

<!-- index.html --><!DOCTYPE html><html lang="fa">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>چت خصوصی دخترونه 💖</title>

<link href="https://fonts.googleapis.com/css2?family=Vazirmatn&display=swap" rel="stylesheet">

<style>

body {

  font-family: 'Vazirmatn', sans-serif;

  background: linear-gradient(to right, #ff9a9e, #fad0c4);

  margin: 0;

  padding: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  height: 100vh;

}

.chat-container {

  width: 100%;

  max-width: 400px;

  background: #fff0f5;

  border-radius: 20px;

  box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);

  padding: 20px;

  display: flex;

  flex-direction: column;

}

.messages {

  flex-grow: 1;

  overflow-y: auto;

  margin-bottom: 10px;

  padding: 10px;

  border: 2px dashed #ff69b4;

  border-radius: 10px;

  background-color: #fff;

}

.input-container {

  display: flex;

  gap: 10px;

}

input\[type="text"\] {

  flex-grow: 1;

  padding: 10px;

  border: 1px solid #ff69b4;

  border-radius: 10px;

  font-size: 1em;

}

button {

  padding: 10px 15px;

  background-color: #ff69b4;

  color: white;

  border: none;

  border-radius: 10px;

  cursor: pointer;

}

</style>

</head>

<body>

<div class="chat-container">

\<div class="messages" id="messages"\>\</div\>

\<div class="input-container"\>

  \<input type="text" id="messageInput" placeholder="پیام بنویس..."\>

  \<button onclick="sendMessage()"\>ارسال\</button\>

\</div\>

</div> <script src="https://cdn.socket.io/4.5.0/socket.io.min.js"></script> <script>

const socket = io();

const messages = document.getElementById('messages');

const input = document.getElementById('messageInput');

function sendMessage() {

  const msg = input.value;

  if (msg.trim() !== '') {

    socket.emit('chat message', msg);

    input.value = '';

  }

}

socket.on('chat message', function(msg) {

  const div = document.createElement('div');

  div.textContent = msg;

  messages.appendChild(div);

  messages.scrollTop = messages.scrollHeight;

});

input.addEventListener('keypress', function(e) {

  if (e.key === 'Enter') sendMessage();

});

</script></body>

</html>

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31166148

79717942

Date: 2025-07-28 22:37:18
Score: 4
Natty:
Report link

I never ordered this and I don’t even know what it is. You are billing me $9.99 + tax every week. You charge through my Apple Account and I would like a refund since you started billing me.

Karen A Walen

41&9-376-7758

You can call and get my information or you can credit my Apple Account. Thank you,

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Karen A Walen

79717939

Date: 2025-07-28 22:35:17
Score: 0.5
Natty:
Report link

If you're sending POST requests to routes other than /api then you'll need to add those to the $except array in VerifyCsrfToken, and add ->middleware(['auth:sanctum']) to those routes in web.php routes file.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Max S.

79717936

Date: 2025-07-28 22:29:16
Score: 1.5
Natty:
Report link

Doesn't it because you don't use return operator in last line of my_sub_routine description? You return None from test_read into my_sub_routine , but don't return it's result from my_sub_routine. If I understand, your last line shoud be

return test_read(p)
# not simple test_read(p)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Паша Иден

79717928

Date: 2025-07-28 22:13:12
Score: 1
Natty:
Report link

It was a tiny miss in partition count.

Topic A had actually 10 partitions and I was repartitioning the rekeyed topic B to 40 partitions by mistake (as I thought topic A had 40 partitions)!

Changing the partitions count to 10 in repartition operation fixed the issue and it worked as expected.

Sorry for the miss and stupid question.

Reasons:
  • Blacklisted phrase (1): stupid question
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: losingsleeep

79717918

Date: 2025-07-28 21:57:09
Score: 1.5
Natty:
Report link

In the end (TYVM to Google support for suggesting this) an export GOOGLE_CLOUD_QUOTA_PROJECT=<project_ID> was the ticket to get the correct project to be used.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Adam Smooch

79717910

Date: 2025-07-28 21:48:07
Score: 1.5
Natty:
Report link

You use method .copy(), but string type objects has no such method (unlike lists or some others for example). You can simply write: metadata = raw_metadata because strings are immutable. Maybe, you wait raw_metadata got other type but string - it means you are wrong about the type you get by the lines raw_metadata = doc.get('metadata', {}) or raw_metadata = doc[1] if len(doc) > 1 else {} . Also if you use metadata = {} and the next reinit it by metadata = raw_metadata.copy() it will get a type of the last initiation. You can always check all types of your variables using print(type(your_variable) or use this check in code like if type(your_variable) == ...

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Паша Иден

79717909

Date: 2025-07-28 21:48:06
Score: 4.5
Natty:
Report link

Use Office.FileDialog component.

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Glaucimar Faleiro

79717895

Date: 2025-07-28 21:29:02
Score: 2
Natty:
Report link

Based upon information from https://github.com/dotnet/runtime/issues/51252 and https://github.com/dotnet/designs/blob/main/accepted/2021/before_bundle_build_hook.md, using the newly proposed PrepareForBundle target, I have added the following to my .csproj file:

<PropertyGroup>
  <!-- For all build agents thus far in Azure DevOps, that is, Windows 2019, Windows 2022, Windows 2025, this has been sufficient.
  Instead of trying to dynamically construct something based on the Windows SDK version, which constantly changes for each build
  agent, we will just use this hard coded value. Note, this is a 32-bit executable. But for our purposes, it has been fine. -->
  <SignToolPath>C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool\signtool.exe</SignToolPath>
</PropertyGroup>

<Target Name="SignBundledFiles" BeforeTargets="GenerateSingleFileBundle" DependsOnTargets="PrepareForBundle">
  <!-- Use String.Copy as a hack to then be able to use the .Compare() method. See https://stackoverflow.com/a/23626481/8169136.
  All of the Microsoft assemblies are already signed. Exclude others as needed.
  
  This is using a self-signed code signing certificate for demonstration purposes, so this exact SignTool command won't
  work on your machine. Use your own certificate and replace the "code sign test" with your certificate's subject name. -->
  <Exec Condition="$([System.IO.Path]::GetFileName('%(FilesToBundle.Identity)').EndsWith('.dll'))
          And !$([System.String]::Copy('%(FilesToBundle.Identity)').Contains('packages\microsoft.'))
          And !$([System.String]::Copy('%(FilesToBundle.Identity)').Contains('packages\system.'))"
      Command="&quot;$(SignToolPath)&quot; sign /v /fd SHA256 /tr http://ts.ssl.com /td sha256 /n &quot;code sign test&quot; &quot;%(FilesToBundle.Identity)&quot;" />
</Target>

<Target Name="SignSelfContainedSingleFile" AfterTargets="GenerateSingleFileBundle" DependsOnTargets="SignBundledFiles">
  <!-- Finally, sign the resulting self contained single file executable. -->
  <Exec Command="&quot;C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool\signtool.exe&quot; sign /v /fd SHA256 /n &quot;code sign test&quot; &quot;$(PublishDir)$(AppHostFile)&quot;" />
</Target>

You can read more and see the result from this blog post:

https://productioncodeonly.wordpress.com/2025/07/28/code-signing-net-self-contained-single-file-executable/

Reasons:
  • Blacklisted phrase (1): this blog
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kevin

79717891

Date: 2025-07-28 21:27:01
Score: 0.5
Natty:
Report link

What approach did you go with at the end?
I am asking myself this question for new navigation 3 lib...
AppNavigator in app module seems to be a must, but I think it is overkill to have FeatureXNavigator for every module.
I am leaning towards injecting AppNavigator to every composable (Screen) same like for GlobalViewModel for example.
The other thing I would like to do is to have standalone navigation module with AppNavigatorInterface, which app module will implement. The point being to easy swap out nav3 with whatever come next.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: makvasic

79717889

Date: 2025-07-28 21:25:01
Score: 0.5
Natty:
Report link

I think your problem is using an emptyDir volume for sharing between tasks. The tasks themselves are different pods which might not even run on the same node, and not different containers sharing the same pod.

See GH issue on Argo Workflow project: https://github.com/argoproj/argo-workflows/issues/3533

Can't you use a persistent volume instead? Check the documentation for clear examples: https://argo-workflows.readthedocs.io/en/latest/walk-through/volumes/
If not, then try with an emptyDir and node affinity to make sure the tasks are on the same node, as suggested in the linked GH issue

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Thomas Delrue

79717887

Date: 2025-07-28 21:19:00
Score: 2
Natty:
Report link

I encountered the same error. For me, it was because I was on an older version of React Native, and didn't have the New Arch enabled. Upgrading to the latest version and enabling the New Architecture resolved the issue for me.

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

79717883

Date: 2025-07-28 21:14:59
Score: 0.5
Natty:
Report link

Use actix_web::rt::spawn(), which does not have a Send requirement, and runs the future on the current thread:

https://docs.rs/actix-web/latest/actix_web/rt/fn.spawn.html

Any other Send futures or tasks can be spawned into different threads, and any other non-Send (!Send) futures can be spawned on the same thread, they will cooperate to share execution time.

If you need a dedicated thread for a !Send future, you can create it manually using std::thread::Builder, then use Handle::block_on() to call actix_web::rt::spawn() to run the future locally on that thread.

Here is a similar answer that covers most of that:

https://stackoverflow.com/a/75387575/4970342

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: T2345

79717875

Date: 2025-07-28 21:03:56
Score: 4.5
Natty:
Report link

Guillaume's answer was so close that I was able to fill in the missing pieces. In case anyone finds this later, summary changes:

I have it very nearly complete in Updated DB<>Fiddle.

In the last final result, I have Alice's full access and whether it is direct or under a toplevel. But I can't have a HAVING clause to filter only those toplevel = 0. Does anyone know how to do that?

Thank you all.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2): Does anyone know
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user26533539

79717872

Date: 2025-07-28 21:01:55
Score: 0.5
Natty:
Report link

Well, first, these two sets aren't identical in ordering. At a glance, they flip the ordering of 'n' and 'f'.

Beyond that, while set ordering isn't guaranteed in standard sets in Python as a language, individual implementations may implement some ordering type. Whether that's a reliable contract will ultimately be a function of how much you trust that specific implementation and their promise to offer that as a stable behaviour.

Based on CPython's set, (of which the meat and potatoes of the insertion implementation lives here), it looks like there's no particular care taken to preserve any specific ordering, nor is there any specific care taken to randomize the order beyond using object hashes, which are stable for any object's lifetime and tend to be stable globally for certain special values (like integers below 256, and individual bytes from the ASCII range in string data).

The same can be said for the implementation of set's __repr__, (here), which makes no special effort to randomize or stabilize the order in which items are presented.

Emphatically, though, these are implementation details of CPython. You shouldn't rely on this unless you positively have to, and even then, I'd step back and reevaluate why you're in that position.

Reasons:
  • Blacklisted phrase (1): is there any
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user29388154

79717867

Date: 2025-07-28 20:54:53
Score: 1.5
Natty:
Report link

npm run watch

It will rebuild on any saved change.

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

79717865

Date: 2025-07-28 20:53:53
Score: 1
Natty:
Report link

By adding a delay to the trigger (below code in the form attributes), everything worked properly with the handler being called and preventing the default behavior.

hx-trigger="submit delay:1ms"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Xosted

79717848

Date: 2025-07-28 20:29:48
Score: 1
Natty:
Report link

The TOKEN_EXPIRED error after a day suggests that the Firebase refresh token, which is stored in localStorage on the web via browserLocalPersistence, is being lost or invalidated.

Your firebase-config.ts looks correct for setting persistence so the most probable cause is your browser's settings or an extension is clearing localStorage or site data after a period.

Start by checking your browser's privacy settings and extensions. If you can replicate the issue consistently across different browsers (or after confirming localStorage is not being cleared), then you'd need to dig deeper into the Firebase SDK's interaction with your specific environment.

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

79717838

Date: 2025-07-28 20:16:45
Score: 1
Natty:
Report link

There is a work-around to access the underlying XGB Booster:

booster = model.get_booster()
dtest = xgb.DMatrix(X_test)
y_shap = booster.predict(dtest, pred_contribs=True)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MonsieurWave

79717837

Date: 2025-07-28 20:14:44
Score: 1
Natty:
Report link
for (int i = 0; i <= 8; ++i) {
    System.out.println(Math.min(i, 8 - i));
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Konstantin Makarov

79717832

Date: 2025-07-28 20:10:43
Score: 1.5
Natty:
Report link

Temp mail boomlify is the best temp mail.

this is more more better then a traditional temp mail cause Boomlify is a privacy-focused temporary email platform that offers instant inbox creation, long-lasting emails, a centralized dashboard, custom domain and API support, smart inbox view, cross-device sync, multi-language UI, spam protection, live updates, and developer-friendly features like webhooks and REST APIs—all without registration.



Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Md zakir Hossain

79717828

Date: 2025-07-28 20:07:43
Score: 2.5
Natty:
Report link

Thanks to @mkrieger1 for this one, some images I used literally have over 100000 colors.... Something I NEVER expected to happen, so .getcolors() returned None. I changed the value to 100 million so I hopefully never face this problem ever again.

all_colors = main_img.getcolors(maxcolors=100000000)
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @mkrieger1
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Aadvik

79717817

Date: 2025-07-28 19:51:39
Score: 0.5
Natty:
Report link

Simply add

|> opt_css(css = "
     .gt_column_spanner {
           border-bottom-style: solid !important;
           border-bottom-width: 3px !important;
     }")

out

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

79717809

Date: 2025-07-28 19:44:37
Score: 1
Natty:
Report link

Yes you can wild card the path of paths of CSV files. Assuming you are sourcing them from GCS your create BQ table query would be:

CREATE OR REPLACE EXTERNAL TABLE `project.dataset.table`
OPTIONS (
  format = 'PARQUET',
  uris = ['gs://gcs_bucket_name/folder-structure/*.parquet']
);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Siddharth Upadhyay

79717802

Date: 2025-07-28 19:37:35
Score: 1
Natty:
Report link

Very late to the party on this one, but this thread is the top google result for 'javascript identity function' so I figured I'd chime in. I'm newish to Javascript, so hopefully I'm not simply unaware of a better solution.

I find this code useful:

function identity(a) { return a }
function makeCompare(key = identity, reverse = false) {
  function compareVals(a, b) { 
    const keyA = key(a);
    const keyB = key(b);
    let result =  keyA < keyB ? -1 : keyA > keyB ? 1 : 0;
    if ( reverse ) { result *= -1 }
    return result;
  }
  return compareVals;
}

I can then sort arbitrary data structures in a tidy way:

const arrB = [ {name : "bob", age: 9}, {name : "alice", age: 7} ];
console.log(arrB.sort( makeCompare( val => { return val.age } )));
console.log(arrB.sort( makeCompare( val => { return val.age }, true)));
// output:
//  Array [Object { name: "alice", age: 7 }, Object { name: "bob", age: 9 }]
//  Array [Object { name: "bob", age: 9 }, Object { name: "alice", age: 7 }] 

Note that this is dependent on having an 'identity' function to use as the default 'key' function.

Reasons:
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: David K. Storrs

79717796

Date: 2025-07-28 19:31:33
Score: 2
Natty:
Report link

I think that pd.cut().value_counts() is what you're looking for.

import pandas as pd
import plotly.express as px

# Example data
data = {
    "data-a": [10, 15, 10, 20, 25, 30, 15, 10, 20, 25],
    "data-b": [12, 18, 14, 22, 28, 35, 17, 13, 21, 27]
}
df = pd.DataFrame(data)


# Define bins
bin_range = range(9, 40, 5)

# Bin data
binned_data_a = pd.cut(df["data-a"], bins=bin_range).value_counts()
binned_data_b = pd.cut(df["data-b"], bins=bin_range).value_counts()
diff = binned_data_a - binned_data_b

# Plot
px.bar(
    x = bin_range[:-1], 
    y = diff.values, 
    labels={"x": "Bin start value", "y": "Difference (a - b)"}
)

histogram showing difference of A and B

Thanks to @Echedey Luis for suggesting .value_counts(). Also see docs for .cut() and .value_counts().

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Echedey
  • Low reputation (0.5):
Posted by: drchicken

79717791

Date: 2025-07-28 19:27:33
Score: 3
Natty:
Report link

The right way to do this is to open the Adaptive Card as a formula and the values like Topic.title, This will ensure that the data adaptive card is able to read the data properly.

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

79717787

Date: 2025-07-28 19:23:31
Score: 0.5
Natty:
Report link

You'll also get that response if the

sudo wg-quick down wg0

command is issued after wg is down. In that case, just run :

sudo wg-quick up wgo

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

79717780

Date: 2025-07-28 19:10:28
Score: 1.5
Natty:
Report link

Ran into a similar issue with extracting files from an iOS/iPadOS app when trying to export the .realm data from in Realm Studio to a .csv file...

Here to add that as of July 2025 using Realm Browser (an app that is no longer updated) works just as Apta says (on an Intel Mac running Sequoia 15.5).

I opened the default.realm file I was working with in Realm Browser, and was asked for a valid encryption key to open the file. Instead, I opened up a file that Realm had created in the same folder called "default.v7.backup.realm", which worked just fine. From there, it was easy to export the .csv file(s) for the class(es) of interest.

Thanks for the assist, Apta!!!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user888

79717777

Date: 2025-07-28 19:06:27
Score: 1
Natty:
Report link

This is a well-known issue.

When you’re on a Zoom call (or any other voice call app), the system automatically switches your device’s audio into communication mode which is optimized for voice, not for high-quality stereo sound.

Effects:

• Stereo gets downmixed to mono

• High/low frequencies are cut off

• Music, binaural, or special effects often get suppressed

On web there’s no way to bypass this because the browser doesn’t have access to low level audio routing. On native apps you should have more control.

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

79717771

Date: 2025-07-28 18:52:25
Score: 1.5
Natty:
Report link

It turns out that the error is as a result of lack of support for Secure Boot - so if you stop the VM - then go into settings / security and disable Secure Boot then you will be able to start the VM and complete the installation process. You can then investigate the process of enabling Secure Boot on Ubuntu - see https://wiki.ubuntu.com/UEFI/SecureBoot for more information.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Jason Hogg - MSFT

79717760

Date: 2025-07-28 18:44:23
Score: 1.5
Natty:
Report link

when I got this error, I culd not execute npm cache clean because on evey npm execution I received the isexe error, so, what I did was uninstall nodejs and remove the /usr/lib/node_modules folder, then reinstall npm and it worked

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): when I
  • Low reputation (0.5):
Posted by: oware

79717756

Date: 2025-07-28 18:40:22
Score: 1.5
Natty:
Report link

I needed to enable the users to send some Ethereum from their metamask wallet to the smart contract which they want to buy some tokens of via frontend. Based on metamask docs this is how one can call the send function of metamask in frontend:

window.ethereum.request({
   method: "eth_sendTransaction",
   params: [
     {
       from: metamaskWalletAddress, // The user's active address.
       to: tokenAddress, // Address of the recipient. 
           value: userDesiredAmount,
           gasLimit: "0x5028", // Customizable by the user during MetaMask confirmation.
           maxPriorityFeePerGas: "0x3b9aca00", // Customizable by the user during MetaMask confirmation.
          maxFeePerGas: "0x2540be400", // Customizable by the user during MetaMask confirmation.

         }],
    })
    .then((txHash: any) => console.log("txHash: ", txHash))
    .catch((error: any) => console.error("errorL ", error));

However, as @petr-hejda said, the token contract needs to have receive() and fallback() functions as well to be able to get the Ethereum.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @petr-hejda
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user9805040

79717743

Date: 2025-07-28 18:29:20
Score: 3.5
Natty:
Report link

Firstly Remove image background to Transparent Background https://www.remove.bg/

Then go to this Website to Generate @mipmap https://www.appicon.co/ download it

then replace your old files with download files

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @mipmapdownload
  • Low reputation (1):
Posted by: Ganesh Panwar

79717709

Date: 2025-07-28 17:56:12
Score: 1
Natty:
Report link
class A:
    def __init__(self, x):
        print("Calling __init__")
        self.x = x

def mynew(cls, *args, **kwargs):
    print("Calling mynew")
    return object.__new__(cls)

A.__new__ = mynew
A(10) 

A.__new__ = lambda cls, x: object.__new__(cls)
a = A(10)  
print(a.x)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mokhtar omar

79717705

Date: 2025-07-28 17:51:11
Score: 0.5
Natty:
Report link

When you declare an array variable of a type it will only handle that type specified, it will just do an implicit type convertion, if you want to enforce the type then you must do it on the place you are using the array or you may insert using the index, since that way it is checked at save/compile time.

Local Array of String &myArray = CreateArrayRept("", 0);

&myArray.push(1); // This compiles (add member)
&myArray[2] = "1"; // This compiles (add member)
&myArray[3] = "1"; // This compiles (add member)
&myArray[4] = 1; // This doesn't
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Guillermo-Santos

79717697

Date: 2025-07-28 17:43:09
Score: 1.5
Natty:
Report link

I was not able to pull this strictly using google app script on account of being a novice, but did have a workaround using a combination of functions and script.

For each filterable column criteria needed on the sheet I matched resulting column numbers with arrayformulas, then matched them against against themselves to limit my column range.

Filter_Job_Return = arrayformula(filter(COLUMN(Job_Names_Range),Job_Names_Range=Job))

Filter_Date_Return = arrayformula(filter(COLUMN(Date_Support_Range),Date_Support_Range>=Date_Range_Beginning,Date_Support_Range<=Date_Range_End))

Filter_Columns_Match = ARRAYFORMULA(text(FILTER(Filter_Job_Return_Range,ISNUMBER(MATCH(Filter_Job_Return_Range,Filter_Date_Return))),"0"))

For the variable row I needed I did a similar filter to return the row number for that employee, though a similar matching logic of the columns can be adapted to rows to remove potential duplicates

Example:

Need: Job# 4, Between Dates 01/15/20xx and 03/15/20xx, Employee Name: Joe

Update Projected Hours to 15

Labels Col 2 Col 3 Col 4 Col 5
Job_Return 2 4 4 6
Date_Return 01/01/20xx 02/01/20xx 03/01/20xx 04/01/20xx
Columns_Match 3 4
Row_Return 6
Employee Names Projected Hours Projected Hours Projected Hours Projected Hours
Joe 10 10 10 10

Macro to Replace selected values:

function ReplaceProjectedHours(){
  const ss = SpreadsheetApp.getActive();
  let sheet = ss.getSheetByName("Projected Hours"); //pulls from sheet by name
  const projectedHoursPerWeek = ss.getRangeByName("Projected_Hours_per_Week").getValues();
  let row = ss.getRange("B4").getDisplayValue(); //pulls cell from upper left corner of spill array formula if multiple results are given
  let colArray = ss.getRangeByName("Filter_Columns_Match").getDisplayValues();

  //Logger.log("colArray.length:" + colArray.length);
  //Logger.log(colArray);

//https://stackoverflow.com/questions/61780876/get-x-cell-in-range-google-sheets-app-script
  for(let j = 0; j < colArray[0].length; j++) {
    if (colArray[0][j] !== "") { // Check if the cell is not empty
      sheet.getRange(row, colArray[0][j]).setValues(projectedHoursPerWeek); //sets values based on position in array of object
    }
  }
}
Labels Col 2 Col 3 Col 4 Col 5
Job_Return 2 4 4 6
Date_Return 01/01/20xx 02/01/20xx 03/01/20xx 04/01/20xx
Columns_Match 3 4
Row_Return 6
Employee Names Projected Hours Projected Hours Projected Hours Projected Hours
Joe 10 15 15 10

And the macro replaces the match cells over non-continuous ranges based on the matching criteria

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Cog

79717692

Date: 2025-07-28 17:38:07
Score: 3.5
Natty:
Report link

Can you please provide your complete nodejs code? I was able to use the latest 3.7 gremlin-javascript driver to execute a comparable query against my local gremlin-server populated with the sample modern graph:

const dc = new DriverRemoteConnection('ws://localhost:8182/gremlin');
const g = traversal().withRemote(dc);\
const graphTraversal = await g.V().hasLabel('person').has('age', 29).toList();
console.log(graphTraversal)

The output I received:

[
  Vertex {
    id: 1,
    label: 'person',
    properties: { name: [Array], age: [Array] }
  }
]

I was also able to use a Neptune notebook to execute a comparable query against a graph loaded with the sample air-routes data:

%%gremlin
g.V().hasLabel('airport').has('code', 'LAX')

Output:

v[13]
Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please provide your
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you please
  • Low reputation (1):
Posted by: Andrea

79717681

Date: 2025-07-28 17:25:05
Score: 3.5
Natty:
Report link

Maybe something changed in Jest 30, but the accepted answer is not working for me. I had to do this in my global.d.ts file.

import 'jest'

declare global {
  namespace jest {
    interface Expect {
      customMatcher(expected: string): CustomMatcherResult
    }
  }
}
Reasons:
  • RegEx Blacklisted phrase (3): not working for me
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: knueser

79717680

Date: 2025-07-28 17:18:04
Score: 3
Natty:
Report link

in Program try Test.IServer server = new Test.Server(); perhaps then you can call your MethodImpl like server.MethodImpl(params) because Interface(!) is providing your method in COM. Like calling COM from VBA - you don't care about CoClass, because you reference both COM and Class from typelib, last provides just interface for connection from which you call Method. I don't know COM providing classes. CoClass is being compiled with server, not client - you should not care about it in client.

p.s. but, frankly speaking, I have the same problem with NetSxS example with NET.Core 5.0 Reg-free COM

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (0.5):
Posted by: JeeyCi

79717677

Date: 2025-07-28 17:17:03
Score: 1
Natty:
Report link

There seems to be this prop for selected text, but nothing for the placeholder:

selectedTextProps={{allowFontScaling: false}}

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

79717669

Date: 2025-07-28 17:08:01
Score: 3.5
Natty:
Report link

Another way for this to not work is for C-space to be mapped to something else in your Desktop. On my Mac, C-Space was mapped Input Sources -> Select the previous input source.

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

79717666

Date: 2025-07-28 17:06:00
Score: 2
Natty:
Report link

I got a response here: https://github.com/tbroyer/gradle-errorprone-plugin/issues/125

As stated on this page: https://errorprone.info/bugpatterns, there are two categories of bug patterns - On by default and Experimental

RemoveUnusedImport is marked as Experimental, which means it’s not enabled by default.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Marat Tim

79717664

Date: 2025-07-28 17:05:00
Score: 2
Natty:
Report link

Some tags cause Doxygen to fail. For example "@code". Try to simplify the documentation comments in your code and then re-run Doxygen.

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

79717656

Date: 2025-07-28 16:54:57
Score: 7.5
Natty: 7.5
Report link

any solution on this? addIndex is totally useless if you change the sorting. it is not added on 0 position (top row). thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): any solution on this?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: arlosmar work

79717653

Date: 2025-07-28 16:52:57
Score: 0.5
Natty:
Report link

There is always a balance to find between debugging easyness and security. Access tokens could be truncated for better safety, but as they live a few hours and are displayed at DEBUG level, this is acceptable. That said, a PR to improve that will be welcomed.

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

79717638

Date: 2025-07-28 16:36:52
Score: 2.5
Natty:
Report link

I must say that after years this issue is still there.

IDB access using index works correctly in major browsers but iOS Safari still suffers.

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

79717635

Date: 2025-07-28 16:36:52
Score: 2
Natty:
Report link

You should move also the Image instantiation in the ui.access(...) block

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

79717630

Date: 2025-07-28 16:33:51
Score: 3.5
Natty:
Report link

Installing previous versions of react-popper may solve the problem.

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

79717627

Date: 2025-07-28 16:30:50
Score: 3
Natty:
Report link
---
- name: List Local Users
  hosts: all
  gather_facts: false
  tasks:
    - name: Get local user information
      getent:
        database: passwd
      register: passwd_entries

    - name: Display local users
      debug:
        msg: "Local user: {{ item.key }}"
      loop: "{{ passwd_entries.ansible_facts.getent_passwd | dict2items }}"
      when: item.value[6] != '/usr/sbin/nologin' and item.value[6] != '/bin/false'

Can you test it this way?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: bob

79717620

Date: 2025-07-28 16:23:49
Score: 2.5
Natty:
Report link

I did downgrade to node 20.12.1, as @ Sebastian Kaczmarek mentioned and it worked

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

79717614

Date: 2025-07-28 16:17:47
Score: 0.5
Natty:
Report link

My bug when get dependencies: speech_to_text: ^7.2.0. Comment it and work!

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

79717605

Date: 2025-07-28 16:07:43
Score: 4
Natty:
Report link

Google refresh tokens can expire for a few different reasons, you can read this documentation for more information: https://developers.google.com/identity/protocols/oauth2#expiration

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

79717595

Date: 2025-07-28 16:03:41
Score: 10
Natty: 5.5
Report link

have you find the reason behind this issue?

I'm getting the exact same error message, could you please share the resolution if you have

Reasons:
  • Blacklisted phrase (2): have you find
  • RegEx Blacklisted phrase (2.5): could you please share
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm getting the exact same error
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Fernando Abel

79717594

Date: 2025-07-28 16:01:40
Score: 2
Natty:
Report link

For more guidance, see the table in this blog: https://www.influxdata.com/blog/choosing-client-library-when-developing-with-influxdb-3-0/

Reasons:
  • Blacklisted phrase (1): this blog
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Suyash

79717593

Date: 2025-07-28 16:00:40
Score: 0.5
Natty:
Report link

So for anyone else having this error, this was a doozy. In this instance, for some reason apache has created an actual file in the /etc/apache2/sites-enabled/ folder (not be be confused with the sites-available folder).  You need to delete the virtual-hosts.conf file from there:

sudo rm /etc/apache2/sites-enabled/virtual-hosts.conf

and then run:

cd /etc/apache2/sites-available

sudo a2ensite *

This will create a symbolic link in the sites-enabled folder (so it’s not longer a “real file”).

I've have no idea how this happened as I didn't even know the "sites-enabled" folder existed so certainly did put anything in there!?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Mr Fett

79717592

Date: 2025-07-28 15:57:39
Score: 0.5
Natty:
Report link

Whilst i won't accept this as the answer i'd like to point out that after further tests the last code sample below seems to return PCM data. I made a waveform visualisation and the data returned includes values range from negative to positive in a wave like structure which can be passed into an FFT window and then into an FFT calculation.

// audio file reader
reader = new Mp3FileReader(filename);
byte[] buffer = new byte[reader.Length];
int read = reader.Read(buffer, 0, buffer.Length);
pcm = new short[read / 2];
Buffer.BlockCopy(buffer, 0, pcm, 0, read);

Image of the waveform created

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

79717591

Date: 2025-07-28 15:56:39
Score: 0.5
Natty:
Report link

Here a good configuration to start and stop 2 vertx applications (which both deploy several verticles).

The commented part is for optional waiting for applications starts (we can force test to wait @beforeAll if we prefer).

<profiles>
        <!-- A profile for windows as the stop command is different -->
        <profile>
            <id>windows-integration-tests</id>
            <activation>
                <os>
                    <family>windows</family>
                </os>
            </activation>
            <build>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>org.codehaus.mojo</groupId>
                            <artifactId>properties-maven-plugin</artifactId>
                            <version>${properties-maven-plugin.version}</version>
                        </plugin>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-failsafe-plugin</artifactId>
                            <version>${maven-failsafe.version}</version>
                        </plugin>
                        <plugin>
                            <groupId>org.codehaus.mojo</groupId>
                            <artifactId>exec-maven-plugin</artifactId>
                            <version>${exec-maven-plugin.version}</version>
                        </plugin>

                    </plugins>
                </pluginManagement>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>properties-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <phase>initialize</phase>
                                <goals>
                                    <goal>read-project-properties</goal>
                                </goals>
                                <configuration>
                                    <urls>
                                        <url>file:///${basedir}\src\test\resources\test-conf.properties</url>
                                    </urls>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-failsafe-plugin</artifactId>
                        <executions>
                            <execution>
                                <goals>
                                    <goal>integration-test</goal>
                                    <goal>verify</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-antrun-plugin</artifactId>
                        <version>1.1</version>
                        <executions>
                            <execution>
                                <phase>compile</phase>
                                <goals>
                                    <goal>run</goal>
                                </goals>
                                <configuration>
                                    <tasks>
                                        <echo>Displaying value of 'testproperty' property</echo>
                                        <echo>[testproperty] ${vortex.conf.dir}/../${vertx.hazelcast.config}</echo>
                                    </tasks>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>exec-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>start-core</id>
                                <phase>pre-integration-test</phase>
                                <goals>
                                    <goal>exec</goal>
                                </goals>
                                <configuration>
                                    <executable>${java.home}/bin/java</executable>
                                    <!-- optional -->
                                    <workingDirectory>${user.home}/.m2/repository/fr/edu/vortex-core/${vortex.revision}</workingDirectory>
                                    <arguments>
                                        <argument>-jar</argument>
                                        <argument>vortex-core-${vortex.revision}.jar</argument>
                                        <argument>run fr.edu.vortex.core.MainVerticle</argument>
                                        <argument>-Dconf=${vortex.conf.dir}/${vortex-core-configurationFile}</argument>
                                        <argument>-Dlogback.configurationFile=${vortex.conf.dir}/../${vortex-core-logback.configurationFile}</argument>
                                        <argument>-Dvertx.hazelcast.config=${vortex.conf.dir}/../${vertx.hazelcast.config}</argument>
                                        <argument>-Dhazelcast.logging.type=slf4j</argument>
                                        <argument>-Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory</argument>
                                        <argument>-cluster</argument>
                                    </arguments>
                                    <async>true</async>
                                </configuration>
                            </execution>
                            <execution>
                                <id>start-http</id>
                                <phase>pre-integration-test</phase>
                                <goals>
                                    <goal>exec</goal>
                                </goals>
                                <configuration>
                                    <executable>${java.home}/bin/java</executable>
                                    <!-- optional -->
                                    <workingDirectory>${user.home}/.m2/repository/fr/edu/vortex-http-api/${vortex.revision}</workingDirectory>
                                    <arguments>
                                        <argument>-jar</argument>
                                        <argument>vortex-http-api-${vortex.revision}.jar</argument>
                                        <argument>run fr.edu.vortex.http.api.MainVerticle</argument>
                                        <argument>-Dconf=${vortex.conf.dir}/${vortex-http-configurationFile}</argument>
                                        <argument>-Dlogback.configurationFile=${vortex.conf.dir}/../${vortex-http-logback.configurationFile}</argument>
                                        <argument>-Dvertx.hazelcast.config=${vortex.conf.dir}/../cluster.xml</argument>
                                        <argument>-Dhazelcast.logging.type=slf4j</argument>
                                        <argument>-Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory</argument>
                                        <argument>-Dagentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005</argument>
                                        <argument>-cluster</argument>
                                    </arguments>
                                    <async>true</async>
                                </configuration>
                            </execution>
<!--                            <execution>-->
<!--                                <id>wait-server-up</id>-->
<!--                                <phase>pre-integration-test</phase>-->
<!--                                <goals>-->
<!--                                    <goal>java</goal>-->
<!--                                </goals>-->
<!--                                <configuration>-->
<!--                                    <mainClass>fr.edu.vortex.WaitServerUpForIntegrationTests</mainClass>-->
<!--                                    <arguments>20000</arguments>-->
<!--                                </configuration>-->
<!--                            </execution>-->
                            <execution>
                                <id>stop-http-windows</id>
                                <phase>post-integration-test</phase>
                                <goals>
                                    <goal>exec</goal>
                                </goals>
                                <configuration>
                                    <executable>wmic</executable>
                                    <!-- optional -->
                                    <workingDirectory>${project.build.directory}</workingDirectory>
                                    <arguments>
                                        <argument>process</argument>
                                        <argument>where</argument>
                                        <argument>CommandLine like '%vortex-http%' and not name='wmic.exe'
                                        </argument>
                                        <argument>delete</argument>
                                    </arguments>
                                </configuration>
                            </execution>
                            <execution>
                                <id>stop-core-windows</id>
                                <phase>post-integration-test</phase>
                                <goals>
                                    <goal>exec</goal>
                                </goals>
                                <configuration>
                                    <executable>wmic</executable>
                                    <!-- optional -->
                                    <workingDirectory>${project.build.directory}</workingDirectory>
                                    <arguments>
                                        <argument>process</argument>
                                        <argument>where</argument>
                                        <argument>CommandLine like '%vortex-core%' and not name='wmic.exe'</argument>
                                        <argument>delete</argument>
                                    </arguments>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

And content of property file : 
vortex.conf.dir=C:\\prive\\workspace-omogen-fichier\\conf-avec-vortex-http-simple\\conf\\vortex-conf
vortex-core-configurationFile=core.conf
vortex-core-logback.configurationFile=logback-conf\\logback-core.xml
vortex-http-configurationFile=http.conf
vortex-http-logback.configurationFile=logback-conf\\logback-http-api.xml
vortex-management-configurationFile=management.conf
vortex-management-logback.configurationFile=logback-conf\\logback-management.xml
vertx.hazelcast.config=cluster.xml
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @beforeAll
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: François F.

79717588

Date: 2025-07-28 15:55:38
Score: 2
Natty:
Report link
.parent:has(+ ul .active) {
    background: red;
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mohammed Asif

79717577

Date: 2025-07-28 15:49:36
Score: 0.5
Natty:
Report link

Lucky solution is

            <label for="look-date">Choose the year and month (yyyy-MM):</label>
            <input type="month" th:field="${datePicker.lookDate}" id="look-date"/>

but it is important to change type to java.util.Date

@Data
public class DatePickerDto implements Serializable {
    @DateTimeFormat(pattern = "yyyy-MM")
    private Date lookDate; 

    private String dateFormat = "yyyy-MM";
}

How to enable html form to handle java.time.LocalDate ? 🤔 I don't know

Reasons:
  • Whitelisted phrase (-1): solution is
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: haoz

79717569

Date: 2025-07-28 15:43:34
Score: 1
Natty:
Report link

Possible issues:

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

79717560

Date: 2025-07-28 15:36:33
Score: 0.5
Natty:
Report link

You can write a helper function to perform the transformation:

function formatDate(year) {
  if (year < 0) {
    return `${Math.abs(year)} BCE`;
  } else {
    return `${year}`;
  }
}

Then, you can call the helper using, for example, formatDate(-3600) to get "3600 BCE".

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

79717544

Date: 2025-07-28 15:24:28
Score: 0.5
Natty:
Report link

Update 2025: This problem still exists, but I'm building a comprehensive solution

The core issue remains - OpenAI's API is stateless by design. You must send the entire conversation history with each request, which:

Current workarounds:

I'm building MindMirror to solve the broader memory problem:

Already working: Long-term memory across sessions

Coming soon: Short-term context management

My vision: Turn AI memory from a "rebuild it every time" problem into managed infrastructure. Handle both the immediate context issue (this thread) and the bigger "AI forgets who I am" problem.

Currently solving the long-term piece: https://usemindmirror.com

Working on the short-term context piece next. The memory problem is bigger than just conversation history - it's about making AI actually remember you and make adapt to your needs, preferences, wants etc.

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

79717540

Date: 2025-07-28 15:20:26
Score: 7
Natty: 5
Report link

How about of renaming all those tables?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: Zlobnyfar

79717536

Date: 2025-07-28 15:16:25
Score: 1
Natty:
Report link

It seems doing "Hide copilot" in the menu really removes all AI and Copilot appearances.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Karel Bílek

79717528

Date: 2025-07-28 15:09:23
Score: 2.5
Natty:
Report link

So here is the answer, thank me later: You need to actively sender.ReadRTCP() and/or receiver.ReadRTCP() in a go routine loop in order to get that stats.

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

79717518

Date: 2025-07-28 15:03:22
Score: 2
Natty:
Report link

Ok, I am an IDIOT !!!

I went back and traced not only the code within this function, but step by step leading up to it. I found a line of code that removed the reference placeholder for the DOM element before the DataTables ever got called so I was trying to apply the DataTables code to a non existent DOM element!!!

Thanks to all those that replied.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Keith Clark

79717510

Date: 2025-07-28 14:58:20
Score: 3
Natty:
Report link

You could probably code a module to have an infinite space of memory that you could use as SWAP or logical hard disk partition.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Diego Rasero de la Fuente

79717508

Date: 2025-07-28 14:56:19
Score: 2.5
Natty:
Report link

This works:

wp core update-db --network
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Joop

79717497

Date: 2025-07-28 14:53:18
Score: 2
Natty:
Report link

I had this problem, target/classes had the .class updated, but the .war had old .class

after hours i found that MyProj/src/main/webapp/WEB-INF/class/xxx/yyy had the old classes. I just deleted it

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