79120047

Date: 2024-10-24 00:12:52
Score: 5.5
Natty: 4.5
Report link

Any luck here? I'm running into the same issue.

Reasons:
  • Blacklisted phrase (1.5): Any luck
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Harry Cheung

79120044

Date: 2024-10-24 00:10:52
Score: 1
Natty:
Report link

The problem is that you're using i in both loops. Just swap i for something else in the HCF part, and the infinite loop will work fine.

for x in range(1, smaller + 1):
if a % x == 0 and b % x == 0:
    hcf = x
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kazber

79120038

Date: 2024-10-24 00:06:50
Score: 1
Natty:
Report link
inp = input ()
my_list = [int(i) for i in inp.split() if int(i) >= 0]
my_list.sort()
print(*my_list,end=' ')

#converts user input into a list of integers using list comprehension, and adds the condition IF to remove the negative integers, then sorts the items of the list in place

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

79120031

Date: 2024-10-24 00:02:50
Score: 5.5
Natty: 6
Report link

Thanks. Yes, we can use eig_cent_wt = nx.eigenvector_centrality(G, weight='weight') to include weights and eig_cent_wt = nx.eigenvector_centrality(G) without weights. For directed graphs, does the weight parameter in Eigenvector Centrality consider both incoming and outgoing edges, or does it apply only to either incoming or outgoing edges?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Lazy

79120030

Date: 2024-10-24 00:02:49
Score: 2
Natty:
Report link

Thanks to Timothy for helping find the answer. It has moved slightly in VS2022 V17.11.5 at least to Tools | Options | Text Editor | C/C++ | Intellisense (not advanced) -> Navigation after refactoring operations enter image description here

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: FrostedCookies

79120024

Date: 2024-10-24 00:00:49
Score: 1
Natty:
Report link

Just another one-liner I came up with:

datetime(year=dt.year + (dt.month==12), month=1 + dt.month % 12, day=1)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hackster

79120020

Date: 2024-10-23 23:54:48
Score: 2.5
Natty:
Report link

First and foremost, Make sure your phone silent hardware switch is not turned on(orange). Also, check that you 'Do Not Disturb' is not on (moon on pull down menu).

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

79120016

Date: 2024-10-23 23:53:48
Score: 1
Natty:
Report link

For those using Next.js: you may get this error if you don't add 'use client' at the beginning of the file consuming context.

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

79120005

Date: 2024-10-23 23:43:45
Score: 2
Natty:
Report link

Would it be possible to move the condition to the WHERE statement? For example:

(SELECT ABS(ROUND((SUM(PRIMARY_QUANTITY)/30),2)) AS BURN_RATE, TXN.ORGANIZATION_ID, TXN.INVENTORY_ITEM_ID,
 TXN.SUBINVENTORY_CODE , TXN.DISTRIBUTION_ACCOUNT_ID, GL.SEGMENT3
 FROM INV_MATERIAL_TXNS TXN
LEFT OUTER JOIN INV_TRANSACTION_TYPES_TL TYPE ON TYPE.TRANSACTION_TYPE_ID = TXN.TRANSACTION_TYPE_ID                                        
LEFT OUTER JOIN GL_CODE_COMBINATIONS GL ON GL.CODE_COMBINATION_ID = TXN.DISTRIBUTION_ACCOUNT_ID 

WHERE TRANSACTION_DATE >= TRUNC(SYSDATE-30)
  AND  TRANSACTION_DATE < TRUNC(SYSDATE) 
  AND TXN.INVENTORY_ITEM_ID = 100002040645155 
  AND GL.SEGMENT3 <> 945                          
                                                                      
GROUP BY TXN.ORGANIZATION_ID, TXN.INVENTORY_ITEM_ID, TXN.SUBINVENTORY_CODE , TXN.DISTRIBUTION_ACCOUNT_ID
, GL.SEGMENT3  )
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Bruno J. Militão M.

79119998

Date: 2024-10-23 23:40:44
Score: 2
Natty:
Report link

https://asp.mvc-tutorial.com/routing/routing-templates/

The solution turned out to be to use a '*' character in front of the token, like this:

[Route("api/GetString/{*objectPath}")]

I don't get the leading slash, but that's fine, I can prepend that before the search. Of course, after 3 hours of searching, I find this 17 minutes after posting the question :-)

Best regards and HTH someone

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Kerry Thomas

79119997

Date: 2024-10-23 23:39:44
Score: 3.5
Natty:
Report link

Try to use Todoctor. It works well with JS and TS:

https://github.com/azat-io/todoctor

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

79119991

Date: 2024-10-23 23:34:43
Score: 1
Natty:
Report link
inp = input()
my_list = [int (i) for i in inp.split ()]
avg = sum(my_list) // len(my_list)
print(avg, max(my_list))

#use list comprehension to convert user input into a list then solve for the average and max

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

79119987

Date: 2024-10-23 23:33:43
Score: 1.5
Natty:
Report link

this is a clear example:

[ -f file_path ] && echo "file exist" || echo "doesn't exist"
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kimo_ouz

79119984

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

the correct syntax to concatenate the static path with the dynamic image name. Change your template code to:

<img src="{% static 'blog/images/' %}{{ post.image }}" alt="Mountain" />

Or if post.image is a Django ImageField or FileField you should use:

<img src="{{ post.image.url }}" alt="Mountain" />
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nova

79119983

Date: 2024-10-23 23:31:42
Score: 4.5
Natty: 5.5
Report link

Answering in 2024! This is exactly what I was looking for. Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kyle Rupp

79119974

Date: 2024-10-23 23:25:40
Score: 0.5
Natty:
Report link
bool flag = true
mystring = 'alfa'+' bravo' + (flag ? ' charlie' : ' delta')

This will add 'charlie' if flag is true and 'delta' if flag is false

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

79119973

Date: 2024-10-23 23:23:40
Score: 1
Natty:
Report link
await Page.GetByRole(AriaRole.Cell, new() { Name = "Steve" }).GetByRole(AriaRole.Textbox).FocusAsync();
await Page.GetByRole(AriaRole.Cell, new() { Name = "Mark" }).GetByRole(AriaRole.Textbox).FillAsync();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Wang Chris

