79074971

Date: 2024-10-10 14:49:09
Score: 1
Natty:
Report link

Here is how you can do :

$sales = 454.425;
$formatter = new NumberFormatter('en_GB', NumberFormatter::CURRENCY);
$formatter->setAttribute(NumberFormatter::FRACTION_DIGITS, 0);
return $formatter->formatCurrency($sales, 'EUR');
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Benjamin DILLARD

79074962

Date: 2024-10-10 14:47:09
Score: 1
Natty:
Report link

kubeflow pipeline components can accept and pass types of artifacts, according to their documentation.

You can change your code to the following to stop this error:

from kfp.dsl import Dataset, Artifact

@kfp.dsl.component
def turn_window_generator(df: Dataset) -> Artifact:
....
    return wide_window
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JHow

79074957

Date: 2024-10-10 14:46:08
Score: 3
Natty:
Report link

Some years ago I ported Joris van Rantwijk's python implementation to PHP:

https://github.com/bakert/blossom-php

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
Posted by: Thomas David Baker

79074954

Date: 2024-10-10 14:45:08
Score: 2.5
Natty:
Report link

Stop tomcat do

ps -ef|grep tomcat

to see if there is an old tomcat running. (happened to me)

kill -9 pid

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

79074951

Date: 2024-10-10 14:44:08
Score: 3
Natty:
Report link

what u gotta do is change your operating system to Debian 6.0 and that should fix u up

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): what
Posted by: AGrush

79074947

Date: 2024-10-10 14:42:07
Score: 1
Natty:
Report link

enter image description here

You need to use the format of [h]:mm.

Formulas:

enter image description here

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

79074941

Date: 2024-10-10 14:40:07
Score: 1.5
Natty:
Report link

I doesn't seem like they ship the biddll.lib anymore. On Windows, I was able to link against one I built from Intel® Decimal Floating-Point Math Library . It generates a bunch of different libs. I took one and renamed and it linked. If I get a better of idea of what the different versions are I'll report back. I targeted a Release x64 build.

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

79074938

Date: 2024-10-10 14:40:06
Score: 6.5 🚩
Natty: 5
Report link

I have issues with the solution provided by Daniel Powell - it loads the data perfectly except for the last row from the data file. The data file has a CRLF on the last row of data too but still I have issues with the loading. Did anybody else face this issue and resolved it? Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1.5): resolved it?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Allen David

79074930

Date: 2024-10-10 14:39:06
Score: 1
Natty:
Report link

By relying on the AZURE REST API, i do not have any cost in my query result.

curl --location 'https://management.azure.com/subscriptions/xxx/providers/Microsoft.Compute/skus?api-version=2021-07-24' \

--header 'Authorization: Bearer yyy'

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

79074927

Date: 2024-10-10 14:38:05
Score: 6 🚩
Natty:
Report link

have you found the answer for this question? I want to implement Java IMAP client to Gmail and it seems either a user should generate App Password or Oauth2 should be used. I started looking how it works and it seems my app should identify itself with Google. But it means my app credentials should be distributed with the APP and it seems other can take them so another App will be identified as mine which I find ridiculous.

Reasons:
  • RegEx Blacklisted phrase (2.5): have you found the answer for this question
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dmitry Tsigelnik

79074924

Date: 2024-10-10 14:37:04
Score: 1.5
Natty:
Report link

As John pointed out. I had a piece of code in one of my header files that went like this:

#   ifndef __attribute__
#       define __attribute__(x)
#   endif

Because of it any __attribute__() macro expanded to nothing in header files.

I am still not sure why lack of attributes would cause this linker error but that error only appears for object files, including standard library headers, compiled with the -Ofast optimization flag (maybe some other flags but I haven't checked)

Reasons:
  • Blacklisted phrase (1): this link
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Wispy

79074920

Date: 2024-10-10 14:36:04
Score: 0.5
Natty:
Report link

So, we sent tech support requests to Microsoft on this issue - twice. They ignored us for a long time, and finally responded basically saying that since no one else has reported this issue - they are not going to address it. Thanks!

The solution was to completely unistall Visual Studio (not just SSIS), and reinstall everything. My guess is that there was an another instance of Visual Studio (possibly installed by another user) that may have conflicted with the current install. The reason we think that is because on one of the un-install screens it said something like "Visual Studio (2)" - possibly indicating that there were 2 instance of VS on the computer. Just a guess. Once we cleared everything off and reinstalled - it worked.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Clinemi

79074918

Date: 2024-10-10 14:36:04
Score: 1
Natty:
Report link

String class has only compareTo method. Because whenever we declare string as literal or by new operator it always create object of string class. no need of compare method here.

Integer class has both compareTo and static compare method. Because integer can be define primitive(int) as well as wrapper(Integer). if we don't have static compare method how it will compare.

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

79074916

Date: 2024-10-10 14:35:04
Score: 1.5
Natty:
Report link

As in the warning message, pytorch FSDP has known bug for linux kernel<5.5.0:

...
Detected kernel version 5.4.0, which is below the recommended minimum of 5.5.0; this can cause the process to hang. It is recommended to upgrade the kernel to the minimum version or higher.
...

cf)

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

79074915

Date: 2024-10-10 14:35:04
Score: 2.5
Natty:
Report link

to have access to your map, you need to get a mapbox API keys, then update your superset_config.py with your mapbox API key. Here is the documentation page : https://superset.apache.org/docs/configuration/configuring-superset/

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

79074914

Date: 2024-10-10 14:35:04
Score: 2
Natty:
Report link

added

kotlin.jvm.target.validation.mode=IGNORE

to gradle.propertys solved

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Benedek Körtvélyesi

79074913

Date: 2024-10-10 14:35:04
Score: 0.5
Natty:
Report link

The LIKE expression has the format string LIKE pattern, where pattern must be a string literal. In SQL, string literals must be enclosed in single quotes. So you would use something like

"trim(" + alias + "bar) like '%" + filter.getBar() + "'"

to get

where trim(this.bar) like '%2'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrey Smelik

79074909

Date: 2024-10-10 14:34:03
Score: 1
Natty:
Report link

enter image description hereThe QuestionMark is a feature in SQL Assistant (SQA) to parametrise your SQL. SQA will ask for the value to replace and then Search/Replace the parameter.

