79253012

Date: 2024-12-04 23:40:55
Score: 0.5
Natty:
Report link

Try like that:

        <form action="/delete" method="POST">
            <input type="hidden" name="index" value="<%= index %>" />
            <input type="submit" value="POST IS DONE" class="donebtn" />
        </form>

Then you should a POST request to /delete with index value in the payload

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

79253003

Date: 2024-12-04 23:34:54
Score: 2
Natty:
Report link

This is GCC's bug.
Several tickets describe this behavior as undesired:

-Wsystem-headers should not be required in this case, as diagnosed construct occurs inside of user's code, not in system header. The macro itself comes from system header, but it is not expanded there.

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

79252999

Date: 2024-12-04 23:29:53
Score: 1
Natty:
Report link

Another way using SELF JOIN

Fiddle

SELECT DISTINCT v1.viewer_id
FROM views v1
JOIN views v2
    ON v1.viewer_id = v2.viewer_id
    AND v1.view_date = v2.view_date
    AND v1.article_id <> v2.article_id
ORDER BY v1.viewer_id;

Output

enter image description here

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

79252984

Date: 2024-12-04 23:19:51
Score: 1.5
Natty:
Report link

You need to use DISTINCT within LISTAGG

Fiddle

SELECT col0,
       LISTAGG(DISTINCT col1, ',') WITHIN GROUP (ORDER BY col1) AS col1
FROM test
GROUP BY col0;

Output

enter image description here

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

79252974

Date: 2024-12-04 23:12:50
Score: 0.5
Natty:
Report link

Not Sure this one can help you. Please take a look. IntrinsicSize.Max can cause unintended behavior in layout calculation, especially with the combination of fillMaxHeight().

@Composable
fun WeatherCardWithTopBar(title: String, text: String, icon: ImageVector) {
    Card(
        modifier = Modifier.padding(8.dp) // External padding to adjust card spacing
    ) {
        Row(
            modifier = Modifier
                .fillMaxWidth()
                .padding(8.dp), // Internal padding for Row
        ) {
            // Left side column with background and centered content
            Column(
                modifier = Modifier
                    .fillMaxWidth(0.20f)
                    .background(MaterialTheme.colorScheme.secondary)
                    .padding(8.dp),
                horizontalAlignment = Alignment.CenterHorizontally,
                verticalArrangement = Arrangement.Center, // Center content vertically
            ) {
                Icon(
                    imageVector = icon,
                    modifier = Modifier.size(48.dp),
                    contentDescription = "Weather",
                    tint = MaterialTheme.colorScheme.onSecondary,
                )
                Text(
                    text = title,
                    modifier = Modifier.padding(top = 8.dp), // Adjusted padding for text
                    style = MaterialTheme.typography.titleLarge,
                    color = MaterialTheme.colorScheme.onSecondary,
                )
            }
            // Right side column for additional text
            Column(
                modifier = Modifier
                    .weight(1f) // Fills the remaining width of the Row
                    .padding(start = 16.dp) // Padding between columns
            ) {
                Text(
                    text = text,
                    style = MaterialTheme.typography.bodyMedium,
                )
            }
        }
    }
}

Result: enter image description here

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

79252968

Date: 2024-12-04 23:07:48
Score: 5
Natty:
Report link

I have found a solution for my problem in this video

Reasons:
  • Blacklisted phrase (1): this video
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hossam Hassan

79252955

Date: 2024-12-04 23:03:47
Score: 1
Natty:
Report link

The current recommended way to authenticate your applications hosted in prod environments is Workload Identity Pools

Also, you can deploy your app to App Engine, which has it's own service account whose permissions can be tailored. These credentials are automatically injected as application-default credentials.

Another way (not recommended) is to host a SA key in your deployment environment, which would likely point to a similar credentials file.

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

79252949

Date: 2024-12-04 23:00:46
Score: 0.5
Natty:
Report link

In order for Altair to know that you want to highlight all items with the same symbol as the selection, you need to provide a fields argument to the selection.

enter image description here

import altair as alt
from vega_datasets import data
import pandas as pd

stocks = data.stocks()
source = (
    stocks.groupby([pd.Grouper(key="date", freq="6MS"), "symbol"])
    .mean()
    .reset_index()
)

hover_select = alt.selection_point(
    name="hover_select", on="pointerover", empty=False, fields=["symbol"]
)
conditional_color = (
    alt.when(hover_select)
    .then(alt.Color("symbol:N"))
    .otherwise(alt.value("lightgray"))
)

alt.Chart(source).mark_line(point=True).encode(
    x=alt.X("date:O").timeUnit("yearmonth").title("date"),
    y="rank:O",
    color=conditional_color,
).add_params(hover_select).transform_window(
    rank="rank()",
    sort=[alt.SortField("price", order="descending")],
    groupby=["date"],
).properties(
    title="Bump Chart for Stock Prices",
    width=600,
    height=150,
)
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kgoodrick

79252935

Date: 2024-12-04 22:55:45
Score: 1.5
Natty:
Report link

Try use SQLPlus, which can be used to extract data from Oracle7 directly. You could write scripts in SQLPlus to extract data, then use Python to process the exported data (e.g., CSV files).

An Example using python:

import subprocess

command = "sqlplus -S username/password@your_database @your_script.sql" subprocess.run(command, shell=True)

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

79252934

Date: 2024-12-04 22:54:44
Score: 6.5 🚩
Natty:
Report link

Your applications should suffer no side effects when using a custom user registry deployed as a bell. Since your UserRegistry service implementation is provided by a shared library, you should avoid referencing bellsCurLib within any <classloader/> configurations.

The <bell/> configuration references a shared library, which includes all binaries and resources required by your UserRegistry service implementation except for Open Liberty API/SPI and java packages. I'm not aware of a "cleaner" way to assemble the required dependencies into a single library jar, but you needn't deploy a single library jar as this tutorial suggests. You can cache the dependencies to a reserved location in the server environment and configure the library to also include these dependencies.

<variable name="oss.dependencies.dir" value="/some/root/path/containing/oss/jars/and/resources/" />