79119972

Date: 2024-10-23 23:22:40
Score: 1
Natty:
Report link

Using HTTP method PUT (necessary according to YouTube Data API v3 Videos: update endpoint) instead of PATCH solves your issue on my end.

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

79119967

Date: 2024-10-23 23:19:39
Score: 1.5
Natty:
Report link

NetSim could be an option to explore for simulating VANET attacks. See the section on attacks in VANETs in https://tetcos.com/machine-learning-netsim.html - it explains using an ML based classifier to detect sybil attacks in VANETs.

You could also run NetSim in conjunction with SUMO. In that case SUMO would handle the road traffic simulation while NetSim would manage the wireless communication network simulation.

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

79119940

Date: 2024-10-23 22:59:36
Score: 3
Natty:
Report link

That error means your system can't find FFmpeg. Just install it and added it to your system's PATH.

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

79119929

Date: 2024-10-23 22:55:34
Score: 3.5
Natty:
Report link

For me, deleting the 'out' directory of my project (see picture below) and restarting fixed the issue

'out' folder to delete location

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

79119923

Date: 2024-10-23 22:54:34
Score: 4
Natty: 5.5
Report link

Where do you put this code? IIn functions of the theme or where? I cant finde where to register it to query

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Where do you
  • Low reputation (1):
Posted by: Jorge Figueroa

79119899

Date: 2024-10-23 22:38:30
Score: 1
Natty:
Report link

Add the following line in your script myfile.R:

source("renv/activate.R")
# rest of the code

Then run: Rscript myfile.R

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

79119897

Date: 2024-10-23 22:37:30
Score: 1
Natty:
Report link

You have to first do a "run" then "report". Example:

 custodian run policies/ec2/cleanup-ebs-volumes.yml -s output --dry-run
 custodian report policies/ec2/cleanup-ebs-volumes.yml -s output -v
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user2525106

79119894

Date: 2024-10-23 22:33:29
Score: 2
Natty:
Report link

If you are running Ubuntu, then remove npm from: /usr/local/lib/node_modules/npm & /usr/local/bin/npm

Check node Version: node -v

Clear Cache: rm -rf ~/.npm

Finally, reinstall npm@latest version: curl -qL https://www.npmjs.com/install.sh | sh

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

79119887

Date: 2024-10-23 22:30:29
Score: 1.5
Natty:
Report link

This syntax won't work in Chakra UI v3.0.0. Not sure why. Change the version used in package.json to version 2.10.3

"@chakra-ui/react": "^2.10.3",

and reinstall with

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

79119884

Date: 2024-10-23 22:29:28
Score: 5
Natty: 5
Report link

Worked Man thanks a lotttttttttttt

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Filler text (0.5): tttttttttttt
  • Low reputation (1):
Posted by: Gurvinder Singh

79119880

Date: 2024-10-23 22:25:26
Score: 2
Natty:
Report link

Try adding another expression to the end:

SELECT 1 FROM TABLE_NAME

P.S. Might also be useful - Multiple results returned from multiple statements.

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

79119878

Date: 2024-10-23 22:25:26
Score: 4
Natty: 4
Report link

I get the list of radio buttons, but the default button is not selected till the user selects it. Should the default button be selected?

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

79119874

Date: 2024-10-23 22:22:25
Score: 2
Natty:
Report link

Because it doesn't make sense. It doesn't throw an error and works fine, but there's no reason to do it this way.

  1. One of the purposes of @Inject is to tell Hilt that the class can be injected somewhere, making it a dependency. It doesn't make sense to use it with a @Module class, because in most cases, you won't inject a Hilt module class anywhere in your code (I really don't see any case you would).

  2. You also won't inject anything into a module class, because it is a class only Hilt uses and it already has all the information it needs in the @Module and @InstallIn annotation.

  3. That being said, doing this only lead to confusion for those who sees the code, wondering where the module class will be injected into your project.

As already said, only Hilt will use this class and it only needs one instance of it, that's why it is better being an object, representing a single static instance.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Inject
  • User mentioned (0): @Module
  • User mentioned (0): @Module
  • User mentioned (0): @InstallIn
  • Low reputation (1):
Posted by: Gabriel Pereira

79119871

Date: 2024-10-23 22:22:25
Score: 1.5
Natty:
Report link

Deleting ~/Library/Caches/JetBrains/IntelliJIdea2022.3 directory and starting IDEA again helped me.

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

79119869

Date: 2024-10-23 22:21:25
Score: 0.5
Natty:
Report link

I created a GitHub repo to answer this problem. It uses two templates to separate the state of the state-holding bucket and the state of everything else. Since the state of the state bucket will rarely change, this state will be held locally - basically in your Google Cloud Shell storage (or similar) and possibly backed up informally (for example, to Google Drive). Then, the state of the rest of your infrastructure goes into that state bucket.

This does create the problem of having the state bucket name be (possibly) dynamically generated in one template and then used again to terraform init another, but I used Google Cloud Compute metadata resources to temporarily hold this information, and a wrapper around terraform init to add it to the backend configuration of the template for the rest of the infrastructure.

More details are available in the repo's README document.

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

79119866

Date: 2024-10-23 22:18:24
Score: 1
Natty:
Report link

The way it worked for me was running this command from "C:\Android\cmdline-tools\latest\bin>" folder: sdkmanager “platform-tools” “platforms;android-34” --sdk_root=C:\AndroidSDK

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

79119864

Date: 2024-10-23 22:15:24
Score: 2.5
Natty:
Report link

This resolved it for me...

pip install -U pip setuptools wheel

From:

https://github.com/SHI-Labs/NATTEN/issues/90#issuecomment-2050855325

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

79119845

Date: 2024-10-23 22:07:20
Score: 10.5 🚩
Natty: 5.5
Report link

I am also facing the same issue with the new snowflake v2 connector. Did you find any solution. The frustrating part is that the lookup activity works 90% of the scheduled run. The error happens randomly and not able to reproduce the issue. We have around 40 pipelines and the lookup activity is widely used in all the pipelines. The previous snowflake connector was working without any such issues

Reasons:
  • Blacklisted phrase (1): I am also facing the same issue
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you find any solution
  • No code block (0.5):
  • Me too answer (2.5): I am also facing the same issue
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dhivya

79119844

Date: 2024-10-23 22:07:20
Score: 5
Natty:
Report link

I have having the same problem

export default async function RootLayout(props: RootLayoutProps) {
  const { children } = props;

  const params = await props.params;
  const { locale } = params;

  const messages = await getMessages();

  return (
    <html lang={locale}>
      <Head>
        <meta
          name='viewport'
          content={`width=${viewport.width}, initial-scale=${viewport.initialScale}, maximum-scale=${viewport.maximumScale}, user-scalable=${viewport.userScalable ? 'yes' : 'no'}`}
        />
      </Head>
      <body className={`${inter.className}`}>
        <StoreProvider>
          <ApolloWrapper>
            <NextIntlClientProvider locale={locale} messages={messages}>
              <AuthenticationGuard>
                <ThemeProvider
                  attribute='class'
                  defaultTheme='system'
                  enableSystem
                  disableTransitionOnChange
                >
                  {children}
                  <Toaster />
                </ThemeProvider>
              </AuthenticationGuard>
            </NextIntlClientProvider>
          </ApolloWrapper>
        </StoreProvider>
      </body>
    </html>
  );
}

For some reason it being caused by if I remove it those hydration error go away but I don't want to because I want to be able to do themes anyone else found a solution?

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): having the same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Glen Doci

