79403435

Date: 2025-01-31 16:55:57
Score: 1
Natty:
Report link

I recognize that this is probably a relatively expensive option, but it looks like Azure OpenAI service using GPT-4o can handle this. I submitted an incorrectly rotated image and the following prompt and got the below response. Prompt: Is this image rotated incorrectly? Response: Yes, the image is rotated incorrectly. It appears to be 90 degrees counterclockwise from its correct orientation. The floor should be at the bottom of the image.

This could probably be improved by using structured outputs, so subsequent code can handle the actual rotation if needed. https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/structured-outputs?tabs=python-secure

In terms of where to run the code for this, triggering Azure functions using the addition of a new blob to storage is generally well-documented both by Microsoft and/or blogs, if you have any specific questions do not hesitate to ask!

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

79403431

Date: 2025-01-31 16:54:57
Score: 3.5
Natty:
Report link

I see no answer to this question in 4 month. I am new to Cursor.ai. I found this way to let Cursor see all python environment: in start page (or this page will appear when you close all your workspace), click Open Project. In the pop up window called "Oper Folder", you will see all available venv that you created in command line.

Reasons:
  • RegEx Blacklisted phrase (1.5): I am new
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Joann Hsu

79403427

Date: 2025-01-31 16:53:57
Score: 1
Natty:
Report link

I had the same issue whilst using the latest esp-idf 5.4, and latest Espressif IDE Version: 3.1.0. (Note, i had been using Ubuntu and WSL2 but it took too much space, so wanted to get the WIN only dev environment working, even though it still needs WSL)

enter image description here

BUT, kept getting lockouts on the UART, as frequent as everytime I hit build, or 'Go' to flash and open the Terminal within the IDE. Tried to load all the various new drivers, inc 'CP210x Universal Windows Driver' v11.4.0 12/18/2024, also the old rollback to 6.4)

enter image description here

The solution, which works EVERY time: We get a stray PYTHON App/Task - you can kill all of them, it doesn't stop the IDE from working, its just the old TERMINAL that is still running in the background (even though you hit the 'X' and killed it in the IDE'

enter image description here

enter image description here

Killing the 'PYTHON' app, allows you to re click the 'RUN' icon and now finds the UART and programs it.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rob

79403425

Date: 2025-01-31 16:52:56
Score: 3
Natty:
Report link

Your divs aren't properly closed and that's why your css styles aren't coming out as expected. Calm down and close your divs properly, everything will go fine.

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

79403421

Date: 2025-01-31 16:50:56
Score: 0.5
Natty:
Report link

Piggybacking off @Ian answer (which I upvoted); if you are using Jest you can add this to your Jest setupFiles file:

jest.mock("@react-native-cookies/cookies", () => ({
  set: jest.fn(),
  get: jest.fn(),
  clearAll: async () => {},
}));
Reasons:
  • Blacklisted phrase (0.5): upvote
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: stonedauwg

79403420

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

As @InSync mentioned in the comments we can solve this by adding a third overload.

from __future__ import annotations
from typing import Literal, overload

class WoodData: ...
class ConcreteData: ...

class Foo[T: Literal["wood", "concrete"]]:
    def __init__(self, data_type: T) -> None:
        self.data_type = data_type

    @overload
    def get_data(self: Foo[Literal["wood"]]) -> WoodData: ...

    @overload
    def get_data(self: Foo[Literal["concrete"]]) -> ConcreteData: ...

    @overload
    def get_data(self) -> WooData | ConcreteData: ...


    def get_data(self):
        if self.data_type == "wood":
            return WoodData()
        return ConcreteData()
    
    def bar(self):
        self.get_data()
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @InSync
  • Self-answer (0.5):
Posted by: Matt

79403417

Date: 2025-01-31 16:47:55
Score: 3
Natty:
Report link

Replit was quick to apply a fix that extends the health check interval and I was able to successfully deploy my project again!

Thank you for listening Replit!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: JMather

79403413

Date: 2025-01-31 16:45:54
Score: 1
Natty:
Report link

This is a two step process

  1. Enable the Toolbar using View -> Appearance -> Toolbar
  2. Right click on Toolbar (It would have appeared on Top) , Add to Main Toolbar (Back and Forward icons)
Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Akhilesh

79403412

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

OK, I found the issue. Turns out if you send the status from the server to the browser BEFORE you read all of the data sent to you by the browser, the lwIP stack (part of my server project on an ST Micro) sets the RST flag. The browser then ignores the status. This includes status of 200 (meaning the upload succeeded) or any other status such as 400 (Bad).

So, even though I find the error early on - such as the user sent a file of the wrong file type - I have to receive all of the file (through the Content Length) before I respond...

Works now!

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

79403407

Date: 2025-01-31 16:43:53
Score: 4.5
Natty:
Report link

Looks like the memory leak is coming from Apple. If you remove the SwiftUI view it will still keep leaking memory. I found this old post that might confirm the leak comes from Apple. Keyboard Extension Memory Leak?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Axel Rivera

79403405

Date: 2025-01-31 16:42:53
Score: 4
Natty:
Report link

It turned out that the entire VM freezes due to a large number of network h/w interrupts.

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

79403404

Date: 2025-01-31 16:41:52
Score: 3
Natty:
Report link

Why didn't any answers use sizeof() instead of GetValues().Length?

return (T)Random.Range(0, sizeof(T));
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Why didn't any answer
Posted by: MXMLLN

79403386

Date: 2025-01-31 16:36:51
Score: 0.5
Natty:
Report link

I made it work in nvim 0.10.3 by keeping imsearch always set while toggling spelllang and keymap as desired:

func! LangEn()
    setl spelllang=en keymap=en
    return ''
endfunc

autocmd BufEnter * setl iminsert=1 imsearch=1

cnoremap <C-F1> <C-R>=LangEn()<CR>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Michal Cizmazia

79403381

Date: 2025-01-31 16:34:50
Score: 2
Natty:
Report link

I need to check current route name:

<router-link
  :to="{ name: 'tab1' }"
  :aria-selected="$route.name === 'tab1'"
>
  Tab1
</router-link>
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: JohnSmith

79403380

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

let me explain little bit in BuildTypes section in release the line "signingConfig signingConfigs.debug" is used for debugging it create a dubugging apk

but when you want to create an apk or an appbundle for release you will change or also will add this line "signingConfig signingConfigs.release" so when you run command for creating apk file or appbundle it will be create for release

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

79403372

Date: 2025-01-31 16:29:48
Score: 1
Natty:
Report link

I created a pretty simple method that suggests the correct word about 95% of the time. The code is about one page in length. It runs very fast.

I relies on two dictionary text files. One is a regular list of correctly spelled words. The other is editable so that you can add proper nouns and technical words. All words are separated by ASCII CHR 10. Both dictionary files are loaded into a string called dictionary. You take a word and see if it is in the dictionary with (in MS visual basic):

If dictionary.Contains(Chr(10) + wordtocheck + Chr(10)) = False Then (look for hint)

For hints to the correct word, you merely alter the wordtocheck with the following basic changes and see if each are in the dictionary. Each assumes the first letter is correct:

Add one letter: This method starts with the position between the first and second letters and inserts an additional letter A-Z. The routine moves down the word inserting letters. A letter is also added at the end of the word. (QUEING becomes QUEUING)

