79142831

Date: 2024-10-30 21:28:49
Score: 4.5
Natty:
Report link

I think it would depend on what modules/libraries you are using in Python. Does this answer help?

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

79142819

Date: 2024-10-30 21:22:47
Score: 2
Natty:
Report link

Assuming you are using github.com/stretchr/testify/mock you could define your own mock object or use mock.MatchedBy.

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

79142814

Date: 2024-10-30 21:19:43
Score: 6.5 🚩
Natty:
Report link

I have no rep so I can't upvote but I found the same solution for vscode as @ioaniatr in the https://code.visualstudio.com/docs/cpp/config-mingw?source=post_page-----a360be1487c...#_modifying-tasksjson

{
"tasks": [
  {
    "type": "cppbuild",
    "label": "C/C++: g++.exe build active file",
    "command": "C:\\msys64\\ucrt64\\bin\\g++.exe",
    "args": [
      "-fdiagnostics-color=always",
      "-g",
      "${fileDirname}/*.cpp",
      "-o",
      "${fileDirname}\\${fileBasenameNoExtension}.exe",
    ],
    "options": {
      "cwd": "${fileDirname}"
    },
    "problemMatcher": ["$gcc"],
    "group": {
      "kind": "build",
      "isDefault": true
    },
    "detail": "Task generated by Debugger."
  }
],
"version": "2.0.0"

}

I followed this guide for setting up a compiler: https://www.youtube.com/watch?v=DMWD7wfhgNY

Reasons:
  • Blacklisted phrase (1): this guide
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (0.5): upvote
  • RegEx Blacklisted phrase (2): can't upvote
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @ioaniatr
  • Low reputation (1):
Posted by: znic1967

79142813

Date: 2024-10-30 21:19:43
Score: 2
Natty:
Report link

In case anyone still googles it 3 years later - use django-silk

Debug toolbar renders it's data into the template, if you want to track your API calls django-silk is the best choice.

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

79142810

Date: 2024-10-30 21:18:43
Score: 3
Natty:
Report link

Finally, I managed to get it working! I’m not sure if the information I saw on other sites is incorrect or if Apple recently changed something, as several sources mentioned that the keychain-access-groups needed to be added to the entitlements.plist. I moved this key to the info.plist, and it finally worked!

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

79142801

Date: 2024-10-30 21:14:42
Score: 3
Natty:
Report link

This is not a direct solution, but a workaround -- instead of settling on type="raw", I declared every single data area as groups right inside the script schema, and just wrote logic to identify which data area to use when.

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

79142799

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

I got it, man. You were trying to pull off a scam. Congratulations, you just scammed me for 0.5 ETH by importing this wallet into my MetaMask: 0xcd3b766ccdd6ae721141f452c550ca635964ce71

I was about to receive some money, and I ended up sending it to this wallet that somehow got imported into my MetaMask. You took it and stole the money that I was going to withdraw to pay my household bills. Congratulations, thief. But remember, everything you do comes back to you twice as hard in this universe.

my wallet: https://arbiscan.io/address/0x98465f8a13e90689ca37c4b3fc38f2f93f8b65b4 Congratulations, you destroyed my project and set my life back significantly.

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

79142792

Date: 2024-10-30 21:10:41
Score: 0.5
Natty:
Report link

I found a solution!

Create a blank email, apply the sensitivity label, save it as OFT (Outlook Template) and store it somewhere, say C:\Temp.

On your powershell script, all you need to do is:

Replace this line -> $outlook.CreateItem(0)
By this line -> $outlook.CreateItemFromTemplate("C:\Temp\YourEmail.oft")

Hope it helps

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Paulo Goissis

79142791

Date: 2024-10-30 21:09:40
Score: 5
Natty: 4.5
Report link

Trying to use this method to pull a couple of pieces of info & write it to an external file.

My command line now is

SYSTEMINFO /S MyComputerName /FO CSV /NH >> sysinfo.csv

let's say to start, I'd like OS name I tried this but not quite working...

SYSTEMINFO /S MyComputerName /FO CSV /NH | findstr "OS\ Name" | findstr /v BIOS >> sysinfo.csv

seems to still be pulling all system info. Any suggestions / corrections? thanks!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (2): Any suggestions
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dave

79142786

Date: 2024-10-30 21:08:40
Score: 1.5
Natty:
Report link

Check the Keybindings.

Open Keyboard Shortcut - Press Ctrl + K Ctrl + S or go to File > Preferences > Keyboard Shortcuts. Search for Backspace - In the search bar (at the top) type Backspace. Reset Keybindings - Click on the three-dot menu at the top-right of the Keyboard Shortcuts pane and select Reset Keybinding.

If it does not work, try reinstalling the Visual Studio Code.

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

79142780

Date: 2024-10-30 21:06:39
Score: 1.5
Natty:
Report link

I know it is late; but I came across a similar issue. You could use the symmetry of the matrix, something like: from scipy.sparse.linalg import eigsh and eigsh(A, k=1, which='LM', return_eigenvectors=False). np.linalg.norm(A, ord=2) is painfully slow.

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

79142777

Date: 2024-10-30 21:03:39
Score: 2
Natty:
Report link

Add the 'use client' directive at the top of the file where you use the useTheme() hook. In Nextjs, this is required for all files where you use hooks, they must be client components.

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

79142769

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

The single formula

[J3]=BYROW(IF(B3:I5="","",B3:I5&" "&B2:I2),LAMBDA(I,TEXTJOIN(", ",TRUE,I)))

enter image description here

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

79142767

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

This is for people with large codebases who are limited in moving to newer/safer/faster PHP versions only due to the fact that undefined array keys or undefined variables are now warnings in PHP 8.

To suppress undefined-warnings in PHP 8, I have found two main approaches: using a custom error handler with a PHP extension (some C-code) or setting a custom error handler (php-code) in an auto_prepend_file via php.ini.