79119838

Date: 2024-10-23 22:04:19
Score: 0.5
Natty:
Report link

I changed the code like the below. Then it is working fine. I moved the commodityId condition from query1 to query2. I do not see any reason for it to be timed out because of the commodityid condition. It's just an integer column. Thanks all for your help.

        
        public virtual List<TradeView> GetTradeViewByDatesDataSourceAndCommodityId(DateTime fromDate, DateTime toDate, int commodityId, int originId, int dataSourceId)
{
    var context = GetTradeEntities();

    var query1 = (from tradeView in context.TradeViews
                  where
                         (tradeView.OriginId == originId)
                        && (tradeView.DataSourceId == dataSourceId)
                  select tradeView);
    var theList = query1.ToList();

    var query2 = (from tradeView in theList
                  where (tradeView.MonthStartDate >= fromDate)
                         && (tradeView.MonthEndDate <= toDate)
                         && (tradeView.CommodityId == commodityId)
                  select tradeView);
                           
    return query2.ToList();
} 

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user965291

79119836

Date: 2024-10-23 22:03:19
Score: 3
Natty:
Report link

I figure out the problem, it seems like there are dependencies that is not compatible with my current version of pip , pipenv and python. I needed to go through each version and check it before rerunning pipenv lock.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: john

79119833

Date: 2024-10-23 22:03:19
Score: 1
Natty:
Report link

you could follow one if these approaches:

  1. duplicate your spaceship and everything in it, but without the visible meshes. This "Ghostship" is stationary, so there are no issues with your player controller. The player movement and rotation relative to the ship must then be replicated into the visible ship.

  2. Attach the player rigidbody to the spaceship rigidbody using a joint. Then grab all inputs from the player controller and manually move the player inside the ship.

  3. Keep the ship stationary and move the universe instead

  4. Ignore the Unity built-in physics controlling the rigidbodies and do it yourself, similar to kinematic player controllers.

For sure there are more solutions thinkable.

You could also check my asset on the Unity Asset store, which addresses exactly this problem.

https://assetstore.unity.com/packages/tools/physics/walk-inside-rigidbody-278159

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

79119832

Date: 2024-10-23 22:02:18
Score: 1.5
Natty:
Report link

Its not completly an answer, but i expect the problem inside the :cutoffdate parameter. As you dont show how this variable is populate, and it migth even be some kind of object - its possible to be parsed into an id or hash of somesort and not processed like a formated date string you might expect (like "2024-10-01" f.e.)

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

79119820

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

Until they fix it(...), delete the word virtual from the inheritance definition of the class archive_exception.

Location: boost\archive\archive_exception.hpp, line 43.

class BOOST_SYMBOL_VISIBLE archive_exception :
    public virtual std::exception
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Zohar Levi

79119819

Date: 2024-10-23 21:55:17
Score: 0.5
Natty:
Report link

For PostgreSQL 10 and above (please avoid using serial)

CREATE TABLE article (
  article_id bigint generated always as identity primary key,
  article_name varchar(20) NOT NULL,
  article_desc text NOT NULL,
  date_added timestamp default NULL
);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andriy Balitskyy

79119809

Date: 2024-10-23 21:50:16
Score: 2.5
Natty:
Report link

Maybe I'm wrong, but after checking your error message, it seems that the package.json file might be missing. Try checking if the package.json file is present at the root of the archive. If it's not, check if it's located in a subdirectory.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Thiago B. Guedes

79119797

Date: 2024-10-23 21:46:12
Score: 7 🚩
Natty:
Report link

The answer is definitely yes for so-called "One-Time Codes." But I have the same question as you for the more flexible "Custom Codes."

The help page on Promo Codes says clearly that"Custom codes can be redeemed only from within your app, while one-time codes can be redeemed through both your app and the Play store."

But later in the same doc, it says—without differentiating between one-time and custom codes—simply that "You can also share a promo code by generating a URL that sends the user to the Google Play Store and auto-populates the Enter code field."

