79138539

Date: 2024-10-29 18:44:38
Score: 1
Natty:
Report link

To incorporate product reviews for text search. You may use search requests to get results for both text searches and browse searches. To make a search request, use the servingConfigs.search method.

Vertex AI Search for retail lets you provide high quality product search results that are customizable for your retail business needs. Leverage Google's query and contextual understanding to improve product discovery across your website and mobile applications.

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

79138536

Date: 2024-10-29 18:43:37
Score: 1
Natty:
Report link

Section 4.5.7 Conditional Expressions governing an if expression requires this result, as explained under dynamic semantics. In particular all of your predicates "are evaluated and yield False." As a result "the value of the if expression is True." An annotation elaborates: "Else is required unless the if expression has a boolean type, so the last sentence can only apply to if expression with a boolean type." See also In classical logic, why is (𝑝⇒𝑞) True if both 𝑝 and 𝑞 are False?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: trashgod

79138535

Date: 2024-10-29 18:42:37
Score: 1
Natty:
Report link

[email protected] was released a few weeks ago with "stable" eslint v9 support. If you can upgrade, then see https://github.com/facebook/react/issues/28313#issuecomment-2408157792 for a sample configuration for now.

Also, follow this thread if interested in documentation refresh

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

79138528

Date: 2024-10-29 18:38:36
Score: 0.5
Natty:
Report link

If I understand well, this code will do the job simply and quickly by using the partitionBy option :

df = spark.read.format('avro').load("/user/test/data/data_backlog")
df.write.partitionBy("dt").format('avro').save("/user/test/data/data_backlog_backup")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ahmed

79138520

Date: 2024-10-29 18:36:36
Score: 1.5
Natty:
Report link

Google has Image integrated into the Vertex AI SDK this is all you need.

from vertexai.generative_models import GenerativeModel, Part, SafetySetting, Image image1 = Part.from_image(Image.load_from_file("/image.png"))

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

79138510

Date: 2024-10-29 18:30:34
Score: 4
Natty: 4.5
Report link

It definitely seems to be supported through Spring Boot Actuator

https://docs.spring.io/spring-boot/api/rest/actuator/prometheus.html

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

79138502

Date: 2024-10-29 18:25:30
Score: 6 🚩
Natty: 5.5
Report link

does this work for ADVISION devices ?

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

79138499

Date: 2024-10-29 18:24:29
Score: 0.5
Natty:
Report link

I tried to use a two-pointer algorithm but realized that I need 3 pointers in this case.

var merge = function(nums1, m, nums2, n) {
    let i = m - 1;  // Pointer for the last initialized element in nums1
    let j = n - 1;  // Pointer for the last element in nums2
    let k = m + n - 1;  // Pointer for the last position in nums1

    // Iterate backwards and fill nums1 from the end
    while (j >= 0) {
        if (i >= 0 && nums1[i] > nums2[j]) {
        nums1[k] = nums1[i];
        i--;
    } else {
        nums1[k] = nums2[j];
        j--;
    }
    k--;
}

return nums1;

};

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

79138491

Date: 2024-10-29 18:20:29
Score: 0.5
Natty:
Report link

How are you importing Atomikos in your project? Using the starter:

<dependency>
  <groupId>com.atomikos</groupId>
  <artifactId>transactions-spring-boot3-starter</artifactId>
  <version>6.0.0</version>
</dependency>

I notice that transaction-jdbc, transaction-jms and transaction-jta are automatically imported with jakarta as classifier, thus having transaction-jdbc-6.0.0-jakarta.jar and so on in classpath.

Looking in the repo directory (https://repo1.maven.org/maven2/com/atomikos/transactions-jta/6.0.0/) in fact there are two different jars.

Check if you are importing the "no-jakarta" modules, and in this case try to use the starter, or specify the classifier in pom.xml, like this:

<dependency>
  <groupId>com.atomikos</groupId>
  <artifactId>transactions-jta</artifactId>
  <version>6.0.0</version>
  <classifier>jakarta</classifier>
</dependency>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How are you
  • Low reputation (0.5):
Posted by: Francesco Poli

79138482

Date: 2024-10-29 18:18:28
Score: 2
Natty:
Report link

If you want to create ContactForm then you should run with command bin/cake bake form ContactForm

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

79138479

Date: 2024-10-29 18:18:28
Score: 2.5
Natty:
Report link

Start the line with a number and escape the dot after it: https://www.markdownguide.org/basic-syntax/#starting-unordered-list-items-with-numbers

1968\. A great year!
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: danissimo

79138478

Date: 2024-10-29 18:18:28
Score: 2
Natty:
Report link

The best advantage for GraphQL Architecture is that it work well mostly when you have have complex nested fields (related table from a relational database) on this case REST endpoints usually become challenging to manage and create dynamic rest endpoints, especially if clients require partial data across nested relationships. with GraphQL in this case will allow you to select deeply nested fields without additional server logic.

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

79138474

Date: 2024-10-29 18:17:28
Score: 2.5
Natty:
Report link

Uninstalling the react-native-dotenv package and then removing the react-native-dotenv from babel.config.js file. Then using the command npx expo start -c command fixed the issue for me.

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

79138473

Date: 2024-10-29 18:17:28
Score: 2
Natty:
Report link

A possible solution to the problem could be the following:

We create the series:

var numNames = new SeriesBuilder<int, string>() {
  { 1, "one" }, { 2, "two" },{ 3, "three" }, { 4, "four" }, { 5, "five" }, { 6, "six" }, {7, seven,}, {8, "eight"}, {9, "nine"}, {10, "ten"} }.Series;

Calculate the averague using the SeriesModule, for a rolling of 5 elements and period of one element.

SeriesModule.WindowSize(5, Boundary.AtBeginning, numNames).Select(win=>win.Value.Mean());

The problem is that if we want to calculate the average with a window of 15 elements, it would give us an exception because there are not so many elements.

I have created at the end a class to calculate the average of a series of elements of n elements with a minimum period, simulating ptyhon.

    public class RollingAverage
    {
        private Series<DateTime, double> _serie;
        private SeriesBuilder<DateTime, double> _serie_builder = new SeriesBuilder<DateTime, double>();
        private SeriesBuilder<DateTime, double> _serie_builder_resultado = new SeriesBuilder<DateTime, double>();
        private readonly int _period;
        private int _min_period;
        private double _sum;

        /// <summary>
        /// Calculamos la media aritmética de una serie para una ventana de n periodos, con un mínimo periodo.
        /// </summary>
        /// <param name="serie"></param>
        /// <param name="window"></param>
        /// <param name="min_period"></param>
        /// <exception cref="ArgumentException"></exception>
        public RollingAverage(Series<DateTime, double> serie,int window, int min_period=1)
        {
            if (window <= 0)
            {
                throw new ArgumentException("Period must be greater than zero.", nameof(window));
            }
            _period = window;
            _min_period = min_period;
            _serie = serie;

        }

        private void Add(DateTime time,double value)
        {
            double elemento;

            _serie_builder.Add(time, value);

            if (_serie_builder.Count() > _min_period)
            {
                _sum = _serie_builder.Series.Sum();
            }

            if (_serie_builder.Count() > _period)
            {
                _serie_builder.Remove(_serie_builder.FirstOrDefault().Key,out elemento);
                _sum -= _serie_builder.FirstOrDefault().Value;
            }
        }

        public Series<DateTime, double> Mean()
        {
            if (_serie.ValuesAll.Count() == 0)
            {
                throw new InvalidOperationException("No values to average.");
            }

            foreach (var item in _serie.Observations)
            {
                Add(item.Key, item.Value);

                if (_serie_builder.Count() <= _min_period)

                    _serie_builder_resultado.Add(item.Key, 0.0);

                else
                
                    _serie_builder_resultado.Add(item.Key, (_sum / _serie_builder.Count()));
                
            }

            return _serie_builder_resultado.Series;

        
        }
    }
}