<library id="bellsCurLib" name="bellsCurLib">
    <file name="${server.config.dir}/resources/ol-cur.jar" />
    <fileset dir="${oss.dependencies.dir}" include="file-name-pattern-1, file-name-pattern-2, ..." />
    <folder dir="${oss.dependencies.dir}/path/containing/resources/" /> 
</library>

FYI, your shared library referenced by the bell requires the UserRegistry interface, which is an Open Liberty API of type ibm-api. The server makes this API type available to libraries by default. So, your <library/> configuration is fine in this regard -- you needn't configure the apiTypeVisibility attribute of the <library/> to make the API available to the service implementation. SPI visibility for libraries referenced by a bell is a relatively new feature. Unless your service implementation also requires SPI, you needn't configure attribute spiVisibility="true" in the <bell/>. And that begs the question: Did you find a user document that mentions attribute enableSpiVisibility? If so, please post a reference as the document contains a typo. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): this tutorial
  • RegEx Blacklisted phrase (2.5): please post
  • RegEx Blacklisted phrase (3): Did you find a
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Dave Zavala

79252928

Date: 2024-12-04 22:53:43
Score: 4
Natty:
Report link

in short it didnot work BRATHAR !

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

79252926

Date: 2024-12-04 22:52:41
Score: 6.5 🚩
Natty: 5.5
Report link

If I want to use this with System.Text.Json and not with Newtonsoft.Json?

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Maurix

79252917

Date: 2024-12-04 22:46:40
Score: 0.5
Natty:
Report link

In my understanding MVCC's primary use case is to use interactive transactions over iproto. I don't know about a cost of a really long living transaction, but (as far as I understand) MVCC is not designed for analytical queries. It is for OLAP workloads.

Tarantool Enterprise Edition offers user read views that has a C API that can be used from a separate thread. It is for analytics.

For Tarantool Community Edition I would suggest to join an anonymous replica to perform analytic queries. This way it doesn't affect the primary (OLTP) workload. However, it costs the memory.

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

79252915

Date: 2024-12-04 22:46:40
Score: 2.5
Natty:
Report link

That's sad.. I was building something to display the audiofeatures etc. I guess Spotify disabled it because they're afraid someone would use them with AI as they clearly just did in their Wrappded.

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

79252909

Date: 2024-12-04 22:43:39
Score: 1
Natty:
Report link

I found the problem:

const { listen } = window.__TAURI__.event.listen;

and then using listen does not work. Instead, using

window.__TAURI__.event.listen('emit_from_rust', (event) => {
  testMsgEl.innerHTML = event.payload;
});

directly in the code just does what I wanted it to do.

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

79252899

Date: 2024-12-04 22:36:37
Score: 5.5
Natty: 5.5
Report link

how would i do the opposite? remove any row that does not contain "somme" in columns C or D?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): how would i
  • Low reputation (1):
Posted by: Lynn

79252894

Date: 2024-12-04 22:34:36
Score: 0.5
Natty:
Report link

Does something like this work, in a Formula tool:

IF left(trim([field]),1) in ('1','2','3','4') THEN
    left(trim([field]),1)
ELSE
    [field]
ENDIF
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: johnjps111

79252888

Date: 2024-12-04 22:30:34
Score: 2.5
Natty:
Report link

I was using eclipse version 24-09 and was just offered an update to 24-12. After that update the problem disappeared. Full version details : Version: 2024-12 (4.34.0) Build id: 20241128-0757

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

79252866

Date: 2024-12-04 22:15:30
Score: 4.5
Natty:
Report link

ABCNIKOLASOPASDFGHJKLQWERTYUIO

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

79252849

Date: 2024-12-04 22:05:28
Score: 1
Natty:
Report link

First of all, you need to handle the connection of each client in a non-blocking manner, you can see python socketserver.

In each connection, you need to read the buffer depending on the client-server logic:

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

79252834

Date: 2024-12-04 21:57:26
Score: 1
Natty:
Report link

Change type of the selector parameter to Expression<Func<T, TResult>>. But why not simply expose the DbSet<TEntity> as an IQueryable<TEntity>?

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

79252821

Date: 2024-12-04 21:48:24
Score: 0.5
Natty:
Report link

The four terms are usually used with regard to tests such as Covid or Polio tests, but in this context, we might take the "prediction" as the output of a test.