So does anyone know whether deep linking works for custom codes? (I guess I hope they do but suspect they don't.)

Reasons:
  • Blacklisted phrase (1): I have the same question
  • RegEx Blacklisted phrase (2): does anyone know
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same question
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: joemat

79119788

Date: 2024-10-23 21:42:11
Score: 3.5
Natty:
Report link

Just disable your Antivirus (ESET I think..)

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

79119776

Date: 2024-10-23 21:37:10
Score: 1
Natty:
Report link

As Conal said, XPath expressions generated by the browser using the Developer Tools (F12) are not best nor optimal. You can try these as a last resource for your project. Using an Xpath expression generated on your own it will benefit your code to have a better maintainability.

As the DOM structure (HTML tree-like code for the page) is subject to frequent changes in the future, having optimal Xpath (based on Text, Objects or Classes Names) will withstand your code to future changes. Using XPath expressions generated by the browser, will result in that your Xpath predicate will stop working.

In regards what Xpath expression for your page. You can use this one:

//span[contains(@class,"currentVersion")]

Check this screenshot to get more details:

enter image description here

Try to learn more about Xpath, here there are 2 resources:

https://intellipaat.com/blog/xpath-in-selenium

https://fifithecat.medium.com/xpath-example-73bf66c2377c

Reasons:
  • Blacklisted phrase (1): regards
  • Blacklisted phrase (0.5): medium.com
  • Whitelisted phrase (-1.5): You can use
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Carlos Gongora

79119770

Date: 2024-10-23 21:35:09
Score: 4
Natty:
Report link

yess bro im using yore code on dpboss

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dpboss Net Kalyan

79119766

Date: 2024-10-23 21:34:09
Score: 1.5
Natty:
Report link

The behavior you're seeing likely comes down to how the compiler handles type-specific optimizations and inlining. Even though the logic for sorting pointers is identical, Clang might still generate separate code for each type due to subtle type differences like size or alignment, especially when inlining happens. Casting to void** erases the type info, allowing for a more generic version, which reduces the binary size. Despite aggressive optimization with -O3, the compiler may not deduplicate these instantiations. Link-time optimization (-flto) could help fold identical code across types, which might explain why you’re not seeing folding when inlining doesn't happen. This variation also shows how Clang handles templates differently than other compilers, leading to these size differences.

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

79119764

Date: 2024-10-23 21:33:09
Score: 1.5
Natty:
Report link

The @Transactional annotation in Spring is used to manage transaction boundaries for methods in Spring beans. It helps ensure that a series of operations within a method occur within a single database transaction, which either completes successfully or rolls back entirely if any error occurs. Here's when to use it:

  1. Multiple Database Operations When you have multiple database operations (like save(), update(), or delete()) in a method, and you want to ensure they are either all executed successfully or none at all (atomicity), you should use @Transactional. This ensures consistency and prevents partial updates in case of failure.

  2. Handling Rollbacks You should use @Transactional when you want automatic rollback in case of exceptions. By default, Spring rolls back on unchecked exceptions (RuntimeException) but not on checked exceptions. You can customize rollback behavior using the rollbackFor or noRollbackFor attributes.

  3. Read-Write Operations When your method performs both read and write operations on the database, marking it @Transactional ensures that all operations occur in a single transaction and maintain data consistency.

  4. Lazy Loading (Hibernate) If you're using Hibernate and want to use lazy-loaded entities, the @Transactional annotation ensures that the session remains open during method execution, allowing lazy loading to fetch data from the database when needed.

  5. Propagation and Isolation Levels You can configure transaction propagation (how transactions behave in relation to other transactions) and isolation levels using @Transactional. This is useful in complex systems where transactions interact in different ways.

  6. Managing Complex Rollbacks and Exception Handling You should use @Transactional when you have complex rollback rules or need fine control over exception handling in transactional contexts.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @Transactional
  • User mentioned (0): @Transactional
  • User mentioned (0): @Transactional
  • User mentioned (0): @Transactional
  • User mentioned (0): @Transactional
  • User mentioned (0): @Transactional
  • User mentioned (0): @Transactional
  • Low reputation (1):
Posted by: Samira Radmaneshfar

79119762

Date: 2024-10-23 21:32:08
Score: 1.5
Natty:
Report link

$(document).ready(function() {

//On page load all fields get the same value
$('#textbox1').text(function() {
    $('#textbox2').val(this.value);
});

});

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

79119761

Date: 2024-10-23 21:32:08
Score: 1
Natty:
Report link
var checkedValue = document.getElementById("myCheck").checked;

checkedValue will be equal to 'true' or 'false'

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

79119753

Date: 2024-10-23 21:28:08
Score: 3.5
Natty:
Report link

vlw me ajudou muito tbm , estava com o problema parecido obg !

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

79119735

Date: 2024-10-23 21:21:06
Score: 2.5
Natty:
Report link

quick fix in windows

  1. click windows button
  2. search for services
  3. find there MySQL80
  4. left clik and click start
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Asim Mahmudov

79119722

Date: 2024-10-23 21:16:05
Score: 4
Natty:
Report link

Try using the python IDLE. Search it in your search bar if on windows.

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

79119719

Date: 2024-10-23 21:16:05
Score: 2
Natty:
Report link

not sure if this is related but next 15 has breaking changes for the properties like params https://nextjs.org/docs/app/building-your-application/upgrading/version-15#async-request-apis-breaking-change

you can either downgrade or try to await the params like this:

type Params = Promise<{ slug: string[] }>

export default async function Page({ params }: { params: Params }) {  
  const { slug } = await params
}
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: thrumbo

79119717

Date: 2024-10-23 21:14:04
Score: 3.5
Natty:
Report link

Contact watsapp +918610200224 for getting Dual Nadaraya-Watson Envelop indicator pine script along with MA crossenter image description here. My Pine script is a Single indicator can able to view both Dual Nadaraya-Watson Envelope indication and MA cross.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: prabhu k

79119714

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

I presume you have configured the necessary permission from your Data Fusion instance to the Cloud Storage bucket where your JSON file is located. Based on the error you provided, there’s a good chance your JSON file doesn’t adhere to valid JSON syntax. Carefully compare your Avro schema to the structure of your JSON data. Any mismatches will cause problems. Also, you might want to check the path to your JSON file in Cloud Storage within your Wrangler configuration.

Sharing this documentation that might be helpful to you.

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

79119713

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

Is this for windows desktop development?, if so I would suggest to letting go of MAUI as it is great for multi-platform development, but not so much if you are just doing Windows desktop development. If it is for Windows development, then I would suggest you go with WPF for my development effort dollar (a WPF .net 8 core project); if you are into that multi-platform and WPF is not good enough, then I would suggest using an Avalonia project for multiple platform development efforts and then having one project created just for my windows development and having something like AvaloniaDialogs for all the basics on how to display the dialogs on your windows as message boxes, and Avalonia.ReactiveUI and System.Reactive for my observable objects (and/or observable as properties). Also for interactions and other windows specific classes, I needed to use Mvvm.CommonInteractions.Avalonia which has some basic services and common interactions that get set at the startup builder (services) setup. If you are stuck with MAUI, I know you have to specify the type of executable's framework and/or platform on the project's file. But I did come here because I had the same issue that you were having, someone said "Use Avalonia.Essentials" which became "Maui.Essentials" and that is how I got into the issue you are having, you can add Reactive to either one of those projects. Hope this helps a bit. Good luck.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): Hope this helps
  • Whitelisted phrase (-1): I had the same
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is this for
  • Low reputation (1):
