79380764

Date: 2025-01-23 11:10:39
Score: 1.5
Natty:
Report link

I had same issue, just click "Use local SSH agent" and it worked for me

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

79380754

Date: 2025-01-23 11:06:39
Score: 1
Natty:
Report link

I have found a pythoninc solution through deriving the final class C from A and B.

from dataclasses import dataclass, field

@dataclass
class A:
    data_value1 : str = field(default='foo', metadata={'help': 'info about data_value2'})

@dataclass
class B(A):
    data_value2 : float = field(default=0,9, metadata={'help': 'info about data_value2'})
    def __post_init__(self):
        self.data_value2 += 10 
C = B 
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Akin Wilson

79380753

Date: 2025-01-23 11:05:36
Score: 6 🚩
Natty:
Report link

I'm actually also contemplating this. I actually spent a lot of time in the other direction first, see my fork of kube-compose which allows you to deploy a docker-compose.yml file directly into K8s.

This allowed our dev team to first develop a working 20+ service config in docker-compose locally, while the DevOps team was working on the K8s setup using Helmfile. Later we migrated, but now the repos are diverging :'(

I'm leaning towards some sort of a template docker-compose.yml that will be populated/updated with the image versions and values as provided by helmfile template, where the most work lies. We also have a large set of config files that are loaded using K8s ConfigMaps, those can be mounted into the containers.

@mark @dwight-spencer @m-huetter any thoughts on my aproach?

Reasons:
  • Blacklisted phrase (1.5): any thoughts
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @mark
  • User mentioned (0): @dwight-spencer
  • User mentioned (0): @m-huetter
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: jubr

79380749

Date: 2025-01-23 11:04:35
Score: 0.5
Natty:
Report link

Are you using a startup probe to tell k8s when the container is ready?

Besides that, the discovery mechanism is provided by spring cloud (which itself supports three different ways of discovery in k8s: spring cloud kubernetes-client, spring cloud kubernetes-fabric8 and spring cloud kubernetes discovery server). So maybe you can configure something there, depending on your implementation.

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

79380748

Date: 2025-01-23 11:03:35
Score: 1.5
Natty:
Report link

with t1 as ( select 'reb' as type, 1 as poss, 1 as ord, 'nick' as name union all select 'reb' as type, 1 as poss, 2 as ord, null as name union all select 'shot' as type, 1 as poss, 3 as ord, 'tom' as name union all select 'reb' as type, 1 as poss, 4 as ord, null as name union all select 'shot' as type, 1 as poss, 5 as ord, 'bil' as name union all select 'reb' as type, 2 as poss, 1 as ord, null as name union all select 'reb' as type, 2 as poss, 2 as ord, null as name union all select 'shot' as type, 2 as poss, 3 as ord, 'joe' as name union all select 'reb' as type, 2 as poss, 4 as ord, 'tim' as name union all select 'shot' as type, 2 as poss, 4 as ord, 'tim' as name )

select First_value(if(type='shot', name, null) ignore nulls) over(partition by poss order by poss) as firstname,* from t1

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

79380743

Date: 2025-01-23 11:01:35
Score: 2
Natty:
Report link

The issue is caused by a lawsuit that Microsoft lost back in 2009 so that no backward compatibility is respected and even updated versions of 2007 stopped working after 2009.

I've just fixed that by grabbing a pre-2009 version of Word 2007. That's a pretty rare find in 2025, lol

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

79380734

Date: 2025-01-23 10:58:34
Score: 1.5
Natty:
Report link

For me, the solution turned out to be completely different than the above answers. The split icons did not show up, and I desperately searched for a solution, but not with AndroidStudio, but with IntelliJ.

I was using IntelliJ IDEA 2024.3.2 (Community Edition), and I have installed the following IntelliJ plugins:

What I was missing was the following IntelliJ plugin

After I installed this plugin, the split icons Split | Design were working again.

Reasons:
  • Blacklisted phrase (1): this plugin
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: msaladin

79380729

Date: 2025-01-23 10:56:34
Score: 2.5
Natty:
Report link

I have read some documentation and looks like that is not possible to dinamically insert those labels at the time you are sending the requests. You should set up a endpoint, but this cannot work for my case.

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

79380727

Date: 2025-01-23 10:56:34
Score: 0.5
Natty:
Report link

If your concern is that the same code should be deployed to multiple environments, I suggest to create a Azure DevOps Pipeline with multiple stages, one each to deploy to Development, Staging and Production environments.

When a commit is done to the release branch, the Pipeline will stick to the commit for its lifetime i.e. while performing a Build and Deployment in each Stage. So, you can be rest assured that the same code is going to all environments.

Bottom line: Build will run for Deployment to each Environment so that a new value of the Environment Variable is picked up. Using Variable Groups is what I would recommend. However, since the Pipeline is attached to the commit, each of these Environment-Builds will Build using the same Source Code / Commit.

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

79380718

Date: 2025-01-23 10:55:33
Score: 1
Natty:
Report link

Please follow these steps from your IDE( IntelliJ IDEA):

File -> Project Structure -> Project Settings -> Artifacts -> Click on + (plus sign) -> Jar -> Select option 'From modules with dependencies...'

Select a Main Class (or Application class) if you need to make the jar runnable.

Select Extract to the target Jar

Click OK

Click Apply/OK

Now click on build menu from Menu bar and follow these steps:

Build -> Build Artifact -> Build

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

79380717

Date: 2025-01-23 10:54:33
Score: 1
Natty:
Report link

You only load the data when your form loads; as all code is in the Form1_Load function

The button1_Click method should be invoked when you press the button, code in that method should be executed.

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

79380710

Date: 2025-01-23 10:50:32
Score: 2
Natty:
Report link

Im using Angular with PrimeNG and some other stuff and for me to work correctly I had to use this:

@import "tailwindcss/tailwind.css";

The default import of tailwindcss alone did not work for me.

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

79380707

Date: 2025-01-23 10:49:32
Score: 2.5
Natty:
Report link

Okay, I feel rather annoyed at the solution to this, but somehow the files displaying the images I wanted to display were put in a file that was located directly under the source code file, it had not previously done this. And, I think, I was creating files of the same name, which weren't being influenced by the code, and opening those files instead of the ones I wanted. This lead me in the complete wrong direction as to where the problem was.

Thanks to everyone who helped! And I'm glad those who said that it was outputting somewhere were right, regardless of how ridiculous it makes me feel.

To reiterate: Make sure you know where your files are! Especially what files your code is ouputting to. I found the files I needed right next to the source code's file. Even if you think you know where they're going, double check.

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

79380704

Date: 2025-01-23 10:48:32
Score: 1
Natty:
Report link