Remove one letter: This method starts with the second letter and removes it. It continues to the last letter in the word. (SOILDER becomes SOLDER)

Change one letter: This method starts with the second letter and replaces it with A-Z. It continues down to the last letter in the word. (ACCELEROMETORS becomes ACCELEROMETERS)

Swap two letters: This method starts with the 2nd and 3rd letters. It swaps them and checks for a dictionary match. It continues swapping letters up to the last two letters in the word. (SCHEDUEL becomes SCHEDULE)

By the way. All the Levenshtein distance code examples that I found on-line have issues. They don't handle words with duplicate letters.

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

79403370

Date: 2025-01-31 16:28:47
Score: 4.5
Natty:
Report link

How would you do this for multiple variables that have been selected but not others? In this example I want to change the footnotes for trt and grade, but not death

tbl <-
  trial |>
  select(trt, grade, death) |> 
  tbl_summary()
Reasons:
  • Blacklisted phrase (1): How would you
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): How would you
  • Low reputation (1):
Posted by: Steve James

79403369

Date: 2025-01-31 16:28:47
Score: 0.5
Natty:
Report link

The error 403 refers to the incorrect IAM permission and as for your project, my insight is make a custom role with the permission only necessary to create and manage subscription (not the roles/pubsub.editor). After that, assign that custom role at the topic level (roles/pubsub.subscriber) and this will follow the PLP and avoid granting unnecessary permission.

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

79403367

Date: 2025-01-31 16:27:46
Score: 1
Natty:
Report link

I added git config --global --add safe.directory '*' right before running the pre-commit command and it worked. Thanks to the suggestion.

The pre-commit tool documentation does not have anything that relates to the error I originally received. Hopefully this solution will help others getting the same error in the future.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): it worked
  • Has code block (-0.5):
  • Me too answer (2.5): getting the same error
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: mdailey77

79403359

Date: 2025-01-31 16:23:45
Score: 4.5
Natty:
Report link

Just for your information, I've also post this question in Hibernate forum and I got a very interesting information thanks to Marco Belladelli:

https://discourse.hibernate.org/t/spring-jparepository-query-method-with-entitygraph-duplicates-left-join-expression-in-hibernate-6-5-3/10969

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Joaquin

79403352

Date: 2025-01-31 16:20:44
Score: 0.5
Natty:
Report link

I managaged to align the y-axis title using the margin argument instead of hjust. hjust did not work as expected, due to using the argument angle = 0. This is because justification works relative to the text direction.

To add the p-value labels I then used geom_text.

Plot produced:

enter image description here

Code used to produce the plot:

###################################################################################
# CREATE PLOTS-------------------------------------------------------------------#
###################################################################################

# Packages 
library(tidyverse) # for maipulating data frames



# Amended forest plot function
forestplot_trend <- function (df, name = name, estimate = estimate, se = se, pvalue = NULL, 
                              ptrend = NULL, colour = NULL, shape = NULL, logodds = FALSE, 
                              psignif = 0.05, facet_var = NULL, ci = 0.95, ...) 
{
  # Ensure input is a data frame and logodds is a logical value
  stopifnot(is.data.frame(df))
  stopifnot(is.logical(logodds))
  
  # Convert input column names to quosures for tidy evaluation
  name <- enquo(name)
  estimate <- enquo(estimate)
  se <- enquo(se)
  pvalue <- enquo(pvalue)
  ptrend <- enquo(ptrend)
  facet_var <- enquo(facet_var)
  colour <- enquo(colour)
  shape <- enquo(shape)
  
  # Capture additional arguments passed to the function
  args <- list(...)
  
  # Compute the confidence interval constant (Z-score for normal distribution)
  const <- stats::qnorm(1 - (1 - ci)/2)
  
  # Prepare data frame: factorize `name` column, compute confidence intervals, and format labels
  df <- df %>% 
    dplyr::mutate(
      `:=`(!!name, factor(!!name, levels = !!name %>% unique() %>% rev(), ordered = TRUE)),  # Reverse factor levels
      .xmin = !!estimate - const * !!se,  # Lower CI bound
      .xmax = !!estimate + const * !!se,  # Upper CI bound
      .filled = TRUE,  # Default filled state
      .label = sprintf("%.2f", !!estimate)  # Format estimate values as strings
    )
  
  # If logodds is TRUE, exponentiate the estimates and confidence intervals
  if (logodds) {
    df <- df %>% mutate(
      .xmin = exp(.data$.xmin), 
      .xmax = exp(.data$.xmax), 
      `:=`(!!estimate, exp(!!estimate))
    )
  }
  
  # If p-value is provided, mark significant values based on threshold (psignif)
  if (!rlang::quo_is_null(pvalue)) {
    df <- df %>% dplyr::mutate(.filled = !!pvalue < !!psignif)
  }
  
  # Initialize ggplot with estimate on x-axis and name on y-axis and ptrend values
  g <- ggplot2::ggplot(df, aes(x = !!estimate, y = !!name)) +
    geom_text(
      aes(x = Inf, y = !!name, label = sprintf("%.3f", !!ptrend)),
      hjust = 1.3, vjust = 0.5, family = "Arial"
    )   
  
  # Apply a forest plot theme and add background elements
  g <- g + theme_forest() + scale_colour_ng_d() + scale_fill_ng_d() + 
    geom_stripes() + 
    geom_vline(xintercept = ifelse(logodds, 1, 0), linetype = "solid", size = 0.4, colour = "black")  # Reference line
  
  # Adjust the x-axis to give more space for the labels
  g <- g + coord_cartesian(xlim = c(min(df[[as_label(estimate)]]) - 0.5, max(df[[as_label(estimate)]]) + 0.5))  # Increase xlim range
  
  # Add effect estimates with confidence intervals
  g <- g + geom_effect(
    ggplot2::aes(
      xmin = .data$.xmin, xmax = .data$.xmax, 
      colour = !!colour, shape = !!shape, filled = .data$.filled
    ), 
    position = ggstance::position_dodgev(height = 0.5)
  ) + 
    ggplot2::scale_shape_manual(values = c(21L, 22L, 23L, 24L, 25L)) + 
    guides(colour = guide_legend(reverse = TRUE), shape = guide_legend(reverse = TRUE))
  
  # Add optional title, subtitle, caption, x-label, and y-label if provided
  if ("title" %in% names(args)) {
    g <- g + labs(title = args$title)
  }
  if ("subtitle" %in% names(args)) {
    g <- g + labs(subtitle = args$subtitle)
  }
  if ("caption" %in% names(args)) {
    g <- g + labs(caption = args$caption)
  }
  if ("xlab" %in% names(args)) {
    g <- g + labs(x = args$xlab)
  }
  if (!"ylab" %in% names(args)) {
    args$ylab <- ""
  }
  g <- g + labs(y = args$ylab) 
  
  # Set axis limits if provided
  if ("xlim" %in% names(args)) {
    g <- g + coord_cartesian(xlim = args$xlim)
  }
  if ("ylim" %in% names(args)) {
    g <- g + ylim(args$ylim)
  }
  
  # Adjust x-axis tick marks if provided and logodds is FALSE
  if ("xtickbreaks" %in% names(args) & !logodds) {
    g <- g + scale_x_continuous(breaks = args$xtickbreaks)
  }
  
  
  return(g)
}