Posted by: Eric Polgar

79119695

Date: 2024-10-23 21:04:02
Score: 2
Natty:
Report link

Here count() without group by:

select
    count(ename) over (partition by boss) ename_count,
    boss
from employee
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: guest

79119688

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

I found out that we have a bat file used by the nightly build, but cruise uses our config file. There were a couple projects added to the nightly build bat file and I had to add those to the cruise config file. That fixed it finally! That's with removing the bandaid of adding the NETFX 4.8 Tools to the system path variable (that fixed it alone too, but was not the intended fix for the team).

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Michele

79119664

Date: 2024-10-23 20:48:59
Score: 2
Natty:
Report link

hellow

`

let url = new URL(host);

let urlParam = {

country: "ru",

language: "ru",

number: 3,

date: "2024-10-23",

};

for ([key, value] of new Map(Object.entries(urlParam))) {

url.searchParams.set(key, value);

}

`

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

79119662

Date: 2024-10-23 20:47:58
Score: 1.5
Natty:
Report link

There is a good chance you've hit [Breaking change]: dev cert export no longer creates folder

The work-around is to run:

mkdir %appdata%\ASP.NET\Https
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
Posted by: Nathan Carlson - MSFT

79119661

Date: 2024-10-23 20:47:58
Score: 0.5
Natty:
Report link

Usually it is better to append datetime to the filename when you get the same file. If you want to generate the sequence number in the filename here you go

The pipeline design look like below Pipeline design

  1. Get Metadata activity(Get Metadata Source) to read the source file from file share and configure it as shown below GetMetadata

  2. For Each activity The for each loop through the source file from the previous get metadata activity. The for each items expression under setting tab shown below

@activity('Get Metadata Source').output.childItems

Under for each activity tab add the below activities For Each Activity

  1. Lookup activity This activity will call a stored procedure and increment the sequence for filename and return the filename for the destination.

Create a table using below script