In Hyperledger Fabric, each chaincode has its own namespace. In other words, each chaincode has its own world state, separate from all other chaincode. Only the chaincode that stored some state can then read, update or delete that state within its transaction functions.

See the Namespaces section of Fabric's Ledger documentation for more details.

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

79380703

Date: 2025-01-23 10:47:32
Score: 1
Natty:
Report link

If you want to customize icon before passing to mui x date picker, you can assign arrow function which returns customized icon

import CalendarIcon"../Components/CalendarIcon";
    
    //…
    
 <DatePicker
   slots={{
     openPickerIcon: () => <CalendarMonthOutlinedIcon sx={{ fill: 'black' }} />
    }}
/>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ishwar Kshirsagar

79380692

Date: 2025-01-23 10:44:31
Score: 3
Natty:
Report link

You can generate the controller interfaces and dynamically create a client: https://stackoverflow.com/a/79380644/2477084

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Tomas Bjerre

79380691

Date: 2025-01-23 10:43:31
Score: 1.5
Natty:
Report link

According to MDN spec https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission_static the possible return values are granted, denied, or default. Your code, despite the MDN example at https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/showNotification and others, must act accordingly. (Note this is the SERVICE WORKER version) I suggest and "if not denied" approach. You can also just do the actions regardless of permission and there will be no error.

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

79380677

Date: 2025-01-23 10:36:28
Score: 9 🚩
Natty: 5
Report link

i want to use gstreamer webrtc for peer to peer communication.Tell me the correct setup for this using node.js.Please help urgently

Reasons:
  • RegEx Blacklisted phrase (3): Please help
  • RegEx Blacklisted phrase (1): i want
  • RegEx Blacklisted phrase (2): urgently
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MADHUKAR KUMAR

79380669

Date: 2025-01-23 10:34:27
Score: 1.5
Natty:
Report link

There is an actual browser function to check if an app is installed. I haven't used it before so I cant give any more details, but I think this will help you:

Is your app installed? getInstalledRelatedApps() will tell you!

Hope this helps!

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

79380667

Date: 2025-01-23 10:33:27
Score: 1.5
Natty:
Report link

One can do this easily in O(arr.size) both time and extra space using a Bloom filter. However, there is a non-zero probability of mistaking numbers that are not seen yet as having been seen already—false positives. To be approximate, (1 - exp[-kn/m])^k, where k is the number of hash functions (I used 3), n is the number of unique numbers already in the bit-vector, strictly bounded by arr size, and m is the size of the bit-vector (I used 64). Which is a maximum of 4%, in this case.

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <inttypes.h>
#include <stdbool.h>

/* https://stackoverflow.com/a/12996028/2472827 */
static uint32_t mueller(uint32_t x) {
    x = ((x >> 16) ^ x) * 0x45d9f3b;
    x = ((x >> 16) ^ x) * 0x45d9f3b;
    x = (x >> 16) ^ x;
    return x;
}

/* https://gist.github.com/badboy/6267743 */
static uint32_t jenkins(uint32_t a) {
   a = (a+0x7ed55d16) + (a<<12);
   a = (a^0xc761c23c) ^ (a>>19);
   a = (a+0x165667b1) + (a<<5);
   a = (a+0xd3a2646c) ^ (a<<9);
   a = (a+0xfd7046c5) + (a<<3);
   a = (a^0xb55a4f09) ^ (a>>16);
   return a;
}

/* https://gist.github.com/zeux/25b490b07b4873efc08bd37c843777a4 */
static uint32_t murmur3(uint32_t h) {
    h ^= h >> 16;
    h *= 0x85ebca6bu;
    h ^= h >> 13;
    h *= 0xc2b2ae35u;
    h ^= h >> 16;
    return h;
}

static bool maybe_duplicate_add(const int n) {
    static uint64_t bloom;
    bool maybe = true;
    uint64_t mask;
    uint32_t u = (uint32_t)n; /* Usually 32-bits? */
    mask = 1ul << (mueller(u) & 63);
    if(!(bloom & mask)) maybe = false, bloom |= mask;
    mask = 1ul << (jenkins(u) & 63);
    if(!(bloom & mask)) maybe = false, bloom |= mask;
    mask = 1ul << (murmur3(u) & 63);
    if(!(bloom & mask)) maybe = false, bloom |= mask;
    return maybe;
}

int main(void) {
    int numbers[] = { 6, 2, 3, 6, 9, 2, 7, 8, 1 };
    size_t numbers_size = sizeof numbers / sizeof *numbers;
    struct { size_t size; int a[sizeof numbers / sizeof *numbers]; } temp;
    temp.size = 0;

    size_t behind = 0;
    for(size_t i = 0; i < numbers_size; i++) {
        int n = numbers[i];
        if(maybe_duplicate_add(n)) temp.a[temp.size++] = n;
        else numbers[behind++] = n;
    }
    assert(behind + temp.size == numbers_size);
    memcpy(&numbers[behind], temp.a, temp.size * sizeof *numbers);

    printf("Number of duplicates: %zu\n"
        "{ ", temp.size);
    for(size_t i = 0; i < numbers_size; i++)
        printf("%s%d", i ? ", " : "", numbers[i]);
    printf(" }\n");

    return 0;
}

On the other hand, it's probably not the direction you want to go in your assignment because it doesn't really fit the "O(n log n)" hint you were given. Although, they never said what the extra array holds; are you allowed to sort pointers to the array?

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: Neil

79380662

Date: 2025-01-23 10:32:27
Score: 0.5
Natty:
Report link

When generating an input type, SmallRye GraphQL appends Input behind the class name, so CreateIssueInput becomes CreateIssueInputInput. You either have to name your class just CreateIssue, or annotate it with @org.eclipse.microprofile.graphql.Input("CreateIssueInput") to explicitly specify the name of the generated input type

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
Posted by: Jan Martiška

79380658

Date: 2025-01-23 10:31:26
Score: 0.5
Natty:
Report link

1) Npx usage

Instead of npm, try use npx for bypassing misinterpreting issues

npx strapi export --only=content

2) Npm usage

For using npm run, ensure that the -- separator is used correctly.

npm run strapi export -- --only=content
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ioannis Panagopoulos

79380656

Date: 2025-01-23 10:30:26
Score: 0.5
Natty:
Report link

I guess this code can do the job, not tested yet and not sure it's the simplest way :

from tkinter import *
from tkinter import ttk
import RPi.GPIO as GPIO

root = Tk()

Pin=10
GPIO.setmode(GPIO.BCM)
GPIO.setup(Pin, GPIO.IN)

def p():
  print('hello')

BUT_Quitter = ttk.Button ( root , text = "Quitter" , command = root.destroy )
BUT_Quitter.pack ( )
BUT_display = ttk.Button ( root , text = "Hello" , command = p )
BUT_display.pack ( )