If anyone has any contribution, they would be grateful.

Reasons:
  • RegEx Blacklisted phrase (2): would be grateful
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mhern0749

79138437

Date: 2024-10-29 18:03:25
Score: 1.5
Natty:
Report link

In fact this is possible, there are two options :

In fact properties defined with the -p option are not the same than those defined with the -S option.

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

79138435

Date: 2024-10-29 18:03:25
Score: 1.5
Natty:
Report link

My solution was that I had opened one folder too high. Once I opened the correct folder where the solution file and the project were supposed to be opened, I was able to run in VS Code.

Simple to check before trying other solutions.

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

79138419

Date: 2024-10-29 18:00:24
Score: 1.5
Natty:
Report link

thank you for your answer.. work for me, but you need to add an "aps" in the ios notifications, so .... in this part for "apns" shoud be:

"apns":{
    "payload":{
           "aps":{
             "sound":"default"
                 }
              }
       }
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Carlos Colque

79138410

Date: 2024-10-29 17:57:23
Score: 2
Natty:
Report link

Yes, by making sure the graph is having only two vertices and a single edge. In this case you need not to make any modifications to bellman ford algorithm and it will always gives the shortest distance in a single iteration.

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

79138400

Date: 2024-10-29 17:55:23
Score: 1.5
Natty:
Report link

Assuming by i=1, you mean a single edge, which could mean that there are atleast two vertices due to which outer loop will run at least once.

If this is the case, then yes, after the first run of relaxation, you will get the shortest distances from the source

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

79138395

Date: 2024-10-29 17:53:23
Score: 3.5
Natty:
Report link

Getting this error also on Powershell 7.4.6. I'm guessing there is a missing module that needs to be installed so doing web searches on this error.

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

79138392

Date: 2024-10-29 17:53:23
Score: 3.5
Natty:
Report link

Honestly I am in the same boat. Currently I have been experimenting with pythreejs, but the rendering is very different. Much luck and I hope that soon we will be able to do this.

Best regards, a humble researcher.

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: MartinezJuan Antonio

79138373

Date: 2024-10-29 17:45:21
Score: 0.5
Natty:
Report link

From @Axeman comment:

ggplot(mtcars, aes(x = mpg, y = disp, color = carb, shape = as.factor(am), size = vs, fill = cyl)) +
  geom_point() +
  guides(color = guide_colorbar(theme = theme(legend.title = element_text(size = 4, color = "red"))),
         shape = guide_legend(theme = theme(legend.title = element_text(size = 8, color = "green"))),
         size   = guide_legend(theme = theme(legend.title = element_text(size = 12, color = "yellow"))),
         fill = guide_legend(theme = theme(legend.title = element_text(size = 16, color = "orange")))
                       

)

and here is the official documentation: https://ggplot2.tidyverse.org/reference/guide_legend.html

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Axeman
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: MLEN

79138371

Date: 2024-10-29 17:45:21
Score: 2
Natty:
Report link

A Response object contains all of the methods and contents of an HTTP request, to include potential DTOs appended to the response body. So, in that statement there, you're comparing a basket to a bag of fruit. The Response object is the basket, and a DTO is the bag of fruit that you place in the basket. You can return a Response object if you need to customize the response. Otherwise, you just return the DTO and the handling engine will create the Response object for you.

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

79138364

Date: 2024-10-29 17:43:20
Score: 2
Natty:
Report link

In my case, I had problems with the font files. I just deleted them and downloaded them again. Maybe you should try other fonts for the test?

const notoSans = localFont({
  variable: '--font-noto-sans',
  src: [
    {
      path: './fonts/NotoSans-Light.ttf',
      weight: '300',
    },
    {
      path: './fonts/NotoSans-Regular.ttf',
      weight: '400',
    },
    {
      path: './fonts/NotoSans-Medium.ttf',
      weight: '500',
    },
    {
      path: './fonts/NotoSans-SemiBold.ttf',
      weight: '600',
    },
    {
      path: './fonts/NotoSans-Bold.ttf',
      weight: '700',
    },
  ],
});

export default function RootLayout({
  children,
}: Readonly<{
  children: ReactNode;
}>) {
  return (
    <html
      lang='en'
      className={notoSans.className}
    >
      <body>{children}</body>
    </html>
  );
}

Example of font layout

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

79138358

Date: 2024-10-29 17:40:19
Score: 1
Natty:
Report link

Yes, you can. you need a Google account to use Google Cloud shell which is free and comes with 5 GB of storage to use Google Cloud Shell all you have to do is authorize Google Cloud to Google Cloud Shell after you find a docker container that doesn't use port:3000 once you find a docker container find the terminal icon on the top right of the screen once you found the terminal icon click the icon on the right of the terminal icon and click "add port" and put the following port of the docker container and after you do that click "add port and preview" the icon next to the terminal icon It is called a "web preview," If you can't find the icon, here is a link, before you preview the port you have to run the docker container using "docker run" command in the terminal then go to the web preview. Here's a docker container I think you should run, hopefully this helps!

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