In TD Studio by default this feature is deactivated. You can activate it by clicking the "String Substitution" Button of the SQL Editor View. (In my case the 9th Icon on the top right direct to the SQL Text) Unfortunately in some cases the Icon is hidden if you don't make the App FullScreen

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

79074905

Date: 2024-10-10 14:33:03
Score: 1.5
Natty:
Report link

Now in 2024 we can publish GitLab-pages in another folder than public.

To do so, in your .gitlab-ci.yml add : publish: dist

A short but working example :

pages:
  script:
    - ls
  artifacts:
    paths:
      - dist
  publish: dist

For more, I found the publish syntax there.

And if you prefer, there are some workaround explained in the official documentation.

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

79074902

Date: 2024-10-10 14:33:03
Score: 1
Natty:
Report link

According to the Ren'Py Preference Variables documentation, this can be done in the following manner:

if preferences.language == "english":
    scene warning1b
else:
    scene warning1
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Austin Duling

79074896

Date: 2024-10-10 14:32:03
Score: 3
Natty:
Report link

I noticed in Chrome developers tools, the sources tab seems to gripe about "doctype" not being capitalized.

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

79074880

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

As T. Jami point in the comments of the original post, buscarOf should be an arrow function, so changing its definition to

 buscarOF = async (autoPlay: boolean) => {
//implementation of the method here
}

solved the problem and this is not undefined anymore

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

79074878

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

In case someone else runs into a similar issue, this might help. It turns out that when I change the configuration slightly, it seems to work fine:

resource "google_cloudbuild_trigger" "test_cloudbuild_trigger" {
  project  = "<project_id>"
  name     = "test-build"
  filename = "cloudbuild.yaml"
  location = "europe-west4"

  github {
    owner = "<org>"
    name = "<repo>"
    push {
      tag = ".*"
    }
  }
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ramon Vermeulen

79074862

Date: 2024-10-10 14:24:01
Score: 1.5
Natty:
Report link

i have a quite similar problem. as a solution i followed your approach. Create a Web Credential type HTTP Header. Credential Name Authorization Credential Secret *Bearer {JWT} In the Rest Datasource Definition i select this Credenitials leaving the Authentication Server empty

In APEX (22.1.0) the corresponding Page i run a BeforeHeader Process which executes

apex_credential.set_session_credentials (
    p_credential_static_id => 'DWBASIC',
    p_key =>'JWT',
    p_value =>   v_bearer
);

When running the page i get HTTP Respons 411 error.

Apex debug log snippet looks like that:

begin_request p_url=>http://xxxx.org/DocuWare/PlatformFileCabinets/ff174c35-4b24-473c-8ede-7299dc4e5eeb/Documents?Count=1&Fields=AUSWAHLLISTE,WERT1,WERT2,WERT3,p_method=>POST,p_proxy_override=>,p_transfer_timeout=>,p_https_host=>,p_wallet_path=>

set_header Proxy-Connection: Keep-Alive
set_header User-Agent: Oracle APEX
set_header JWT: ***
HTTP response 411 - Length Required
Header Content-Type: text/html; charset=us-ascii
Header Server: Microsoft-HTTPAPI/2.0
Header Date: Thu, 10 Oct 2024 14:13:14 GMT
Header Connection: close

Any idea what i am missing?

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

79074861

Date: 2024-10-10 14:23:01
Score: 0.5
Natty:
Report link

Answer:

sqlRestriction should directly use {alias}.COLUMNNAME

so

 criteria.add(Restrictions.sqlRestriction("trim(" + alias + "bar) like %" + filter.getBar()));

becomes

 criteria.add(Restrictions.sqlRestriction(
                    "trim({alias}.IDBAR) like ?",
                    "%" + filter.getBar(),
                    Hibernate.STRING
            ));
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Thomarkey

79074859

Date: 2024-10-10 14:23:00
Score: 3
Natty:
Report link

Been searching for answer to this and remembered seen this before and its because I had calculated fields in the list. If remove them then works find.

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

79074847

Date: 2024-10-10 14:20:00
Score: 3
Natty:
Report link

Screenshot1

Hi to the person who answered me. Thank you very much. I added your formula to my formula but it still gave me an error message. Please view screenshot 1 above.

Here is the link of a copy of my spreadsheet:

https://docs.google.com/spreadsheets/d/1bqOg1fRn8VFgdxJ-OZ_Yg-h8Pmxk_D0w/edit?usp=sharing&ouid=111851483886123696756&rtpof=true&sd=true

I removed a lot of other sheets (pages) so you will see lots of #REF! but that is ok as these columns have no importance in the matter. The columns that need to be looked at are Z on the first page (sheet) and AA on the 2n page (sheet).

So in the fist sheet called 24 KPI Weekly, I have to add the adresse of the deals corresponding to each row. This is our weekly keeping which I update periodically.

Instead of having to re-write these adresses into the quarter KPI page (the 2nd sheet), I wanted that the data be transferred (copied) there, and ignore empty cells.

Thank you so much for helping me with this matter Fannie

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): Here is the link
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Fan H

79074846

Date: 2024-10-10 14:20:00
Score: 1
Natty:
Report link

I broke my head at this problem and checked all 45 articles on stackoverflow about this. In the end I found out, that I emptied the existing cacerts keystore first and added then my certificates (with KeyStore Explorer). This seemed to be wrong. I had to add my certificates first and then remove all the others I do not need. It seems that somehow the structure broke with emptying it or something like that. Hope that helps anybody.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): Hope that helps
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: alexko

79074841

Date: 2024-10-10 14:19:00
Score: 1.5
Natty:
Report link

Just a note, if you've already implemented scrollbar-color or scrollbar-width properties, setting ::-webkit-scrollbar properties won't work! I learned the hard way..

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

79074834

Date: 2024-10-10 14:17:59
Score: 2
Natty:
Report link

Just like @Aaron mentioned, check your Logcat to see what's causing the failure, it's probably not the test runner nor the tests themselves.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Aaron
  • Single line (0.5):
  • High reputation (-1):
Posted by: Abdallah Alaraby

79074821

Date: 2024-10-10 14:14:58
Score: 4
Natty:
Report link

Use the JavaScript method given by @Zastrich but be aware that a user can bypass your form by clicking the Clear form link.

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

79074819

Date: 2024-10-10 14:13:58
Score: 3
Natty:
Report link