def poll_for_data():
    data=GPIO.input(Pin)
    if data==1:
        BUT_display.invoke()
    root.after(100, poll_for_data)
    
root.after(100, poll_for_data)
 
root.mainloop ( )
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: bbd 666

79380651

Date: 2025-01-23 10:29:26
Score: 2.5
Natty:
Report link

Yea, Unity gets finicky when using DLLs for some platforms. Had a similar issue with Hololens development a few weeks back. Try doing Plugins/Managed instead of just the Plugins folder if you haven't tried that yet.

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

79380649

Date: 2025-01-23 10:28:25
Score: 0.5
Natty:
Report link

The Chime SDK supports three configurations: incoming, outgoing, and disabled.

The incoming and outgoing configurations use CallKit, enabling the VoIP call to behave like a native phone call.

The disabled configuration relies on AVAudioSession, meaning that streaming will be interrupted, and the call will disconnect if AVAudioSession is interrupted.

When a GSM call is received, the VoIP call will automatically disconnect, even if the GSM call is not answered.

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

79380643

Date: 2025-01-23 10:25:25
Score: 2
Natty:
Report link
/* @vite-ignore */ await import('primelocale/' + event.lang + '.json').then((primeNgLocale) => {
                console.log(primeNgLocale[event.lang])
                this.primeNG.setTranslation(primeNgLocale[event.lang])
            }).catch(async () => {
                // Fallback to English if locale import fails
                /* @vite-ignore */ await import('primelocale/en.json').then((primeNgLocale) => {
                    this.primeNG.setTranslation(primeNgLocale.en)
                }).catch(() => {
                    console.warn(`Could not load PrimeNG locale for language: ${event.lang}`)
                })
            })

I tried do do this for lang switching but it won't work, any suggestions ? I noticed this warning : The above dynamic import cannot be analyzed by Vite. maybe because of that i dont know

Reasons:
  • RegEx Blacklisted phrase (2): any suggestions
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Guillaume OSTORERO

79380642

Date: 2025-01-23 10:25:25
Score: 1
Natty:
Report link

I found a way to calculate the height in my case:

height: (standardButtons != Dialog.NoButton) ? header.height + footer.height + dialogText.height + 35 : header.height + dialogText.height + 35

The value of 35 comes from this equation (when you did not specify the dialog height):

Component.onCompleted: console.log(height - dialogText.height)

Visually it looks exactly the same, even if I change the font size

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

79380640

Date: 2025-01-23 10:25:25
Score: 0.5
Natty:
Report link

To achieve the desired output JSON, you need to process both merged cells and the regular data rows, extract their relationships, and format them into the hierarchical JSON structure. Here's how you can do it:

    import pandas as pd
from openpyxl import load_workbook
import json

# Path to your Excel file
filepath = r'filename.xlsx'

# Load the workbook and worksheet
wb = load_workbook(filename=filepath)
sheet = wb.active

# Extract merged cell values
merged_cells = {}
for merged_range in sheet.merged_cells.ranges:
    start_cell = merged_range.start_cell
    for row in range(merged_range.min_row, merged_range.max_row + 1):
        for col in range(merged_range.min_col, merged_range.max_col + 1):
            merged_cells[(row, col)] = start_cell.value

# Load the Excel sheet into a DataFrame
df = pd.read_excel(filepath, skiprows=2)

# Process DataFrame to construct JSON
result = {}
social_media = {}
timings = {}

# Extract Social Media section
for col in df.columns[:4]:  # First four columns are for Social Media
    social_media[col] = df[col][0]  # Row 0 contains values for Social Media

# Extract Timings section
for col, value in zip(df.columns[4:], df.iloc[0, 4:]):  # Remaining columns for Timings
    timings[col] = value

# Combine into JSON structure
result["Test"] = {"Social Media": [social_media]}
result["Timings"] = [timings]

# Convert to JSON
json_data = json.dumps(result, indent=2)
print(json_data)

Expected output