79138347

Date: 2024-10-29 17:34:18
Score: 3
Natty:
Report link

You need to switch to the New window opened before doing any interaction. Ref documentation

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

79138340

Date: 2024-10-29 17:33:18
Score: 0.5
Natty:
Report link

Afaik, n8n generates IDs under the hood, which I figured out when I did my Qdrant & n8n demo:) I can advise you to request a feature from them to allow inserting your own id's:) In the meanwhile, you could use HTTP-request block and call Qdrant's API directly (P.S. I am Jenny, Qdrant's DevRel, nice to meet you:) )

Reasons:
  • Whitelisted phrase (-2): I figured out
  • Contains signature (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jenny

79138334

Date: 2024-10-29 17:32:18
Score: 1
Natty:
Report link

Following @guillaume-eb suggestion, I removed the dask.delayed option and used only simple Dask Arrays. The code seems to work just fine now. Thank you.

import datetime
import numpy as np
import xarray as xr
import dask.array as dask_array


def uv2mag(u: xr.DataArray,
           v: xr.DataArray
           ) -> dask_array:
    return (u.data**2 + v.data**2)**0.5


def uv2dir(u: xr.DataArray,
           v: xr.DataArray
           ) -> dask_array:
    return np.rad2deg(np.arctan2(u.data, v.data))


def open_dataset(*args, **kwargs) -> xr.Dataset:

    uv = kwargs.pop("uv", None)

    ds = xr.open_dataset(*args, **kwargs)

    if uv:

        uvar, vvar = uv

        ds["magnitude"] = (
            ds[uvar].dims,
            uv2mag(ds[uvar], ds[vvar]),
            {"long_name": "magnitude"},
        )

        ds["direction"] = (
            ds[uvar].dims,
            uv2dir(ds[uvar], ds[vvar]),
            {"long_name": "direction"},
        )

    return ds


url = "https://tds.hycom.org/thredds/dodsC/FMRC_ESPC-D-V02_uv3z/FMRC_ESPC-D-V02_uv3z_best.ncd"
uvar = "water_u"
vvar = "water_v"

ds = open_dataset(url, drop_variables="tau", chunks=10, uv=[uvar, vvar])
ds2 = ds.isel(time=slice(0, 5), depth=0, lat=1000, lon=1000)
ds2.load()
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @guillaume-eb
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Marcelo Andrioni

79138315

Date: 2024-10-29 17:26:16
Score: 3.5
Natty:
Report link

Yeah same here. I got a similar issue. Let me know if you can find a solution.

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

79138310

Date: 2024-10-29 17:25:16
Score: 2
Natty:
Report link

In Eclipse, check if all your projects / subprojects are open, and if all your children pom.xml of your subprojects are correctly imported as existing Maven projects (left clic on each child project > import > Existing Maven Projects > select all).

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

79138304

Date: 2024-10-29 17:22:15
Score: 0.5
Natty:
Report link

INTERACTIVE SOLUTION BASED ON @Emiel's Reply

const getFormData = async(url) => {
  const googleImageResponse = await fetch(url);
  const blob = await googleImageResponse.blob();

  //FIX HERE
  const googleImageFile = new File([blob], 'profileAvatar.png', {
    type: blob.type || 'image/png'
  });
  //END OF FIX

  const imageURL = URL.createObjectURL(googleImageFile);
  document.getElementById("myImg").src = imageURL;
  document.getElementById("imgName").textContent = googleImageFile.name;
};


//BUTTON EVENT
document.getElementById("loadImageButton").addEventListener("click", async() => {
  const url = document.getElementById("imageUrlInput").value;
  await getFormData(url);
});
#myImg {
  width: 25px;
  height: 25px;
}
<input type="text" id="imageUrlInput" value="https://lh3.googleusercontent.com/a/ACg8ocKjThtaGf5USLuL2LBMBuYxfDG0gDdM-RLA_I__UvNI3p_2Hlk=s96-c" placeholder="Enter image URL" />
<button id="loadImageButton">Load Image</button>

<p id="imgName"></p>
<img id="myImg" />

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Emiel's
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: programming_ritual

79138301

Date: 2024-10-29 17:22:15
Score: 1
Natty:
Report link

This guide assumes a Windows PC, but Linux users should be able to figure it out. Start by copying your hosts file to C:\ Now open powershell as administrator and go to C:\

$Domains = Get-Content -Path hosts

And this:

$Domains | ForEach-Object{
$Lookup =nslookup $_ 2>&1 | Select -First 1 
$Filter = ($Lookup -split 'domain')[0]
$Result = $_ + " " + $Filter
$Result | Out-File -FilePath HostsMOD -append
}

Copy/Paste these two blocks of code...it is going to take hours if not days if not weeks; depends on how many hosts file entries you have. When it is done what you have to do now is modify HostsMOD with notepad ++.

Go to the search menu, Ctrl + F, and open the Mark tab. Check Bookmark line (if there is no Mark tab update to the current version).

Enter your search term Non-existent and click Mark All Do the same for the term Unspecified error.

All lines containing the search terms are bookmarked. Now go to the menu Search → Bookmark → Remove Bookmarked lines Save. Rename file to "Hosts" and place in your respective OS directory: system32\drivers\etc.

Done.

Reasons:
  • Blacklisted phrase (1): This guide
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ted T

79138297

Date: 2024-10-29 17:21:15
Score: 3
Natty:
Report link

Better solution is now DOMPurify: https://github.com/cure53/DOMPurify and this should be correct answer.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Azghanvi

79138296

Date: 2024-10-29 17:21:15
Score: 2
Natty:
Report link

Looks to me like minmax(min-content, 1fr) or fit-content(1fr) are actually not supported.

Does this approach fit your use case?

.my-grid {
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    column-gap: 1rem;
    row-gap: 1rem;
}

.my-item {
    min-width: min-content;
    white-space: nowrap;
}
<div class="my-grid">
  <div class="my-item">Some potentially pretty long text...</div>
  <div class="my-item">Some other text</div>
</div>

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: quentinkrammer

79138294

Date: 2024-10-29 17:21:15
Score: 0.5
Natty:
Report link

Try whatsapp://call?number=34666555444 Where 34666555444 is the number with the international prefix without the + sign. Only works if WhatsApp is installed, of course. I think that it will only work for numbers that already accepted the caller as a contact.

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

79138291

Date: 2024-10-29 17:19:14
Score: 3
Natty:
Report link

In my case the error was related to stupid exception in my evaluation function. message is misleading.

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

79138289

Date: 2024-10-29 17:19:14
Score: 3
Natty:
Report link

These are horrible examples you guys really gotta step up yall's game like there has to be a more simple way you nerds.

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

79138282

Date: 2024-10-29 17:16:13
Score: 0.5
Natty:
Report link

As @milovan-tomašević said:

It is possible that the solution with dataclasses-json makes the code more readable and cleaner.

pip install dataclasses-json

In addition, they say What if you want to work with camelCase JSON?

In case of camelCase JSON you can specify:

from dataclasses import dataclass
from dataclasses_json import dataclass_json, LetterCase

@dataclass
@dataclass_json(letter_case=LetterCase.CAMEL)
class Foo:
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @milovan-tomašević
Posted by: Plap

79138273

Date: 2024-10-29 17:12:12
Score: 0.5
Natty:
Report link

Yes, absolutely. But you have to code it yourself from scratch using Java. Here is a full tutorial but you need to come with Java skills, else this will be well above your head :)