I was facing the same issue, this is because the date format is incomplete, nifi is expecting the milliseconds too, like this

2024-03-27 00:00:00.000

i.e.

yyyy-MM-dd HH:mm:ss.SSS

After using this format, NiFi stopped throwing error.

Refer to this link for detailed explanation : https://community.cloudera.com/t5/Support-Questions/value-cannot-be-converted-to-a-timestamp/m-p/382750/highlight/true#M244681

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: S_Jin

79074814

Date: 2024-10-10 14:12:58
Score: 3.5
Natty:
Report link

I'm having similar issue.

I removed this line *<Prefer32Bit>false</Prefer32Bit>* from the .csprog file and this seems to have fixed the problem for that soln.

I have another project that does not have that in the .csproj file so still having the issue with while trying to debug.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm having similar issue
  • Low reputation (1):
Posted by: user27735398

79074804

Date: 2024-10-10 14:08:57
Score: 0.5
Natty:
Report link

Take a look at my library, internally use Specifications. It might be right for you. Through this library your controller will be able to receive requests like this:

curl -X GET \
  'https://myexampledomain.com/persons?
  firstName=Biagio
  &lastName_startsWith=Toz
  &birthDate_gte=19910101
  &country_in=IT,FR,DE
  &address_eq=Via Roma 1,Via Milano/,1,20 West/,34th Street
  &company.name_in=Microsoft,Apple,Google
  &company.employees_between=500,5000'

or:

curl -X POST -H "Content-type: application/json" -d '{   "filter" : {
      "operator": "and", // the first filter must contain a root operator: AND, OR or NOT
      "filters" : [
        {
          "operator": "eq",
          "key": "firstName",
          "value": "Biagio"
        },
        {
          "operator": "or",
          "filters": [
            {
              "operator": "startsWith",
              "key": "lastName",
              "value": "Toz",
              "options": {
                "ignoreCase": true
              }
            },
            {
              "operator": "endsWith",
              "key": "lastName",
              "value": "ZZI",
              "options": {
                "ignoreCase": true,
                "trim" : true
              }
            }
          ]
        },
        {
          "operator": "in",
          "key": "company.name",
          "values": ["Microsoft", "Apple", "Google"]
        },
        {
          "operator": "or",
          "filters": [
            {
              "operator": "gte",
              "key": "birthDate",
              "value": "19910101"
            },
            {
              "operator": "lte",
              "key": "birthDate",
              "value": "20010101"
            }
          ]
        },
        {
          "operator": "between",
          "key" : "company.employees",
          "values": [500, 5000],
          "options": {
            "negate": true
          }
        }
      ]   },   "options": {
    "pageSize": 10,
    "pageOffset": 0,
    "sortKey": "birthDate",
    "sortDesc": false   }    }' 'https://myexampledomain.com/persons'
Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: biagioT

79074779

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

Check latest version of Flutter and Xcode.

<key>FLTEnableImpeller</key><false/>. While it works as a temporary fix

flutter run --profile use for check performance properly

you can also try flutter run --no-impeller for development without performance issues.

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

79074777

Date: 2024-10-10 14:04:56
Score: 3
Natty:
Report link

Yes, i have the same Xcode 16.0 macOS Sequoia 15.0 React Native 0.74.3, when do Archive. I did enable_bitcode no and put additional code in Podfile but it does not help

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

79074771

Date: 2024-10-10 14:02:55
Score: 3
Natty:
Report link

You can setup multiple tcpip addresses in networks and proxy ip with reverse ip include 127.0.0.1 192.168.2.1.or 2.4 on same subnet with port configuration 8080 443 22 for file server included iven if you don't use ftp. 1023port add give yourself full rights ok there's more to say but short on time good luck

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

79074759

Date: 2024-10-10 14:01:55
Score: 2.5
Natty:
Report link

Try to go to the ASG page and then go to "Activity" tab. There you can get some useful information on what is happening in your ASG.

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

79074756

Date: 2024-10-10 14:00:54
Score: 4
Natty:
Report link

string timestamp = DateTime.Now.Ticks.ToString();

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

79074755

Date: 2024-10-10 14:00:54
Score: 4
Natty: 5
Report link

Replace "/view?usp=drive_link" with "/uc?export=download" in the link of the file for example the original link is https://drive.google.com/file/d/THIS_IS_THE_ID/view?usp=drive_link

Change view to uc and remove everything after the file ID: https://drive.google.com/uc?export=download&id=THIS_IS_THE_ID

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: sofiane djebbour

79074745

Date: 2024-10-10 13:58:53
Score: 1
Natty:
Report link

Turns out the getter was actually called, but the IDE message mislead me due to a bug described in the kotlin but tracker.

I thought to believe the message was correct because of my own bug in addTurnover function that did nothing instead of adding the turnover.

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

79074744

Date: 2024-10-10 13:58:53
Score: 5
Natty:
Report link

Adb shell dumpsys battery set level 999

enter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ta bom Bom

79074736

Date: 2024-10-10 13:56:52
Score: 0.5
Natty:
Report link

Just wanted to add a note here for how things are in October 2024.

If using the node.js fetch() function, then all you need to do is to export NODE_EXTRA_CA_CERTS=/some/dir/https_cert.pem and everything "just works". Tested on node.js 20.12.

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

79074734

Date: 2024-10-10 13:56:52
Score: 2.5
Natty:
Report link

I think current answer wont work yes, other class cannot change _isAdminNotifier to another notifier but they can use 'isAdmin.value = xxx' to change the value

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 徐家昂

79074730

Date: 2024-10-10 13:56:52
Score: 1
Natty:
Report link

As John Lee points out iframes only work for public boards. The official answer is you can't. https://developer.atlassian.com/cloud/trello/guides/embedding/embedding-boards/. "Currently, we only support a compact, non-interactive mode for boards" as of 2024

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

79074722

Date: 2024-10-10 13:54:51
Score: 0.5
Natty:
Report link

I suggest using ARRAY_AGG and OFFSET. It concatenates the different Function values while OFFSET(0) picks the first element of the array.

SELECT 
   Email, 
   ARRAY_AGG(Function)[OFFSET(0)] as Function
FROM database
GROUP BY Email
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Antiez

79074717

Date: 2024-10-10 13:52:51
Score: 0.5
Natty:
Report link