Run the code with these tweaks until you have time to fix or rewrite that massive codebase.

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

79142766

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

Could you use kubectl cluster-info to verify if you are accessing the same EKS cluster from cloudshell and your terminal? The output shows the EKS apiserver endpoint address.

Also, I noticed that you use --profile when doing update-kubeconfig, are you using the same profile when executing all commands?

Another thing you can try is kubectl get node -v=9 and compare output from cloudshell and terminal.

To answer all your questions:

  1. How can I ensure my admin user has the appropriate permissions to access the EKS cluster?

If your admin user is whom you used to execute eksctl create command, then you will be fine. The cluster creator will be granted access permission automatically. You don't need to manually configure it.

  1. What steps should I take to modify the aws-auth ConfigMap to grant access?

If you want to grant access to other IAM users, EKS provides 2 ways to do that. The aws-auth configmap and EKS IAM Access Entries (or called EKS API).

I would suggest you to use EKS IAM Access Entries, since it is more simple way to configure it.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Wei-Yu C.

79142763

Date: 2024-10-30 20:59:37
Score: 3.5
Natty:
Report link

The first answer by m.ghoreshi is correct but I want to elaborate on the answer. When creating the USER_NAME and ACCESS_TOKEN to be used by the workflow, make sure to create it under Secrets and Variables / Actions, not Secrets and Variables / Codespaces.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: CouponCode

79142758

Date: 2024-10-30 20:58:37
Score: 0.5
Natty:
Report link

Using String_AGG may be suitable to concat two fields, and by also applying string manipulation:

Try to use this:

SELECT

ID,

extra\_field,

STRING\_AGG(CONCAT('[', field1,',', SUBSTR(field2, 2))) AS field3

FROM

'your data'

GROUP BY

ID, extra\_field;

below's what I got:

image

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

79142756

Date: 2024-10-30 20:57:36
Score: 2
Natty:
Report link
  1. Please explain how and why the conversion operator of the type used as an argument for t.set in the requires expression is evaluated during the instantiation of the concept.

Like normal. The expression needs to be check to see if its valid so it goes through the normal overload resolution steps and it converts s to a type that works.

  1. Please explain why the overload set of Bazzz yields a build failure for the concept

You have an ambiguous conversion as both void set(char *); and void set(std::string); are viable since s can be converted to a char* or a std::string. Non of these conversions is better than the other so you get an error.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please explain how
  • RegEx Blacklisted phrase (2.5): Please explain
  • Long answer (-0.5):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: NathanOliver

79142752

Date: 2024-10-30 20:54:36
Score: 2.5
Natty:
Report link

Try with another java version, I was getting same issue after mvn install command,then I switch the java version of my IDE,from java 17 to java 1.8 enter image description here

and went fine, then I was able to generate the jar file, in case you want to install with java 17 , align your pom or gradle file to java 17 version, check latest version for all the dependencies

-Windows -IDE:intelliJ -java version:17 -new java version:8 -maven -springboot 3

Reasons:
  • Blacklisted phrase (1): enter image description here
  • No code block (0.5):
  • Low reputation (1):
Posted by: jorge aldo perez

79142750

Date: 2024-10-30 20:53:35
Score: 2
Natty:
Report link

By checking their docs example

app.layout = html.Div([
    dcc.Dropdown(['New York City', 'Montréal', 'San Francisco'], 'Montréal')
])

Seems you just need to provide a tuple with 2 items, a list and a default value.

Maybe give this a try?

states = ['AL','AR','AZ','CA'] # ...

dcc.Dropdown(id='select_st',
             options=(states, states[-1]),
             value='FL',
             style={
                 'width':'80%', 
                 'padding':'3px', 
                 'font-size':'20px', 
                 'text-align':'left'})
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Rauuuñ

79142747

Date: 2024-10-30 20:53:35
Score: 1
Natty:
Report link

You might need to indent the following block into each of the model classes:

class Config:
    orm_mode = True 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: zaibaq

79142746

Date: 2024-10-30 20:51:34
Score: 2
Natty:
Report link

It's been a while since the question, but if you are coming to this thread and you are still confused, I'd look at this:

https://blog.mecheye.net/2024/10/the-ultimate-guide-to-matrix-multiplication-and-ordering/

It has answers to all questions that you might have about matrices in HLSL and GLSL, including order of multiplication, row/column-major and math theory :)

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

79142729

Date: 2024-10-30 20:42:32
Score: 4
Natty: 4
Report link

Found this article that describes how to use kafka via standard 'message' tasks: https://blog.kie.org/2020/12/jbpm-messages-and-kafka.html

(I have not tried it though.)

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Mr Weasel

79142725

Date: 2024-10-30 20:41:32
Score: 2.5
Natty:
Report link

Fixed issue UseSwagger() .UseSwaggerUI() Can't be used with. UseSwaggerForOcelotUI(). They are cover each other.

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

79142710

Date: 2024-10-30 20:37:31
Score: 0.5
Natty:
Report link

You can use SQL LOADER delimiter ENCLOSED BY for comments field. For example : comments enclosed by '"' This tells SQL*Loader to treat everything between double quotes as part of the COMMENTS field, even if it contains newlines or other delimiters.

reference : https://docs.oracle.com/en/database/oracle/oracle-database/21/sutil/oracle-sql-loader-field-list-contents.html

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: munsidd

79142706

Date: 2024-10-30 20:36:30
Score: 2
Natty:
Report link

I had the same problem and solved it by launching qgis using QT_AUTO_SCREEN_SCALE_FACTOR=0 qgis from terminal.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Leandro Monteiro

79142705

Date: 2024-10-30 20:36:30
Score: 1.5
Natty:
Report link

you are sending the image in base64.

The Conversation api directly accepts the file content in the format you specify.