True positive means that the test result correctly indicated a positive result, for example "has Polio". In a test setting this would be verified by means other than the original test, perhaps sophisticated DNA sequencing (I don't know).

True negative means that the test result correctly indicated a negative result. The test said "no Polio" and no Polio could be found by any means.

False positive means the test indicated a positive result but it was wrong. For example test said "has Polio" and no Polio could be found.

False negative means the test indicated negative result but it was wrong. The test might say "has no Polio" but other more expensive tests show the presence of Polio.

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

79252817

Date: 2024-12-04 21:46:23
Score: 1.5
Natty:
Report link

https://csharpier.com/ wraps to less than 80 characters. It's a good option for legibility.

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

79252815

Date: 2024-12-04 21:46:23
Score: 2
Natty:
Report link

Related to this post CSS3 - How to "restore"::-webkit-scrollbar property to the default scroll bar. If you set -webkit-scrollbar-thumb to all:unset or set auto value for all properties it should reset whole scrollbar styles However it seems it doesn't work in the recent version of Chrome

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

79252812

Date: 2024-12-04 21:46:23
Score: 2.5
Natty:
Report link

If someone is still looking for the answer, function calling is supported only by a limited number of models. Use llama3.2.

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

79252809

Date: 2024-12-04 21:45:23
Score: 1
Natty:
Report link

Thank you everyone.. with your input I came up with this

public class MyStack
{
    public IDisposable Transaction()
    {
        return new UndoStackTransaction(this);
    }

    public void BeginCommit()
    {
    }

    public void EndCommit()
    {
    }

    public class UndoStackTransaction : IDisposable
    {
        private MyStack _myStack;

        public UndoStackTransaction(MyStack undoStack)
        {
            _myStack = undoStack;
            _myStack.BeginCommit();
        }

        ~UndoStackTransaction() => Dispose(false);

        public void Dispose()
        {
            Dispose(true);
            GC.SuppressFinalize(this);
        }

        protected virtual void Dispose(bool disposing)
        {
            _myStack.EndCommit();
        }
    }
}

Which allows me to do this....

   using (var transaction = stack.Transaction())
   {
       //Do Something
   }
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Stetson

79252808

Date: 2024-12-04 21:45:23
Score: 4.5
Natty: 5
Report link

Thank you, it is useful today for me!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tammy Alemu

79252793

Date: 2024-12-04 21:38:20
Score: 3.5
Natty:
Report link

j'ai paas compris, mon code fait des kegfjhgsdqjfqgsjfgquksgqf,gsjhfqfjkqgk

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

79252777

Date: 2024-12-04 21:29:18
Score: 1.5
Natty:
Report link

For those looking to move the orientation of the assistant (e.x. build timeline) at the right side, tap the Venn diagram circles Venn diagram > Layout > Assistant on Bottom/Right.

See screenshot here:

Assistant On Bottom

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

79252773

Date: 2024-12-04 21:28:18
Score: 2
Natty:
Report link

spark = SparkSession.builder
.config("spark.jars.packages", "com.datastax.spark:spark-cassandra-connector_2.12:3.0.0")

you should add the connector with config name spark.jars.packages and com.datastax.spark:

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yassine Bøumrazne

79252763

Date: 2024-12-04 21:24:17
Score: 1
Natty:
Report link

For Windows 2022 custom AMI,

ec2 instances created using custom AMI were not running userdata.

You need to run sysprep shutdown command while creating AMI. So when you create ec2 instance using this custom AMI, it will run userdata.

"& 'C:\Program Files\Amazon\EC2Launch\EC2Launch.exe' sysprep --shutdown"

I followed this references for sysprep command since I used Packer to create AMI. https://gonzalo.f-v.es/blog/2022-10-14-windows-2022-eks/

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

79252762

Date: 2024-12-04 21:24:17
Score: 3
Natty:
Report link

Check out my project where we used SNS to send emails and dynamically created topics. The code is a bit messy but it's honest work—Github Netflix-like serverless AWS app.

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: OgnjenGligoric

79252760

Date: 2024-12-04 21:23:16
Score: 5
Natty:
Report link

Finally, I found the answer here: https://datatables.net/forums/discussion/71938/loop-with-columns-searchpanes-options

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

79252759

Date: 2024-12-04 21:22:15
Score: 4
Natty:
Report link

is there a way to actually handle this exception in the azure function code? Understand that the function instance has timed out, so probably not possible. But curious to see ways people have handled this.

Understand, this possibly brings up have discussions around using durable functions

Reasons:
  • Blacklisted phrase (1): is there a way
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): is there a
  • Low reputation (1):
Posted by: chigz

79252757

Date: 2024-12-04 21:22:15
Score: 1
Natty:
Report link

I had a similar problem here while trying to test sending messages using a template with Marketing format.

Messages using templates with Utility format were being delivered while messages using templates using Marketing format were not.

Turns out WhatsApp limits the number of Marketing messages a number can receive. You can only send more marketing messages if the user replies to the first or second message.

After I replied to the last message, the new messages started to be delivered again.

For more info: https://developers.facebook.com/docs/whatsapp/cloud-api/guides/send-message-templates#per-user-marketing-template-message-limits

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

79252756

Date: 2024-12-04 21:20:14
Score: 0.5
Natty:
Report link