Seems like you already found a solution that works for you. In the future ChatGPT is a great way to gather any data that you need to get to work. Below is some sample data your situation. Sure! Here’s an expanded dataset including several cities from the United States along with their latitude and longitude:

City Language Country Latitude Longitude
Tokyo Japanese Japan 35.6762 139.6503
Paris French France 48.8566 2.3522
Berlin German Germany 52.5200 13.4050
Madrid Spanish Spain 40.4168 -3.7038
Beijing Mandarin China 39.9042 116.4074
Moscow Russian Russia 55.7558 37.6173
Cairo Arabic Egypt 30.0444 31.2357
New Delhi Hindi India 28.6139 77.2090
Rio de Janeiro Portuguese Brazil -22.9068 -43.1729
Istanbul Turkish Turkey 41.0082 28.9784
Seoul Korean South Korea 37.5665 126.9780
Bangkok Thai Thailand 13.7563 100.5018
Rome Italian Italy 41.9028 12.4964
Nairobi Swahili Kenya -1.2864 36.8172
Bogotá Spanish Colombia 4.6110 -74.0823
Buenos Aires Spanish Argentina -34.6037 -58.3816
Jakarta Indonesian Indonesia -6.2088 106.8456
Canberra English Australia -35.2809 149.1300
Warsaw Polish Poland 52.2297 21.0122
Amsterdam Dutch Netherlands 52.3676 4.9041
Lagos Yoruba Nigeria 6.5244 3.3792
New York City English USA 40.7128 -74.0060
Los Angeles English USA 34.0522 -118.2437
Chicago English USA 41.8781 -87.6298
Houston English USA 29.7604 -95.3698
Miami English USA 25.7617 -80.1918
Philadelphia English USA 39.9526 -75.1652
Phoenix English USA 33.4484 -112.0740
Dallas English USA 32.7767 -96.7970
San Francisco English USA 37.7749 -122.4194
Seattle English USA 47.6062 -122.3321
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zack

79074715

Date: 2024-10-10 13:52:51
Score: 1
Natty:
Report link

I found out the solution. You have to expect T to be an array, not element of an array.

type TTranslationResult<T> = T extends (number | string)[]
  ? string
  : ReactNode | ReactNode[];

export default function translate<T extends ReactNode[] = string[]>(
  key: TDictionaryKey,
  ...params: T
): TTranslationResult<T> {
{

...

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

79074709

Date: 2024-10-10 13:50:50
Score: 1.5
Natty:
Report link

bodyStyle now is deprecated
Use styles:

<Drawer
   styles={{
      body: {
         padding: 0
      }
    }}
/>

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Слава Кравченко

79074706

Date: 2024-10-10 13:50:50
Score: 2
Natty:
Report link

If nothing works then check if you have the correct version of node installed as per your OS architecture. I had installed Arm64 version instead of x64.

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

79074701

Date: 2024-10-10 13:49:50
Score: 2.5
Natty:
Report link

Alright, i found the issue. Since my work laptop runs windows, and i run fedora VM on it, i have mounted my project folder (including test data, server.log) in the VM. However, due to some mismatch between ntfs, VirtualBox, and fedora, i could not delete the file. Moving file over to host VM solved the issue.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sýkora Jakub

79074691

Date: 2024-10-10 13:47:49
Score: 1
Natty:
Report link

I face this with a case

you can replace 12 with the current minutes - get it by new Date().getMinutes(); or by moments moment().minute(); or by dayJs dayjs().minute();

    <TimePicker
          disabledTime={() => ({
            disabledHours: () =>
              Array.from({ length: 24 }, (_, i) => (i >= 1 ? i : i - 1)),
            disabledMinutes: () =>
              Array.from({ length: 60 }, (_, i) =>
                i >= 12 + 1
                  ? i
                  : i - (12 + 1)
              ),
          })}
        />

time picker after disabled some minutes and all hours

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

79074684

Date: 2024-10-10 13:45:48
Score: 1.5
Natty:
Report link

Collection vs relation

collection type stores list of Primary Keys in single column. It is better to determine that when the field value where Primary Keys (PK) are stored may reach the maximum length of field for the database implementation and entries may get truncated. In terms of the performance, collection type might be worse as the amount of entries would be grown, where in relation it is far more scalable and might be optimised.

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

79074676

Date: 2024-10-10 13:43:47
Score: 8 🚩
Natty: 4
Report link

did you ever find a solution? struggling with the same problem. I want to have a custom component that can interact with angular forms but also can be used as is.

Reasons:
  • RegEx Blacklisted phrase (3): did you ever find a solution
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • 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: nanner

79074674

Date: 2024-10-10 13:42:46
Score: 0.5
Natty:
Report link

When you use //div/a, it searches for the first <a> element in the entire document, not relative to the current column element. You should use a dot . at the beginning of the XPath to make it relative to the current element.

columns = driver.find_elements(By.XPATH, "//div[@class='table-columns']")
print(len(columns))

for column in columns:
    cell1 = column.find_element(By.XPATH, ".//div/a")
    cell2 = column.find_element(By.XPATH, ".//div")
    cell3 = column.find_element(By.XPATH, ".//div")
    cell4 = column.find_element(By.XPATH, ".//div")
    print(cell1.get_attribute('href'), cell2.text, cell3.text, cell4.text)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you use
  • Low reputation (1):
Posted by: Alex Tbg

79074672

Date: 2024-10-10 13:40:46
Score: 1
Natty:
Report link

What about this?

> transform(df, SS = replace(SS, SS == "New age, wow", "Yes"))
               SS
1 New age, wow 20
2             Yes
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What
  • High reputation (-2):
Posted by: ThomasIsCoding

79074671

Date: 2024-10-10 13:40:46
Score: 3
Natty:
Report link

https://learn.microsoft.com/en-us/answers/questions/1292111/app-service-authentication-aad-automatically-creat

Now there is, in Preview: https://devblogs.microsoft.com/identity/bicep-templates-for-microsoft-graph-resources/ https://github.com/microsoftgraph/msgraph-bicep-types/tree/main/quickstart-templates Quite a bit of documentation missing, but it's a matter of time now.

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

79074664

Date: 2024-10-10 13:38:45
Score: 4
Natty:
Report link

You need to choose the gradle test instead of JUnit test: enter image description here

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

79074662

Date: 2024-10-10 13:38:45
Score: 0.5
Natty:
Report link

Take a look at my library, internally use Specifications. It might be right for you. Through this library your controller will be able to receive requests like this:

curl -X GET \
  'https://myexampledomain.com/persons?
  firstName=Biagio
  &lastName_startsWith=Toz
  &birthDate_gte=19910101
  &country_in=IT,FR,DE
  &address_eq=Via Roma 1,Via Milano/,1,20 West/,34th Street
  &company.name_in=Microsoft,Apple,Google
  &company.employees_between=500,5000'

or:

curl -X POST -H "Content-type: application/json" -d '{   "filter" : {
      "operator": "and", // the first filter must contain a root operator: AND, OR or NOT
      "filters" : [
        {
          "operator": "eq",
          "key": "firstName",
          "value": "Biagio"
        },
        {
          "operator": "or",
          "filters": [
            {
              "operator": "startsWith",
              "key": "lastName",
              "value": "Toz",
              "options": {
                "ignoreCase": true
              }
            },
            {
              "operator": "endsWith",
              "key": "lastName",
              "value": "ZZI",
              "options": {
                "ignoreCase": true,
                "trim" : true
              }
            }
          ]
        },
        {
          "operator": "in",
          "key": "company.name",
          "values": ["Microsoft", "Apple", "Google"]
        },
        {
          "operator": "or",
          "filters": [
            {
              "operator": "gte",
              "key": "birthDate",
              "value": "19910101"
            },
            {
              "operator": "lte",
              "key": "birthDate",
              "value": "20010101"
            }
          ]
        },
        {
          "operator": "between",
          "key" : "company.employees",
          "values": [500, 5000],
          "options": {
            "negate": true
          }
        }
      ]   },   "options": {
    "pageSize": 10,
    "pageOffset": 0,
    "sortKey": "birthDate",
    "sortDesc": false   }    }' 'https://myexampledomain.com/persons'
Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: biagioT