# Create the forest plot function with added labels
forest_plot_data <- function(proteins, data, main_comparison) {
  # Define the desired order for Carrier_comparison based on main_comparison
  comparison_levels <- if (main_comparison == "C") {
    c("CvsB", "AvsB")
  } else {
    c("AvsB", "CvsB")
  }
  
  # Filter data for selected proteins
  data <- data %>%
    filter(Assay %in% proteins) 
  
  # Ensure the Carrier_comparison is a factor with the desired level order
  data$Carrier_comparison <- factor(data$Carrier_comparison, levels = comparison_levels)
  
  # Plot
  plot <- forestplot_trend(
    df = data,
    name = Assay,  # Use combined label for y-axis
    estimate = BETA,
    se = SE,
    pvalue = P_uncorrected, 
    ptrend = QM_P_trend, # Add QM_P_trend values
    psignif = 0.01, # fill estimate if significant at this level
    ci = 0.95,
    logodds = FALSE,
    xlab = "Beta (95% confidence intervals)",
    ylab = "Analyte",  
    colour = Tertile,
    shape = Tertile,
    position = position_dodge(width = 0.7)  # Increase dodge width for better separation
  ) +
    facet_grid(. ~ Carrier_comparison, scales = "free", space = "free") +
    theme(
      text = element_text(family = "Arial"),  # Change "Arial" to your preferred font
      strip.text = element_text(size = 16, color = "black", hjust = 0.5, vjust = 5.5, margin = margin(t = 15, b = 15)),
      axis.text.x = element_text(size = 12, color = "black"),
      axis.text.y = element_text(size = 12, color = "black"),
      axis.title.x = element_text(size = 14, color = "black", vjust = 0.5),
      axis.title.y = element_text(size = 14, color = "black", face = "bold", angle = 0, vjust = 1.00, margin = margin(r = -50)),  # Rotated y-axis title
      legend.title = element_text(size = 14, color = "black"),
      legend.text = element_text(size = 12, color = "black"),  # Customize legend labels
      legend.key.size = unit(1.5, "lines")
    )
  
  # Add "p-value" label above p-values in each panel
  plot <- plot + 
    geom_text(
      data = data.frame(Carrier_comparison = comparison_levels, 
                        label = "bolditalic('p') * bold('-value')"),  # Correct expression for bold and italic
      aes(x = Inf, y = Inf, label = label),
      hjust = 1.1, vjust = 1.5, size = 4, family = "Arial", color = "black", 
      parse = TRUE  # Use parse = TRUE to interpret the label as an expression
    )    
  
  return(plot)
}

# Create list of proteins
proteins <- levels(data$Assay)

# Generate plots
CvsB_forest_plot <- forest_plot_data(proteins, data, main_comparison = "C")

# Display the plot
CvsB_forest_plot
Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: AEP

79403335

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

This answer goes along with the other answers provided, but I wanted to add that there is a note in the @wordpress/scripts github repo that mentions this behavior as well. You need to downgrade versions to @wordpress/script@27

28.0.0 (2024-05-31) Breaking Changes

Note If you're using @wordpress/scripts for building JS scripts to target WordPress 6.5 or earlier, you should not upgrade to this version and continue using @wordpress/scripts@27.

@wordpress/scripts Changelog

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

79403332

Date: 2025-01-31 16:12:41
Score: 4.5
Natty: 6
Report link

What is the easiest solution to date? I still can't figure it out

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What is the
  • Low reputation (1):
Posted by: dlostonbread

79403320

Date: 2025-01-31 16:10:40
Score: 5
Natty: 4
Report link

@kioopi I think you were a little early with the celebration :D

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @kioopi
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: duggi

79403318

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

After using the documentation provided by @jabaa docs.podman.io/en/v4.4/markdown/options/restart.html

  1. Verified that I was using podman with:
$ docker version
  1. Checked the status of podman-restart.service
$ systemctl status podman-restart.service
  1. Service was not running, so I enabled the service:
$ systemctl enable podman-restart.service
  1. Restarted the host machine
  2. Checked container status
  3. Container now starts on reboot.

If you would like to edit the restart policy, or how the service determines what containers get effected, you can find the unit file for this service at /usr/lib/systemd/system/podman-restart.service

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jabaa
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ambre

79403309

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

You're sending a media group when you put it in a list, which GIFs can't be part of unlike videos and photos. Don't put it in a list or convert it to locally to MP4 if it must be grouped.

As a sidenote, allow_cache=True doesn't do nothing, it's deprecated.

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

79403299

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

450 is a FTP response code that indicates that a transient (4xxx) filesystem (x5x) error has occured. It's hard to say what the underlying problem is- could be a file permission thing on the server, or it ran out of space. I don't think your code is the problem, though it's a little hard to say since we don't know what's the implementation of that ftp client library.

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

79403297

Date: 2025-01-31 16:00:36
Score: 8.5 🚩
Natty: 4.5
Report link

I'm working on similar project and was wondering if you found any python code for blender to do that or any links you can suggest? Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (2): was wondering
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: An S

79403271

Date: 2025-01-31 15:49:33
Score: 2
Natty:
Report link

If you were to make your Cloud Secrets Manager client a Spring Bean, you could inject it in whichever components require these credentials. From there Spring would take care of the rest since the other components could not be instanciated without your client.

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

79403266

Date: 2025-01-31 15:46:32
Score: 1
Natty:
Report link

Disable part jaxb validation with below properties setting.

JaxWsProxyFactoryBean factory= new JaxWsProxyFactoryBean();
    properties.put("soap.no.validate.parts", "true");
    properties.put("set-jaxb-validation-event-handler", "false");

    factory.setProperties(properties);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Suresh

79403260

Date: 2025-01-31 15:44:31
Score: 6
Natty: 7
Report link

What is the output of 'if (5 > 3) { console.log("Yes"); }'?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): What is the
  • Low reputation (1):
Posted by: Antonio Gallo-Blanco

79403253

Date: 2025-01-31 15:43:31
Score: 1
Natty:
Report link

If someone is using v4.x of FlUrl, here is another way to ignore the certificate warnings:

FlurlHttp.ConfigureClientForUrl("https://some-api.com/")
.ConfigureInnerHandler((handler) =>
{
        handler.ServerCertificateCustomValidationCallback = (message, cert, chain, errors) => true;
 }
)  
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: apoorvadixit

79403252

Date: 2025-01-31 15:42:30
Score: 2
Natty:
Report link

Why would you need such a thing?

One reason executable files exist is to create an abstraction from development files, in your case, those two Python files. This is so that users only deal with one file without seeing the source code. When you have an executable application, everything that application needs is usually being packed into one single file.

Creating the executable while looking for the freedom of editing source code does not sound viable.

Reasons:
  • Whitelisted phrase (-1): in your case
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Why would you
  • Low reputation (1):
Posted by: Ali

79403249

Date: 2025-01-31 15:41:30
Score: 3
Natty:
Report link

Instead of using Composite.add(world, [circleA]), try replacing it with World.add(world, [circleA]) to resolve the issue

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

79403244

Date: 2025-01-31 15:39:30
Score: 3.5
Natty:
Report link