CREATE TABLE [dbo].[FileNameSequence](
    [OriginalFileName] [varchar](100) NOT NULL,
    [SequenceNo] [smallint] NOT NULL,
 CONSTRAINT [PK_FileNameSequence] PRIMARY KEY CLUSTERED 
(
    [OriginalFileName] ASC
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO

Stored procedure script

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

CREATE PROCEDURE dbo.GetFileNameSequence
(
    @FileName varchar(100)
)
AS
BEGIN
    
    SET NOCOUNT ON
    IF EXISTS
    (
        SELECT 1 FROM dbo.FileNameSequence
        WHERE OriginalFileName = @FileName
    )
    BEGIN
        UPDATE dbo.FileNameSequence
        SET 
        SequenceNo = SequenceNo+1
        WHERE OriginalFileName = @FileName

        SELECT SUBSTRING(OriginalFileName,1,CHARINDEX('.',OriginalFileName)-1)+'_'+Cast(SequenceNo As varchar)+SUBSTRING(OriginalFileName,CHARINDEX('.',OriginalFileName),len(OriginalFileName)) AS FileName FROM dbo.FileNameSequence WHERE OriginalFileName = @FileName;

    END
    ELSE
    BEGIN
        INSERT INTO dbo.FileNameSequence([OriginalFileName],  [SequenceNo])
        VALUES(@FileName,0)

        SELECT OriginalFileName AS FileName FROM dbo.FileNameSequence WHERE OriginalFileName = @FileName;

    END

    
END
GO

Configure the lookup activity to call the stored procedure which return the filename for destination as shown below

Lookup activity

  1. Copy activity Copy activity take the filename output and move the file to destination

Source settings Sourcesetting

Sink Setting

The sink parameter pmFile expression is

@activity('GetFileName').output.firstRow.FileName

sinksetting

I tested the initial run with 2 input files the pipeline ran sucessfully and copied the file as it is as there is no file in the destination.

Pipelineinitial run

the table which generate the sequence would look like this

Initial run table

the Source(before execution) and destination(after execution) for initial run shown as below Initialrun

For the next run i added 2 same file and 1 different file

the table data look like this now

tabledatanext run

the Source(before execution) and destination(after execution) for next run shown as below

next run

For the subsequent run same files with same name will keep on appending the incremental sequence number.

Also please add a error logic if any error happened during file movement decrease the sequence counter for that file.

Hope this will work for you.

thanks

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

79119657

Date: 2024-10-23 20:47:58
Score: 3
Natty:
Report link

Update: the solution turned out to be simple. This is due to a Visual Studio bug, namely the new resource explorer. If you encounter a similar problem, just update the Visual Studio

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

79119645

Date: 2024-10-23 20:41:57
Score: 0.5
Natty:
Report link

A related reference is Apache Spark's page "ML Pipelines". It shares the same jargon as sklearn:

https://spark.apache.org/docs/latest/ml-pipeline.html

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

79119639

Date: 2024-10-23 20:41:56
Score: 13.5
Natty: 7.5
Report link

Do you still have the same issue? If so how did you solve it?

Reasons:
  • Blacklisted phrase (1): how did you solve it
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jeremy Owusu

79119615

Date: 2024-10-23 20:32:55
Score: 2.5
Natty:
Report link

I have Python 3.12

requirements.txt

old :

Flask==2.0.2

new :

Flask==3.0.3 Werkzeug==3.0.3

#pip install Flask==3.0.3

#pip install Werkzeug==3.0.3

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Леонид Фесенко

79119614

Date: 2024-10-23 20:31:54
Score: 0.5
Natty:
Report link

There is now a plugin for Chrome that works like a charm. Doesn't even need any API keys. It is called "GitHub Repo Size":

https://chromewebstore.google.com/detail/github-repo-size/jpdmfnflpdgefbfkafcikmhipofhanfl

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

79119606

Date: 2024-10-23 20:29:53
Score: 5.5
Natty: 5.5
Report link

I want to compile the contract, it gives me this error. Thank you for your help The previous versions were compiled without any error, but now it can't?

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-0.5): Thank you for your help
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Mohammad Shakrie

79119605

Date: 2024-10-23 20:28:53
Score: 3
Natty:
Report link

Repository and DAO Patterns may cohesist, and as you already did, Repository istances will use DAO implementations for CRUD DB operations.

However, "it depends", as usual; I suggest you to read some articles on the web to make your own opionion on this usage, relying on the complexity of your domain and application.

A first starting point can be this https://www.baeldung.com/java-dao-vs-repository and this What is the difference between DAO and Repository patterns?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Francesco Poli

79119596

Date: 2024-10-23 20:24:52
Score: 1
Natty:
Report link

There is no noticeable difference.

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: talex moved to Codidact

79119592

Date: 2024-10-23 20:23:52
Score: 2
Natty:
Report link

I had a similar issue with an Ionic project. When I migrated to Angular 12 I got same error, but my project was still building. My feeling is that is not something that will cause breaking changes to your projects, if you encounter these kind of issues.

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

79119584

Date: 2024-10-23 20:20:51
Score: 0.5
Natty:
Report link

Have you tried to concatenate the matchers and specify the HttpMethod to reduce the scope of the matcher, like this:

@Bean 
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { 
    LOG.info("SSO is disabled. Continuing using LDAP Authentication."); 

    http.csrf(AbstractHttpConfigurer::disable)
        .authorizeHttpRequests(req -> req.requestMatchers("/login").permitAll())
        .authorizeHttpRequests(
            req ->
                req.requestMatchers(
                        HttpMethod.GET,
                        "/images/**",
                        "/js/**",
                        "/css/**",
                        "/webjars/**",
                        "/resources/**",
                        "/jakarta.faces.resource/**",
                        "/jakarta.faces.resource/images/**")
                    .permitAll());

    return http.build(); 
} 

Removing both the anyRequest().permitAll() and the definition of the WebSecurityCustomizer bean?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Francesco Poli

79119575

Date: 2024-10-23 20:16:50
Score: 1
Natty:
Report link

I've had this problem starting just this week. Everything seems fine, and I know the app is indeed connected to SQL Server because intellisense picks up the name of the parameter the SP requires. But I get the "Resource not found" error.

I did notice that it's listing the connection differently. Before -- and those older apps are working fine -- it showed as the SQL database name, but now it shows as SQL Server: the call used to be to DatabaseName.schemaspname, but now it's SQLServer.schemaspname. So something appears to have changed lately, and that change seems to have broken something. (I tried changing the same of the data connection to the database name rather than SQLServer, without luck.)

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

79119569

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

Try to replace this line:

patientPage.setPatientBOD("2001-10-15");

By removing the "-" symbol:

patientPage.setPatientBOD("20011015");
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nikita Chegodaev

79119565

Date: 2024-10-23 20:13:48
Score: 5.5
Natty:
Report link

Did you configure bookworm's IP (192.168.10.11) under DNS forwarders on your windows server?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Blessed M

79119563

Date: 2024-10-23 20:13:48
Score: 2.5
Natty:
Report link

this worked well for me in MS SQL Server

select colcnt, count(*) totcnt

from (select right(ATTACHNAME,charindex('.',reverse(ATTACHNAME)) + 1) colcnt

from TBL_NAME) x

group by colcnt

order by totcnt desc

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

79119548

Date: 2024-10-23 20:08:47
Score: 0.5
Natty:
Report link

Yea, Here are some basic points that explain differe nce between the push () and emplace () methods of queue data structure in C++.

1. Push ( ) Push of std::queue requires an existing ( either temporary or not ) object of T type as an argument to add in queue.

2. Emplace( ) Emplace ( ) of std::queue does not require an existing object of T type as argument. Instead the arguments requiring by constructors of T object to declare T type object are required by emplace () directly, as its arguments.

  1. Push( ) Since an existing object ( either temporary or non-temporary ) is passed as argument in push( ) method so to add a new element in std::queue it requires copying or moving of that existing object to create a new object at index next to last (back) element of std::queue. It means to use push ( ) we have to create an object for two times. One before using push( ) , to pass as parameter.And second inside push( ) method, in order to create similiar object at index next to last element of std::queue . Sometimes receiving object can be moved to new place instead of copying it.

    #include #include using namespace std; int main( ) { queue q; string st= "xyz" ; // 1st creation of string object q.push( st) ; // during push( ) 2nd creation of string object }

  2. Emplace( ) Since parameters for creation of T type object are passed as arguments of Emplace ( ) ,I mean we don't need to initialize object before call of Emplace instead initilization occurs only one time ,in during emplace ( ) method to make an object the element of std::queue , so no need to move or copy an object.

    #include #include using namespace std; int main( ) { queue q; q.push( (const char * )("xyz") ) ; // during push( ) 1st creation of string object }

  1. Push( ) Due to to 2 times creation of object in it, not in move case rather in copy case, the space complexity of whole the program overall increases.

2.Emplace( ) Program's overall space complexity is less than the case of push ( ) due to just one time creation of object.

These points explain about the core differences between push() and emplace() methods so emplace is preferable in the case when object is not created already.

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

79119546

Date: 2024-10-23 20:07:46
Score: 1
Natty:
Report link

This reruns load function without showing params in browser url

function rerun() {
  $page.url.searchParams.set('player2', 'Jabami')
  fetch($page.url)
}

Alternatively there is a form action 'GET' request that can add searchParams in the url (visible in browser)

<form action="/game">
    <label>
        Search
        <input name="q">
    </label>
</form>

Type in the input and press enter, it will trigger search params and load function Use method='POST' in form to trigger an action The 'GET' rerun is at the bottom of this link https://svelte.dev/docs/kit/form-actions

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

79119543

Date: 2024-10-23 20:06:46
Score: 0.5
Natty:
Report link

The basic angular i18n package will build separate apps for each language file you provide. If you want to use a language switch with this package, all it will do it route them to the subfolder where the other languages are hosted.

For example, if your english site is at www.example.com and you want a spanish translation, angular i18n will build you a separate app that you can deploy to www.example.com/es. Then, your language picker would simply redirect the user to /es.

If you want to change the language at runtime, you should use a third party library like ngx-translate. You could implement it yourself, but you would be re-inventing the wheel. As well, I don't believe ngx-translate is in maintenance mode, their github page does not mention it.

If you want to build it yourself, consider creating a service to fetch json files for the languages and a pipe to convert the language keys to their translated values.

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

79119537

Date: 2024-10-23 20:05:44
Score: 7.5 🚩
Natty: 5
Report link

I'm trying to use this approach in the STM32G4 microcontroller. However, there is no low_level::Timer. So, i'm using a use embassy_stm32::timer::low_level::Basic16bitInstance;

Nevertheless, interrupt is not working. In which stm32 microcontroller you tested that code? And which embassy-stm32 version are you using?

thanks in advance

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (3): thanks in advance
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Gustavo

79119536

Date: 2024-10-23 20:04:43
Score: 2.5
Natty:
Report link

I have exactly the same issue.

It's not a proper solution, but maybe could serve as a clue to the solution.

I've removed (), {} and [] from autoClosingPairs and surroundingPairs, and the problem (almost) gone. I'm able to trigger opt+esc (ctrl+space in your case) inside those brackets. Not at every possible position though.

Still looking for a right solution.

Reasons:
  • Whitelisted phrase (-1): in your case
  • No code block (0.5):
  • Me too answer (2.5): I have exactly the same issue
  • Low reputation (0.5):
Posted by: emil14

79119532

Date: 2024-10-23 20:03:43
Score: 0.5
Natty:
Report link

I got this to work by going to My Account > Subscriptions > under 'Systems' choose 'Activation Keys' then it prompted me to accept T&Cs and was able to register! Hope this helps someone even though I'm late!

Or you can use this link and choose 'Activation Keys' under 'System' https://access.redhat.com/management

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1): Hope this helps
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bailey Brucker