79074658

Date: 2024-10-10 13:38:45
Score: 1
Natty:
Report link

While Ryan's answer is correct, you can do this if you are using Expo and Expo Router.

...
const { dismissAll: dismissAllModals } = useBottomSheetModal();
const pathname = usePathname();
const params = useGlobalSearchParams();

useEffect(() => {
   dismissAllModals();
}, [pathname, params]);
...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: erenkulaksiz

79074638

Date: 2024-10-10 13:34:44
Score: 3.5
Natty:
Report link

It might be due to the base url not having http:// or https:// infront of the link, try setting the ApiBaseUrl to : https://ecommercespring-g7guhdcvf2gjgrd6.canadaeast-01.azurewebsites.net/api

or

http://ecommercespring-g7guhdcvf2gjgrd6.canadaeast-01.azurewebsites.net/api

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

79074637

Date: 2024-10-10 13:34:44
Score: 2
Natty:
Report link

visually there is a nice structure but you will need a lot of effort to do it with Flutter. Such widgets are created by extending the CustomPainter class. So I think it will be useful for you to research concepts such as CustomPaint and CustomPainter.

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

79074636

Date: 2024-10-10 13:33:44
Score: 1.5
Natty:
Report link

I had to deploy the functions and the application separately.

firebase deploy --except functions
firebase deploy --only functions
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user2425402

79074627

Date: 2024-10-10 13:31:43
Score: 2
Natty:
Report link

If chown and chmod didn't help. There is a possibility that some security app blocks access to your file.

In case of apparmor you can follow this answer https://stackoverflow.com/a/56850952/27734465

In case of SElinux try semanage permissive -a mysqld_t

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Salo SMarmeladom

79074621

Date: 2024-10-10 13:30:43
Score: 1.5
Natty:
Report link
sudo mysql;
// password

// update password
mysql > ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'new-password';  
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Momen

79074620

Date: 2024-10-10 13:30:43
Score: 1
Natty:
Report link

Im not sure is this still relevant because of the https://github.com/dotnet/aspire/issues/4461 But I have found a strange (actually not, but it took some hour to figure out) behaviour with DataVolumes in Aspire, especially when you doing with a lot of "playgrounds or versions of a repositories for projects"

So, here it is: if a data volume was already created with some "password" and then you introduce new password through the aspire API like a parameter. Then Aspire does its job and passes new cstring everywhere, but you would have "incorrect password" problems.

Solution - rename the volume by providing the string with a data volume name

As of solution

p.s. My first answer here, sorry if it does not solve your problem

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

79074614

Date: 2024-10-10 13:30:00
Score: 3.5
Natty:
Report link

Found the problem: the sum of the percentage sizes was adding up to 110% instead of 100%.

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

79074612

Date: 2024-10-10 13:29:59
Score: 11 🚩
Natty: 6
Report link

Sidvi, Did you solve the problem? At thist moment i have the same problem. I already disable my graphic card but the problem continues.

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • RegEx Blacklisted phrase (3): Did you solve the problem
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Jorge Silva

79074611

Date: 2024-10-10 13:29:59
Score: 2.5
Natty:
Report link

It's customized codes of AddThis you can put it on your website, it's properly working on my website.