{
  "Test": {
    "Social Media": [
      {
        "Instagram": "Posts",
        "Youtube": "Shorts",
        "Twitter": "Tweet",
        "Facebook": "Likes

You can also go through some relatable blogs at https://techlusion.io/insight/

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

79380636

Date: 2025-01-23 10:24:25
Score: 2.5
Natty:
Report link

Different streams for different channels: As you noticed, TIM4 channel 1 is linked to DMA1 Stream 0, channel 2 to DMA1 Stream 3, channel 3 to DMA1 Stream 7, and channel 4 doesn't allow a DMA request. This is due to the hardware configuration of STM32 peripherals.

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

79380629

Date: 2025-01-23 10:22:24
Score: 3.5
Natty:
Report link

I see I can achieve this using stat command as below and then trying to match with date parameter that can be passed to the script,

file_pattern="file.subfile.P*.lastfile"

files=$(ls $file_pattern 2>/dev/null)

for file in $files; do last_modified_date=$(stat --format='%y' "$file" | cut -d' ' -f1)

if [ "$last_modified_date" == "$input_date" ]; then echo "Processing file: $file (Last Modified: $last_modified_date)"
else echo "Skipping file: $file (Last Modified: $last_modified_date)" fi done

Is this better or trying to add suffix date in source file & then trying to capture is better?

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

79380627

Date: 2025-01-23 10:21:24
Score: 9.5
Natty: 7
Report link

i hv a same issue

did you solve that problem?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve that problem
  • RegEx Blacklisted phrase (1.5): solve that problem?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: sangwoo

79380626

Date: 2025-01-23 10:21:23
Score: 3
Natty:
Report link

Bazel 8 no longer accepts indirect dependencies (in my case, platforms via rules_go). You now have to declare explicitly:

https://github.com/bazel-contrib/rules_go/issues/4192#issuecomment-2532276415

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Little Code

79380620

Date: 2025-01-23 10:20:23
Score: 3.5
Natty:
Report link

I ended up getting the latest Jenkins and Java 21 and setting the Java bin in path and it works now.

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

79380618

Date: 2025-01-23 10:20:23
Score: 0.5
Natty:
Report link

In SQL, you can calculate an average of a column using the AVG function:

SELECT profession, AVG(salaire) AS salaire_moyen
FROM personnel
GROUP BY profession
LIMIT 0,5;

You can think of AVG(a) as SUM(a) / COUNT(a)

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

79380614

Date: 2025-01-23 10:18:22
Score: 1
Natty:
Report link

To expand a bit on chrisbeardy's response: The SENDER_AMS you use in add_route_to_plc, should be different than the AMS Net ID that is defined internally on your PLC(for you that would have been '5.97.120.143.1.1').

So, when adding a route in your PLC using add_route_to_plc(AKA the route from PLC to linux) use a self defined AMS Net ID(6.97.120.143.1.1 for example). If you use the AMS Net ID of the PLC here(5.97.120.143.1.1). Then you are basically telling the PLC to send data to itself.

You should ONLY use the AMS Net ID of the PLC(5.97.120.143.1.1) when setting up an connection from Linux to the PLC with pyads.Connection()

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

79380596

Date: 2025-01-23 10:13:21
Score: 1.5
Natty:
Report link

Horizon might treat silenced jobs differently, possibly falling under the monitored category, which is set to 7 days (10080 minutes) in your config.

Can you try reducing the monitored trim time in the config to a lower value (e.g 60 minutes) and observe if that clears out the silenced jobs sooner?

Reasons:
  • Whitelisted phrase (-2): Can you try
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Motunrayo Koyejo

79380593

Date: 2025-01-23 10:12:21
Score: 1.5
Natty:
Report link

@barfuin answer is working for me, I had to use equivalent maven config:

<plugins>
    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>${maven-surefire-plugin.version}</version>
        <configuration>
            <dependenciesToScan>
                <dependency>org.junit.jupiter</dependency>
            </dependenciesToScan>
            <argLine>-Xshare:off</argLine>
        </configuration>
    </plugin>
</plugins>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @barfuin
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: ElectroBuddha

79380584

Date: 2025-01-23 10:10:20
Score: 2
Natty:
Report link

In TMA app you need telegram js script: https://telegram.org/js/telegram-web-app.js and we insert it on the start page. If user try to open link outside telegram, you can detect it in your code (just check js object InitData etc. as written in https://docs.telegram-mini-apps.com/platform/init-data Telegram documentation).

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

79380574

Date: 2025-01-23 10:06:20
Score: 3
Natty:
Report link

Correct selection would be iOS to get an option for swiftUI or UIKit while creating a project.

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

79380572

Date: 2025-01-23 10:05:19
Score: 1.5
Natty:
Report link

Ok, sorry, guys! I'm not sure if Trust policy is OK but our team has Startup billing plan which doesn't support OIDC for now...

BTW Someone had given the answer regarding checking the billing plan but he removed it for some reason...

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

79380568

Date: 2025-01-23 10:04:19
Score: 2.5
Natty:
Report link

Test the CLI directly from the terminal to ensure it's working

op vault list op item list --vault="Employee" op item get "Addepar API" --vault="Employee"

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

79380558

Date: 2025-01-23 10:02:19
Score: 1
Natty:
Report link

This particular case should't be a problem

this warning is fired when there is something like

.exampleClass {
  @include aaa;
  bbb: bbb;
}

which can be fixed by redefining it as

.exampleClass {
  bbb: bbb;
  @include aaa;
}

This is not very nice, since if you are forced to have @include declarations to be the last ones, then the styles they bring in can not be overwritten.

that's why you can also fix it by declaring it as

.exampleClass {
  @include aaa;

  & {
    bbb: bbb;
  }
}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @include
  • Low reputation (0.5):
Posted by: tony

79380556

Date: 2025-01-23 10:00:18
Score: 1
Natty:
Report link

Reading through your update.

The LoadModule line in the message you posted, is outdated. Can you do the following:

From the Apache log output, it should be possible to see, if the PHP module is loaded correctly by the Apache server.

In your setup, the error.log file should be under

C:\wamp64\bin\apache\apache2.4.62.1\logs

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

79380551

Date: 2025-01-23 09:58:17
Score: 3
Natty:
Report link

This sounds more like a Windows account permission issue than a Unity issue if you are able to build it from the editor.

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

79380549

Date: 2025-01-23 09:58:17
Score: 0.5
Natty:
Report link

Fix was that in VScode the "ports" section had been removed somehow and probably in troubleshooting attempts I never had the right combination of settings. But eventually setting:

if __name__ == "__main__":
    app.run(debug=True, port="5000")

AND configuring port 5000 in the 'ports' section of vscode, did the trick

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

79380532

Date: 2025-01-23 09:55:17
Score: 2.5
Natty:
Report link

You can try iSports API. They provide a historical database of 20 years, which provide a majority of player stats. Besides, it includes league data, match data, history. You can start with a free trial.

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

79380530

Date: 2025-01-23 09:54:16
Score: 0.5
Natty:
Report link

Do you need to be able to edit the data on the left side of the grey column? If not, then I might have a regular formula solution.

First, I turned on iterative calculation with max iteration of one. This should only be applied to formulas that are using iterative calculations. It won't impact your other formulas.

Next, I converted your script into the formula equivelant. All of your script's setValues arrays are compressed and stored as the dropdown storage cell, E4. There are three storage options. A reset option to revert back to the original sample data, an option to step forward an iteration, identified with the green dot. Finally, there's the option that was stored last round.

After selecting the next toLoad value in T2, use the dropdown storage and select the option below the label with the green dot. Each table has a formula near the top left cell that spills the table/value.

Most importantly, undo only requires one click in this setup to reverse the last round of changes.

Here is the spreadsheet that includes the formulas. Let me know if you have any questions.

Undo Update Test: Formula Version

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

79380507

Date: 2025-01-23 09:44:14
Score: 2.5
Natty:
Report link

A hard refresh worked for me, that is, Ctrl + Shift + R.

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

79380497

Date: 2025-01-23 09:40:13
Score: 13.5 🚩
Natty: 4
Report link

I'm facing the same issue. Could you guide me how did you solve it ? update_pixbuf_cache

What happens is my build runs, and halts at this point where it searches for a specific folder under rootfs but I believe that folder is not getting created under rootfs.

pdate_pixbuf_cache: 11: cannot create /ssd/ES18/hlos_dev/apps/apps_proc/poky/build/tmp-glibc/work/sa8775-joynext-linux/early-ramdisk-image/1.0-r0/rootfs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/../loaders.cache: Directory nonexistent

Reasons:
  • Blacklisted phrase (1): how did you solve it
  • Blacklisted phrase (1): guide me
  • RegEx Blacklisted phrase (2.5): Could you guide me how
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it ?
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: mohammed hamza

79380492

Date: 2025-01-23 09:38:12
Score: 0.5
Natty:
Report link

I run into the same symptoms, where the remaining 350 GB of space was consumed in a matter of a few minutes. Consumed by temporary files creates by PostgreSQL.

However, this appeared to be an caused by an infinite loop in our data structure. In a hierarchical structure, where one record, had foreign key referring to a primary key of a record in the same table (in our case an organizational structure). One of the records was pointing to itself, which caused an infinite loop, and also the query to running infinite.

When running in this scenario, the data got nicely cleaned up when shutting down PostgreSQL. My experience is, under normal circumstances, that these file space claimed by PostgreSQL is certainly not that extreme, but it is clearly related to the complexity and size of the data required being queried for.

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

79380490

Date: 2025-01-23 09:38:12
Score: 0.5
Natty:
Report link

here are simple steps

  1. Export XML: Use the to_xml() function as usual.
  2. Post-Process: Open the file, replace / with xsi:nil="true", and save it.
  3. Output: The updated XML will correctly show <data_grafic xsi:nil="true" />

Unfortunately, the to_xml() method in pandas does not currently support directly adding attributes like xsi:nil="true" for null values. However, you can achieve your desired result by post-processing the XML output. After exporting the DataFrame to XML, modify the output string to replace empty elements with the desired format:

import pandas as pd

# Example DataFrame
data = {'col1': [1, None], 'col2': [None, 4]}
df = pd.DataFrame(data)

# Export to XML
xml_output = df.to_xml(
    'df.xml',
    root_name='dataroot',
    row_name='Anexa_1I',
    namespaces={
        "xsd": "http://www.w3.org/2001/XMLSchema",
        "xsi": "http://www.w3.org/2001/XMLSchema-instance",
    },
    prefix="",
    xml_declaration=False,
    index=False,
    pretty_print=True,
)

# Post-process XML file to add `xsi:nil="true"` for null values
with open('df.xml', 'r') as file:
    xml_content = file.read()

# Replace self-closing empty elements with xsi:nil="true"
updated_xml = xml_content.replace('/>', ' xsi:nil="true" />')

# Save the updated XML
with open('df.xml', 'w') as file:
    file.write(updated_xml)

print("XML updated with xsi:nil='true' for null values.")

Even we have different blogs that can be referred for further help- https://techlusion.io/insight/

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

79380484

Date: 2025-01-23 09:36:10
Score: 4
Natty:
Report link

npm install --save-dev @ant-design/v5-patch-for-react-19

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Дмитрий Жиденко

79380481

Date: 2025-01-23 09:35:10
Score: 1
Natty:
Report link

I just came across this situation where I needed a clockwise full 360 degree rotation and to solve it I did this:

@keyframes logomove {
  0% {transform: rotate(-360deg);}
}

did the trick for me.

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

79380472

Date: 2025-01-23 09:30:09
Score: 1.5
Natty:
Report link

In the current version of Powerpoint (Powerpoint 2021, version 16.0), this is not possible. The only way to replace this is to delete the old one, insert a new one, then define the settings for that video again.

Looking at the replies at the MS forum, this volunteer says it's the simplest solution. It can also be done using Visual Basic, but that's clearly not for the people who have never used VB. So it's basically the only solution to delete it, then add the new one. https://answers.microsoft.com/en-us/msoffice/forum/all/how-do-i-replace-one-video-with-another-video-in/49878e93-4d72-47a7-8f53-a17d1b4739e9

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

79380455

Date: 2025-01-23 09:24:08
Score: 2.5
Natty:
Report link

I am having different solution here, for your reference: Visual Studio Code: 1.96.2 (user setup) OS: Windows_NT x64 10.0.22631

Allign Panel --> Centre

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

79380444

Date: 2025-01-23 09:19:07
Score: 2
Natty:
Report link

if you have an admin account with Exchange Permission you can use this cmdlet :

get-MailboxCalendarConfiguration -Identity mailboxIdentity |select-object WorkingHours*

https://learn.microsoft.com/en-us/powershell/module/exchange/get-mailboxcalendarconfiguration?view=exchange-ps

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: trisdev75

79380438

Date: 2025-01-23 09:17:06
Score: 2.5
Natty:
Report link

To get the folders based on the containerId, you will need to run the API found at the URL below to get the top folders and use the same to get sub folders.

Top Folder API - https://aps.autodesk.com/en/docs/data/v2/reference/http/hubs-hub_id-projects-project_id-topFolders-GET/

Sub Folders API - https://aps.autodesk.com/en/docs/data/v2/reference/http/projects-project_id-folders-folder_id-GET/

Note that containerId is same as the project id without the b.

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

79380435

Date: 2025-01-23 09:15:05
Score: 3
Natty:
Report link

If you want to create a multi-step from I would suggest you to use https://www.formity.app/

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Martí Serra Molina

79380430

Date: 2025-01-23 09:14:04
Score: 5.5
Natty: 6.5
Report link

He intentado todo para resolver el problema, y no me funciona nada. Por favor ayuda!!

Reasons:
  • Blacklisted phrase (2): ayuda
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Daniel

79380426

Date: 2025-01-23 09:12:03
Score: 0.5
Natty:
Report link

Using standard SSD nowadays makes (almost) no difference between using disk

On my app, clearing (and warming up) cache on shm is 0.1s faster.

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

79380422

Date: 2025-01-23 09:11:01
Score: 7.5 🚩
Natty:
Report link
same issue please help me out with this [enter image description here][1]


[enter image description here][2]
  [1]: https://i.sstatic.net/Istby6Wk.png
  [2]: https://i.sstatic.net/0kuZrAcC.png
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

plugins {
    alias(libs.plugins.kotlinMultiplatform)
    alias(libs.plugins.androidApplication)
    alias(libs.plugins.jetbrainsCompose)
    alias(libs.plugins.compose.compiler)
    alias(libs.plugins.jetbrains.kotlin.serialization)
    alias(libs.plugins.ksp)
    alias(libs.plugins.room)
    id("dev.icerock.mobile.multiplatform-resources") version "0.23.0"
}

kotlin {
    androidTarget {
        @OptIn(ExperimentalKotlinGradlePluginApi::class)
        compilerOptions {
            jvmTarget.set(JvmTarget.JVM_11)
        }
    }

    listOf(
        iosX64(),
        iosArm64(),
        iosSimulatorArm64()
    ).forEach { iosTarget ->`
        iosTarget.binaries.framework {
            baseName = "ComposeApp"
            isStatic = true
        }
    }
    ksp {
        arg("room.schemaLocation", "${projectDir}/schemas")
    }
 //   ksp { arg("room.schemaLocation","${projectDir}/schemas") }

//
//    room {
//        schemaDirectory("$projectDir/schemas")
//    }

//    tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>>().configureEach {
//        if (name != "kspCommonMainKotlinMetadata" ) {
//            dependsOn("kspCommonMainKotlinMetadata")
//        }
//    }
    sourceSets {


        androidMain.dependencies {

            implementation(compose.preview)
            implementation(libs.androidx.activity.compose)
            implementation(libs.koin.android)
            implementation(libs.koin.androidx.compose)
            implementation(libs.ktor.client.okhttp)
            implementation("io.ktor:ktor-serialization-gson:2.3.4")
            implementation("dev.icerock.moko:resources:0.23.0")
         }
        commonMain.dependencies {

            implementation("androidx.core:core-ktx:1.15.0")
            implementation("dev.icerock.moko:resources:0.23.0")
            implementation(compose.runtime)
            implementation(compose.foundation)
            implementation(compose.material3)
            implementation(compose.ui)
            //    implementation("io.ktor:ktor-serialization-gson:2.2.0")
            //   implementation("com.google.code.gson:gson:2.10.1")
            implementation(libs.ktor.client.core.v2xx)
            implementation(libs.ktor.client.content.negotiation.v2xx)
            implementation(compose.components.resources)
            implementation(compose.components.uiToolingPreview)
            implementation(libs.androidx.lifecycle.viewmodel)
            implementation(libs.androidx.lifecycle.runtime.compose)
            implementation(libs.androidx.lifecycle.viewmodel)
            implementation(libs.androidx.lifecycle.runtime.compose)
            implementation(libs.jetbrains.compose.navigation)
            implementation(libs.kotlinx.serialization.json)
            implementation(libs.androidx.room.runtime)
            implementation(libs.sqlite.bundled)
            implementation(libs.koin.compose)
            implementation(libs.koin.compose.viewmodel)
            api(libs.koin.core)
            implementation(libs.bundles.ktor)
            implementation(libs.bundles.coil)
            // implementation("io.github.microutils:kotlin-logging-jvm:2.1.21")


        }

        nativeMain.dependencies {
            implementation(libs.ktor.client.darwin)
            implementation(compose.ui)

        }

        dependencies {
            ksp(libs.androidx.room.compiler)
         }
    }
}


android {
    namespace = " "
    compileSdk = libs.versions.android.compileSdk.get().toInt()

    defaultConfig {
        applicationId = " "
        minSdk = libs.versions.android.minSdk.get().toInt()
        targetSdk = libs.versions.android.targetSdk.get().toInt()
        versionCode = 1
        versionName = "1.0"
    }

    buildTypes {
        getByName("release") {
            isMinifyEnabled = false
        }

    }



    compileOptions {
        sourceCompatibility = JavaVersion.VERSION_11
        targetCompatibility = JavaVersion.VERSION_11
            //  isCoreLibraryDesugaringEnabled=true
     }

}

dependencies {

    add("kspAndroid", libs.androidx.room.compiler)
    add("kspIosSimulatorArm64", libs.androidx.room.compiler)
    add("kspIosX64", libs.androidx.room.compiler)
    add("kspIosArm64", libs.androidx.room.compiler)
   add("kspCommonMainMetadata", libs.androidx.room.compiler)

    implementation(libs.androidx.runtime.livedata)
    implementation(libs.androidx.media3.common.ktx)
    implementation(libs.androidx.ui.android)
    implementation(libs.androidx.bluetooth)
    debugImplementation(compose.uiTooling)
    coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.3")

}public actual object BluetoothDeviceDbConstructor : RoomDatabaseConstructor<BluetoothDeviceDatabase>
    {
  actual override fun initialize(): BluetoothDeviceDatabase =
      `in`.janitri.hospitals.janitriforhospitals.bluetooth.`data`.BluetoothDeviceDatabase_Impl()
}
@Suppress("NO_ACTUAL_FOR_EXPECT")
expect object BluetoothDeviceDbConstructor :RoomDatabaseConstructor<BluetoothDeviceDatabase>{
    override fun initialize(): BluetoothDeviceDatabase
}
Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (3): please help me
  • RegEx Blacklisted phrase (2): help me out
  • RegEx Blacklisted phrase (1): same issue
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: jass manak FaN

79380414

Date: 2025-01-23 09:09:00
Score: 2
Natty:
Report link

I have 2 beacons nearby, and the manufacturer indicates their UUID are:

beacon uuid: fda50693-a4e2-4fb1-afcf-c6eb07647825

by using the direct Android API, I can constantly(every seconds) see the beacon mac and scanRecord via:

ScanCallback leScanCallback =
    new ScanCallback() {
        @Override
        public void onScanResult(int callbackType, ScanResult result) {
            super.onScanResult(callbackType, result);
            // scanned result data bytes sample:onScanResult-> deviceName: R24110120, rssi: -52, 
            // deviceMacAddress: 52:0A:24:11:00:78, 
            //scanRecord: 0201061aff4c000215fda50693a4e24fb1afcfc6eb0764782500010002d80a0952323431313031323011160318520a24110078000100020603e864000000
        }
};
var bluetoothLeScanner = BluetoothAdapter.getDefaultAdapter().getBluetoothLeScanner();
var bluetoothLeScanner = BluetoothAdapter.getDefaultAdapter().getBluetoothLeScanner();
            ScanSettings settings = new ScanSettings.Builder().build();
            ScanFilter scanFilter = new ScanFilter.Builder().build();
            ArrayList<ScanFilter> scanFilters = new ArrayList<>();
            scanFilters.add(scanFilter);
            bluetoothLeScanner.startScan(scanFilters, settings, leScanCallback);

while if I choose the library for scanning:

beaconManager = BeaconManager.getInstanceForApplication(this);
// To detect proprietary beacons, you must add a line like below corresponding to yo
// type.  Do a web search for "setBeaconLayout" to get the proper expression.
beaconManager.getBeaconParsers().add(new BeaconParser().
        setBeaconLayout("m:2-3=0215,i:4-19,i:20-21,i:22-23,p:24-24"));
beaconManager.addMonitorNotifier(new MonitorNotifier() {
    @Override
    public void didEnterRegion(Region region) {
        var regionLogStr = String.format("didEnterRegion: %s", region.toString());
        Log.i(TAG, "onScanResult - I just saw an beacon for the first time! - " + re
    }
    @Override
    public void didExitRegion(Region region) {
        Log.i(TAG, "onScanResult - I no longer see an beacon");
    }
    @Override
    public void didDetermineStateForRegion(int state, Region region) {
        Log.i(TAG, "onScanResult - I have just switched from seeing/not seeing beaco
    }
});
beaconManager.startMonitoring(new Region("myMonitoringUniqueId", null, null, null));

I could never have any of that callback: didEnterRegion hit, only the didDetermineStateForRegion get called when app just started.

what could be wrong here?

Reasons:
  • Blacklisted phrase (1): what could be
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Shawn

79380413

Date: 2025-01-23 09:09:00
Score: 1.5
Natty:
Report link

How to disable external CSS in browser for testing?

The easiest way is one of the below, or both, according to your personal preference:

  1. Temporarily comment out the tag that links the stylesheet in your HTML by putting it between <!-- and -->.
    This is done automatically by some IDE's like Codium, when you press CTRL+/ while the cursor is on the line of the tag.
  2. Make use of extensions like uBlock Origin and blocking the url's of the css file(s) you want to eliminate for your testing.
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Tripple Moon

79380411

Date: 2025-01-23 09:08:00
Score: 4
Natty:
Report link

In my case the Interceptor ate the body. I have reimplemented the logging like this https://www.danvega.dev/blog/spring-boot-rest-client-logging and now it works

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

79380395

Date: 2025-01-23 09:03:56
Score: 5
Natty: 5.5
Report link

How can I get the total time ?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How can I
  • Low reputation (1):
Posted by: chimvip

79380391

Date: 2025-01-23 09:00:54
Score: 6 🚩
Natty:
Report link

I'm having the same issue. I'm trying to troubleshoot it, and I did a search and there are some things that talk about this, hopefully it will help you too.

https://github.com/clauderic/dnd-kit/issues/921

https://github.com/clauderic/dnd-kit/issues/833

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Low reputation (1):
Posted by: user29328393

79380390

Date: 2025-01-23 08:59:53
Score: 1.5
Natty:
Report link

The Web API (which spotipy uses) can't access the local network. Only devices that are already connected to an account.

However, some Spotify speakers allow you to reconnect to them if you were the last one to use them. Even outside the network. Check the Web API Reference to see if your Chromecast is listed as a device.

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

79380388

Date: 2025-01-23 08:58:53
Score: 2
Natty:
Report link

follow this: https://learn.microsoft.com/en-us/answers/questions/712472/c-parse-soap-response-for-elements-and-attribute-v

var faultElement = responseXmlDoc.Descendants(soapNamespace + "Fault").FirstOrDefault();
string faultCode = responseXmlDoc.Descendants("faultcode").FirstOrDefault()?.Value;
string faultString = responseXmlDoc.Descendants("faultstring").FirstOrDefault()?.Value;
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: MANSI CHANU

79380387

Date: 2025-01-23 08:58:53
Score: 1
Natty:
Report link

for version 2.1.2 change it to

from moviepy import *  

this will resolve existing error, but will open whole new errors due to updated version of moviepy 2.1.2 .

for example: set_duration changed to with_duration (don't understand the need though :/ )

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

79380382

Date: 2025-01-23 08:56:52
Score: 3.5
Natty:
Report link

This worked for me. Perfect fix. Also check the video comments. https://www.youtube.com/watch?v=zdv9qE4j-VU

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Whitelisted phrase (-1): This worked for me
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ved Vyas

79380381

Date: 2025-01-23 08:56:52
Score: 1
Natty:
Report link

I realise this is almost 5 years late, however I managed to get this working quite easily with conform. See below code:

javascript = { 'standardjs' },
javascriptreact = { 'standardjs' },
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mark Atkinson

79380378

Date: 2025-01-23 08:55:51
Score: 1
Natty:
Report link

I had a similar issue after implementing Google Recaptcha in our product. What I noticed is when the photo challenge is displayed, try selecting the images in the slow phase rather choosing it in a hurry or fast manner. By doing this you are reducing the possibility of being a bot, so once you are done choosing all the images, they won't reappear. Voila, then just click done. Then you have proved Google that you are not a bot.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: Mohammed Asad

79380373

Date: 2025-01-23 08:54:50
Score: 7 🚩
Natty: 4
Report link

Did you find a solution to this?

Running into the same issue (even when using npm).

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution to this
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you find a solution to this
  • Low reputation (1):
Posted by: Thomas

79380359

Date: 2025-01-23 08:47:49
Score: 2.5
Natty:
Report link

For those who struggling finding old versions of PHP for MAMP 7.x, Visit the link here

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Erick Ashri

79380357

Date: 2025-01-23 08:47:49
Score: 1.5
Natty:
Report link

you can try those commands :

systemctl --user unmask pulseaudio.service
esystemctl --user restart pulseaudio.service
systemctl --user status pulseaudio.service
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Issam Elotmani

79380341

Date: 2025-01-23 08:37:47
Score: 3
Natty:
Report link

Yes, see approveChatJoinRequest.

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: AYMENJD

79380340

Date: 2025-01-23 08:36:47
Score: 2
Natty:
Report link

find the suitable api for triggering the command the command is "toggle.window.commandCenter" in my case vscode.commands.executeCommand("toggle.window.commandCenter") (typescript) was giving the result

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

79380339

Date: 2025-01-23 08:36:47
Score: 1.5
Natty:
Report link

Got it.

Fo the REEMtree to work you have to define the id in the predict function:

predict(my_REEMtree, newdata=testing_data, id = testing_data$class_id)

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

79380333

Date: 2025-01-23 08:35:46
Score: 1
Natty:
Report link

vapply is similar to lapply but returns an atomic vector. For this reason, the return type of the function producing the elements of this vector must be specified because atomic vectors can only have one data type.

Vectors are the fundamental data type of R and so to specify a type in R, the length of the vector also needs to be specified. If the data type is a character type, then you need to set

FUN.VALUE = character(1)

which means that the data type of the vector is character vectors of one element. Without specifying the length, the default length is zero and vapply will return an error if the function returns a vector of non-zero length.

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

79380328

Date: 2025-01-23 08:32:45
Score: 4.5
Natty:
Report link

I have the same issue.

But I found Django reported the error, and asked me to add ALLOWED_HOST.


Here is the Django error report:

Starting development server at http://127.0.0.1:8000/

Quit the server with CONTROL-C.

Invalid HTTP_HOST header: 'm-s-2pg2b6emguv9.us-central1-c.c.codatalab-user-runtimes.internal:8007'. You may need to add 'm-s-2pg2b6emguv9.us-central1-c.c.codatalab-user-runtimes.internal' to ALLOWED_HOSTS.


Pay attention to the following: "You may need to add 'm-s-2pg2b6emguv9.us-central1-c.c.codatalab-user-runtimes.internal' to ALLOWED_HOSTS."


when I did this,

ALLOWED_HOSTS = ["colab.research.google.com",'m-s-2pg2b6emguv9.us-central1-c.c.codatalab-user-runtimes.internal']

it works.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: DQ huang

79380327

Date: 2025-01-23 08:32:45
Score: 0.5
Natty:
Report link

https://github.com/dim13/otpauth

$ go install github.com/dim13/otpauth@latest
$ otpauth -link 'otpauth-migration://offline?data=…
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: evandrix

79380321

Date: 2025-01-23 08:31:45
Score: 1.5
Natty:
Report link

In node_modules/react-native/scripts/find-node.sh, do

change line no 7 set -e. ==> set +e

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

79380310

Date: 2025-01-23 08:26:43
Score: 2.5
Natty:
Report link

The increased planning time on the replica is likely due to the higher number of dead tuples in the sessions table, which affects the query planner's ability to generate efficient plans. Running VACUUM on the replica helps normalize planning time by removing dead tuples and updating statistics.

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

79380309

Date: 2025-01-23 08:26:43
Score: 3
Natty:
Report link

Have you tried config.time_zone = "Europe/Kyiv"? or config.time_zone = "Europe/Kiev" ?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: krystonen

79380307

Date: 2025-01-23 08:25:43
Score: 2
Natty:
Report link

XXL Wines is a brand of premium wines and fruit liqueurs that are known for their balanced flavors and complex taste. The alcohol and certain substances in red wine called antioxidants may help prevent XXL WINE coronary artery disease, the condition that leads to heart attacks.It was founded by Rajeev Samant in 1999. Sula has grown to be India's largest and most awarded wine brand. Sula introduced grape varietals such as Chenin blanc, Sauvignon blanc, Riesling and Zinfandel in India and is the leading player in the Indian wine industry.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ameliataylor

79380303

Date: 2025-01-23 08:24:43
Score: 3
Natty:
Report link

I am answering https://stackoverflow.com/users/10147399/aykhan-hagverdili since I don't have enough rep to comment:

creat is defined as:

SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode)
{
    int flags = O_CREAT | O_WRONLY | O_TRUNC;

    if (force_o_largefile())
        flags |= O_LARGEFILE;
    return do_sys_open(AT_FDCWD, pathname, flags, mode);
}

whereas open is defined as:

SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
{
    if (force_o_largefile())
        flags |= O_LARGEFILE;
    return do_sys_open(AT_FDCWD, filename, flags, mode);
}

SYSCALL_DEFINEX defines a syscall that takes in x arguments as input. It should be easy to see creat is just a specialized open with flags O_WRONLY|O_CREAT|O_TRUNC

References:

https://elixir.bootlin.com/linux/v6.13-rc3/source/fs/open.c#L1421

https://elixir.bootlin.com/linux/v6.13-rc3/source/fs/open.c#L1489

Reasons:
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: CraftyDrake

79380293

Date: 2025-01-23 08:22:42
Score: 1
Natty:
Report link

For the cameras to work properly, you need to only have one camera active on each client.

Basically you need to include something close to the following line in a network behavior script on the camera in the player prefab

If(!IsOsner){this.SetActive(false)}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Norsanh

79380290

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

You can do that: Firstly, go to LDPlayer settings. And click Others. You can see there "ADB Debugging" or something like that. And activate this.

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

79380288

Date: 2025-01-23 08:20:42
Score: 1.5
Natty:
Report link

If anyone has this problem too, check your csprojs or Directory.Build.props. What caused this never ending restore/refresh for me was something undeterministic defined in my Directory.Build.props. Any other method in this or the other thread (deleting bin/obj, repairing/uninstalling VS, clearing caches etc.) didn't work for me.

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

79380284

Date: 2025-01-23 08:19:41
Score: 6
Natty: 8
Report link

are you stupid?are you stupid?are you stupid?are you stupid?are you stupid?

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

79380281

Date: 2025-01-23 08:18:41
Score: 3.5
Natty:
Report link

For those that pay attention, i already answered my own question by quoting §2, making this question a self answered question and request for change...

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

79380274

Date: 2025-01-23 08:14:40
Score: 4.5
Natty: 5
Report link

How can we dynamically provide credentials to the dynamically selected data source server to which we are connecting

Reasons:
  • Blacklisted phrase (1): How can we
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How can we
  • Low reputation (1):
Posted by: Sharmeli Balakrishnan

79380267

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

Recyclerview is a my choice.
Adapter update all or item:\

// change item
notifyItemChanged(int)
notifyItemChanged(int,Object)
notifyItemRangeChanged(int, int)
notifyItemRangeChanged(int, int,Object)
// add
notifyItemInserted(int)
notifyItemRangeInserted(int, int)
// remove
notifyItemRemoved(int)
notifyItemRangeRemoved(int, int)
// reload all
notifyDataSetChanged()
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): is a
  • Low reputation (0.5):
Posted by: 卡尔斯路西法

79380266

Date: 2025-01-23 08:11:39
Score: 0.5
Natty:
Report link

There are essentially three calling conventions for the constructor of pd.Timestamp, the one you are using in both case is the first one.

It takes either a datetime-like string (t1) or a float representing a Unix epoch (number of seconds since 1970-01-01) in units of seconds (t2).

You can read more here (pandas documentation)

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

79380256

Date: 2025-01-23 08:06:38
Score: 3.5
Natty:
Report link

If you want modern UI Components for free you can try - ui.edithspace.com

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

79380251

Date: 2025-01-23 08:05:36
Score: 6.5 🚩
Natty: 5.5
Report link

Please check this from Microsoft: https://support.microsoft.com/en-us/office/about-the-shared-workbook-feature-49b833c0-873b-48d8-8bf2-c1c59a628534

Reasons:
  • Blacklisted phrase (1): Please check this
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jhony Nunes

79380249

Date: 2025-01-23 08:04:36
Score: 3
Natty:
Report link

Выведите выходной тензор, и проверьте его тип данных, больше похоже на баг самого TensorFlow

Если действительно проблема в выходном тензоре попробуйте вот это преобразовании

val outputArray = when (rawOutputBuffer?.dataType) {
DataType.FLOAT32 -> rawOutputBuffer.floatArray.map { it.toInt() }.toIntArray() // Convert FloatArray to IntArray
else -> throw IllegalArgumentException("Unsupported output tensor data type: ${rawOutputBuffer?.dataType}")

}

Надеюсь вы решите свою проблему ))

Reasons:
  • Has code block (-0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: Руслан Танташев

79380248

Date: 2025-01-23 08:04:36
Score: 3
Natty:
Report link

Confirm that your JAVA_HOME environment varible does not contain quotation marks. Please refer to the oracle Doc ID 2685044.1 for details.

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

79380245

Date: 2025-01-23 08:02:35
Score: 3.5
Natty:
Report link

You want the little 'hammer and wrench' icon on the toolbar.

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

79380239

Date: 2025-01-23 08:00:35
Score: 1.5
Natty:
Report link

maybe try this js code ?

        document.onmousedown = function (event) {
            // Hide .da only if the clicked element is NOT a BUTTON AND NOT an element with class 'aa'
            if (event.target.tagName !== 'BUTTON' && event.target.className !== 'aa') {
                document.getElementsByClassName('da')[0].style.display = 'none';
            }
        };
Reasons:
  • Whitelisted phrase (-1): try this
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: cris