"messages": [
    {
        "content": [
            {"text": "What is this document?"},
            {"image": {"format": "jpeg", "source": {"bytes": image_content}}}
        ],
        "role": "user"
    }
]

where for example if you take your image from aws S3

file_obj = s3.get_object(Bucket=bucket, Key=key)
image_content = file_obj['Body'].read()
Reasons:
  • Blacklisted phrase (1): this document
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: colomuller91

79142699

Date: 2024-10-30 20:35:30
Score: 1
Natty:
Report link

With Alpine distro, it works with:

apk add --no-cache musl-dev i686-mingw-w64-gcc mingw-w64-gcc

/.cargo/config.toml

[target.i686-pc-windows-gnu]
linker = "i686-w64-mingw32-gcc"
ar = "i686-w64-mingw32-gcc-ar"

[target.x86_64-pc-windows-gnu]
linker = "x86_64-w64-mingw32-gcc"
ar = "x86_64-w64-mingw32-gcc-ar"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: rtritto

79142698

Date: 2024-10-30 20:34:30
Score: 0.5
Natty:
Report link

Solution that definitely solved the problem for us, just run the npm install or yarn) inside python environment:

python3 -m venv venv
source venv/bin/activate
pip install setuptools wheel

yarn

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

79142692

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

Yes, us the MemoryStream Class to create a stream that you pass to the FluentFTP UploadStream().

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

79142691

Date: 2024-10-30 20:29:29
Score: 1
Natty:
Report link

Any commits that used your old primary email address will no longer be associated with your account if you no longer have that email address associated with your account.

To revert, you would have to add that email address back and verify it. It doesn’t have to be your primary email address.

To prevent this becoming a problem in the future, especially if you are using an email address that is attached to a school or workplace, you can choose to select our email privacy feature and use a GitHub provided address for all of your commits. This isn’t a functional email address, but a way of associating your commits directly with your GitHub account instead of with a specific email address.

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

79142689

Date: 2024-10-30 20:28:26
Score: 12 🚩
Natty: 5
Report link

Not an answer, but StackOverflow doesn’t want to let me comment (new user & not enough reputation).