<!-- Go to www.addthis.com/dashboard to customize your tools -->
Reasons:
  • Contains signature (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: GalaxyonKnowledge

79074604

Date: 2024-10-10 13:27:58
Score: 0.5
Natty:
Report link
var body: some View {
    ScrollView {
        LazyVStack {
            ForEach(0..<15) { _ in
                /*
                 Временная заглушка
                 Placeholder content
                 */
                Text("PLACEHOLDER")
                    .font(.largeTitle)
                    .bold()
                    .frame(maxWidth: .infinity)
                    .frame(height: 200)
                    .background(Color.appAccentColor)
            }
        }
    }
    .toolbar(.hidden, for: .tabBar)
    .toolbar {
        trailingUserAvatar()
        toolbarUserInfo()
    }
    .toolbarTitleDisplayMode(.inline) // <--
    .safeAreaInset(edge: .bottom) {
        TextInputArea()
            .background(Color(.systemBackground))
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Vlad Rudnitskiy

79074596

Date: 2024-10-10 13:25:57
Score: 2
Natty:
Report link

I had this same problem just now. The insert key didn't work for me, but double-clicking inside the window toggled from overtype to insert mode. Note that I had to double-click multiple times to get it to toggle in one instance. Very strange behavior from Spyder!

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

79074590

Date: 2024-10-10 13:23:56
Score: 1
Natty:
Report link

BTW, CHATGPT says : To check compatibility for Spring Boot 2.5 with OpenAPI Generator 7.2, here's what I found:

SpringDoc OpenAPI: The last official version that supports Spring Boot 2.x is springdoc-openapi 1.6.x. If you're using Spring Boot 2.5, upgrading to this version of SpringDoc OpenAPI should work. Any version higher than that would require moving to Spring Boot 3.x​

OpenAPI Generator 7.2: It should work with Spring Boot 2.5 as OpenAPI Generator 7.x mainly introduces enhancements and bug fixes that are not necessarily tied to the Spring Boot version. However, SpringDoc and OpenAPI Generator are separate projects, so the compatibility of the generated code with your specific Spring Boot version may depend on configurations.

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

79074589

Date: 2024-10-10 13:23:56
Score: 0.5
Natty:
Report link

It will be caused by using try catch with await inside of your callback for your middleware. You can either use a self invoked function like in the answer from @Andrew or you can handle it aswell like this:

// Sample route to trigger HttpClientError
app.get('/httpclient-error', (): void => {
    axios.get(`${BASE_URL}/notFound`)
        .then(() => {
            // handle successful response
        })
        .catch((e: AxiosError) => {
            throw new HttpClientError(errorMessage, e)
        })
})
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Andrew
  • Low reputation (0.5):
Posted by: CyberT33N

79074587

Date: 2024-10-10 13:23:56
Score: 0.5
Natty:
Report link

Why isn't logout working in my NextJS app on Asure Static Webapps?

The reason this isn’t working in the Next.js app on Azure Static Web Apps is that when I click the logout button, the app session cookie is regenerated, causing the user to be logged in again.

I manually deleted the appSession cookie using the Application option in the browser tools. I selected Cookies -> App URL -> appSession -> Clear All Cookies, and then logged out.

enter image description here

The user is successfully logged out, as shown below.

enter image description here

Refer my GitHub repository for complete code.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why isn't
  • Low reputation (0.5):
Posted by: Aslesha Kantamsetti

79074583

Date: 2024-10-10 13:21:56
Score: 2.5
Natty:
Report link

if the field you are returning in the str method is null ,then there is a chance this error will occur

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

79074567

Date: 2024-10-10 13:17:55
Score: 1
Natty:
Report link

You need to install first Punycode. In the console type npm or yarn or 'pnpm i punycode', depending on what you use. Then open Notepad++ and and go to 'Search/Find in Files'. On 'Find what:' write 'require("punycode")' and on 'Replace with' write 'require("punycode/")'. Then press the 'Replace in Files' button and everything should be ok now.

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

79074546

Date: 2024-10-10 13:11:53
Score: 0.5
Natty:
Report link

It was possible to implement processing of spaces and hiding passwords behind spaces. Thus, it was possible to check data during input and hide the entered data.

enter image description here

enter image description here

In the future, correction of incorrect input using other keys is necessary.

C language:

#include <form.h>
#include <stdio.h>

#define SIZEPASS 20

int main() {
    initscr();
    raw();
    noecho();
    curs_set(2);
    WINDOW *win = newwin(5, 40, 10, 10);
    keypad(win, TRUE);
    box(win, 0, 0);
    wrefresh(win);

    FIELD *fields[2];
    fields[0] = new_field(1, SIZEPASS, 2, 2, 0, 0);
    fields[1] = NULL;
    set_field_type(fields[0], TYPE_REGEXP, "^\\\\*[0-9A-Za-z\\\\*]* *$");
    set_field_opts(fields[0], O_VISIBLE | O_PUBLIC | O_EDIT | O_ACTIVE);
    set_field_back(fields[0], A_UNDERLINE);

    FORM *form = new_form(fields);
    set_form_win(form, win);
    set_form_sub(form, derwin(win, 3, 38, 1, 1));
    post_form(form);
    wrefresh(win);

    char password[SIZEPASS] = {};
    int ch, status, count = 0, stop = 0;

    while (!stop && (ch = wgetch(win)) != KEY_F(2)) {
        switch (ch) {
            case KEY_BACKSPACE:
                form_driver(form, REQ_DEL_PREV);
                if (count)
                    password[--count] = '\0';
                break;
            case 32:
                break;
            case 10:
            case KEY_ENTER:
                stop = 1;
                break;
            default:
                status = form_driver(form, ch);
                if( status == E_OK ) {
                    status = form_driver(form, REQ_VALIDATION);
                }
                if (status == E_INVALID_FIELD) {
                    form_driver(form, REQ_DEL_PREV);
                } else {
                    password[count++] = (char)ch;
                    password[count] = '\0';
                    form_driver(form, REQ_DEL_PREV);
                    form_driver(form, '*');
                }
        }
    }

    unpost_form(form);
    free_form(form);
    free_field(fields[0]);
    endwin();

    printf("Password: %s\n", password);

    return 0;
}

D language:

module source.app;

import std.conv;
import std.string;
import std.stdio;

public import deimos.ncurses;
public import deimos.form;
public import core.stdc.locale;

int main(string[] args) {
    setlocale(LC_CTYPE,"");
    initscr();
    raw();
    noecho();
    curs_set(2);
    WINDOW *win = newwin(5, 40, 10, 10);
    keypad(win, TRUE);
    box(win, 0, 0);
    wrefresh(win);

    FIELD*[2] fields;
    fields[0] = new_field(1, 20, 2, 2, 0, 0);
    fields[1] = null;
    set_field_type(fields[0], TYPE_REGEXP, `^\**[0-9A-Za-z\*]* *$`.ptr);
    set_field_opts(fields[0], O_VISIBLE | O_PUBLIC | O_EDIT | O_ACTIVE);
    set_field_back(fields[0], A_UNDERLINE);

    FORM *form = new_form(cast(FIELD**)fields);
    set_form_win(form, win);
    set_form_sub(form, derwin(win, 3, 38, 1, 1));
    post_form(form);
    wrefresh(win);

    string password;
    bool stop = false;
    int ch, status;

    while (!stop && (ch = wgetch(win)) != KEY_F(2)) {
        switch (ch) {
            case KEY_BACKSPACE:
                form_driver(form, REQ_DEL_PREV);
                if (password.length)
                    password = password[0 .. $ - 1];
                break;
            case 32:
                break;
            case 10:
            case KEY_ENTER:
                stop = true;
                break;
            default:
                status = form_driver(form, ch);
                if( status == E_OK ) {
                    status = form_driver(form, REQ_VALIDATION);
                }
                if (status == E_INVALID_FIELD) {
                    form_driver(form, REQ_DEL_PREV);
                } else {
                    password ~= ch.to!char;
                    form_driver(form, REQ_DEL_PREV);
                    form_driver(form, '*'.to!int);
                }
                break;
        }
    }

    unpost_form(form);
    free_form(form);
    free_field(fields[0]);
    endwin();

    writeln("Password: " ~ password);

    return 0;
}
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: alexanderzhirov

79074540

Date: 2024-10-10 13:10:53
Score: 2.5
Natty:
Report link

It seems the prometheus that comes with Milvus is enough to monitor my Kafka cluster. If I see need for more I will do a follow up.

Monitoring Screen

In the monitoring panel above, you can see all the monitoring metrics for consume and create topic and many other operations. Kafka and Pulsar are very mature and not usually a bottleneck in Milvus clusters so it is usually not a top concern. If you already have an enterprise Pulsar or Kafka cluster, use your same tools (or even same cluster).

Note that if you are looking at specific tools, there are many more for Apache Kafka then Apache Pulsar.

Resources

Prometheus https://milvus.io/docs/monitor.md

Kafka UI https://github.com/provectus/kafka-ui

Pulsar CLI https://pulsar.apache.org/docs/next/deploy-monitoring/

Milvus Documentation https://milvus.io/docs/monitor_overview.md#Milvus-monitoring-framework-overview

Monitoring Kafka with Prometheus and Grafana https://medium.com/@rramiz.rraza/kafka-metrics-integration-with-prometheus-and-grafana-14fe318fbb8b

Monitor Kafka with Grafana https://grafana.com/solutions/kafka/monitor/

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tim Spann

79074537

Date: 2024-10-10 13:10:53
Score: 3
Natty:
Report link
max(itms_list, key=len)

Where "len" is a one of the single-arg functions, you can pass. https://docs.python.org/3/library/functions.html#max

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): Where
  • Low reputation (0.5):
Posted by: don't blink

79074529

Date: 2024-10-10 13:08:52
Score: 0.5
Natty:
Report link

Take a look at my library, internally use Specifications. It might be right for you. Through this library your controller will be able to receive requests like this:

curl -X GET \
  'https://myexampledomain.com/persons?
  firstName=Biagio
  &lastName_startsWith=Toz
  &birthDate_gte=19910101
  &country_in=IT,FR,DE
  &address_eq=Via Roma 1,Via Milano/,1,20 West/,34th Street
  &company.name_in=Microsoft,Apple,Google
  &company.employees_between=500,5000'

or:

curl -X POST -H "Content-type: application/json" -d '{   "filter" : {
      "operator": "and", // the first filter must contain a root operator: AND, OR or NOT
      "filters" : [
        {
          "operator": "eq",
          "key": "firstName",
          "value": "Biagio"
        },
        {
          "operator": "or",
          "filters": [
            {
              "operator": "startsWith",
              "key": "lastName",
              "value": "Toz",
              "options": {
                "ignoreCase": true
              }
            },
            {
              "operator": "endsWith",
              "key": "lastName",
              "value": "ZZI",
              "options": {
                "ignoreCase": true,
                "trim" : true
              }
            }
          ]
        },
        {
          "operator": "in",
          "key": "company.name",
          "values": ["Microsoft", "Apple", "Google"]
        },
        {
          "operator": "or",
          "filters": [
            {
              "operator": "gte",
              "key": "birthDate",
              "value": "19910101"
            },
            {
              "operator": "lte",
              "key": "birthDate",
              "value": "20010101"
            }
          ]
        },
        {
          "operator": "between",
          "key" : "company.employees",
          "values": [500, 5000],
          "options": {
            "negate": true
          }
        }
      ]   },   "options": {
    "pageSize": 10,
    "pageOffset": 0,
    "sortKey": "birthDate",
    "sortDesc": false   }    }' 'https://myexampledomain.com/persons'
Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: biagioT