https://benjamin-schumann.com/blog/agentify-your-network-pathfinding

Reasons:
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Benjamin

79138268

Date: 2024-10-29 17:11:12
Score: 1.5
Natty:
Report link

In Java, it's common practice to organize files into folders (known as "packages") to maintain a structured project. When you place a file inside a folder, Java expects you to declare the package at the beginning of the file.

To resolve this, add a package declaration at the beginning of your file. The format for this declaration is:

package [folder_name];

Replace [folder_name] with the name of the folder where the file is located.

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

79138260

Date: 2024-10-29 17:09:11
Score: 3
Natty:
Report link

You say, everything still goes/uses global space, but can you elaborate what you mean by everything... e.g. debugging? pylance?

Have you tried deleting your existing virtual environments and reloading vs-code? This tends to work for me.

This would be a comment, but I'm not allowed...

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • RegEx Blacklisted phrase (2.5): can you elaborate what you
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Dan Bolser

79138251

Date: 2024-10-29 17:07:10
Score: 4
Natty:
Report link

the same, and download the latest version of the simulator(ios18) which mentioned by @Lightwaxx helped!and my xcode(16.1)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Lightwaxx
  • Single line (0.5):
  • Low reputation (1):
Posted by: gugugu

79138247

Date: 2024-10-29 17:06:10
Score: 2.5
Natty:
Report link

If you are looking for a solution and want to understand the pitfalls, you can find the information here

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

79138235

Date: 2024-10-29 17:04:09
Score: 2.5
Natty:
Report link

Place this in python manage.py collectstatic --noinput settings > build > custom build command deploy the changes and it should work.enter image description here

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

79138229

Date: 2024-10-29 17:04:09
Score: 3.5
Natty:
Report link

I think github.com/tdewolff/minify/ this pkg do what you want exactly

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

79138227

Date: 2024-10-29 17:03:09
Score: 0.5
Natty:
Report link

Most use cases of consistency in the Web app are achieved by a react application using components as well as state management in order to create an interface.

Component-based architecture: React highlights that the user interface has to be broken into reusable self-contained components. A structure, behavior, and a style for a particular thing is ensured through it to give an aspect, i.e., how things in general, such as modals, buttons, and forms look and behave consistently around an application. A reusable part once created is simply reutilized around your application and thereby makes reduction in inconsistency, thus being easy to implement the global update.

State management: the structure component-based allows for managing control centrally as well as data management with the aid of state. If a central control is realized through usage of the React hook - useState or via larger applications, like Redux or Context API, all the states of the components that depend on the same data, would remain synchronized. Such prevents the phenomenon where the certain components will display data that could already be old or not accurate at all, which, in fact, preserves a consistency in the user's experience.

Props system: With the help of props, the components receive information from their parent components. This system makes sure that the components could be dynamically configured to follow a standardized design and behavior based on the data they receive. Thus, even though the content in it is different, the app will be visually as well as functionally homogeneous.

Global styling solutions: With the aid of global styling solutions like CSS modules, styled-components, and Tailwind CSS, one is allowed to enforce just one single source of truth for all their styles: colors, fonts, or layouts. All these will ensure their use remains consistently uniform even with different screen sizes or varying components involved in developing an application for web services.

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

79138226

Date: 2024-10-29 17:03:07
Score: 10 🚩
Natty: 4
Report link

Thank you, Chris! I'm having the same issues and will see if it fixes. Töö bad the q and a are both downvoted. Will add a +1 when I get a reputation 😂

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): 😂
  • RegEx Blacklisted phrase (1.5): reputation
  • RegEx Blacklisted phrase (2): downvote
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Low reputation (1):
Posted by: Martin Karu

79138225

Date: 2024-10-29 17:02:06
Score: 0.5
Natty:
Report link

Why not just use the formula?

(1.96*stddev(col)) / sqrt(count(col))

That should give you your +/- term

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why not
  • High reputation (-1):
Posted by: Greg

79138220

Date: 2024-10-29 17:00:05
Score: 5.5
Natty: 4.5
Report link

Will this work with variable products? Also, is it possible to share the whole code because I did not get this part. "then used woocommerce_process_product_meta_simple to save the data. And then by using woocommerce_add_cart_item_data, woocommerce_before_calculate_totals actions, I added the cart meta into it for the custom field i just created and set the item price to zero so user can be able to checkout with zero pricing."

Thanks for offering help!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): is it possible to
  • Blacklisted phrase (2): share the whole
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Firat Sekerli

79138219

Date: 2024-10-29 17:00:05
Score: 1
Natty:
Report link

For anyone in the future who is curious, I ended up doing the type inference as part of parsing the response (with zod in this case).

export async function getUsers(): Promise<User[]> {
  const res = await api.get("/users");
  const parsed = userSchema.array().safeParse(res);

  if (!parsed.success) {
    throw new Error(`Users "${res}" is not valid.`);
  }

  return parsed.data;
}

Happy coding!

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

79138214

Date: 2024-10-29 16:59:04
Score: 1
Natty:
Report link

I posted my solution to what I think is similar to your situation here: Grant Permission to SQL application database