79119528

Date: 2024-10-23 20:02:43
Score: 1
Natty:
Report link

You can't figure.... to be blunt thats because it seems like you're not trying.

You can't ask where to start, when you get stuck, ask for help. If you don't know where to start, then go back to the basics.... If you ask the right kinds of questions, people will be glad to help you learn.

But besides the point it's an aptitude test and if you can't code, you'll probably fail. You can't pretend you can, we will know. Don't expect to be spoon fed the code the whole way there. Try it yourself

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

79119523

Date: 2024-10-23 19:59:42
Score: 1
Natty:
Report link

I know this an older question so I wanted to give an update for a method that executes much more quickly. You can utilize WHERE NOT EXISTS...

SELECT number FROM TableA WHERE NOT EXISTS (SELECT number FROM B WHERE TableA.number = TableB.number);

While I am not near any documentation I suspect "NOT EXISTS" instructs MySQL to search through the first query once while "NOT IN" has the query executing each record. It takes .3 seconds in my database for "NOT EXIST" to return 340,000 records while "NOT IN" takes 10 seconds to return a limit of 100 records. NOT EXISTS may have not existed the 12 or so years ago this question was answered, I do not know...

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

79119510

Date: 2024-10-23 19:55:41
Score: 0.5
Natty:
Report link

Maybe you forgot to pass the context "content" to your render function :

return render(request, "composer/index.html")

Add "content" as you done if request.POST['button'] == 'Generate' :

return render(request, "composer/index.html", content)

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

79119504

Date: 2024-10-23 19:52:40
Score: 2
Natty:
Report link

I was able to trace the problem back to the Adafruit NeoPixel library, which apparently is being used by the Ws2812FX-library to actually generate the data stream. Once I was on the Adafruit GitHub I found several issue-reports regarding the same problem I'm having. Some incompatibility between ESP32 Arduino Core 3 and the Adafruit library, indeed regarding buffer allocation. Reverting both Adafruit-library and the Arduino Core results in a stable build, which is fine for me until Adafruit updates the library.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Paul Heuts

79119503

Date: 2024-10-23 19:52:40
Score: 1
Natty:
Report link

Workaround: Just add one file type that is not an image (e.g., .txt), and Chrome on Android will let you open the file picker that does not set the GPS values to zero. Example:

<input type="file" accept=".jpg, .jpeg, .txt">
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bxtree

79119494

Date: 2024-10-23 19:48:39
Score: 0.5
Natty:
Report link

It's quite a bit late, as you asked this a while ago. However I've got an answer for you.

This uses an R chunk with engine='js' which enables you to write JS into the document. This chunk can go anywhere in the document.

I coded this to resize the plot if the callout is expanded, collapsed or the browser window is resized.

In the JS, I've used myChart as the plot id. In the plot, I've added the argument elementId = 'myChart'. These names have to match. If you change one, you've got to change the other.