79074527

Date: 2024-10-10 13:07:52
Score: 5
Natty: 7.5
Report link

I tried using the code and it actually works great, the only problem is that I can't see the Company Name because I use Flexible Checkout Fields. What parameters do I need to change to make it work?

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Enzo

79074516

Date: 2024-10-10 13:04:51
Score: 4.5
Natty:
Report link

This has been resolved by https://bugzilla.mozilla.org/show_bug.cgi?id=1822065 (Version 132)

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

79074514

Date: 2024-10-10 13:04:51
Score: 3
Natty:
Report link

Installing the latest version of Rstudio solves the problem

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

79074492

Date: 2024-10-10 12:58:49
Score: 1
Natty:
Report link

According to Android Push Provisioning API docs you should send OPC like this:

Base64.encodeToString(responseBody.toByteArray(), Base64.NO_WRAP).toByteArray()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: t.jancic

79074489

Date: 2024-10-10 12:57:49
Score: 1.5
Natty:
Report link

Inline styles is the best way to style your components, the people just gets obsessed with that because seems weird but it's just that, see below:

1 - You don't need to worry about your styles don't being applied or overwritten by some theme from some UI lib.

2 - If you want to rewrite a style for a component is just to find that component and change its html, on non inline styles you need to find all css files affecting that component and if you did you're not sure if it bugged others components using the same classe you've change, have you ever seen a css with 500 rows of code?

3 - On non inline styles you have to ensure class or id you're creating doesn't exists in your project if you wanna make something new, it's a hell, and you still got to have criativity to name it classes.

4 - Last problem would lead you to use css libs, it adds extra dependencies to your project, using inline styles you don't need about learning sass etc.

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

79074466

Date: 2024-10-10 12:51:48
Score: 1
Natty:
Report link

You can add display: contents; to backdrop (.MuiMenu-root in my case) in css. I really don't understand how it works, but it works! (also it add paddind on body, so dont forget to remove it)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Олександр Горобій

79074447