You say that you solved this by updating the permissions and then using an environment variable. Would you mind posting your configuration to show exactly what you did? I’m having the same issue and can set the permissions but I’m not seeing any suitable environment variables generated that help me get the table name inside the lambda :(

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): Not an answer
  • Blacklisted phrase (2): Would you mind
  • Blacklisted phrase (1): StackOverflow
  • Blacklisted phrase (1): :(
  • RegEx Blacklisted phrase (1.5): enough reputation
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Carl Hultquist

79142687

Date: 2024-10-30 20:28:26
Score: 1
Natty:
Report link

You can use now the Metadata Pointer Token Extension to add metada to tokens (not NFT's). This is way easier than using metaplex, and is a stardard since 2022, see this guide https://solana.com/developers/guides/token-extensions/metadata-pointer that coints a walk through on how to implement it. Here is a token with metadata created through this method https://solana.fm/address/5RDgetphrERHEwJMrkoKUqapzPXf4HMzcYwHbr3XtZ7C/transactions?cluster=devnet-solana

Reasons:
  • Blacklisted phrase (1): this guide
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Sr.PEDRO

79142672

Date: 2024-10-30 20:23:25
Score: 1
Natty:
Report link

On going through the Datadog aggregation methods and space aggregation documents, it can be seen that they support group by aggregation in the queries for metrics.

In this case it is using sum by in the following way:

sum:orders{status:failed} by{category}.as_count()

One can refer the Datadog nested queries multilayer space aggregation for more examples.

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

79142664

Date: 2024-10-30 20:20:24
Score: 2
Natty:
Report link

I can't see what may occur directly. But, I suggest you can try with logging. Config the server log with nginx and with the Spring Boot rquests. Go debug with the error log. You will able to find what may occur the error.

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

79142660

Date: 2024-10-30 20:19:24
Score: 2
Natty:
Report link

just add at the top of your file before imports.

'use client';
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Алексей

79142650

Date: 2024-10-30 20:17:23
Score: 3
Natty:
Report link

Most likely, the problem is that the symbol you're requesting is inside the root package. And there is a corresponding bug. https://youtrack.jetbrains.com/issue/KTNB-709/Symbols-from-the-root-package-inside-the-libraries-are-not-resolved-on-the-kernel-side

Workaround: move the symbol to non-root package

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

79142649

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

A better answer is to change ZmodemAuto=off to ZmodemAuto=on in TERATERM.INI

Typing transfer>ZMODEM>receive constantly is no fun.

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

79142648

Date: 2024-10-30 20:16:23
Score: 2.5
Natty:
Report link

In Slack workflows, you can manipulate strings using the built-in functions.

Here is the link: <https://example.com|Click here>
Reasons:
  • Blacklisted phrase (1): Here is the link
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Handro

79142632

Date: 2024-10-30 20:08:21
Score: 0.5
Natty:
Report link

You can append the path to sqlcmd to your .bashrc file as part of your Dockerfile. Try adding this line to it:

RUN echo "export PATH=/opt/mssql-tools/bin/sqlcmd:${PATH}" >> /your_home_directory/.bashrc

You'd have to replace /your_home_directory with the path to your home directory within the container.

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

79142630

Date: 2024-10-30 20:08:19
Score: 9 🚩
Natty: 6.5
Report link

Did you solve that problem? I got the same

Reasons:
  • RegEx Blacklisted phrase (3): Did you solve that problem
  • RegEx Blacklisted phrase (1.5): solve that problem?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you solve that
  • Low reputation (1):
Posted by: Артем Семенов

79142628

Date: 2024-10-30 20:07:19
Score: 0.5
Natty:
Report link

Use alert(<%= JSON.generate(ERB::Util::html_escape(@notice)) =>), which will work for all text, including with line breaks, prevent XSS, etc.

https://code.dblock.org/2024/10/30/safely-passing-ruby-variables-to-javascript-in-erb.html

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

79142623

Date: 2024-10-30 20:03:17
Score: 0.5
Natty:
Report link

I unfortunately can't comment with this account, so this answer will only be partially helpful. I would prefer to comment to ask for you to actually upload your whole project or at least a snippet of it because "shared layout" isn't exactly a common term, so I'm not totally sure what you mean.

I believe what you're running into is essentially that you have the content you want to print within a whole fancy layout on the page, and you want to disable all the fancy styling and only print (essentially) the information within a certain section. There are two ways to achieve this.

First, it's kind of a lame solution: duplicate the section that you want to print, set the parent container to display:none except on the @media print query. Style that however you'd like. Set the main parent container to display:none in the media query. You'll end up with two versions of the same content, but 1 of those versions will always be completely hidden.

The second option, which is the more technically proficient option but more work, is that you can wrap all of your non-print styling in a @media only screen query. That will disable all styling except your print styling. Here's an example: https://jsfiddle.net/sydneymvo/Lkqu0gwr/4/ you can right-click on the page and select print to see it in action

@media only screen {
  .print {
    background: wheat;
    padding: 1rem;
  }

  .no-print {
    background: lightblue;
    padding: 1rem;
  }
}

@media print {
  .print {
    background: white;
    padding: 4rem;
    border: 10px solid red;
  }
  .no-print {
    display: none;
  }
}
<div class="print">
  <h1>hello world</h1>
</div>
<div class="no-print">
  <p>This shouldn't print</p>
</div>

Reasons:
  • Blacklisted phrase (1): to comment
  • Whitelisted phrase (-2): solution:
  • RegEx Blacklisted phrase (1): can't comment
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @media
  • User mentioned (0): @media
  • Low reputation (1):
Posted by: Sydney Ling

79142622

Date: 2024-10-30 20:02:15
Score: 6.5 🚩
Natty: 5.5
Report link

How to do this with pure javascript?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Farshad

79142607

Date: 2024-10-30 19:57:13
Score: 4
Natty: 4.5
Report link

Here are some packages that I think might be useful to you;

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ömer Faruk Gürbüz

79142578

Date: 2024-10-30 19:43:09
Score: 1.5
Natty:
Report link

The code you have written is correct, there are a few reasons why it gets that error:

If you can share the specific site you are trying to retrieve, I may be able to look at it and provide more targeted advice.

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

79142577

Date: 2024-10-30 19:42:09
Score: 4.5
Natty:
Report link

Using the debugging technique suggested by @hardillb I was able to get this working.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @hardillb
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: tmparisi

79142565

Date: 2024-10-30 19:38:08
Score: 1
Natty:
Report link

I ran into this exact same issue on a new workstation and the fix for me was to give my specific user Modify rights on the .git folder even though I already had Full Control rights which includes the Modify right. And I confirmed this is required by removing my Modify right and leaving the Full control and got the error again. I could only make the error go away by giving myself Modify rights. How I even thought of looking at this is that fortunately I had one folder that was working correctly and one that was not on the same workstation and that was the only difference. On both folders I had Full Control, but on the one that was working I also had a Modify rights ACL as well.

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

79142549

Date: 2024-10-30 19:30:06
Score: 1
Natty:
Report link

Below statement what I added in application.properties file to get rid of this error

management.health.jms.enabled=false

This kind of blind folds this error and the subscriber should still be able to receive incoming messages

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

79142548

Date: 2024-10-30 19:29:06
Score: 3.5
Natty:
Report link

I included the answer in the original post above. I'll mark this as the answer.

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

79142539

Date: 2024-10-30 19:26:03
Score: 8 🚩
Natty: 6
Report link

I have the same problem, and I need sleep to avoid overloading the server

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I have the same problem
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Willian Mauricio

79142513

Date: 2024-10-30 19:12:59
Score: 4
Natty:
Report link

used version 8.0.0 cordova-plugin-camera

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

79142509

Date: 2024-10-30 19:11:59
Score: 2
Natty:
Report link

if anyone came here because of similar error in the logs, this particular issue had been fixed in the version 3.14.2. https://downloads.jumpmind.com/symmetricds/doc/3.14/html/release-notes.html

Now, that is not the latest version, so don't rush to install it ;-)

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

79142506

Date: 2024-10-30 19:11:59
Score: 1.5
Natty:
Report link

Most browsers will display the element with the following default values:

Example:

u {
  text-decoration: underline;
}

<p>This is some <u>Text</u> text.</p>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ali Rad

79142504

Date: 2024-10-30 19:10:59
Score: 0.5
Natty:
Report link

You can set the offset explicitly in linestyle. While there's probably a way to compute the correct offsets, for simple use-cases I'd suggest just fiddling with it until it looks right.

import matplotlib.pyplot as plt
import matplotlib as mpl

plt.title("Offsets in dashed lines")
plt.show()

num_lines = 6
for i in range(num_lines):
    dash_pattern_tuple = mpl.rcParams[f'lines.dashed_pattern']  # (3.7, 1.6), meaning a 3.7pt line and a 1.6pt gap.
    cycle_pt_size = sum(dash_pattern_tuple)
    offset_fraction = i / num_lines
    offset_pt = cycle_pt_size * offset_fraction
    ax.plot((-1, 1), (i, i), linestyle=(offset_pt, (3.7, 1.6)))

Matplot plot of 6 dashed lines that are all 1/6th phase offset from each other.

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

79142499

Date: 2024-10-30 19:09:58
Score: 2
Natty:
Report link

you should go to your system>>enviorment variables>>click on the edit enviorment variables and then edit the existing path variables. If you want you could even watch the tutorial about this in detail;

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

79142493

Date: 2024-10-30 19:08:58
Score: 1.5
Natty:
Report link

DOC_NUM is defined as not null and hence the error ORA-01400: cannot insert NULL into ("mac"."ora_cfc"."DOC_NUM")

ORA-01461: can bind a LONG value only for insert into a LONG column occurs when you're trying to insert or update a LONG datatype value into a column that is not defined as LONG

The version field in source is decimal and on Oracle is number.

Check if any of the Decimal fields on the Source is null and you are trying to insert into Oracle number fields which are not null

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

79142490

Date: 2024-10-30 19:07:57
Score: 2.5
Natty:
Report link

Johnnys idea above does in fact change the eraser, but it also changes alot of the visuals on your dashboard as well unfortunately. So unless you want all your visual keys to change as well its not a good option.

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

79142486

Date: 2024-10-30 19:05:57
Score: 0.5
Natty:
Report link

atlascode answer is good:

=myFunction(CELL("address", D3:Y23))

But... for some reason it didn't get all the cells, only the first one (D3), and the script won't detect changes in these cells.

I end up doing something like this:

function example(row_a, col_a, row_b, col_b, watch){

  var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
  let range = sheet.getRange(
    row_a, col_a, 
    row_b-row_a + 1, 
    col_b-col_a + 1);
//...
}

My workaround is to put an extra watch parameter in the function so the user can insert the range, and the script will detect any updates in those cells. You don't need to do anything with it.

And you call the function like this:

=example(row(A1), column(A1), row(B2), column(B2), A1:B2)
Reasons:
  • RegEx Blacklisted phrase (0.5): any updates
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: stoiaMillawi

79142471

Date: 2024-10-30 18:59:55
Score: 0.5
Natty:
Report link

Based on the followup discussion with kmdrenko, better solution was found. I didn't want to replace first answer because it had some discussion.

In this solution use of that Rc clone is isolated to own scope and Rc::get_mut is used to get mutable access to mock after there are no other Rc's referring to it.

#[test]
fn test_sage() {
    let mut mock_source = MockWisdomSource::new();
    mock_source.expect_ask().times(1).return_const("42".to_string());

    let mut mockup_rc = Rc::new(mock_source);

    // Scope to drop Oracle before checking the mockup
    {
        let source = Rc::clone(&mockup_rc) as Rc<dyn WisdomSource>;        
        let oracle = Oracle{source};
        
        let answer = oracle.ask(&"What is the meaning of life?".to_string());

        assert_eq!(answer, "42");
    }
     
    // Check that the mockup was called
    let mock_ref = Rc::get_mut(&mut mockup_rc).unwrap();
    mock_ref.checkpoint();        
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Heikki Taavettila

79142461

Date: 2024-10-30 18:57:54
Score: 1.5
Natty:
Report link

As per ceejayoz's answer

When pages with .php extension are requested, but because those pages doesn't exist, my NextJs App send 404 page instead, so the bandwidth used is because Vercel is sending a 404 page in response

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

79142459

Date: 2024-10-30 18:56:54
Score: 2
Natty:
Report link

If you are using Camunda 8, the Camunda docs has a section that covers writing tests for processes using the Camunda Process Test (CPT), a Java library for testing BPMN processes and process applications.

This uses JUnit instead of mockMvc, but it has fleshed-out examples of how to test all parts of your process.

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

79142458

Date: 2024-10-30 18:56:54
Score: 2
Natty:
Report link

What is the right way to have a class representing a database view with EF Core?

I think you did just fine to represent the view.

Why doesn't ToView do what it says it should do? ("Configures the view that the entity type maps to when targeting a relational database.")

It actually doing what is supposed to do.

I think what is going to work for you is that you could delete the migrationBuilder.CreateTable(.. to create the view in Migration.Up

Do not specify the view's creation in your migration "Up" if you do not like it do to so...

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What is the
  • Low reputation (1):
Posted by: André Giacomini

79142452

Date: 2024-10-30 18:54:54
Score: 0.5
Natty:
Report link

I had a same problem on my iPhone 15 Pro Max (iOS 17.4.1) using Xcode 16.1. Pressing the "Verify" button in "Settings" did nothing; the alert just blinked.

  1. I rebooted the device, but it did not help.
  2. Somehow, I noticed that the location was enabled. When I switched it off and tried again, the verification succeeded.

Magic or not, but it helped.

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

79142447

Date: 2024-10-30 18:53:53
Score: 1
Natty:
Report link

The issue is really with the consumption plan of Azure Function when it comes to the "cold start phenomenon". In this case you can try to implement a keep-alive mechanism to periodically invoke the function, be it a timed trigger or HTTP trigger which will ping your Service Bus Function.

OR

you can switch to flex-consumption tier which supports always ready instances feature: https://learn.microsoft.com/en-us/azure/azure-functions/flex-consumption-plan#always-ready-instances

Hopefully that helps !

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

79142442

Date: 2024-10-30 18:51:53
Score: 4.5
Natty: 4
Report link

useFormState has been replaced by useActionState

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

79142430

Date: 2024-10-30 18:47:52
Score: 1.5
Natty:
Report link

I had this issue with @Transactional and managed to fix it by using open class instead of just class

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

79142429

Date: 2024-10-30 18:47:52
Score: 1.5
Natty:
Report link

You should use:

return Results.Text("your text");
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jck

79142427

Date: 2024-10-30 18:46:51
Score: 4
Natty:
Report link

Try using Launchdarkly REST API. They provided Create or update context kind. https://apidocs.launchdarkly.com/tag/Contexts#operation/putContextKind

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

79142407

Date: 2024-10-30 18:40:49
Score: 0.5
Natty:
Report link

Finally this is how i managed to fix it: I am a calling a C# method here in MVC. Make sure your C# method is not declared as static. Just like this. Also i spend probably 8 hours day trying to understand why i could not get any results back. You need the async = false option. Otherwise you will spend similar amount of time if not more!

C# public string CreateCoordinatesFromPostcode(string postcode) { // logic string result = "XXXXXX" // your logic return result; }

JavaScript
 let result = '';
 $.ajax({
     type: "POST",
     url: '/clib/CreateCoordinatesFromPostcode',
     async: false,
     data: { postcode: postcode },
     success: function (response) {
         result = response;
     },
     error: function (error) {
         console.error(error);
     }
 });

 console.log("just after  /clib/createCoordinatesFromPostcode");

 return result;
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: PanLondon

79142406

Date: 2024-10-30 18:39:48
Score: 2.5
Natty:
Report link

Uno de los problemas más comunes, es que se este olvidando de actualizar el archivo de instalación, requirements.txt Si no están las dependencias actulizadas correctamente con el siguiente comando: pip3 freeze > requirements.txt

Lo que te va a decir, es el mensaje que has mostrado, deberías revisar si esta actualizado con el siguiente comando: cat requirements.txt

Si lo dejas actualizado, todo debería funcionar perfectamente

Reasons:
  • Blacklisted phrase (1): está
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ariel Betancud

79142397

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

You also can use flat_map

iex> [
...>   [[1, 2, 3], [4, 5, 6]],
...>   [[1, 2, 3], [4, 5, 6]]
...> ] |> Enum.flat_map(fn x -> x end)
[[1, 2, 3], [4, 5, 6], [1, 2, 3], [4, 5, 6]]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alexey Pavlinov

79142393

Date: 2024-10-30 18:35:47
Score: 2.5
Natty:
Report link

Old question, but removing connection_class = RequestsHttpConnection worked fine for me.

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

79142386

Date: 2024-10-30 18:33:47
Score: 0.5
Natty:
Report link

A less desirable solution that I found is to edit the .git/config file and comment out the url under the '[remote "origin"]' with a '#', then, duplicate it and modify it to have the desired USER and TOKEN.

[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
[remote "origin"]
#   url = https://user1:[email protected]/user/repository.git
    url = https://user2:[email protected]/user/repository.git
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin
    merge = refs/heads/master

This way, it is possible to do a git push for example then go back and comment out the url that was added and uncomment the original one.

I am still looking for a more hassle free solution though, as this would leave both tokens in the .git/config file, which is undesirable.

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

79142383

Date: 2024-10-30 18:33:47
Score: 0.5
Natty:
Report link

The first thing you will need to upload a file to ICloud is the entitlement: https://learn.microsoft.com/en-us/dotnet/maui/ios/entitlements?view=net-maui-8.0#icloud

This contains the following xml for the entitlement:

<key>com.apple.developer.icloud-container-identifiers</key>
<array>
  <string>iCloud.com.companyname.test</string>
</array>
<key>com.apple.developer.ubiquity-kvstore-identifier</key>
<string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>

While the following docs are for xamarin, they may be helpful in getting the correct response, as the following Microsoft vendor states: https://learn.microsoft.com/en-us/answers/questions/1665676/not-able-to-perform-read-and-write-operation-in-ic https://learn.microsoft.com/en-us/previous-versions/xamarin/ios/data-cloud/introduction-to-icloud#finding-and-opening-icloud-documents

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

79142382

Date: 2024-10-30 18:32:46
Score: 1
Natty:
Report link

I used scrcpy like this:

scrcpy --video-codec=h265 --max-size=1920 --max-fps=60 --audio-source=mic --audio-codec=aac --no-playback --keyboard=uhid --record screencast.mp4

It even captures the mouse pointer, unless its disabled via a flag or option. Checkout the docs for more audio options:

https://github.com/Genymobile/scrcpy/blob/master/doc/audio.md

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

79142364

Date: 2024-10-30 18:28:45
Score: 1.5
Natty:
Report link

For posterity: This has changed in the newer versions of power-point. Updated directions can be found at this link, relevant excerpt below:

To rename objects by using the Selection Pane

  1. (On Windows) On the Home tab, in the Editing group, click Select > Selection Pane.(On macOS) On the Home tab, in the Arrange group, click Selection Pane.

  2. Click a name in the list to select the object. Click it a second time to make the name editable. The Selection Pane opens on the right side. It shows a list of all the objects on the current slide.

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

79142359

Date: 2024-10-30 18:26:45
Score: 4.5
Natty:
Report link

div class="rc-imageselect-incorrect-re

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

79142353

Date: 2024-10-30 18:24:44
Score: 1.5
Natty:
Report link

Can use pop method.

    var arr = [1,2,3,4];

    console.log(arr[arr.length -1]); // get the last element
    
    arr.pop(); // delete the last element
     
         (or)

    //other way for deleting the last element
    console.log(arr.splice(arr.length-1, 1));
    
    console.log(arr); // [1,2,3]

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): Can u
  • Low reputation (1):
Posted by: Ravi

79142326

Date: 2024-10-30 18:16:41
Score: 2
Natty:
Report link
  1. Line 5 - Avoid the empty space at the end
  2. Line 23 - Ensure that there is a newline character at the end of the file.
  3. Line 28 - Remove any extra blank lines at the end of the file so there's only one newline
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: joyal

79142307

Date: 2024-10-30 18:08:39
Score: 3
Natty:
Report link

$.ajax({
type: 'GET',
url: 'https://www.instagram.com/furkanflyes?igsh=dm5xdDUzejJkd3Nw',
cache: false,
dataType: 'jsonp',
success: function(data) {
try{
var media_id = data[0].media_id;
}catch(err){}
} });

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Hdjsgsjs

79142301

Date: 2024-10-30 18:05:39
Score: 4
Natty: 5
Report link

Confirmed, worked on Fargate pod. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: tangato

79142300

Date: 2024-10-30 18:05:38
Score: 3.5
Natty:
Report link

Yes!!! SymmetricDS can be embedded with another Java program or with Jetty/Tomcat web server.

See many options in the User Guide: https://downloads.jumpmind.com/symmetricds/doc/3.15/html/user-guide.html#_embedded

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

79142284

Date: 2024-10-30 18:01:37
Score: 0.5
Natty:
Report link

to find posts by email

$post = Post::where('phone',$request->iqama_no)->first();

find comments

$comments = Comments::where('post_id', $post->id)->get();

there's better way , but you have to include how you implemented the model to make sure I gave you the correct answer

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

79142283

Date: 2024-10-30 18:01:37
Score: 2.5
Natty:
Report link

Please make sure that the Controller is added in the Program.cs file.

builder.Services.AddControllers();

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

79142262

Date: 2024-10-30 17:56:35
Score: 2
Natty:
Report link

there's a third option and it's better than these two

use the request form for validation why? here are a few reasons

  1. the data validated before reaching to the controller
  2. it's cleaner if the validation separated from the logic
  3. it's following the solid principles

and according to your question , the best way is to use validatedData

why?

Because you will be sure the data is already validated and it's not passed without any validation,

rather than that there's no difference

Reasons:
  • Blacklisted phrase (0.5): why?
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: amr degheidy

79142259

Date: 2024-10-30 17:55:35
Score: 1.5
Natty:
Report link

Sub CrearePrezentareStiluriFunctionale() ' Declarați variabilele pentru prezentare și slide-uri Dim pptApp As Object Dim prezentare As Object Dim slide As Object

' Deschide PowerPoint și creează o prezentare nouă
Set pptApp = CreateObject("PowerPoint.Application")
pptApp.Visible = True
Set prezentare = pptApp.Presentations.Add

' Slide 1: Titlul proiectului
Set slide = prezentare.Slides.Add(1, ppLayoutTitle)
slide.Shapes.Title.TextFrame.TextRange.Text = "Stilurile funcționale ale limbii române"
slide.Shapes.Placeholders(2).TextFrame.TextRange.Text = "Prezentare generală"

' Slide 2: Introducere
Set slide = prezentare.Slides.Add(2, ppLayoutText)
slide.Shapes.Title.TextFrame.TextRange.Text = "Introducere"
slide.Shapes.Placeholders(2).TextFrame.TextRange.Text = "Stilurile funcționale ale limbii române sunt moduri diferite de utilizare a limbajului, adaptate la scopul și contextul comunicării."

' Slide 3: Stilul științific
Set slide = prezentare.Slides.Add(3, ppLayoutText)
slide.Shapes.Title.TextFrame.TextRange.Text = "Stilul științific"
slide.Shapes.Placeholders(2).TextFrame.TextRange.Text = "Caracteristici: limbaj clar, precis, obiectiv; terminologie specifică domeniului științific."

' Slide 4: Stilul beletristic
Set slide = prezentare.Slides.Add(4, ppLayoutText)
slide.Shapes.Title.TextFrame.TextRange.Text = "Stilul beletristic"
slide.Shapes.Placeholders(2).TextFrame.TextRange.Text = "Caracteristici: expresivitate și imaginație; limbaj bogat în figuri de stil."

' Slide 5: Stilul publicistic
Set slide = prezentare.Slides.Add(5, ppLayoutText)
slide.Shapes.Title.TextFrame.TextRange.Text = "Stilul publicistic"
slide.Shapes.Placeholders(2).TextFrame.TextRange.Text = "Caracteristici: limbaj accesibil, ușor de înțeles; obiectiv și informativ."

' Slide 6: Stilul administrativ și juridic
Set slide = prezentare.Slides.Add(6, ppLayoutText)
slide.Shapes.Title.TextFrame.TextRange.Text = "Stilul administrativ și juridic"
slide.Shapes.Placeholders(2).TextFrame.TextRange.Text = "Stilul administrativ: limbaj formal, impersonal; Stilul juridic: terminologie juridică specializată."

' Slide 7: Stilul colocvial
Set slide = prezentare.Slides.Add(7, ppLayoutText)
slide.Shapes.Title.TextFrame.TextRange.Text = "Stilul colocvial"
slide.Shapes.Placeholders(2).TextFrame.TextRange.Text = "Caracteristici: limbaj informal, familiar; ton relaxat, expresii uzuale."

' Slide 8: Concluzii
Set slide = prezentare.Slides.Add(8, ppLayoutText)
slide.Shapes.Title.TextFrame.TextRange.Text = "Concluzii"
slide.Shapes.Placeholders(2).TextFrame.TextRange.Text = "Adaptarea limbajului la contextul și scopul comunicării poate îmbunătăți comunicarea eficientă."

' Finalizare
MsgBox "Prezentarea a fost creată cu succes!", vbInformation

End Sub

Reasons:
  • Blacklisted phrase (2): Crear
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: slavic pni

79142258

Date: 2024-10-30 17:55:35
Score: 2.5
Natty:
Report link

Thanks for the feeback. In answer to questions It is all one solution on my dev machine. I copied the .dll, .pdb, EntityFramework.SqlServer.dll & EntityFramework.dll to the bin folder of the hosting server. The EntityFramework is 6.400.420.21404 on both local and remote. I am not using System.Data.SqlClient but System.Data.EntityClient

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mike Vaughan Edwards

79142249

Date: 2024-10-30 17:49:34
Score: 2.5
Natty:
Report link
        Me.Icon.ToBitmap.Save("C:\temp\MyIcon.ico", Imaging.ImageFormat.Icon)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: PKanold

79142231

Date: 2024-10-30 17:44:32
Score: 2
Natty:
Report link

All modern browsers support box-shadow. The vendor prefixes are not required anymore.

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

79142230

Date: 2024-10-30 17:43:32
Score: 2.5
Natty:
Report link

React mentions the pitfalls of using useId hook for generating keys herepitfall because it will never be the same key between two different renders for React to compare during reconciliation of DOM.

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

79142215

Date: 2024-10-30 17:37:31
Score: 2
Natty:
Report link

embed=discord.Embed(title="HEY!! This is rules and you gotta follow it or we will have to take a move on you. NO IMPERSONATING ANYONE No excuse for impersonating like defending yourself, if you want to check the chat and if you were defending yourself, we may accept your appel. NO HACKING THE BOT Hacking like umuting yourself unless you are a admin, deleting your warns.If we find you doing it,you are PERMANENTLY BANNED. NO REPLIES IN RESTRICTED CHANNELS __No replies in channels like <#1275803848534921366> and #admin-moderate, this is obviously not for admin, but not before <@1247985623910846544> commands you to. @everyone", url="https://discord.com/channels/1275803652610588726/1275803652610588729/1301231780296265799") embed.set_author(name="Blood Dragon ", url="https://discord.com/api/webhooks/1301221894166548511/nxVa54D22DNPJsvxKNsQa-lVTRQPvygxrdSeLVyyomSIbHKyPWBqDPsWT64dpfC_d00b", icon_url="https://discord.com/channels/1247986092892885092/1250857665995997234/1301235148548870184") await ctx.send(embed=embed)

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • User mentioned (1): @everyone
  • Low reputation (1):
Posted by: user28064506

79142207

Date: 2024-10-30 17:36:30
Score: 1
Natty:
Report link

So after a couple of months, leaving this issue to the side, I finally found a useful (at least for myself) solution.

next to the filter_plugins directory, I create the module_utils directory. In here, I put everything I want to import from a filter:

├── roles
│   └── my_role
│       └── tasks
│       └── filter_plugins
│       └── module_utils
│           └── my_python_module
│       └── ...

Now, in if there is anything I need to import, I use the following piece of code:

#!/usr/bin/python

import sys

class FilterModule(object):

    def filters(self):
        return {
            "my_filter": self.my_filter
        }

    def my_filter(self, argument):
        current_file = __file__
        current_path = os.path.dirname(current_file)
        parent_path = os.path.dirname(current_path)
        module_path = parent_path+"/module_utils"

        sys.path.append(module_path)
        import my_python_module

You can treat the module_utils directory just like the lib/python3.x/site-packages directory. So if you install packages via pip, you can copy them from lib/python3.x/site-packages to your module_utils directory.

For instance, I created a fresh venv, activated it and ran the following command:

pip3 install jdcal openpyxl

This installed the following files in my ~/venv/lib/python3.9/site-packages:

$ ls -ln ~/venv/lib/python3.9/site-packages
...
drwxr-xr-x 1 4096 4096     0 30 okt 18:09 et_xmlfile
drwxr-xr-x 1 4096 4096     0 30 okt 18:09 et_xmlfile-2.0.0.dist-info
-rw-r--r-- 1 4096 4096 12462 30 okt 18:10 jdcal.py
drwxr-xr-x 1 4096 4096     0 30 okt 18:10 jdcal-1.4.1.dist-info
drwxr-xr-x 1 4096 4096     0 30 okt 18:09 openpyxl
drwxr-xr-x 1 4096 4096     0 30 okt 18:09 openpyxl-3.1.5.dist-info
...

Next, I copied the directories et_xmlfile and openpyxl and the file jdcal.py to the module_utils directory of my role and used the above piece of code to succesfully import the openpyxl module in my filter.

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

79142202

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

PCL version 1.12.1 does not fix the problem yet. You need to compile and install PCL from the master branch or 1.30.0 newer version.

For more details, you can click the link: https://github.com/PointCloudLibrary/pcl/issues/5063

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

79142192

Date: 2024-10-30 17:32:29
Score: 3
Natty:
Report link

Okay, found the fix. I had to remove the default count value. So remove the 60, leaving the column/value empty.

I'm sure we didn't have to do this in the past.

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

79142174

Date: 2024-10-30 17:27:27
Score: 2
Natty:
Report link

i like virtualenv. My recommendation is that whichever one you use, make sure it's being actively supported. good link explaining in more detail

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

79142166

Date: 2024-10-30 17:25:27
Score: 2.5
Natty:
Report link

Update! I solved it. The problem was encoding the last parameter. It can't be formatted as ASCII, it has to be binary, so you have to generate it in an epl file and then test it :D

There is a helpful link for anyone who will have the same problem in the future, you can handle it :D

https://web.archive.org/web/20141109172303/http://nicholas.piasecki.name/blog/2013/02/using-the-epl2-gw-command/

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Low reputation (1):
Posted by: Marcel Stulczewski

79142150

Date: 2024-10-30 17:22:26
Score: 0.5
Natty:
Report link

I finally found the bug. Just as @Botje said, it's because of the mixture of release/debug mode of DLLs, but in a different way.

When building Skia with the is_debug_build=true arg, I guess it's actually built in Release with Debug Info mode. A friend told me that in windows MSVC runtime library, the std library classes may contain some member variables for Debug mode, but not for Release with Debug Info mode. This may bring the inconsistency of std classes between the skia dll and my project.

To address this issue, I set the cmake setting set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded") to force the compiler to use MD instead of MDd. And this may link the specific MSVC runtime library version without debug member variables to keep the consistency.

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

79142136

Date: 2024-10-30 17:18:23
Score: 9.5 🚩
Natty:
Report link

Brother I also need an help in Deribit API C++ , can you help me ?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): can you help me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: WhatY0uTh1nk

79142120

Date: 2024-10-30 17:13:20
Score: 7.5 🚩
Natty: 6.5
Report link

Do you have maven install? I have the same problem. The issue is "mvn command not found"

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Leon