Additionally, in the quarto document, The plot is in the second callout box, so the js calls for index 1 (0 = 1st, 1 = 2nd, and so on). If the plot is no longer the 2d callout, this will have to be changed. (Look for tellMe[1], that's the value that would need to change.

Here's the source code for the Quarto as I've used it. (Most of your content is unchanged.) There are comments for any code I've added. If you have any questions, please let me know.

---
title: "Reprex Report"
format: 
  html:
    page-layout: full
editor: visual
---

```{r, message=FALSE, echo=FALSE, include=FALSE}

library(tidyverse)
library(echarts4r)

df <- data.frame (Month  = c("Apr-23", "May-23", "Jun-23", "Jul-23", "Aug-23", "Sep-23", "Oct-23", "Nov-23",
                             "Dec-23", "Jan-24", "Feb-24", "Mar-24"),
                  a = c(18,44,70,45,69,68,52,54,NA,NA,NA,NA),
                  b = c(527,751,721,633,696,675,775,732,NA,NA,NA,NA),
                  c = c(14,23,28,4,2,14,18,30,NA,NA,NA,NA))
```

## **Activity**

::: callout-tip
## Description

Blah blah blah
:::

<!---- Loooook! I'm new --------->

```{r sigh, engine='js', echo=F}

setTimeout(function() {
          /* get chart */
  e = echarts.getInstanceById(myChart.getAttribute('_echarts_instance_'));
          /* on resize, resize to fit container */
  window.onresize = () => {
    w = document.getElementById('myChart').offsetWidth;
    h = document.getElementById('myChart').offsetHeight;
    e.resize({width: w, height: h});  /* fit in your hole */
  }
         /* on collapse, expand, resize to fit container */
  tellMe = document.getElementsByClassName('callout-header');
    /* since there are 2 callouts and the plot's in the second one */
       /* it's index 1, because the first is index 0 */
  tellMe[1].onclick = () => {
    w = document.getElementById('myChart').offsetWidth;
    h = document.getElementById('myChart').offsetHeight;
    e.resize({width: w, height: h});  /* fit in your hole */
  }
  
}, 200) /* give it a sec to load...sheesh */

```


::: {.callout-caution collapse="true"} 
### Plot

```{r, echo=FALSE}

df %>%
  e_chart(Month, elementId = 'myChart') %>%   # <---- I'm new!!!
  e_bar(a, stack = "groups", color = "green") %>%
  e_bar(b, stack = "groups", color = "red") %>%
  e_bar(c, stack = "groups", color = "blue") %>%
  e_labels(position = "inside", fontSize = 16) %>% 
  e_y_axis(name = "Activity", nameLocation ="middle", 
           nameTextStyle = list(padding = c(0,0,30,0))) %>%
  e_x_axis(type = "category", name = "Month",
           nameLocation ="middle", nameTextStyle = list(padding = c(20,0,0,0))) %>% 
  e_tooltip(axisPointer = list(type = "shadow"), 
            trigger = "axis",
            backgroundColor = "rgba(40, 40, 40, 0.75)", 
            borderColor = "rgba(0, 0, 0, 0)", textStyle = list(color = "#fcfcff")) %>% 
  e_grid(right = "2%", left = "8%", bottom = "10%", top = "5%")

```
:::
Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: Kat

79119485

Date: 2024-10-23 19:45:38
Score: 1.5
Natty:
Report link

I couldn't get this rule to work. I ended up using a subscription instead:

aws logs put-subscription-filter \
 --log-group-name $project_repo \
  --filter-name "HealthCheckSuccessFilter" \
  --filter-pattern "$NGINX_READY_MESSAGE" \
  --destination-arn $FunctionArn
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: chassy Dave

79119482

Date: 2024-10-23 19:44:36
Score: 8.5 🚩
Natty: 6
Report link

I'm facing the same challenge, can you provide your updated python script? Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): can you provide your
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jamie

79119481

Date: 2024-10-23 19:44:35
Score: 1.5
Natty:
Report link

Can it be not native query?

Something like:

 @Query(value = "SELECT new your.package.SigningKey(sk.publicKey, sk.protocolVersion, sk.expirationDate " +
                "FROM signing_keys sk")
  List<SigningKey> getPublicKeys();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Can it
  • High reputation (-1):
Posted by: olyv

79119475

Date: 2024-10-23 19:42:35
Score: 3.5
Natty:
Report link

You can try a chrome extension called "Allow CORS"

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

79119457

Date: 2024-10-23 19:37:33
Score: 1
Natty:
Report link

yes you can see some infrared through phone cameras and also you can see some ultra violet. it just depends on the frequency of the light and the phone.

i know its years old but still obviously people talk without ever having tried. the oldest trick in the book to see if the infrared remote is working is to look at it flashing through a phones camera. saying categorically that it "cant" or wont happen or is not possible, simply shows your complete and total ignorance on the subject which is weird since even without testing your self you confidently say "NO". people are weird. yes you can see some infrared through phone cameras and also you can see some ultra violet. it just depends on the frequency of the light and the phone.

if you want to test this go get a remote control. lok at the led in the end of it and see if you can see the infra red with your naked eye. you probably cant. now do the same and look at it whilst pressing a button through your phone camera.

experience beats ignorant obsolete answers.

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

79119454

Date: 2024-10-23 19:34:32
Score: 2
Natty:
Report link

go to the config.py file located in \superset_env\lib\python3.10\site-packages\superset and on line 389 replace with D3_FORMAT: D3Format = { "decimal": ",", "thousands": ".", "grouping": [3], "currency": ["R$ ", ""]}

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

79119445

Date: 2024-10-23 19:30:31
Score: 1.5
Natty:
Report link

you should switch global locale:

$.data( document, 'i18n' ).locale = 'de'
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Андрей Б

79119435

Date: 2024-10-23 19:27:30
Score: 2.5
Natty:
Report link

Check Bloc State Changes If your AuthenticationBloc is emitting new states frequently (such as AuthenticationLoadingState), it could be triggering rebuilds too often.

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

79119425

Date: 2024-10-23 19:24:27
Score: 6.5 🚩
Natty:
Report link

Here is the solution to my problem: https://www.youtube.com/watch?v=dFRt3J0xx7E

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yaroslav

79119421

Date: 2024-10-23 19:23:27
Score: 0.5
Natty:
Report link

Add ..addRotate([-20.0 / 180 * 3.14, 0.0, 20.0 / 180 * 3.14]) // Slight rotation for angled cards The rotation angles are smaller (±20 degrees), giving a subtle angled layout for the side cards.

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

79119417

Date: 2024-10-23 19:22:27
Score: 3.5
Natty:
Report link

I use S3 Drive as it integrates with any S3 compatible service like Backblaze, Wasabi, etc., is pretty easy to use, fast, and works on Mac, Windows and Linux. Overall, a solid product.

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