Date: 2024-10-10 12:46:47
Score: 1
Natty:
Report link

If you want to use Windows git (i.e. git.exe) but still want to use a WSL editor, you can configure git like this: git.exe config --global core.editor "wsl.exe vim" The presense of wsl.exe is due to git.exe not being able to run a linux program

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

79074433

Date: 2024-10-10 12:40:44
Score: 5.5
Natty:
Report link

I am having the same problem. I just update my angular from 17 to 18

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same problem
  • Low reputation (1):
Posted by: Don Peter C. Atunalu

79074425

Date: 2024-10-10 12:36:44
Score: 2.5
Natty:
Report link

About Spring Cloud (in section "Adding Spring Cloud To An Existing Spring Boot Application"): https://spring.io/projects/spring-cloud

About Spring Boot Managed dependencies: https://docs.spring.io/spring-boot/appendix/dependency-versions/coordinates.html

Bonus Tip: You can override version using the same properties as stated in the table I linked

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

79074418

Date: 2024-10-10 12:36:44
Score: 2
Natty:
Report link

If you save a copy of the model in the text MDL format, that can be edited in an ordinary text editor. Close it in Simulink first though.

Alternatively, write a script which uses a combination of find_system and set_param to make the changes. First make a backup copy of your model.

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

79074415

Date: 2024-10-10 12:34:43
Score: 2.5
Natty:
Report link

An Element object has two attributes of interest here:

So all you need is this:

import xml.etree.ElementTree as ET
root = ET.parse('sample.xml').getroot()
for child in root:
    output = child.text
    for grandchild in child:
        output += ET.tostring(grandchild, encoding="unicode")
    print(output)

Output is:

My name is <b>Wrufesh</b>. What is yours?
Reasons:
  • Blacklisted phrase (1): What is your
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Alex Ball

79074409

Date: 2024-10-10 12:32:43
Score: 0.5
Natty:
Report link

If you want dynamics queries based on user input, take a look at my library, internally use Specifications. It might be right for you. Through this library your controller will be able to receive requests like this:

curl -X GET \
  'https://myexampledomain.com/persons?
  firstName=Biagio
  &lastName_startsWith=Toz
  &birthDate_gte=19910101
  &country_in=IT,FR,DE
  &address_eq=Via Roma 1,Via Milano/,1,20 West/,34th Street
  &company.name_in=Microsoft,Apple,Google
  &company.employees_between=500,5000'

or:

curl -X POST -H "Content-type: application/json" -d '{   "filter" : {
      "operator": "and", // the first filter must contain a root operator: AND, OR or NOT
      "filters" : [
        {
          "operator": "eq",
          "key": "firstName",
          "value": "Biagio"
        },
        {
          "operator": "or",
          "filters": [
            {
              "operator": "startsWith",
              "key": "lastName",
              "value": "Toz",
              "options": {
                "ignoreCase": true
              }
            },
            {
              "operator": "endsWith",
              "key": "lastName",
              "value": "ZZI",
              "options": {
                "ignoreCase": true,
                "trim" : true
              }
            }
          ]
        },
        {
          "operator": "in",
          "key": "company.name",
          "values": ["Microsoft", "Apple", "Google"]
        },
        {
          "operator": "or",
          "filters": [
            {
              "operator": "gte",
              "key": "birthDate",
              "value": "19910101"
            },
            {
              "operator": "lte",
              "key": "birthDate",
              "value": "20010101"
            }
          ]
        },
        {
          "operator": "between",
          "key" : "company.employees",
          "values": [500, 5000],
          "options": {
            "negate": true
          }
        }
      ]   },   "options": {
    "pageSize": 10,
    "pageOffset": 0,
    "sortKey": "birthDate",
    "sortDesc": false   }    }' 'https://myexampledomain.com/persons'
Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: biagioT

79074407

Date: 2024-10-10 12:31:42
Score: 1.5
Natty:
Report link

solved: the height of graphs must be explicitly stated, in one of two ways.

  1. update the style of the dcc.Graph object, ie dcc.Graph(style={"height": 600px}, figure=...}
  2. change the height property in update_layout().

You could also create a CSS class to update the style. in the above case, I set the height of the left graph to 600px and the height of the left graphs to 285px, so that twice their height + margin and padding was = the height of the left graph.

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

79074391

Date: 2024-10-10 12:28:41
Score: 3.5
Natty:
Report link

I have faced this recently and adding "Use Any API Client" permission set has solved the problem. Latest documentation to check if your org has API whitelisting: https://help.salesforce.com/s/articleView?id=sf.security_api_access_control_all_users.htm&type=5

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

79074386

Date: 2024-10-10 12:27:41
Score: 3
Natty:
Report link

Best option is to use remote to change any audio object's volume.

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

79074381

Date: 2024-10-10 12:26:41
Score: 2
Natty:
Report link

That is not possible.

Since a fork is just a bare copy of the upstream repo, it will compare and sync branches by name.

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

79074376

Date: 2024-10-10 12:25:41
Score: 3
Natty:
Report link

use NodeJs to connect Vb.Net and Whatsapp

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

79074366

Date: 2024-10-10 12:23:40
Score: 1.5
Natty:
Report link

Fontawesome disables animations with the media query prefers-reduced-motion.

Therefore it is important to configure your user preferences accordingly to not block them.

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

79074357

Date: 2024-10-10 12:21:39
Score: 0.5
Natty:
Report link

I had the same problem and followed the steps of @Sanjayrajsinh but after i had some other weird build issues and then i came across this answer and that solved it for me after being stuck for a couple of hours. It had also a comment with the same issues I had so its worth checking it out.

So after redownloading the gradle JDK version 17 again, sync, clean, restart machine, and sync and build and it worked with me.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • User mentioned (1): @Sanjayrajsinh
  • Low reputation (1):
Posted by: Mafken

79074356

Date: 2024-10-10 12:20:39
Score: 0.5
Natty:
Report link

With latest yq syntax:

curl -sS https://charts.helm.sh/stable/index.yaml | 
    yq  '.entries[].[] | pick(["name", "version"]) | . style="flow"'

result:

{name: acs-engine-autoscaler, version: 2.2.2}
{name: acs-engine-autoscaler, version: 2.2.1}
{name: acs-engine-autoscaler, version: 2.2.0}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dmitry