Basically, give permissions through SSMS > [DatabaseName] > Security > Users > Create Users...

Pick the domain user

Pick Securables and set the permissions like SELECT, UPDATE, for the user to the database.

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

79138206

Date: 2024-10-29 16:56:04
Score: 0.5
Natty:
Report link

This article helped me https://ubuntu.com/server/docs/about-debuginfod

For my case it worked after I set the cache directory in .bashrc to something custom

export DEBUGINFOD_CACHE_PATH="/some/path/to/.gdbcache"

And increased by 1000 the cache clean interval in /some/path/to/.gdbcache/cache_clean_interval_s

Reasons:
  • Blacklisted phrase (1): This article
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mateo de Mayo

79138205

Date: 2024-10-29 16:56:04
Score: 1.5
Natty:
Report link

The relevant documentation is here: https://docs.mulesoft.com/munit/latest/mock-event-processor#parameters

It suggests inputting the following:

java!java::lang::Exception::new("This is the error message")
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
Posted by: Max Meijer

79138193

Date: 2024-10-29 16:54:03
Score: 0.5
Natty:
Report link

This is happening because PyInstaller doesn’t automatically include system-installed libraries when bundling your Python script. You can explicitly add it using --hidden-import option, so your run command would be:

run: pyinstaller -F --hidden-import=gi script.py

Or you could use custom hook

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

79138191

Date: 2024-10-29 16:53:03
Score: 0.5
Natty:
Report link

Had a similar problem with this error code where the compiler couldn't compile to create a stack<some_class>. The solution was to move the inclusion of the include into a ".H" file instead of directly of in the CPP file. The some_class definition and the creation of the stack variable didn't move. Took me a day to figure this out, so I hope it helps somebody else!

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Emory Stagmer VAXHeadroom

79138189

Date: 2024-10-29 16:52:02
Score: 0.5
Natty:
Report link

That error means that the jgroups.s3.bucket_name property was not set and therefore could not be replaced. I don't think JAVA_OPTS_APPEND is supposed to be in keycloak.conf but it should be defined as an environment variable.

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

79138187

Date: 2024-10-29 16:52:02
Score: 3
Natty:
Report link

I use the use.fontawesome.com vs. the cloudflare one. I am curious if there is a benefit either way? https://use.fontawesome.com/releases/v6.6.0/css/all.css

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
Posted by: RooksStrife

79138182

Date: 2024-10-29 16:50:01
Score: 1.5
Natty:
Report link

It is currently not possible to change the background color of this bar, only the text color can be set.

The background color is automatically set by the system appearance.

See the answer from an Apple engineer here.

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

79138174

Date: 2024-10-29 16:46:00
Score: 4
Natty:
Report link

use documentId, id does not work in v5

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

79138167

Date: 2024-10-29 16:44:59
Score: 1
Natty:
Report link

One way to do that in Python/OpenCV is to convert to HSV. Then get the Hue channel and blur it.

enter image description here

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

79138165

Date: 2024-10-29 16:44:59
Score: 3.5
Natty:
Report link

I've found the issue: using "eth_withoutfcs" rather than "eth" within 'Dissector.get()' solved the issue.

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

79138162

Date: 2024-10-29 16:42:59
Score: 1
Natty:
Report link

On my Macbook @shashika answer worked but without the php artisan.

That's:

composer install


composer update



php artisan config:cache
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ikmazameti

79138161

Date: 2024-10-29 16:42:59
Score: 0.5
Natty:
Report link

Right, this is so straightforward it is embarrassing. The key was to group by the two map keys that I wanted to keep, and there's a handy groupCount() to make it even easier. Like this:

g.V().hasLabel('city').
    out('hasParking').
    out('hasSlot').
    inE('parkedAt').has('time', P.lte(2)).has('time', P.gte(1)).
    project('city', 'parking', 'vehicle').
    by(inV().in('hasSlot').in('hasParking').values('name')).
    by(inV().in('hasSlot').values('name')).
    by(outV().values('name')).
    dedup().
    groupCount().
    by(select('city', 'parking')).
    unfold()
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: bernied

79138159

Date: 2024-10-29 16:42:59
Score: 3
Natty:
Report link

I believe this is the official repository by Teledyne for the FLIR cameras. I found it at the end of the README file in the SDK.

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

79138157

Date: 2024-10-29 16:42:59
Score: 0.5
Natty:
Report link

Using Livewire 3, you can prevent the scroll to top like this:

{{ $posts->links(data: ['scrollTo' => false]) }}

https://livewire.laravel.com/docs/pagination

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Clément Baconnier

79138155

Date: 2024-10-29 16:41:58
Score: 4
Natty: 4.5
Report link

How to import the certificates .pem file into the old macOS ? Keychain Access - import.....

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Arend

79138147

Date: 2024-10-29 16:39:58
Score: 1.5
Natty:
Report link

Quartz 2.3.0 and other RC versions were released with a wrong c3p0 groupId. Issue should be fixed in subsequent versions, but adding dependency as stated in https://stackoverflow.com/a/50860439/2144470 it's also a solution.

So it should work changing dependency to:

    <dependency>
        <groupId>org.quartz-scheduler</groupId>
        <artifactId>quartz</artifactId>
        <version>2.3.2</version>
    </dependency>
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: nakis

79138144

Date: 2024-10-29 16:39:58
Score: 5
Natty: 5
Report link

I think this may answer your question.

https://onexception.dev/news/1365226/nuxt3-app-with-unix-socket-serving

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28046974

79138142

Date: 2024-10-29 16:39:57
Score: 2.5
Natty:
Report link

For horizontal layout;

=transpose(TheSuspects)

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
Posted by: Haluk

79138138

Date: 2024-10-29 16:37:57
Score: 2
Natty:
Report link

https://status.elastic.co/incidents/9mmlp98klxm1

All repositories except for Kibana have been changed back to public. GitHub is in the process of restoring forks for those repositories. We are awaiting further input from GitHub Support for the Kibana repository.

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

79138137

Date: 2024-10-29 16:36:56
Score: 2
Natty:
Report link

Seems to me that you did not install sass package. So, you have to install it. If it doesn't work after installing, you have to install node-sass as well.

yarn add sass node-sass

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Saroar Hossain Shahan

79138132

Date: 2024-10-29 16:36:56
Score: 2.5
Natty:
Report link

I don't think you've presented enough information about what you're trying to do for people to provide a useful answer.