If you are looking for a job switch or preparing for a job interview and want to study the basics of System Design, please follow my YouTube channel Design & Code Lab: https://www.youtube.com/@abhikDesignCodeLab.

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abhik NASKAR

79403238

Date: 2025-01-31 15:38:29
Score: 3
Natty:
Report link

Open your git leans tab options Click in dots, select detach branches

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

79403237

Date: 2025-01-31 15:38:29
Score: 1
Natty:
Report link

I found solution to this problem

components:
  schemas:
    Example:
      type: object
      properties:
        name: 
          type: string
        prop1:
          type: string
        customName:
          type: object
          additionalProperties:
            type: string

this way I have clear documentation in Schemas part schemas presentation in swagger

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

79403235

Date: 2025-01-31 15:37:29
Score: 1
Natty:
Report link

I've been looking into this for years and this is what I've learned. You can't using a HKWorkoutBuilder. The segments will appear in the Health app, but not on the Fitness app. It doesn't matter if you use lap or marker the results are the same. I haven't tried this method, but I believe using a HKLiveWorkoutBuilder will work since this is what the Workout app from watchOS uses to build workouts.

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

79403233

Date: 2025-01-31 15:37:28
Score: 6.5 🚩
Natty: 3.5
Report link

Did you ever figure this issue out? Mine has been doing the same thing since I bought it several months ago. I've re-flased it a few times but no change. If I remember correctly, I got it to show No Presence be rebooting or flashing it but after it first detected a person, it stays stuck.

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

79403227

Date: 2025-01-31 15:35:27
Score: 6
Natty: 7
Report link

This didn't help me Maybe there are some other options?

Reasons:
  • Blacklisted phrase (1): help me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Sergey Saz

79403214

Date: 2025-01-31 15:31:25
Score: 6.5 🚩
Natty: 6.5
Report link

Hear voices for 6 years now by people that stole from I and Michael Aserson. Please help find on stack ?stackflows? GitHub?generator?collaboration? Mac PC. Sync computer with all attachments to me I emails. Thanks Angela shambling shambling stokes freedom I am 41 I do not need to be under parent or client. Deborah McClain

Cordell with auto dog more than likely Cloudmoblie Ulysses u parent/patent ..