This is required by 3.4.2 of the JPA specification (2.1 that I'm looking at):

"All non-relationship fields and properties and all relationships owned by the entity are included in version checks[35]."

and

"[35] This includes owned relationships maintained in join tables."

If you want to avoid this, switch the owning side of the relationship so Workers (which doesn't have optimistic locking) owns it.

Alternatively, you'll need to use native Hibernate API to bypass versions: https://stackoverflow.com/questions/33972564/is-it-possible-to-turn-off-hibernate-version-increment-for-particular-update#:~:text=Hibernate%20Optimistic%20Locking%20can%20be%20bypassed%20using%20hibernate,%2F%2FDetaching%20to%20prevent%20hibernate%20to%20spot%20dirty%20fields.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Chris

79252754

Date: 2024-12-04 21:19:14
Score: 1
Natty:
Report link

Since you cloned React Vite project from Github, your project doesn't use a start script but has a different entry point dev, so use:

npm run dev

For it to start and open on the browser.

Note: this will only work after you have run npm install or npm i after cloning.

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

79252749

Date: 2024-12-04 21:18:13
Score: 5.5
Natty: 5
Report link

Hi fellow SharePoint admins,

PowerShell like in this article can work well, however, I just want to share a new tool to build these SharePoint Permission reports, that we (Cognillo) are now offering for free with the new SharePoint Essentials Toolkit 2025 release.

Yes, it is completely free.

Here is an article that explains how to get it and what it includes.

https://www.cognillo.com/blog/free-sharepoint-permission-reports

Maybe you have a need for this as well, it has no cost and it also can do SharePoint Site Analytics, copying of lists and libraries for free in this Community Edition.

We are providing this for free in hopes some organizations will like the tool and opt to purchase some of the paid features, such as broken link fixing and clean up utilities.

Thank you! Please share!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): this article
  • RegEx Blacklisted phrase (2.5): Please share
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Greg

79252748

Date: 2024-12-04 21:18:13
Score: 1
Natty:
Report link

I was encountering this error whilst starting mysql that was installed VIA BREW, mysql was working perfectly all this time until last week i started it and ran into this pretty fella. I get the same error when running brew services start mysql:

\W $mysql.server start
Starting MySQL
. ERROR! The server quit without updating PID file (/opt/homebrew/var/mysql/MYDEVICE.local.pid).

What worked for me was this. I first ran brew info mysql

\W $brew info mysql
==> mysql: stable 9.0.1 (bottled)
Open source relational database management system
https://dev.mysql.com/doc/refman/9.0/en/
Conflicts with:
  mariadb (because both install the same binaries)
  percona-server (because both install the same binaries)
Installed
/opt/homebrew/Cellar/mysql/9.0.1_7 (324 files, 308.8MB) *
  Poured from bottle using the formulae.brew.sh API on 2024-12-01 at 17:32:40
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/m/mysql.rb
License: GPL-2.0-only WITH Universal-FOSS-exception-1.0
==> Dependencies
Build: bison ✘, cmake ✘, pkgconf ✔
Required: abseil ✔, icu4c@76 ✔, lz4 ✔, openssl@3 ✔, protobuf ✔, zlib ✔, zstd ✔
==> Caveats
Upgrading from MySQL <8.4 to MySQL >9.0 requires running MySQL 8.4 first:
 - brew services stop mysql
 - brew install [email protected]
 - brew services start [email protected]
 - brew services stop [email protected]
 - brew services start mysql

We've installed your MySQL database without a root password. To secure it run:
    mysql_secure_installation

MySQL is configured to only allow connections from localhost by default

To connect run:
    mysql -u root

To restart mysql after an upgrade:
  brew services restart mysql
Or, if you don't want/need a background service you can just run:
  /opt/homebrew/opt/mysql/bin/mysqld_safe --datadir\=/opt/homebrew/var/mysql
==> Analytics
install: 52,958 (30 days), 178,060 (90 days), 559,619 (365 days)
install-on-request: 52,905 (30 days), 177,876 (90 days), 558,518 (365 days)
build-error: 616 (30 days)
\W $

The important bit was:

==> Caveats
Upgrading from MySQL <8.4 to MySQL >9.0 requires running MySQL 8.4 first:
 - brew services stop mysql
 - brew install [email protected]
 - brew services start [email protected]
 - brew services stop [email protected]
 - brew services start mysql

So i just followed those exact steps and I no longer encountered that error when running brew services start mysql

Note: While installing version 8.4 i also ran these commands too that come whiles installing mysql8.4 (VIA BREW)

If you need to have [email protected] first in your PATH, run:
  echo 'export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"' >> ~/.zshrc

For compilers to find [email protected] you may need to set:
  export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib"
  export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include"

For pkg-config to find [email protected] you may need to set:
  export PKG_CONFIG_PATH="/opt/homebrew/opt/[email protected]/lib/pkgconfig"

If anyone is using brew, hope this helps.

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (1): I get the same error
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I get the same error
  • Low reputation (1):
Posted by: Gavin Simpson

79252747

Date: 2024-12-04 21:18:13
Score: 2.5
Natty:
Report link

By the way, as a workaround you could use @Import(DateTimeConfigurer.class) annotation

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

79252741

Date: 2024-12-04 21:15:12
Score: 2.5
Natty:
Report link

The problem surprisingly resolved after I removed ContentType header from RestClient. Hope this helps anyone who will struggle with this.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Danzilla

79252729

Date: 2024-12-04 21:11:11
Score: 2.5
Natty:
Report link

You can see and remove what's installed by going to Xcode -> Settings -> Components.

enter image description here

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

79252727

Date: 2024-12-04 21:11:11
Score: 1
Natty:
Report link

Do you also have authentication enabled using App Service Auth/Easy Auth (this: https://learn.microsoft.com/en-us/azure/app-service/overview-authentication-authorization) - doing so could result in you having app registrations with the same name as the web apps, if you just accept the values that setup gives you as given.

To answer your question, no, a managed identity does not generate an app registration that you can manage; it is only an enterprise app.

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

79252725

Date: 2024-12-04 21:10:11
Score: 2.5
Natty:
Report link

you shoud open in Visual studio Code your "fullcalendar.min.js" file and find code row nr 4447-4449 and there manually write min and max time. in fullcalendar3 it is this rows but in other version of fullcalendar it can be different.

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

79252717

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

Few other approaches:

Fiddle

Approach 1

Check where the occupation is only scientist

SELECT department_id
FROM Department
GROUP BY department_id
HAVING COUNT(DISTINCT occupation) = 1
   AND MAX(occupation) = 'Scientist';

Approach 2

SELECT department_id
FROM Department d
WHERE NOT EXISTS (
    SELECT 1
    FROM Department d2
    WHERE d.department_id = d2.department_id
    AND d2.occupation != 'Scientist'
)
GROUP BY department_id;

Output

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: samhita

79252716

Date: 2024-12-04 21:05:08
Score: 7 🚩
Natty: 4
Report link

I ran into the same problem. I feel like right after the build time, Xcode syncs the localization and updates the catalog. We can see the localization sync result in the report navigator from the left side panel of Xcode. Did you find a viable solution for your CI?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: chu31g

79252715

Date: 2024-12-04 21:05:08
Score: 1.5
Natty:
Report link

To simulate the auto form-fill functionality of a website in your application using HTML Agility Pack (HAP), you must handle the dynamic behavior that websites typically execute through JavaScript. Since HAP doesn't execute JavaScript, you will need to reverse-engineer how the form is populated and reproduce that logic in your code.

This involves:

  1. Analyzing the Website's Behavior
  2. Manipulating the HTML
  3. Simulating Script Logic
  4. Posting the Data
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Priyansh Kavani

79252708

Date: 2024-12-04 21:02:07
Score: 1
Natty:
Report link

Depending on what version of node you are using I would just setup an Observable or whatever front end library I am using implementation of it. You can find example of this all over stack.

How to observe value changes in JS variables

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

79252696

Date: 2024-12-04 20:58:06
Score: 2.5
Natty:
Report link

The question is quite old but I just run into the same situation.

I ended up releasing a library for this.

https://github.com/rrd108/simplepay-js-sdk

Reasons:
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
Posted by: rrd

79252691

Date: 2024-12-04 20:56:06
Score: 0.5
Natty:
Report link

try printing the dominoes variable

print(dominoes)

Jupyter automatically prints the output when you write a variable name in one line, but it is not the case in other shell or IDEs. you need to explicitly tell them to print the output on screen

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

79252689

Date: 2024-12-04 20:55:05
Score: 4
Natty:
Report link

That is happening because gphoto2 only works on Linux, when I try to install it on Windows I also get this error.

Reasons:
  • RegEx Blacklisted phrase (1): I also get this error
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Galaxy Studios

79252686

Date: 2024-12-04 20:54:04
Score: 3
Natty:
Report link

You can also use http://solanastreaming.com/ ... a stream of all new raydium pairs over websocket. Quick and easy to get started

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

79252678

Date: 2024-12-04 20:49:03
Score: 0.5
Natty:
Report link

With Markdown Reader on Chrome [file Name](//C:/Path/to/file/file.md) worked.
So, replacing file:///C:/Path/to/file/file.md with //C:/Path/to/file/file.md worked for me.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yves Guillo

79252664

Date: 2024-12-04 20:44:00
Score: 5
Natty: 8
Report link

Bud what if I need future option on ES? What symbol I have to use? This code works for SPY but does not for ES. Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Josef Cvrček

79252660

Date: 2024-12-04 20:42:00
Score: 3.5
Natty:
Report link

I managed to solve the problem by simply updating Unreal Engine. After the update, all errors were resolved, and the Blake3 package installed without any issues.

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

79252631

Date: 2024-12-04 20:31:56
Score: 2
Natty:
Report link

Was on VS2019 SSIS seeing this error all of the sudden. Both SSDT and SSIS were installed in my VS.

What worked is simply to uninstall and reinstall SSIS extension for Visual Studio (Microsoft.DataTools.IntegrationServices.exe) and it's working again, even running with Run64BitRunTime=True.

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

79252625

Date: 2024-12-04 20:29:56
Score: 3
Natty:
Report link

It's sufficent to switch from the terminal console to the output window and running the code using the arrow in the top right of the IDE

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

79252611

Date: 2024-12-04 20:24:54
Score: 0.5
Natty:
Report link
import kotlin.random.Random

fun sortedList(intArray: IntArray) = intArray.filter { it % 2 != 0 }.sorted()

fun main(){
val intArray = IntArray(10) { Random.nextInt(0, 100) }
sortedList(intArray)
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Varun Chandran

79252609

Date: 2024-12-04 20:23:54
Score: 0.5
Natty:
Report link

In Solana, you can use the account-based storage model with PDAs (Program Derived Addresses) to create a global hashmap. Each key-value pair can be stored in a unique account, with the key serving as part of the PDA seed. To calculate rent exemption, use Solana's get_minimum_balance_for_rent_exemption function based on the serialized data size. For a single global hashmap, manage entries via program logic, serializing/deserializing the keys and values efficiently with libraries like borsh.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ledgermuminary55

79252608

Date: 2024-12-04 20:23:53
Score: 9 🚩
Natty: 5.5
Report link

I have the same issue. You said the gif needs to be unoptimised. How did you do it?

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Michel Michaud

79252605

Date: 2024-12-04 20:21:52
Score: 0.5
Natty:
Report link

This is what really worked for me

add_action('pre_get_comments', function($query) {
    if ( !is_admin()) {
        $query->query_vars['order'] = 'DESC';
    }
});

Intercepting comments_template_query_args still did not work as pagination sorting is messed.

Reasons:
  • Blacklisted phrase (1): did not work
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Deniss

79252602

Date: 2024-12-04 20:20:52
Score: 1
Natty:
Report link

I know some ways that can fix certain whitespace issues:

  1. Go to File-> settings-> editor -> Code Style -> [choose the language] -> other ,check "add line feed at the end of file" (see picture 1). This ensures proper whitespace at the end of files. Moreover, you can customize the whitespace preferences for your language here; For example spaces around operators, blank lines between code blocks picture 1

  2. go to File -> Settings -> Tools -> Action on Save . Enable "Reformat code" (see picture 2). This will run the formatter on the file every time you save and fix whitespace and other style issues based on your code style settings automatically. picture 2

I hope these ways are useful for you.


Note that, I am using pycharm 2022.2 (Professional Edition)

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

79252591

Date: 2024-12-04 20:16:51
Score: 0.5
Natty:
Report link

Its almost same as the above answer, I have used CASE instead of PIVOT.

Fiddle

WITH NumberedEquipment AS (
    SELECT
        Eqp,
        Date_col,
        Value1,
        ROW_NUMBER() OVER (PARTITION BY Date_col, Value1 ORDER BY Eqp) AS Row_Num
    FROM test_table
)
SELECT
    MAX(CASE WHEN Row_Num = 1 THEN Eqp END) AS "Eqp",
    MAX(CASE WHEN Row_Num = 2 THEN Eqp END) AS "Another Eqp",
    Date_col,
    Value1
FROM NumberedEquipment
GROUP BY Date_col, Value1;

Output

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: samhita

79252590

Date: 2024-12-04 20:16:51
Score: 1.5
Natty:
Report link

Regarding the Ray integration question, I would think Ray Serve can be something suitable for the use case to serve online requests in parallel and with some computation. The library is a general framework to set up multiple replicas for logic to handle incoming requests and can be scaled up to run across a Ray cluster.

In addition, Ray Serve supports Resource Allocation. With that, you should be able to specify necessary GPU device for each replica.

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

79252589

Date: 2024-12-04 20:16:51
Score: 2
Natty:
Report link

I found delim_whitespace and astype(float) to be working. Is this what you are looking for?

data_Test = pd.read_csv("TestData.txt", header=None, delim_whitespace=True)
data_Test = data_Test.astype(float)
print("TestData (first 5 rows):\n", data_Test[:5])

Output

    0     1     2
0   7.9   0.60  0.060
1   7.5   0.50  0.036
2   7.8   0.61  0.029
3   8.5   0.28  0.056
4   8.1   0.56  0.028

TestData.txt

7.9000000e+00   6.0000000e-01  6.0000000e-02
7.5000000e+00    5.0000000e-01   3.6000000e-02
7.8000000e+00    6.1000000e-01   2.9000000e-02
8.5000000e+00    2.8000000e-01   5.6000000e-02
8.1000000e+00    5.6000000e-01   2.8000000e-02
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dauinh

79252580

Date: 2024-12-04 20:11:50
Score: 0.5
Natty:
Report link

Thsi is not a bug. This is a known issue. Please see the comment above the line that has the exception. It explains that this is the expected behavior. However, Microsoft plans to address this in a future release: https://github.com/dotnet/aspnetcore/pull/58573

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

79252562

Date: 2024-12-04 20:03:48
Score: 3
Natty:
Report link

So as a last resport, I fully uninstalled Chrome from my PC and reinstalled it again and it seems to be working now. Might have been an issue with path to the Chrome browser, however weirdly enough, hardcoding the path did not resolve it...

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

79252557

Date: 2024-12-04 20:02:48
Score: 3.5
Natty:
Report link

Read this doc https://laravel.com/docs/11.x/installation And follow accordingly for the stacks.

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

79252550

Date: 2024-12-04 19:58:46
Score: 4.5
Natty:
Report link

Hope you are using @RequestBody tag along with @Valid tag.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @RequestBody
  • User mentioned (0): @Valid
  • Single line (0.5):
  • Low reputation (1):
Posted by: Khushali S

79252545

Date: 2024-12-04 19:55:46
Score: 1
Natty:
Report link

To solve my problem I follow a example shared by @Gastón Schabas, I transformed my route object in a Class, create a ZLayer and insert it in a ZIO provide in a Main class :

package br.com.flashcards

import br.com.flashcards.adapter.endpoint.DeckEndpoint
import br.com.flashcards.config.EndpointConfig
import br.com.flashcards.core.service.impl.DeckService
import br.com.flashcards.core.service.query.impl.DeckQueryService
import sttp.tapir.server.interceptor.cors.CORSConfig.AllowedOrigin
import sttp.tapir.server.interceptor.cors.{CORSConfig, CORSInterceptor}
import sttp.tapir.server.ziohttp.{ZioHttpInterpreter, ZioHttpServerOptions}
import zio.*
import zio.http.*

object App extends ZIOAppDefault:

  override def run: ZIO[Any with ZIOAppArgs with Scope, Any, Any] =
    val options: ZioHttpServerOptions[Any] =
      ZioHttpServerOptions.customiseInterceptors
        .corsInterceptor(
          CORSInterceptor.customOrThrow(
            CORSConfig.default.copy(
              allowedOrigin = AllowedOrigin.All
            )
          )
        )
        .options

    (for {
      endpoints <- ZIO.service[EndpointConfig]
      httpApp = ZioHttpInterpreter(options).toHttp(endpoints.endpoints)
      actualPort <- Server.install(httpApp)
      _ <- Console.printLine(s"Application zio-flashcards started")
      _ <- Console.printLine(
        s"Go to http://localhost:8080/docs to open SwaggerUI"
      )
      _ <- ZIO.never
    } yield ())
      .provide(
        EndpointConfig.layer,
        DeckRoute.layer,
        DeckService.layer,
        DeckQueryService.layer,
        Server.defaultWithPort(8080)
      )
      .exitCode

my route. Obs: I refactored my traits with insert, update, delete and find in two traits, Read and Write Traits

package br.com.flashcards.adapter.endpoint

import br.com.flashcards.adapter.endpoint.doc.DeckDocEndpoint
import br.com.flashcards.adapter.endpoint.request.{
  DeckInsertRequest,
  DeckUpdateRequest
}
import br.com.flashcards.adapter.endpoint.response.error.DeckError
import br.com.flashcards.adapter.endpoint.response.{
  DeckDetailsResponse,
  DeckInsertedResponse,
  DeckListResponse,
  DeckUpdatedResponse
}
import br.com.flashcards.core.exception.DeckException
import br.com.flashcards.core.service.query.DeckRead
import br.com.flashcards.core.service.{
  DeckWrite,
  InsertDeckDomain,
  UpdateDeckDomain
}
import io.scalaland.chimney.dsl.*
import sttp.tapir.ztapir.*
import zio.*

import java.time.OffsetDateTime

case class DeckEndpoint(
    write: DeckWrite,
    read: DeckRead
):

  val endpoints: List[ZServerEndpoint[Any, Any]] =
    List(
      listRoute(),
      findByIdRoute(),
      insertRoute(),
      updateRoute(),
      deleteRoute()
    )

  private def listRoute(): ZServerEndpoint[Any, Any] =
    def listRouteLogic() =
      read
        .list()
        .mapBoth(
          _ => DeckError.GenericError("", "", 500, OffsetDateTime.now()),
          d => d.map(_.into[DeckListResponse].transform)
        )

    DeckDocEndpoint.listEndpoint.zServerLogic(_ => listRouteLogic())

  private def findByIdRoute(): ZServerEndpoint[Any, Any] =
    def findByIdRouteLogic(
        id: Long
    ) =
      read
        .findById(id)
        .mapBoth(
          _ => DeckError.GenericError("", "", 500, OffsetDateTime.now()),
          _.into[DeckDetailsResponse].transform
        )

    DeckDocEndpoint.findByIdEndpoint.zServerLogic(p => findByIdRouteLogic(p))

  private def insertRoute(): ZServerEndpoint[Any, Any] =
    def insertRouteLogic(
        request: DeckInsertRequest
    ) =
      write
        .insert(request.into[InsertDeckDomain].transform)
        .mapBoth(
          _ => DeckError.GenericError("", "", 500, OffsetDateTime.now()),
          _.into[DeckInsertedResponse].transform
        )

    DeckDocEndpoint.insertEndpoint.zServerLogic(p => insertRouteLogic(p))

  private def updateRoute(): ZServerEndpoint[Any, Any] =
    def updateRouteLogic(
        id: Long,
        request: DeckUpdateRequest
    ) =
      write
        .update(
          request.into[UpdateDeckDomain].withFieldConst(_.id, id).transform
        )
        .mapBoth(
          _ => DeckError.GenericError("", "", 500, OffsetDateTime.now()),
          _.into[DeckUpdatedResponse].transform
        )

    DeckDocEndpoint.updateEndpoint.zServerLogic(p =>
      updateRouteLogic(p._1, p._2)
    )

  private def deleteRoute(): ZServerEndpoint[Any, Any] =
    def deleteRouteLogic(
        id: Long
    ) =
      write
        .delete(id)
        .orElseFail(DeckError.GenericError("", "", 500, OffsetDateTime.now()))

    DeckDocEndpoint.deleteEndpoint.zServerLogic(p => deleteRouteLogic(p))

object DeckRoute:

  val layer: ZLayer[
    DeckWrite & DeckRead,
    DeckException,
    DeckRoute
  ] = ZLayer.fromFunction(DeckEndpoint(_, _))

Thank you :)

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Gastón
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Jose Luiz Junior

79252540

Date: 2024-12-04 19:53:45
Score: 2.5
Natty:
Report link

Notice you are instantiating a new pool with each new call to get_redis_connection, effectively creating a new pool and one connection with each call. Instead create the pool only once and pass the same instance as connection_pool argument of aioredis.Redis.

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

79252535

Date: 2024-12-04 19:51:45
Score: 1
Natty:
Report link

I've just made a test and with no harm you can attach service with or without clusterIP to a statefulset. The only difference is that in case of a service without clusterIP (headless) nslookup will return multiple IPs (IPs of the pods) if you query service by name. In case of a service with clusterIP nslookup returns a virtual (load balanced) IP Querying service name with pod index specified returns pod IP in both cases, and therefore it is a matter of preference and not tech requirements

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

79252524

Date: 2024-12-04 19:44:43
Score: 1
Natty:
Report link

The CSRF token is generated on the server-side when a user session is initiated. This token is unique to the session and is not directly exposed to the client.

The generated CSRF token is embedded into the HTML form as a hidden input field. This hidden field is not visible to the user but is included in the form submission.

When a user submits the form, the browser automatically includes the session cookie in the request. However, the CSRF token is not automatically included by the browser. It must be explicitly extracted from the hidden field and included in the request.

Even if an attacker manages to trick a user into clicking a malicious link, they cannot directly access the CSRF token from the client-side so he/she wont get the token to perform malicious action

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

79252523

Date: 2024-12-04 19:43:41
Score: 13.5 🚩
Natty: 6.5
Report link

did you solve it yet ? I am facing the same error :(

Reasons:
  • Blacklisted phrase (1): :(
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it yet ?
  • RegEx Blacklisted phrase (1): I am facing the same error
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same error
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you solve it
  • Low reputation (1):
Posted by: Adam Yasser Abzakh

79252516

Date: 2024-12-04 19:41:38
Score: 8 🚩
Natty:
Report link

I am getting the same error in Jenkins - **Failed to connect to repository : Error performing git command: git ls-remote -h *public github url *** HEAD

I am simply setting up Jenkins pipeline for a sample pgm on my local Windows Machine (not on any instance or cloud). I have done the below steps so far already. Still getting same error.

  1. Git is installed on my Machine for Windows checked the path for C->Program Files → Git → bin → git.exe otherwise download it.
  2. Provided the location to git.exe to Jenkins Mange Jenkins → Tools → Git installations → Path to Git executable in Path to Git executable.
  3. Also added Git installation to the $PATH Environment variable to use Git under User Variable.

Still getting same error. Can someone help.

Reasons:
  • RegEx Blacklisted phrase (3): Can someone help
  • RegEx Blacklisted phrase (1): I am getting the same error
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am getting the same error
  • Me too answer (0): getting same error
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28630957

79252514

Date: 2024-12-04 19:40:37
Score: 1.5
Natty:
Report link

If UserA requests a resource from DomainB such as IIS server named ServerB, ServerB will contact Domain Controller of DomainA. Your trace is expected and technical explanation of this behaviour is detailed in the following link:

Ref: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-nrpc/70697480-f285-4836-9ca7-7bb52f18c6af

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

79252513

Date: 2024-12-04 19:40:37
Score: 2
Natty:
Report link

You may want to use the plugin below:

Structured Logging

However, it is still lacking the bulk feature. Hence, I would also recommend contacting plugin's maintainer using the link:

https://github.com/olsh/resharper-structured-logging

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

79252511

Date: 2024-12-04 19:39:37
Score: 3
Natty:
Report link

Closing this. the documentation says react-timeseries-charts does not support safari.

Ended up migrating to ChartJS instead.

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

79252504

Date: 2024-12-04 19:35:36
Score: 3.5
Natty:
Report link

For me, I reloaded my IDE - VS code, and it started working fine then. You can try restarting as well.

Developer Reload window

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

79252502

Date: 2024-12-04 19:34:36
Score: 1
Natty:
Report link

have you tried specifying the type on the screen component? e.g.

import { FC } from 'react'

const SignInScreen: FC<any> = () => {
     const {height} = useWindowDimensions()

    return (
        <View style= {styles.root}>
          <Image source={Logo} style ={[styles.logo, {height: height * 0.3}]}
           resizeMode="contain" /> 
          <CustomInput />
       </View>
 )
}
Reasons:
  • Whitelisted phrase (-1): have you tried
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Kaveh Movahedi

79252498

Date: 2024-12-04 19:33:35
Score: 4.5
Natty: 5.5
Report link

Help me to create a layer with graphviz please

Reasons:
  • Blacklisted phrase (1): Help me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: oscar frausto

79252496

Date: 2024-12-04 19:32:34
Score: 2.5
Natty:
Report link

You can also use "ALTER TABLE" to add an identity column to a temp table.

ALTER TABLE #TABLE ADD LineID NOT NUll IDENTORY(1,1)

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

79252491

Date: 2024-12-04 19:31:34
Score: 4
Natty:
Report link

Ah, I see the problem. I started with ValueToPixelPosition(0) which I thought was the first Bar. It is not. I assume that is the xAxis itself. Changing my code to start at 1 for the first bar, solved the problem.

enter image description here

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

79252481

Date: 2024-12-04 19:26:33
Score: 2.5
Natty:
Report link

If you are not providing any value in the like this <CartProvider value={defaultValue}, then it will take the value which was initially set i.e. const CartContext = createContext(null). Also it works even if you're using React Router. Hope this answers your query.

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

79252476

Date: 2024-12-04 19:24:32
Score: 0.5
Natty:
Report link

The issue lies in the .whl file creation for PyQt6-sip in Python 3.13. Let me explain the root cause and why this error occurs.

When you run pip install PyQt6 in the terminal, pip starts resolving and installing all the required dependencies of PyQt6, one of which is PyQt6-sip. The installation process typically uses .whl files (binary distribution format for Python packages). If no pre-built .whl file is available for your system and Python version, pip attempts to build the file from source. Unfortunately, with Python 3.13, this build process fails.

Here are the possible reasons for this failure:

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

79252471

Date: 2024-12-04 19:23:32
Score: 1.5
Natty:
Report link

I dig the unless caller solution. It is very Perlish. However, here is a very direct comparable solution in Perl:

if (__PACKAGE__ eq 'main') {
    # ......
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: LARathbone

79252464

Date: 2024-12-04 19:20:30
Score: 4
Natty:
Report link

Open the settings go to editor > general > gutter icons > color preview. And check it

Android studio color preview

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: S. Ber Rosenberg

79252460

Date: 2024-12-04 19:17:29
Score: 3.5
Natty:
Report link

worked on my system after installing pip install anomalib==1.2.0 on windows machine.

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

79252456

Date: 2024-12-04 19:17:29
Score: 5.5
Natty:
Report link

I'm also working on a multilinear regression model, and I was under the impression that R automatically creates dummy variables if the variable is a factor.

I converted all of the binary variables to a factor with 1 for Yes and 0 for No.

Im I doing something wrong?

Reasons:
  • Blacklisted phrase (2): something wrong?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Tyson Biegler

79252455

Date: 2024-12-04 19:17:28
Score: 4
Natty:
Report link

Helped to add explicitly -stdlib=libstdc++ and add definition __LIBC

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

79252452

Date: 2024-12-04 19:16:28
Score: 1
Natty:
Report link

Thanks for @Parsa99 - he suggested the answer. For anyone who will try to find in in the future, I will post here an example that I was found in the internet.

services.AddControllers(options =>
            {
                options.Filters.Add<ApiErrorFilter>();
            })
            .ConfigureApiBehaviorOptions(opt=>
            {
                opt.SuppressModelStateInvalidFilter = false;
                opt.InvalidModelStateResponseFactory = context=>{
                
                    bool knownExceptions = context.ModelState.Values
                    .SelectMany(x => x.Errors)
                    .Where(x => x.Exception is JsonException || (x.Exception is null && String.IsNullOrWhiteSpace(x.ErrorMessage) == false)).Count() > 0;
                    if (knownExceptions)
                    {
                        var error = new ProblemDetails
                        {
                            Status = (int)HttpStatusCode.InternalServerError,
                            Title = "Test",
                        };

                            return new ObjectResult(error)
                        {
                            StatusCode = StatusCodes.Status422UnprocessableEntity,
                        }; //new BadRequestResult(new { state = false, message = "InvalidParameterError" });
                    }
                // ...
                    return new BadRequestObjectResult(context.ModelState);
                };
            })
            .AddJsonOptions(DefaultJsonOptions.OptionsConfiguration);

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Parsa99
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: JamesBondCaesar

79252437

Date: 2024-12-04 19:08:26
Score: 1
Natty:
Report link

What you describe is exactly how I do it. It is convenient to store the key file in a source control system, so that newly generated key files can be deployed with code, as old ones expire. Usually you don't want your secrets unencrypted in source code, so encrypting them with a certificate gets around that problem. The X509 certificate can be maintained by our IT group and installed on servers as they come up, or kept in our cloud vendors' secrets vault.

The certificate is only used to house the PEM (encryption key) on your system. You can generate a PEM using any encryption utility like openSSL, and import it into an x.509 certificate using your OS' certificate utility. This is why it doesn't need to be signed by an authority, because you aren't using it to establish trust with a 3rd party but to hold a secret that you yourself created.

If you were configuring the key from a separate source than the rest of your application, it may not be important to encrypt it and you can just ignore the warning. But that is usually a hassle since key files need to be maintained and kept current, and different keys go with different applications, etc.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): What you
  • Low reputation (1):
Posted by: Aaron Newman

79252426

Date: 2024-12-04 19:03:24
Score: 4
Natty:
Report link

Try running the code in kaggle

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

79252419

Date: 2024-12-04 19:00:22
Score: 6.5 🚩
Natty: 5.5
Report link

I have the same problem but I wanted to restore data from csv file using copy. the old (pg 12) database and the new database (pg 16) has same blocksize.

=> SELECT current_setting('block_size');
 current_setting
-----------------
 8192

Any advice?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Zsolt Horvath

79252416

Date: 2024-12-04 18:59:21
Score: 5.5
Natty:
Report link

Can you provide your vnet/subnet ranges, your service CIDR and the CNI you are using ?

My expectation is that you can't access pod ranges because the service tag VirtualNetwork doesn't contains your pod CIDR.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you provide your
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: ewencodes

79252399

Date: 2024-12-04 18:53:20
Score: 2
Natty:
Report link

I went to Dependencies / System(advanced) and deleted the GLIBC File and run the programm again and it worked

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

79252394

Date: 2024-12-04 18:50:19
Score: 0.5
Natty:
Report link

Originally, I had gone with the option suggested in the comments of checking which compiler was being used, then typedef whatever that particular compiler called its 128-bit integer. Then, I found a much better answer, entirely by accident, when I was looking up something else.

The answer is to switch to the C++23 standard, which allows me to use the new _BitInt keyword to just make up an integer of whatever size I want, and let the compiler handle it. So, now my code looks something like this:

using value_t = int64_t;
int constexpr max_bits_math = std::numeric_limits<value_t>::digits * 2;
using math_value_t = _BitInt(max_bits_math);
int constexpr bit_shift = 8;

value_t operator*(value_t lhs, value_t rhs) {
    math_value_t answer = static_cast<math_value_t>(lhs) * static_cast<math_value_t>(rhs);
    return static_cast<value_t>(answer >> bit_shift);
}

Yes, I know that not a lot of compilers support _BitInt yet, because it's so new. Then again, I'm still in the very early stages of this project, so I'm confident support will be more widespread when I'm ready to release.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: HiddenWindshield

79252392

Date: 2024-12-04 18:49:18
Score: 9 🚩
Natty: 4.5
Report link

Did you find out the reason for this? same here!

Reasons:
  • RegEx Blacklisted phrase (3): Did you find out the
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find
  • Low reputation (1):
Posted by: Lewis Scrimgeour

79252389

Date: 2024-12-04 18:48:17
Score: 3.5
Natty:
Report link

Solved. For some reason Visual studio created an MaskInputRejected event for maskedtextbox by default instead of Text Changed.

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

79252375

Date: 2024-12-04 18:43:16
Score: 0.5
Natty:
Report link
   {:x {:title "Week"
        :timeUnit "yearmonthdate"
        :field :WeekBeginning
        :axis {:format "%b"
               :labelAlign "left"
               :labelExpr "datum.label[0]"
               :timeUnit "month"
               :tickCount 12}}

Update: I ended up shifting the timeUnit of the lines to "yearmonthdate" and the timeUnit of the axis to "month" and was able to get it to format the way I wanted.

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