For example, how do you imagine prefect would be querying? I think it'd be helpful if you explained how exactly you'd need upstream services to interact with your prefect-defined workflow.

You should be able to use jinja with prefect the same way you'd use jinja with python in general, for example.

Reasons:
  • Blacklisted phrase (1): how do you
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Stoat

79138131

Date: 2024-10-29 16:35:56
Score: 3
Natty:
Report link

I found a webpage that did it for me: https://www.diversifyindia.in/rgba-to-rgb-converter

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

79138125

Date: 2024-10-29 16:32:55
Score: 0.5
Natty:
Report link

I found a solution for my problem. I think this was a kubernetes-specific thing. After some research I found out that the worker-process get the status Zombie after sending the SIGTERM and the parent-process was not able to clean up the Zombie. So after adding tini as init-process (on dockerfile and deployment.yaml) and make sure it gets PID1 now the zombies are cleaned up and the worker-process is terminating when I send the SIGTERM from the admin-process.

I also tried to improve my signal-handler to make it safe again (thanks for your information in the comments). Now here the updated signal-handler and some parts of the rest of the program:

volatile atomic_int execute_loop = 1; 

void handle_sigterm() {
    error_msg(sip_man_log, "(MAIN) INFO: Signal reached.");
    execute_loop = 0; 
    error_msg(sip_man_log, "(MAIN) INFO: Closing all sockets.");
    close(sockfd_ext);
    close(connfd); 
    close(sockfd); 
}

int main()
{
    struct sockaddr_in  sockaddr, connaddr, sockaddr_ext;
    unsigned int        connaddr_len;
    char                buffer[8192];
    int                 rv, rv_ext;

    signal(SIGTERM, handle_sigterm); 
    
    sockfd = socket(AF_INET, SOCK_STREAM, 0);
    [...]

    while(execute_loop)
    {
        connaddr_len = sizeof(connaddr);
        connfd = accept(sockfd, (struct sockaddr*)&connaddr, &connaddr_len);
    [...]
    }
    free_manipulation_table(int_modification_table);
    free_manipulation_table(ext_modification_table); 
    free_manipulation_table(mir_modification_table);
    error_msg(sip_man_log, "(MAIN) INFO: Terminating Server by SIGTERM"); 

    return 0;
}

It's very shortened and I skipped most of the error-handling. Thanks for your help!

Dennis

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-0.5): Thanks for your help
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dennis_10-33

79138120

Date: 2024-10-29 16:32:55
Score: 1
Natty:
Report link

Hope this helps.

https://www.restack.io/docs/airflow-faq-aws-eks-rbac

Verify the redirect URI: Ensure that the redirect URI specified in your oAuth provider's settings matches the one in your Airflow configuration. The redirect URI should be in the format https://<your_airflow_domain>/oauth-authorized/<provider_name>

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

79138116

Date: 2024-10-29 16:31:55
Score: 1.5
Natty:
Report link

I think @JonSG explained enough about graphql, so I just gave you a head start on how to code to get your desired output from JSON using the Graphql API.

Note: I added 10 pages in range just for the demo, leetcode has 22341 page of user list in the global ranking.

Sample Code:

import requests
from string import Template

header = {
    "User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0",
    "Content-Type": "application/json"
}
url = 'https://leetcode.com/graphql'
for i in range(1,10):
    val = 'query globalRanking {\n  globalRanking(page: $page) {\n    totalUsers\n    userPerPage\n    myRank {\n      ranking\n      currentGlobalRanking\n      currentRating\n      dataRegion\n      user {\n        nameColor\n        activeBadge {\n          displayName\n          icon\n          __typename\n        }\n        __typename\n      }\n      __typename\n    }\n    rankingNodes {\n      ranking\n      currentRating\n      currentGlobalRanking\n      dataRegion\n      user {\n        username\n        nameColor\n        activeBadge {\n          displayName\n          icon\n          __typename\n        }\n        profile {\n          userSlug\n          userAvatar\n          countryCode\n          countryName\n          realName\n          __typename\n        }\n        __typename\n      }\n      __typename\n    }\n    __typename\n  }\n}\n'
    s = Template(val)
    replace_page = s.substitute(page=i)
    data = {
    "operationName": "globalRanking",
    "variables": {},
    "query": f"{replace_page}"
    }
    response = requests.post(url, headers=header, json=data)
    for i in response.json()['data']['globalRanking']['rankingNodes']:
        data = [f"user_name: {i['user']['username']}", f"user_avatar: {i['user']['profile']['userAvatar']}", f"country: {i['user']['profile']['countryName']}", f"name: {i['user']['profile']['realName']}"]
        print(data)

Sample Output:

['user_name: neal_wu', 'user_avatar: https://assets.leetcode.com/users/neal_wu/avatar_1574529913.png', 'country: United States', 'name: Neal Wu']
['user_name: Carefreejs', 'user_avatar: https://aliyun-lc-upload.oss-cn-hangzhou.aliyuncs.com/aliyun-lc-upload/users/endlesscheng/avatar_1690721039.png', 'country: ', 'name: 灵茶山艾府']
['user_name: numb3r5', 'user_avatar: https://assets.leetcode.com/users/default_avatar.jpg', 'country: Australia', 'name: Joshua Chen']
['user_name: liming-v', 'user_avatar: https://aliyun-lc-upload.oss-cn-hangzhou.aliyuncs.com/aliyun-lc-upload/users/heltion/avatar_1587213058.png', 'country: 中国', 'name: 何逊']
['user_name: ahmed007boss', 'user_avatar: https://aliyun-lc-upload.oss-cn-hangzhou.aliyuncs.com/aliyun-lc-upload/users/yawn_sean/avatar_1654149069.png', 'country: 中国', 'name: 小羊肖恩']
['user_name: hankray', 'user_avatar: https://aliyun-lc-upload.oss-cn-hangzhou.aliyuncs.com/aliyun-lc-upload/users/sserxhs/avatar_1622949152.png', 'country: 中国', 'name: SSerxhs']
['user_name: dnialh', 'user_avatar: https://assets.leetcode.com/users/avatars/avatar_1655848184.png', 'country: None', 'name: ']
['user_name: fjzzq2002', 'user_avatar: https://assets.leetcode.com/users/default_avatar.jpg', 'country: None', 'name: ']
['user_name: pandaforever', 'user_avatar: https://assets.leetcode.com/users/default_avatar.jpg', 'country: None', 'name: ']
['user_name: zhoupeiyun', 'user_avatar: https://aliyun-lc-upload.oss-cn-hangzhou.aliyuncs.com/aliyun-lc-upload/users/johnkram/avatar_1593402741.png', 'country: 中国', 'name: 汪乐平']
['user_name: getnaukri', 'user_avatar: https://aliyun-lc-upload.oss-cn-hangzhou.aliyuncs.com/aliyun-lc-upload/users/py-is-best-lang/avatar_1692179558.png', 'country: ', 'name: PyIsBestLang']
['user_name: jonathanirvings', 'user_avatar: https://assets.leetcode.com/users/default_avatar.jpg', 'country: Singapore', 'name: Jonathan Irvin Gunawan']
['user_name: xiaowuc1', 'user_avatar: https://assets.leetcode.com/users/default_avatar.jpg', 'country: United States', 'name: xiaowuc1']
['user_name: PurpleCrayon', 'user_avatar: https://assets.leetcode.com/users/rohingarg123/avatar_1584377597.png', 'country: None', 'name: Rohin Garg']