Vision first tap on me I Cordell spot.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Please help
  • Contains signature (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Angela Shamblin

79403206

Date: 2025-01-31 15:27:23
Score: 3
Natty:
Report link

Yes, I had created a new sub called format.. so.. that was an embarasing one.. but maybe someone else can learn from it..

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

79403202

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

Use .yaml instead of .yml for the extension of the compiled file.

PIPELINE_OUTPUT_PATH = "pipeline.yaml"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: aaaaahaaaaa

79403201

Date: 2025-01-31 15:24:22
Score: 1.5
Natty:
Report link

Apple MapKit (through MapKit for SwiftUI) is available on watchOS since watchOS 10 and is able to display a dynamic map with all kinds of overlays. You can add polylines, markers. All the documentation is here: https://developer.apple.com/documentation/mapkit/mapkit-for-swiftui

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Raphaël Barthomeuf

79403191

Date: 2025-01-31 15:22:22
Score: 1
Natty:
Report link

Thanks to @Sweeper for digging it out. Here is the original bug report:

https://bugs.openjdk.org/browse/JDK-8282129

So the change was released with Java 19, and it is in fact mentioned in the release notes: https://www.oracle.com/java/technologies/javase/19all-relnotes.html

From what I gather there, there is no feature flag for it because the bug's compatibility risk was classified as "low", due to the following opinion:

The existing behavior of the \b metacharacter in Java regex strings is longstanding and changing it may impact existing regular expressions that rely on this inconsistent (with respect to Unicode characters) behavior. However, the use of \b is less common and code that focuses on ASCII-encoded data or similar will be unaffected.

So effectively everyone who depends on the old (admittedly inconsistent) behavior will have problems to deal with :-/

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Sweeper
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Victor Mataré

79403190

Date: 2025-01-31 15:22:20
Score: 6 🚩
Natty:
Report link

I'm also facing the same issue as @user1438038 but in my case I'm using maven, eclipse and OpenJDK21. I tried to add "java --module-path ..." in the eclipse run configuration but I didn't find the correct syntax to point toward my m2 repository.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm also facing the same issue
  • User mentioned (1): @user1438038
  • Single line (0.5):
  • Low reputation (1):
Posted by: Plastik

79403188

Date: 2025-01-31 15:21:19
Score: 1
Natty:
Report link

How to apply the MVVM pattern in this case?

I would like to offer a different implementation angle.

IMO, you should have only one view model for every activity. You could, for example, have several top level Composables that each represent a screen in itself and then switching between them is as trivial as changing a state enum in your view model that says which screen you currently want to show.

But, if you insist on having several view models, i won't stop you... So:

instead of having the App.kt to show the bottom bar at all times, create a public global Composable and a BaseViewModel class that contain the bottom bar functionality logic.

Extend BaseViewModel with your view models and call your public Composable in your views.

If there's any shared state in the bottom bar you can keep it in your BaseViewModel companion object or another shared object.

I assume that the bottom bar composable interacts with the view model, so it can accept it in the parameters.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Yuval Roth

79403185

Date: 2025-01-31 15:20:19
Score: 3
Natty:
Report link

Yes, it is possible. You can try by clearing the cache and cookies. Sometimes these causes the issue.

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

79403168

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

Based on documentation for configuration settings used when generating the prompt. Under parameters of responseMimeType we have gemini-1.5-pro and gemini-1.5-flash only for the available models. Try to change your api_version variable either of the two.

Specify the appropriate response type to avoid unintended behaviors. For example, if you require a JSON-formatted response, specify application/json and not text/plain.

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

79403167

Date: 2025-01-31 15:12:16
Score: 4
Natty: 4
Report link

Add a key to your mapbox that should make it work.

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

79403165

Date: 2025-01-31 15:12:16
Score: 3
Natty:
Report link

in my case I had to first delete the VPN Gateway that has both the public IPs attached. After vpn gateway is deleted i was able to delete public ip.

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

79403163

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

First, I wasn't looking at the right page

Second, The solution I found to my error:

type Params = Promise<{ id: string }>;

export default async function EditPost({ params }: { params: Params }) {    
const { id } = await params;

// rest of the code ...

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

79403162

Date: 2025-01-31 15:11:16
Score: 0.5
Natty:
Report link

Write the following script with the name mkdir_and_go_into_it.sh:

#!/usr/bin/env bash

if [[ "$0" == *mkdir_and_go_into_it.sh ]] || [ "$1" = "" ]; then
    echo "Usage: mdgo <directory>"
else
    mkdir --parents "$1"
    cd "$1"
fi

Make it executable (chmod +x mkdir_and_go_into_it.sh).

Then add to your ~/.bashrc file:

alias mdgo="source path/to/mkdir_and_go_into_it.sh"

(Replace path/to with the directory where you store the script.)

Open another Bash instance and try it out:

Enter..

mdgo test123

=> A new directory "test123" has been created and you are in it!

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

79403160

Date: 2025-01-31 15:11:16
Score: 1
Natty:
Report link

Having done a bit more digging , I appear to have found the solution. The default port number was incorrect which is why the error was appearing and after changing it to the same port number I used locally, it worked. I would also suggest for others that encounter is to double check that your lambda is configured to the correct vpc.

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

79403154

Date: 2025-01-31 15:09:15
Score: 4.5
Natty:
Report link

Could you, please try the Rider EAP or Rider nightly? If that does not help, please file an issue on our bug tracker.

Thnx!

Reasons:
  • RegEx Blacklisted phrase (1.5): help, please
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Securitron Yesman

79403147

Date: 2025-01-31 15:07:14
Score: 0.5
Natty:
Report link

add "use client"; on the top of the source code, this will fix the error

"use client";


import { Workflow } from "@prisma/client";
import React from "react";
import { ReactFlow, useEdgesState, useNodesState } from "@xyflow/react";

import "@xyflow/react/dist/style.css";

function FlowEditor({ workflow }: { workflow: Workflow }) {

  const [nodes, setNodes, onChangeNodes] = useNodesState([]);
  const [edges, setEdges, onChangeEdges] = useEdgesState([]);


  return (
    <main className="h-full w-full">
      <ReactFlow
        nodes={nodes}
        edges={edges}
        onNodesChange={onChangeNodes}
        onEdgesChange={onChangeEdges}
      >

      </ReactFlow>
    </main>
  );
}

export default FlowEditor;
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Shykat Himu

79403146

Date: 2025-01-31 15:07:14
Score: 3
Natty:
Report link

In the links in the navigation area you must have #home etc in href of anchor tag. Instead out them as /#home etc

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

79403140

Date: 2025-01-31 15:06:13
Score: 0.5
Natty:
Report link

This is how you create a generic component using an arrow function.

const StyledDropdown = <T,>(props: React.PropsWithChildren<Props<T>>) => {
    return (
        <></>
    );
};

export default StyledDropdown;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Koen van der Marel

79403134

Date: 2025-01-31 15:03:13
Score: 0.5
Natty:
Report link

Complete code below:

import numpy as np

width = list(range(100, 2700, 300))
length = list(range(80, 900, 100))
bl = np.arange(0.9, 1.6, 0.1)  # Floating-point range for bl_set

prev_l, prev_w = -1, -1

for w in width:
   for l in length:
       if l > prev_l and w > prev_w:  # Ensure increasing order
          for bl_set in bl:
              print(f"l={l}, w={w}, bl_set={bl_set:.1f}")
          prev_l, prev_w = l, w

Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Subir Chowdhury

79403126

Date: 2025-01-31 15:01:12
Score: 1
Natty:
Report link

Apparently the issue was not in the logic, I have a sideBar from ui.shadcn, It comes with a <a> property as default, this was causing the "issue" (not actually an issue, but for me it was), I switched to:

import { useRouter } from 'next/navigation'
const route = useRouter()

 const navigate = (url: string) => {
    route.push(url)
  }

And it's working fine.

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Nilton Schumacher F

79403124

Date: 2025-01-31 15:01:12
Score: 3.5
Natty:
Report link

Thanks for responding. However, although the syntax is accepted, I can only get this working on the master page itself...

Master Page

Public Class Site
Inherits System.Web.UI.MasterPage

Public SiteIdentifier As Integer

Private Sub Site_Init(sender As Object, e As EventArgs) Handles Me.Init
    SiteIdentifier = IIf(System.Web.HttpContext.Current.Request.UserHostAddress.Substring(7, 2).ToString = "20", 20,
                     IIf(System.Web.HttpContext.Current.Request.UserHostAddress.Substring(8, 2).ToString = "20", 20,
                     IIf(System.Web.HttpContext.Current.Request.UserHostAddress.Substring(7, 2).ToString = "40", 40,
                     IIf(System.Web.HttpContext.Current.Request.UserHostAddress.Substring(8, 2).ToString = "40", 40,
                     IIf(System.Web.HttpContext.Current.Request.UserHostAddress.Substring(7, 2).ToString = "60", 60,
                     IIf(System.Web.HttpContext.Current.Request.UserHostAddress.Substring(8, 2).ToString = "60", 60,
    60))))))
End Sub

End Class

Child Page

Public Class SearchConsignments
Inherits System.Web.UI.Page
Dim MySite As Site = Me.Master

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
     Me.txtTest.Text = MySite.SiteIdentifier.ToString
End Sub

Any attempt to use the master page variable on a child page gives the error "Object reference not set to an instance of an object."

Any ideas where I'm going wrong? Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Any ideas
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: steve_flynn

79403110

Date: 2025-01-31 14:55:10
Score: 0.5
Natty:
Report link

Try to pull lfs files:

git lfs pull

It should download the files content from the server and replace the files in a directory

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

79403102

Date: 2025-01-31 14:53:10
Score: 2.5
Natty:
Report link

I had the same problem. I just fixed it by generating a new access token following Imran Zahoor's answer:

How to generate Facebook Marketing API access token to use it in Windows application

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

79403100

Date: 2025-01-31 14:53:10
Score: 0.5
Natty:
Report link

Use sql_metadata, which leverages sqlparse:

from sql_metadata import Parser


def get_query_columns(query) -> list[str]:
    return Parser(query).columns
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Martim

79403090

Date: 2025-01-31 14:51:09
Score: 3
Natty:
Report link

Change "Blob anonymous access" to "Enabled" (By default it will be set to Disabled state), and try again (you should be able to allow Public access to containers).

enter image description here

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

79403088

Date: 2025-01-31 14:50:09
Score: 0.5
Natty:
Report link

It was caused by an incorrect DestinationRule I wasn't thinking of:

apiVersion: networking.istio.io/v1
kind: DestinationRule
metadata:
  labels:
    app: application
  name: application
  namespace: application-customer
spec:
  host: application
  subsets:
  - labels:
      app: application
    name: default

(the host should be application.customer.ocs.nu, not just application).

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

79403077

Date: 2025-01-31 14:45:08
Score: 1
Natty:
Report link

I was just tackling a similar problem. A few SNPs in my .bim file were present in duplicates, triplets or quadruplets (PLINK recognises all as duplicate variants). Firsly, you can recognise which are the problematic positions using PLINK 1.9 functionality --list-duplicate-vars. Secondly, to keep one copy and remove subsequent repetitions we need to use PLINK2 functionality: --rm-dup force-first

Worked like a charm for me.

plink2 --bfile inputfile --rm-dup force-first --make-bed --out file_cleaned_data
Reasons:
  • Blacklisted phrase (1): Worked like a charm
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Debashruti

79403075

Date: 2025-01-31 14:44:08
Score: 1.5
Natty:
Report link

you can loop through releases:

for tag in $(gh release list -R owner/repo --json tagName -q '.[].tagName'); do gh release download $tag -R owner/repo done

This script fetches all releases and downloads their assets.

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

79403074

Date: 2025-01-31 14:44:08
Score: 0.5
Natty:
Report link

A bit more specifically on GitHub's design choices... The estimate field is an arbitrary integer value without a unit for two reasons:

  1. The preferred method in Scrum is to use relative measures.
  2. GitHub's various views shows the sum of the estimates, which is easier for a pure integer type.

Since it is notoriously hard to estimate time to complete software projects, the idea is to first estimate relative effort in some arbitrary unit (story points) and then get a sense of the team's velocity empirically. So after a few sprints, you have a sense of how many story points you can expect to clear in the next iteration, and these total estimates that GitHub shows in various views can be helpful to plan iterations.

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

79403060

Date: 2025-01-31 14:39:06
Score: 1
Natty:
Report link

I would use date_trunc to filter the year rather than extract.

SELECT 
p.product_name 
,SUM(s.sale_amount) AS total_sales
FROM 
Sales s
JOIN Product p
ON s.product_id = p.product_id
WHERE 
s.sale_date >= DATE_TRUNC('year', CURRENT_DATE)
GROUP BY 
p.product_name
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jose A

79403059

Date: 2025-01-31 14:38:06
Score: 1
Natty:
Report link

I had the same issue and for what I have seen in other forums this is a dev mode problem, due to how SSR works with dev mode (partial hydration) You can see more here (https://www.framer.community/c/developers/framer-motion-animations-not-working-on-first-load-but-work-after-page-refresh).

I tried to build (npm run build & npm run start) and I think it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): I had the same
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: miguel tomaz

79403058

Date: 2025-01-31 14:38:06
Score: 2
Natty:
Report link

This is a known bug in the latest version of nvm. The bug is reported and is still open. https://github.com/coreybutler/nvm-windows/issues/1209

It is expected to be fixed in an upcoming release, meanwhile the workaround is to use an older version i.e. https://github.com/coreybutler/nvm-windows/tree/1.1.12

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

79403056

Date: 2025-01-31 14:37:05
Score: 2.5
Natty:
Report link

gernworm, are you still working with SAS to Python translation? If so, I'd like to talk with you: bdecicco 2001 at yahoo dot com

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Barry DeCicco

79403052

Date: 2025-01-31 14:36:05
Score: 3
Natty:
Report link

Disconnecting your google account and again connecting it fixed my issue.Just go to email services,and on your existing service dissconnect and connect again your test email verification will be succesfull .Reference->https://github.com/gllmp/donats/issues/32enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Somesh Nayek

79403047

Date: 2025-01-31 14:35:05
Score: 0.5
Natty:
Report link

messages will always be processed immediately when they become visible in SQS, is that correct?

Immediately is a strong word, but for simplicity, I would say yes.

If a client has started the polling and a message got in the queue, sqs will send response back to client with this message. pollTimeoutSeconds will not affect response time. If a message is available, the call returns sooner than pollTimeoutSeconds

pollTimeoutSeconds is a same thing as WaitTimeSeconds parameter from ReceiveMessage https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_ReceiveMessage.html

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

79403041

Date: 2025-01-31 14:32:04
Score: 1.5
Natty:
Report link

For C++ Builder 12.2.

#include <System.SysUtils.hpp>

void SetDecimalSeparator()
{
    FormatSettings.DecimalSeparator = '.';
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Олег Нетупский

79403031

Date: 2025-01-31 14:28:03
Score: 0.5
Natty:
Report link

If you notice all browsers have moved to optical zooming and essentially hidden or removed the once used text increase/decrease functionality. As a positive result of zooming, sites now maintain both their design integrity and desired size. Meaning, with PX everywhere everything stays in its desired position, there cannot be elements breakout out of containers, everything scales accordingly to the zoom factor on the page.

This was a decision Microsoft realized after hours of debate and research in 2018 building Microsoft Web Components so that they would be accessible.

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

79403028

Date: 2025-01-31 14:27:02
Score: 2.5
Natty:
Report link

en el archivo app.json se tiene que borrar el id del proyecto. Tiene que quedar así "extra": { "eas": { "projectId": "" }

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: leandro hernan rojas

79403022

Date: 2025-01-31 14:26:02
Score: 3
Natty:
Report link

Similar situation with VS 2019 GIT using Axure Dev OPs as the remote repository. Any suggestions are welcome!

1 everything is fully synced between local and remote

2 I open a file from solution explorer. As soon as I make a change, the red checkmark correctly appears next to the file in Solution explorer. However, as soon as I SAVE the file, the checkbox disappears, and if I try to commit there are no files to commit!

I have cloned the repository many times and this keeps happening.

3 My workaround is to make my edits and save. Yes there is no red checkmark. Then I reopen file again, make a minor change like adding a space. WITHOUT SAVING, I commit, and the changes are now all captured in the git changes window. After PUSHING to the remote, I see all the changes on the remote's history and the local gits history.

Reasons:
  • RegEx Blacklisted phrase (2): Any suggestions
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ALLAN SPIELMAN

79403019

Date: 2025-01-31 14:25:01
Score: 1
Natty:
Report link

Following code will work for coversion in Kotlin :

val floatValue = 12.642054
val parsedValue = ((floatValue * 10).toInt()).toFloat() / 10
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mudit Goel

79403013

Date: 2025-01-31 14:24:01
Score: 1.5
Natty:
Report link

Ok, fixed my problem by:

  1. Call the api directly (so no more @googlemaps/js-api-loader).

  2. like stated I am using the angular http client but for this request I switched to the capacitor http client (with angular: cors error response from the api endpoint)

Hope this helps:)

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: RattleStork.org

79403006

Date: 2025-01-31 14:22:01
Score: 1
Natty:
Report link

You can clone project repo directly using:

git clone ssh://USERNAME@YOUR-HOST:8001/YOUR-SPACE/YOUR-PROJECT-NAME

Make sure you have the proper roles and authentication set.

Got it from here.

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

79402995

Date: 2025-01-31 14:18:00
Score: 0.5
Natty:
Report link

This looks like a bug. I read somewhere on Reddit that Chrome and Firefox fixed this quickly, but it is only available for now in technical preview in Safari.

I experienced a similar problem. In my case, the position: fixed is based on the container-type: inline-size element, not the viewport.

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

79402993

Date: 2025-01-31 14:18:00
Score: 0.5
Natty:
Report link

It's available from the Passport auth middleware:

$token_id = $request->user()->token()->id;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Derek

79402992

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

I tried the simpler numeric encoding method of converting each 3-digit group into 10-bit words. I keeping the encoding rules above only for the last group. My Smartphone built-in scanner correctly read the code.

Encoding with variable length bit words do work (every scanner I have used, correctly read the QR-Codes I have generated with variable length bit words) but it makes decoding more complicated. However, this means that my source tutorial https://www.thonky.com/qr-code-tutorial/numeric-mode-encoding is not wrong.

Thanks for your fast replies. Special thanks for looking up what the ISO/IEC 18004:2015 QR code standard actually says. I didn't think of searching for the standard myself.

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

79402979

Date: 2025-01-31 14:10:58
Score: 4
Natty: 4
Report link

You need to replace ',' for '.' before converting with toDecimal

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

79402975

Date: 2025-01-31 14:08:57
Score: 0.5
Natty:
Report link

You can try this: df['IncrValue'] = df.groupby(['Var1', 'Var2', 'Var3', 'Var4'])['CumValue'].diff().fillna(0)

print(df)

Reasons:
  • Whitelisted phrase (-2): try this:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user29382901

79402964

Date: 2025-01-31 14:04:56
Score: 2
Natty:
Report link
    I now use your version of the script 
    
        # Define paths
    $logFilePath = "C:\1.log"
    $outputExcelPath = "C:\path\to\your\output.xlsx"
    
    # Ensure ImportExcel module is installed
    if (-not (Get-Module -ListAvailable -Name ImportExcel)) {
        Write-Host "Installing ImportExcel module..."
        Install-Module ImportExcel -Force -Scope CurrentUser
    }
    
    # Initialize arrays and variables
    $emailData = @()
    $mailaddress_regex = "([a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,})"
    $addtonextline = $false
    $lastline = ""
    
    $date = $null
    $senders = @()
    $receivers = @()
    $ccs = @()
    $subject = ""
    
    # Read the log file into an array (reverse order for multi-line handling)
    $text = Get-Content -Path $logFilePath
    
    for ($i = $text.Count - 1; $i -ge 0; $i--) {
        $line = $text[$i]
    
        # Append last line if necessary (handling multi-line fields)
        if ($addtonextline) {
            $line = $line + " " + $lastline
        }
    
        # Capture date/time from log entry
        if ($line -match '(\d{4}:\d{2}:\d{2}-\d{2}:\d{2}:\d{2})') {
            if ($date -and $senders -and $receivers -and $subject) {
                # Store the parsed email data
                $emailData += [PSCustomObject]@{
                    Date     = $date
                    Sender   = ($senders -join ", ")
                    Receiver = ($receivers -join ", ")
                    CC       = ($ccs -join ", ")
                    Subject  = $subject
                }
    
                # Reset values for next email entry
                $senders = @()
                $receivers = @()
                $ccs = @()
                $subject = ""
            }
            $date = $matches[1]
        }
    
        # Extract sender email using Select-String
        if ($line -match "F From") {
            $senders += Select-String -Pattern $mailaddress_regex -InputObject $line -AllMatches | ForEach-Object { $_.Matches.Value }
            $addtonextline = $false
        }
        # Extract recipient email(s) using Select-String
        elseif ($line -match "T To") {
            $receivers += Select-String -Pattern $mailaddress_regex -InputObject $line -AllMatches | ForEach-Object { $_.Matches.Value }
            $addtonextline = $false
        }
        # Extract CC email(s) using Select-String
        elseif ($line -match "C CC") {
            $ccs += Select-String -Pattern $mailaddress_regex -InputObject $line -AllMatches | ForEach-Object { $_.Matches.Value }
            $addtonextline = $false
        }
        # Extract subject line (may be multi-line)
        elseif ($line -match "Subject: (.+)") {
            $subject = $matches[1]
            $addtonextline = $false
        }
        # Handle multi-line continuation
        else {
            if ($line -match "\[\d+\\\d+\]\s(.*)") {
                $lastline = $matches[1]
                $addtonextline = $true
            }
        }
    }
    
    # Add the last email entry if any data exists
    if ($date -and $senders -and $receivers -and $subject) {
        $emailData += [PSCustomObject]@{
            Date     = $date
            Sender   = ($senders -join ", ")
            Receiver = ($receivers -join ", ")
            CC       = ($ccs -join ", ")
            Subject  = $subject
        }
    }
    
    # Export the data to an Excel file
    $emailData | Export-Excel -Path $outputExcelPath -AutoSize
    
    Write-Host "Data has been successfully exported to $outputExcelPath"
    
    
    It works fine however it imports as well stuff in the subject line that should not be there. 



(Thread-Topic: Ihr Arcserve-Wartungsvertrag  & Co. GmbH 655 wird am 1.3.2025 ablaufen   Thread-Index: AQHbZEVvoZQu1Fou30O6c9m84wfi5rMX+aUw   Date: Wed, 15 Jan 2025 15:21:07 +0000 I Message-ID: <PH0PR10MB4711CA54F8FD03D520F60105E9192@PH0PR10MB4711.namprd10.prod.outlook.com>   References: <PH0PR10MB4711C96CBD32962D1ABD139BE91D2@PH0PR10MB4711.namprd10.prod.outlook.com>  <PH0PR10MB47114C6D235CB12AA2A3D0D0E91D2@PH0PR10MB4711.namprd10.prod.outlook.com>  <PH0PR10MB4711E2A726EAAC6CA37E1AABE91D2@PH0PR10MB4711.namprd10.prod.outlook.com>  <2488c69a-32f2-4a9a-9956-2b8e30793e84.dd301281-d445-472c-a307-12b501968a31.c1cfee43-cfd0-49ba-84b0-4e461c57bc8d@emailsignatures365.codetwo.com>   In-Reply-To: <PH0PR10MB4711E2A726EAAC6CA37E1AABE91D2@PH0PR10MB4711.namprd10.prod.outlook.com>   Accept-Language: en-US   X-MS-Has-Attach: yes   X-MS-TNEF-Correlator:    Authentication-Results-Original: dkim=none (message not signed)  header.d=none;dmarc=none action=none header.from 2025-01-15 16:22:40 1tY5E7-0000000032H-1sTw H=a27-154.smtp-out.us-west-2.amazonses.com [54.240.27.154]:52483 X=TLS1.2:ECDHE-RSA-AES128-SHA256:128 CV=no F=<010101946a8eb7f3-20e93eb5-9f40-441b-94eb-7a7057f0c2e2-000000@us-west-2.amazonses.com> temporarily rejected after DATA: Temporary local problem, please try again! Envelope-from: <010101946a8eb7f3-20e93eb5-9f40-441b-94eb-7a7057f0c2e2-000000@us-west-2.amazonses.com> Envelope-to: <[email protected]> P Received: from a27-154.smtp-out.us-west-2.amazonses.com ([54.240.27.154]:52483)     by mail.toussaint.de with esmtps  (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256    (Exim 4.97.1)   (envelope-from <010101946a8eb7f3-20e93eb5-9f40-441b-94eb-7a7057f0c2e2-000000@us-west-2.amazonses.com>)  id 1tY5E7-0000000032H-1sTw  for [email protected];   Wed, 15 Jan 2025 16:22:40 +0100   X-SASI-Hits: BODYTEXTH_SIZE_3000_MORE 0.000000, BODY_SIZE_10000_PLUS 0.000000,    BODY_SIZE_25K_PLUS 0.000000, BODY_SIZE_50K_PLUS 0.000000,   BODY_SIZE_75K_PLUS 0.000000, BULK_EMAIL_SENDER 0.000000,    DKIM_SIGNATURE 0.000000, HTML_00_01 0.050000, HTML_00_10 0.050000,  KNOWN_MTA_TFX 0.000000, LEGITIMATE_SIGNS 0.000000, NO_CTA_URI_FOUND 0.000000,   NO_URI_HTTPS 0.000000, SENDER_NO_AUTH 0.000000, SUBJ_PHRASE_WATCHES 0.000000,   SUPERLONG_LINE 0.050000, SXL_IP_TFX_ESP 0.000000, SXL_IP_TFX_WM 0.000000,   __AMAZON_DKIM 0.000000, __AMAZON_MSGID 0.000000, __ANY_URI 0.000000,    __ATTACH_CTE_QUOTED_PRINTABLE 0.000000, __BODY_NO_MAILTO 0.000000,  __COURIER_PHRASE 0.000000, __CP_MEDIA_2_BODY 0.000000,  __CP_MEDIA_BODY 0.000000, __CT 0.000000, __CTYPE_HAS_BOUNDARY 0.000000,     __CTYPE_MULTIPART 0.000000, __CTYPE_MULTIPART_MIXED 0.000000,   __DQ_NEG_DOMAIN 0.000000, __DQ_NEG_HEUR 0.000000, __DQ_NEG_IP 0.000000,     __EXTORTION_PORN 0.000000, __FRAUD_URGENCY 0.000000, __FUR_HEADER 0.000000,     __FUR_IP_AMAZON 0.000000, __HAS_FROM 0.000000, __HAS_MSGID 0.000000,    __HIGHBITS 0.000000, __MIME_HTML 0.000000, __MIME_TEXT_H 0.000000,  __MIME_TEXT_H1 0.000000, __MIME_TEXT_H2 0.000000, __MIME_TEXT_P 0.000000,   __MIME_TEXT_P1 0.000000, __MIME_TEXT_P2 0.000000, __MIME_VERSION 0.000000,  __NO_HTML_TAG_RAW 0.000000, __PART_TYPE_HTML 0.000000,  __PORN_PHRASE_15_0 0.000000, __SANE_MSGID 0.000000,     __STYLE_TAGS_ATTACHED 0.000000, __SUBJ_ALPHA_END 0.000000,  __TO_MALFORMED_2 0.000000, __TO_NO_NAME 0.000000, __URI_MAILTO 0.000000,    __URI_NO_WWW 0.000000, __URI_NS 0.000000, __WEBINAR_PHRASE 0.000000   X-SASI-Probability: 8%   X-SASI-RCODE: 200   X-SASI-Version: Antispam-Engine: 5.1.4, AntispamData: 


2025.1.15.143046   DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;  s=7v7vs6w47njt4pimodk5mmttbegzsi6n; d=amazonses.com; t=1736954525;  h=From:To:Message-ID:Subject:MIME-Version:Content-Type:Date:Feedback-ID;    


bh=b0FHZzxTJLOjSkXjFr1USZ3S8DGW2HC+H+znGXgZKDE=;    b=SSTiQXBudYLa1hbKrVx3qXsU8lH9YfV9O6xTr3dfkog8c+BKQphIvTMauoUecYiw  


sQ2BwB2e6SO0laNmZIfG0GerkXoPOZ0ZEEeLY30rgGRZkwfeZTtoHMY2BIoIXeS+zyu     89fcBbVOi+nDvXwz6hU6QArSJELjxnPk2y4MhMWI=)
    
    how to avoid this being in the code?
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Markus Meyer

79402955

Date: 2025-01-31 14:01:55
Score: 3.5
Natty:
Report link

I think it's =IF(C1, 1, IF(,,)) -- I got it from another stack overflow thread, but I can't find the link to it now, sorry :(

Reasons:
  • Blacklisted phrase (1): :(
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Maria Boghiu

79402947

Date: 2025-01-31 13:59:54
Score: 2
Natty:
Report link

app.config.compilerOptions.isCustomElement = tag => tag === 'element-name';

You need to inform Vue that the element is a custom elements.... because Vue 3 automatically treats custom elements as Components but in this case the component was not registered....

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Adekolu Olumide Coolerputt

79402937

Date: 2025-01-31 13:56:54
Score: 2
Natty:
Report link

Thanks to all who responded, in particular mkreiger, who guided me to this answer:

def list_splitter(seq, block_length):
    return (seq[pos:pos + block_length] for pos in range(0, len(seq), block_length))

for group in list_splitter(my_list, 100):
    print(group, "\n", len(group), "\n")
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alan Mott

79402923

Date: 2025-01-31 13:52:53
Score: 1
Natty:
Report link

The nativeFabricUIManager is likely used during the first render in one of your installed libraries.

nativeFabricUIManager global const won't always be initialised before the end of the first render, as it is dispatched during the first render.

It's best to check for it during the second render.

Link to source where it is dispatched: https://github.com/facebook/react-native/blob/c3ea606660ab0540882b6ded3b85e88c24c88b3a/packages/react-native/ReactCommon/react/renderer/scheduler/Scheduler.cpp#L117

While not particularly documented, this fact is known among React Native library maintainers: https://github.com/software-mansion/react-native-gesture-handler/blob/b3d8fd91dca195267bdc33aa20fd6f5cd37d7fe2/src/utils.ts#L46

I recommend searching for it inside the node_modules folder, and removing the library you find it in.

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

79402921

Date: 2025-01-31 13:52:53
Score: 3
Natty:
Report link

Changing the package name worked for me as well! Thanks

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

79402910

Date: 2025-01-31 13:48:52
Score: 0.5
Natty:
Report link

Well, I remembered in SQLX there are pre_operations { ... } so I experimented with this:

config {
  type: "table",
  schema: "debug",
  name: "test"
}

pre_operations {
  CREATE TEMP FUNCTION addition(a INT64, b INT64)
  RETURNS INT64
  AS (
      a + b
  );
---
  CREATE TEMP FUNCTION multiply(a INT64, b INT64)
  RETURNS INT64
  AS (
      a * b
  );
}

WITH numbers AS
  (SELECT 1 AS x, 5 as y
  UNION ALL
  SELECT 2 AS x, 10 as y
  UNION ALL
  SELECT 3 as x, 15 as y)

SELECT
    x,
    y,
    addition(x, y) AS added,
    multiply(x, y) as multiplied
FROM numbers

This works well when the job is executed, however it doesn't work when pressing "Run":

b0rk3d results saying "Function not found: addition at 15:5"

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Matt Scheurich

79402908

Date: 2025-01-31 13:47:51
Score: 1
Natty:
Report link

I am not able to reproduce the issue. Here's what I am trying:

quarkus create app hello-quarkus -x kubernetes

I copy and paste the properties from your post and then run

./mvnw clean install

I check the generated files under target/kubernetes/kubernetes.yaml|json and I am seeing:

            - name: JAVA_TOOL_OPTIONS
              value: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
Reasons:
  • Blacklisted phrase (1): I am not able to
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: iocanel

79402904

Date: 2025-01-31 13:46:51
Score: 2
Natty:
Report link

Reposting Andrew Poelstra answer from https://github.com/rust-bitcoin/rust-bitcoin/issues/3969

It looks like you're setting your prevout to the 0th output of the transaction you're signing. But it needs to be the 0th output of the other transaction, a6935. BTW, I make this mistake constantly. I wonder if there's a good way to solve it in the API.

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

79402903

Date: 2025-01-31 13:45:51
Score: 3.5
Natty:
Report link

enter socket.io into the filtering bar then toggle 'Invert enter image description here

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

79402898

Date: 2025-01-31 13:44:51
Score: 1
Natty:
Report link

I just had the symptoms, I was doing changes in my files and nothing would show in GitKraken.

Turns out I startet a rebase, which gave an error, but I forgot to abort the rebose, so it was still trying to rebase and ignoring the changes in the files...

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

79402880

Date: 2025-01-31 13:36:48
Score: 11 🚩
Natty: 6.5
Report link

I'm working on something very similar. I'm using background-action service to stablish socket connection with my server, similar to yours I'm too facing this issue that the background-action service gets killed after unpredictable time. did you find any solution to this problem?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): did you find any solution to this problem
  • RegEx Blacklisted phrase (2): any solution to this problem?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Manthan Manral

79402879

Date: 2025-01-31 13:36:48
Score: 2
Natty:
Report link

Nowadays you can just set this inside the onCreate

supportActionBar?.hide()
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Otávio Dutra