All the queries will be used as a request body to extract specific user data:

Public profile: {"query":"\n    query userPublicProfile($username: String!) {\n  matchedUser(username: $username) {\n    contestBadge {\n      name\n      expired\n      hoverText\n      icon\n    }\n    username\n    githubUrl\n    twitterUrl\n    linkedinUrl\n    profile {\n      ranking\n      userAvatar\n      realName\n      aboutMe\n      school\n      websites\n      countryName\n      company\n      jobTitle\n      skillTags\n      postViewCount\n      postViewCountDiff\n      reputation\n      reputationDiff\n      solutionCount\n      solutionCountDiff\n      categoryDiscussCount\n      categoryDiscussCountDiff\n    }\n  }\n}\n    ","variables":{"username":"TARGET USERNAME IS HERE"},"operationName":"userPublicProfile"}    
Language Stats: {"query":"\n    query languageStats($username: String!) {\n  matchedUser(username: $username) {\n    languageProblemCount {\n      languageName\n      problemsSolved\n    }\n  }\n}\n    ","variables":{"username":"TARGET USERNAME IS HERE"},"operationName":"languageStats"}    
Skills set: {"query":"\n    query skillStats($username: String!) {\n  matchedUser(username: $username) {\n    tagProblemCounts {\n      advanced {\n        tagName\n        tagSlug\n        problemsSolved\n      }\n      intermediate {\n        tagName\n        tagSlug\n        problemsSolved\n      }\n      fundamental {\n        tagName\n        tagSlug\n        problemsSolved\n      }\n    }\n  }\n}\n    ","variables":{"username":"TARGET USERNAME IS HERE"},"operationName":"skillStats"}    
User Contest Ranking: {"query":"\n    query userContestRankingInfo($username: String!) {\n  userContestRanking(username: $username) {\n    attendedContestsCount\n    rating\n    globalRanking\n    totalParticipants\n    topPercentage\n    badge {\n      name\n    }\n  }\n  userContestRankingHistory(username: $username) {\n    attended\n    trendDirection\n    problemsSolved\n    totalProblems\n    finishTimeInSeconds\n    rating\n    ranking\n    contest {\n      title\n      startTime\n    }\n  }\n}\n    ","variables":{"username":"TARGET USERNAME IS HERE"},"operationName":"userContestRankingInfo"}    
User question progress V2: {"query":"\n    query userProfileUserQuestionProgressV2($userSlug: String!) {\n  userProfileUserQuestionProgressV2(userSlug: $userSlug) {\n    numAcceptedQuestions {\n      count\n      difficulty\n    }\n    numFailedQuestions {\n      count\n      difficulty\n    }\n    numUntouchedQuestions {\n      count\n      difficulty\n    }\n    userSessionBeatsPercentage {\n      difficulty\n      percentage\n    }\n  }\n}\n    ","variables":{"userSlug":"TARGET USERNAME IS HERE"},"operationName":"userProfileUserQuestionProgressV2"
User question progress V1: {"query":"\n    query userSessionProgress($username: String!) {\n  allQuestionsCount {\n    difficulty\n    count\n  }\n  matchedUser(username: $username) {\n    submitStats {\n      acSubmissionNum {\n        difficulty\n        count\n        submissions\n      }\n      totalSubmissionNum {\n        difficulty\n        count\n        submissions\n      }\n    }\n  }\n}\n    ","variables":{"username":"TARGET USERNAME IS HERE"},"operationName":"userSessionProgress"}    
User Badge: {"query":"\n    query userBadges($username: String!) {\n  matchedUser(username: $username) {\n    badges {\n      id\n      name\n      shortName\n      displayName\n      icon\n      hoverText\n      medal {\n        slug\n        config {\n          iconGif\n          iconGifBackground\n        }\n      }\n      creationDate\n      category\n    }\n    upcomingBadges {\n      name\n      icon\n      progress\n    }\n  }\n}\n    ","variables":{"username":"TARGET USERNAME IS HERE"},"operationName":"userBadges"}    
User profile calendar: {"query":"\n    query userProfileCalendar($username: String!, $year: Int) {\n  matchedUser(username: $username) {\n    userCalendar(year: $year) {\n      activeYears\n      streak\n      totalActiveDays\n      dccBadges {\n        timestamp\n        badge {\n          name\n          icon\n        }\n      }\n      submissionCalendar\n    }\n  }\n}\n    ","variables":{"username":"TARGET USERNAME IS HERE"},"operationName":"userProfileCalendar"}    
User recent submission: {"query":"\n    query recentAcSubmissions($username: String!, $limit: Int!) {\n  recentAcSubmissionList(username: $username, limit: $limit) {\n    id\n    title\n    titleSlug\n    timestamp\n  }\n}\n    ","variables":{"username":"TARGET USERNAME IS HERE","limit":15},"operationName":"recentAcSubmissions"}

let me know if this is what you want!

Reasons:
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @JonSG
  • Low reputation (0.5):
Posted by: x1337Loser

79138100

Date: 2024-10-29 16:29:54
Score: 3
Natty:
Report link

This solution worked for me when I created a chrome side panel: https://github.com/danielsussa/chrome-sidepanel-hotreload

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Daniel Kanczuk

79138099

Date: 2024-10-29 16:29:54
Score: 3
Natty:
Report link

bs4 is a dummy package designed to prevent namesquatting, you should install BeautifulSoup4 instead of installing bs4

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

79138097

Date: 2024-10-29 16:28:54
Score: 2.5
Natty:
Report link

The only way to get more repls is to delete your previous ones, or buy Replit Core. However, I would suggest using a different editor.

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

79138096

Date: 2024-10-29 16:28:54
Score: 1
Natty:
Report link

I encountered this error today. It turned out that the file paths to my key and certificate were incorrect.

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

79138092

Date: 2024-10-29 16:26:53
Score: 2.5
Natty:
Report link

mov cx,0
delay :
add cx,1 cmp cx,7000 ;INCRESASE THE VALUE (7000) TO INCREASE DEALY jne delay

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: F233063 Muhammad Ahsan

79138088

Date: 2024-10-29 16:25:51
Score: 12 🚩
Natty: 6
Report link

Have same issue. Did u find solution?

Reasons:
  • RegEx Blacklisted phrase (3): Did u find solution
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): Have same issue
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrey

79138065

Date: 2024-10-29 16:20:49
Score: 2
Natty:
Report link

As of Oct 29, 2024, there is a setting that does exactly what you want.

  1. From the File Menu, choose Preferences, then Settings.

  2. Search for "Notebook > Output Font Size".

I've set mine to 12.

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

79138056

Date: 2024-10-29 16:17:48
Score: 0.5
Natty:
Report link

This is an old post, but in flex 2.0 you should checkout this link

In order to use Twilio Paste inside your plugin, please use Flex.setProviders() as follows which will wrap the Flex UI with the passed Paste theme provider. This will allow you to use Paste elements and design tokens within your plugin. Ensure this is done before declaring any components.

import { CustomizationProvider } from "@twilio-paste/core/customization";
import { Button as PasteButton } from "@twilio-paste/core/button";

Flex.setProviders({
  PasteThemeProvider: CustomizationProvider
});

Flex.AgentDesktopView.Panel1.Content.add(
  <div key="A">
     <PasteButton key="A" variant="primary">
        Paste Button
     </PasteButton>
  </div>
);
Reasons:
  • Blacklisted phrase (1): this link
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: pwaterz

79138055

Date: 2024-10-29 16:16:48
Score: 4
Natty:
Report link

@NickHolt answer have guided me to the right direction I had a problem with the way I had configured my Jpa Auditing... the user_id is of type Integer but I had configured the JpaAuditing info created_by as String in the BaseEntity class

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @NickHolt
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Steve

79138053

Date: 2024-10-29 16:16:48
Score: 1
Natty:
Report link

Just add

extraProperties: |
  sonar.qualitygate.wait=true

in the inputs of your SonarQubePrepare task as stated here

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

79138049

Date: 2024-10-29 16:15:47
Score: 3
Natty:
Report link

I have created a VSCode extension that serves this purpose and streamlines file creation. It allows you to specify the file names and folder placement. If folders does not exists they are also created. Feel free to check it out at VSCode extensions marketplace.

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Igor Lau

79138044

Date: 2024-10-29 16:15:47
Score: 2.5
Natty:
Report link

I got the answer from support:

For the moment, download statistics is not possible for Central Portal, we are working on that feature.

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

79138027

Date: 2024-10-29 16:10:46
Score: 2.5
Natty:
Report link

There is a more generic question around enabling Wayland support for Electron based apps running as flatpaks (like beekeeper) here That answers your question

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

79138016

Date: 2024-10-29 16:07:45
Score: 3
Natty:
Report link

The problem seems to be caused by some corruption introduced by the YITH Theme which I used briefly. Correct menu entries can only be created by using the + when editing the menu block in full screen

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

79138006

Date: 2024-10-29 16:02:44
Score: 1.5
Natty:
Report link

text_input_container is used but it doesn't exist in your layout

fragmentTransaction.add(R.id.text_input_container, textInputFragment)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user27894462

79138005

Date: 2024-10-29 16:02:43
Score: 4.5
Natty: 4.5
Report link

One new desktop tool for Cosmos DB https://github.com/peppial/LiteCosmosExplorer/wiki/Lite-CosmosDB-Explorer

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

79138000

Date: 2024-10-29 16:01:43
Score: 1
Natty:
Report link

The w3 org recommendation for a Tab Pattern does contain a note that, when the tablist has aria-orientation set to vertical, the Down Arrow can replace the Right Arrow functionality from Alexander Nied's answer (focus the next tab) and Up Arrow can replace the Left Arrow functionality (focus the previous tab).

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

79137999

Date: 2024-10-29 15:59:42
Score: 0.5
Natty:
Report link

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-2):
Posted by: taller

79137998

Date: 2024-10-29 15:59:42
Score: 2
Natty:
Report link

This is likely a bug which I faced. https://github.com/chroma-core/chroma/issues/2856

Downgrade to Chroma 0.5.3 (check which langchain-chroma is having that)

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

79137984

Date: 2024-10-29 15:53:41
Score: 1
Natty:
Report link

Try them in order;

flutter clean && flutter pub get

cd ios

pod cache clean --all

sudo rm -r Pods Podfile.lock

pod install --repo-update
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Altay

79137983

Date: 2024-10-29 15:53:41
Score: 2
Natty:
Report link

Just remove the header "Content-Type": "multipart/form-data"

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

79137978

Date: 2024-10-29 15:53:41
Score: 2.5
Natty:
Report link

I'm using nextjs 14 with supabase at my server side redering page, none of the opt-out configuration that nextjs provides is working. This cache behavior is super annoying.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Johnny Ilmo Koo

79137977

Date: 2024-10-29 15:52:40
Score: 3
Natty:
Report link

I would also like to know if this is now mandatory and if so, at what point did Microsoft change from allowing users to consent delegated permissions to now having to define them as low-risk? Suddenly getting complaints that admins must consent for new users while previous users were able to consent without issue.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: billybob snortin

79137967

Date: 2024-10-29 15:50:40
Score: 0.5
Natty:
Report link

As of 2024:
Only option to install unsigned addons is to use one of the following firefox versions:
ESR (Extended Support Release), Developer Edition and Nightly You then also need to go to aboud:config and set xpinstall.signatures.required to false. Setting xpinstall.signatures.required to false does NOT allow you to install unsigned extensions in normal firefox version.

Reasons:
  • No code block (0.5):
Posted by: TheUltimateOptimist