79123189

Date: 2024-10-24 18:14:56
Score: 1
Natty:
Report link

Spoke to Microsoft Support they advised:

Unfortunately, by design, the value is hardcoded and cannot be changed.

Seems like it is not possible (maybe through 3rd party software) logical step it to use GPO where a user is logged in already and to deny other users logging into the same machine.

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

79123185

Date: 2024-10-24 18:13:55
Score: 1.5
Natty:
Report link

@john-y, @ben-weller, @tay-ray-chuan

There is now (or prolly has been for a while) an option in your ~/.gitconfig to set this:

[stash]
        showPatch = true
        showStat = false

Read all about it at git stash docs near stash.showPatch. #Enjoy!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @john-y
  • User mentioned (0): @ben-weller
  • User mentioned (0): @tay-ray-chuan
  • Low reputation (0.5):
Posted by: jubr

79123179

Date: 2024-10-24 18:09:54
Score: 1
Natty:
Report link
[1, 2, 3].flatMap((i, , arr) => arr.flatMap((j) => i !== j ? [`${i} ${j}`] : null)).filter(Boolean)
// ['1 2', '1 3', '2 1', '2 3', '3 1', '3 2']
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user1356144

79123174

Date: 2024-10-24 18:07:54
Score: 1
Natty:
Report link

For anyone in the future, you can do the following:

import os
path = os.path.dirname(os.path.realpath(__file__))

Now you have the path to the current python file. You can access files like so:

f = open( os.path.join(path, 'static/logo.png'), 'rb' )
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: David Song

79123168

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

The IP address 169.254.169.254 is a link-local address commonly used for communication between devices on the same local network without requiring a DHCP server. In the context of Azure, this address is used to access the metadata service for Azure VMs.

Security of Using 169.254.169.254 Limited Access: The address is accessible only from the VMs themselves. This means it cannot be reached from the internet or other networks, which is a positive aspect for security.

Sensitive Information: Accessing the metadata endpoint can retrieve sensitive information, such as credentials and access tokens. Therefore, it is crucial to handle this data carefully.

Best Practices for Security Limit Access: Ensure that only authorized processes and users within the VM can access the metadata.

Use Managed Identities: Utilize managed identities for accessing Azure resources, reducing the need to manage credentials manually.

Monitoring and Logging: Implement monitoring and logging to track who accesses the metadata and when.

Updates and Patching: Keep the operating system and applications updated with the latest security patches.

Network Configuration: If possible, limit the exposure of the VMs to the internet by using Network Security Groups (NSGs) to filter incoming and outgoing traffic.

Documentation Unfortunately, there does not appear to be detailed official documentation from Microsoft specifically regarding the use of the IP address 169.254.169.254 for Azure VMs. However, you can find general information about Azure VM metadata in the official Azure documentation, which explains how to use this endpoint to access instance metadata.

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

79123159

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

The API to modify a store's location would be the Business Profile APIs (fka Google My Business API).

It only allows modifying stores you own / admin. If that would help you, contact Support to request access.

Neither the Geocoding API nor any other one of the Google Maps Platform APIs support modifying stores.

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

79123157

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

You need to modify your method's header this way:

public void renderAnimatedImage() throws IOException { 
.
.
.

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

79123149

Date: 2024-10-24 17:57:51
Score: 2.5
Natty:
Report link

I tried 'show.bs.modal' but it does not work for me; however,'shown.bs.modal' does.

$('#map-canvas').on('shown.bs.modal', function() {
    map.invalidateSize();
});
Reasons:
  • Blacklisted phrase (1): it does not work for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Habel Tungka

79123148

Date: 2024-10-24 17:57:51
Score: 1
Natty:
Report link

The specification isn't very clear on this. The convention is to use one Cache-Control header with all the cache directives. However, as you state in your question, is it possible that clients/browsers are combining the response header directives?

The main rules are:

  • Caching directives are case-insensitive
  • Multiple directives are permitted and must be comma-separated
  • Some directives have an optional argument. When an argument is provided, it is separated from the directive name by an equals symbol (=)
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: r_2009

79123144

Date: 2024-10-24 17:57:51
Score: 2
Natty:
Report link

You can do this using

defineOptions({ layout: Layout })
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Leonardo Rocha

79123137

Date: 2024-10-24 17:55:51
Score: 0.5
Natty:
Report link

Here is another option, in TypeScript:

const addWordBreakAfterUnderscores = (content: string) => {
    // u200B is a zero-width space, which is used to prevent
    // the wordbreak from being visible.
    return content.replaceAll('_', '_\u200B');
};
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mason Embry

79123122

Date: 2024-10-24 17:48:50
Score: 0.5
Natty:
Report link

Why was this section added?

# Ensure CORS headers are present in all responses
@app.after_request
def after_request(response):
    response.headers.add('Access-Control-Allow-Origin', 'http://localhost:3000')
    response.headers.add('Access-Control-Allow-Headers', 'Content-Type,Authorization')
    response.headers.add('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE,OPTIONS')
    return response

I've never personally needed it when using flask-cors.

Their pypi page doesn't seem to suggest you need it either.

from flask import Flask
from flask_cors import CORS

app = Flask(__name__)
CORS(app)

@app.route("/")
def helloWorld():
  return "Hello, cross-origin-world!"

Also, make sure your create_app() is actually called like

app = create_app()

if __name__ == '__main__':
    app.run(debug=True)

and that it is not still

app = Flask(__name__)

Finally, you can try making sure if you remove the CORS or allow all origins with CORS(app, resources={r"/api/*": {"origins": "*"}}) that a curl to your endpoint works as you expect.

curl 127.0.0.1:5000/test
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why was this
  • Low reputation (1):
Posted by: rampollaluis

79123119

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

The answers above are correct, but let me explain why you are running into this issue.

Basically, the User entity currently has relationship with both Suburb and Role, so you can not have CASCADING delete which would cause a conflict.

Let's say you delete a Role and it will also delete the user, but then how about the Suburb? You can see now the Suburb is not tied to anything, so that is why EF Core prevents this behavior. You have to specify NO ACTION so when a role or suburb is deleted the user won't be affected. This is a very common problem when an entity has relationship with multiple others.

In this case, it would not make sense either to remove the user just because role or suburb no longer exists.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Huynh Triet

79123111

Date: 2024-10-24 17:44:49
Score: 5
Natty:
Report link

I had a similar problem in Next.js 14.2.5 and tried various methods without success. I ended up downgrading to 14.1.1, and now the build works fine. If you find a solution for version 14.2.5, please share it

Reasons:
  • RegEx Blacklisted phrase (2.5): please share
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mohammed siraj

79123106

Date: 2024-10-24 17:43:49
Score: 3
Natty:
Report link

I also had the same problem yesterday, I installed Laravel 11 and I noticed that the api.php files in the routes and middleware and kernel.php disappeared. Many features have been moved to the app's bootstrap file.

here is a guide to read that helped me a lot to understand the new version

https://laraveldaily.com/post/laravel-11-main-new-features-changes

Reasons:
  • Blacklisted phrase (1): helped me a lot
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Luca web

79123104

Date: 2024-10-24 17:42:46
Score: 6 🚩
Natty:
Report link

Currently cant comment on the post since I currently dont have enough reputation so I need to ask my questions through here. Will update or delete once I get more information.

Currently the post dosent give some crucial details:

  1. Where are you trying to graph/insert the data? Excel, Python, Google Sheets, Etc. Knowing what system you are using can help narrow down how to best help.
  2. Based on what you wrote I assuming X1 = 0 and Y1 = 2, Y2 = -1, Y3 = 1. Any subsequent value can be calculated roughly with the following function: Y(X)=Y[N+1]+Y[N]+Y[N-1]+Y[N-2]...Y[1] X>= 1 Y>=2 If not, can you explain what the equation is meant to do.

Once this is done I (Or someone else) can better help answering the question.

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): cant comment
  • RegEx Blacklisted phrase (2.5): can you explain what
  • RegEx Blacklisted phrase (1.5): dont have enough reputation
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Montain Production

79123099

Date: 2024-10-24 17:41:46
Score: 0.5
Natty:
Report link

If you're here with the same problem the solution is easy, basically for most redhat based distros the fetched metadata is set to expire for about a hour, you can simply solve this by extending the period that the metadata for all repo fetched remains persistent, its not recomended for prod environments but for a local setup may save the day just run the command sed -i "s/=1h/=24h/g" /etc/yum.repos.d/reponame.repo try to tweak out the time on the repo file may vary based on distribution

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Low reputation (1):
Posted by: Catucyhb

79123078

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

A possible solution might be to replace many "update" methods with one.

class HotelRoom {

    // fields and constructors

    void apply(HotelRoomPatch patch) {
        // logic of update
    }
}
interface HotelRoomPatch {
    Optional<String> name();
    Optional<SaleState> saleState();
    // etc.
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nik0x1

79123055

Date: 2024-10-24 17:25:41
Score: 1
Natty:
Report link

The command zsh-newuser-install will run the first time setup wizard and create a new .zshrc for you

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

79123054

Date: 2024-10-24 17:25:41
Score: 2.5
Natty:
Report link

And what happens when the request is made to a remote Modbus device (IP+Port)?

My setup is: Teltonik Gateway + Meters and my application in PHP.

I have this need and I still haven't been able to solve it.

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

79123050

Date: 2024-10-24 17:24:41
Score: 3.5
Natty:
Report link

As a response on @Dorrin's comment above: Another reason for a grayed out "Commit" button is that you haven't added a commit message. This can be typed into the small sub-window just below the Commit button, but it is not easy to see (especially in Dark Mode).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Dorrin's
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jim

79123047

Date: 2024-10-24 17:24:41
Score: 0.5
Natty:
Report link

In this problem, you're asked to create a Python function that flattens specific axes of a multi-dimensional NumPy array while keeping the rest of the dimensions intact. Let's break down the requirements and provide a solution.

Function Requirements: Inputs:

arr: A multi-dimensional NumPy array with shape (d0, d1, d2, ...). axes: A tuple of axes that you want to flatten. Output:

The output should be an array with dimensions flattened according to the specified axes. Flattening Behavior:

The function should either flatten the specified axes at the start or the end, depending on the provided axes. Implementation: To accomplish this, we can use numpy.moveaxis to rearrange the specified axes to the front or back and then use numpy.reshape to flatten those axes.

Here’s how you can implement the function:

Explanation:

moveaxis: This function rearranges the dimensions of the array so that the specified axes are at the end.

Reshape: After moving the axes, we reshape the array to flatten those dimensions.

The shape of the resulting array will depend on the axes specified. For example, if the original array shape is (4, 4, 4, 4, 4) and the axes are (2, 3), the output shape will be (4, 4, 16).

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

79123044

Date: 2024-10-24 17:23:40
Score: 0.5
Natty:
Report link

Check this out: NavType.SerializableArrayType. You have to add @Serializable onto the T of List<T>.

Also you can check out EnumType, the library has predefined some useful builder for us

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

79123042

Date: 2024-10-24 17:23:40
Score: 0.5
Natty:
Report link

The major version 5 of PyMoDAQ consists mostly in the splitting of various base features that could be worthwhile using as independant modules such as the data management: pymodaq_data, the widget and user interface bits baser on Qt: pymodaq_gui and then the utils for all this: pymodaq_utils.

Then on the remaining pymodaq original repository remains only things related to instruments, control modules, dashboard and extensions of the dashboard. It has the three other modules as dependency.

For those three new modules, they have been created firstly as forks of the pymodaq original repo then simplified to contain only what they are meant for. I didn't know at that time it would prevent someone to fork them again to work on a PR. I just happened to delete those three repo and recreated them from my local copy. They kept their history but lost the fork relation. They should therefore be "forkable" again.

Finally for your original question: the pymodaq repo itself, should still make any new branch appearing. You just have to tweak a bit your fork for this newly created branch appear: see Git Sync to upstream: Newly created branch not showing in my fork

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sébastien Weber

79123035

Date: 2024-10-24 17:22:38
Score: 6 🚩
Natty: 5
Report link

I want the json key generated in this to be assigned as the key value in output, however I do not want that metadata field in o/p topic, how can this be achieved?

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

79123032

Date: 2024-10-24 17:22:37
Score: 6
Natty: 7
Report link

Can i know what changes did you make from your code side to integrate intune Sdk in your application?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can i
  • Low reputation (1):
Posted by: Nikhil

79123029

Date: 2024-10-24 17:20:37
Score: 3
Natty:
Report link

Problem solved by attaching the Policy to cluster role: arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy

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

79123027

Date: 2024-10-24 17:19:36
Score: 2
Natty:
Report link

I have at least resolve the null reference error issue.

If anyone else is having the same battle, try setting all slashes/backslashes consistently. You can't just take a command line output that worked and feed the arguments back in - you have to standardize on '/' or '' for all config parameters, according to the type of build agent running the pipeline.

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

79123024

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

I had the same error (I'm using angular 18), in my case it happens when starting the app, to do so, I checked the dependency tree and found that "buffer" dependency was missing, so when I added it in my package.json, the problem was resolved.

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

79123013

Date: 2024-10-24 17:16:36
Score: 2
Natty:
Report link

Try sx prop emotion.

`    <Button
        size="md"
        sx={(theme) => ({
          backgroundColor: 'blue',
          '&:hover': {
            backgroundColor: 'red',
          },
        })}
      >
        TEST BUTTON
      </Button>`

https://mantine.dev/styles/emotion/

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

79123005

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

To safely cast an Activity to ComponentActivity, I usually create an extension function like this:

fun Activity.asComponentActivity(): ComponentActivity? {
    return this as? ComponentActivity
}

So then I use this to call this registerForActivityResult.

This should be fixed from AS as @Ekalips is saying.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Ekalips
  • Low reputation (0.5):
Posted by: Vuki Limani

79123004

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

If you don't want to downgrade your HTTP version which I strongly recommend against, change your default request header to close the connection like so:

Client.DefaultRequestHeaders.ConnectionClose = true;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kozmocreamer

79122996

Date: 2024-10-24 17:11:34
Score: 2
Natty:
Report link

That package is buggy and deprecated and there seems to be no alternative among WinUI. Andrews solution did not work for me either, it seems they withdrew that package, one cannot find it on nuget (not with the suggested feeds for alternative sources either!) and I think a pre-released/experimental package is not really what a developer who is also serious about his product looking for. So what I did I went with WpfUI, I highly recommend that, GridSplitter is just a native control there, so no need to struggle with preleased and incomplete packages. You won't lack any functionalities with this. https://wpfui.lepo.co/

Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Parapara Partycrow

79122988

Date: 2024-10-24 17:08:33
Score: 1.5
Natty:
Report link

The reason for the huge difference in query execution time is the amount of data being retrieved. In one case, you load all the data from the table, so the query is slow. In the other case, you load the data in parts, just as much as fits on the screen, so the query is fast.

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

79122962

Date: 2024-10-24 17:00:31
Score: 3.5
Natty:
Report link

PyInstaller can bundle your files into one package and users can run it without installing python.

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

79122957

Date: 2024-10-24 16:59:31
Score: 1
Natty:
Report link

There is one checkbox invert beside the filtered text box. Just check this one so that it will filter all the urls with filtered text.

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

79122953

Date: 2024-10-24 16:57:30
Score: 3
Natty:
Report link

I got this problem because I didn't realize I didn't have curl installed with ubuntu 24.04 .

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

79122951

Date: 2024-10-24 16:57:30
Score: 1
Natty:
Report link

You can query eager loaded associations (via includes) same way you can with joins:

User.includes(:projects).where(projects: {description: "hoge"})
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MicahBrown

79122947

Date: 2024-10-24 16:57:30
Score: 1
Natty:
Report link

Pure batch solution. Doesn't require Powershell, Administrator privileges or any other dependencies. Five lines to save your day. Should work on Windows XP and above.

::SimplePass v1.00 by Yuzree Esmera

@echo off
setlocal enableextensions enabledelayedexpansion
(set /p $pass=Password:Esc[?25lEsc[8m)
echo Esc[28m[Esc?25hPassword=!$pass!
(echo off|clip) & (set $pass=) & (doskey /reinstall)
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: yuzyus

79122946

Date: 2024-10-24 16:57:30
Score: 2.5
Natty:
Report link

Try run this command npm install -g json-server

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

79122941

Date: 2024-10-24 16:55:30
Score: 1
Natty:
Report link

get the ingress controller configmap in yaml.

kubectl get configmap configmapname -o yaml > nginx_conf.yaml

set allow-snippet-annotations to true and apply the setup

kubectl apply -f nginx_conf.yaml

run curl command to verify headers

curl -I url

ingress controler documentation for more details

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

79122938

Date: 2024-10-24 16:55:30
Score: 1
Natty:
Report link

Slide 1: Background and Purpose

Slide 2: Methods

Slide 3: Conclusion

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

79122930

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

Manually install the each package

pip install package-name==version-number --default-timeout=200
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: corning

79122888

Date: 2024-10-24 16:38:26
Score: 1.5
Natty:
Report link

Me helped

vSearch.setText(" ")
vSearch.requestFocus()
vSearch.clearFocus()
vSearch.setText("")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Артем Круть

79122884

Date: 2024-10-24 16:36:23
Score: 8 🚩
Natty: 6
Report link

@XTard I am not getting the option to Opt Out. Has this been removed in the past month or so? Is there any other way to access the Import JSON functionality?

Reasons:
  • Blacklisted phrase (1): Is there any
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @XTard
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Mike

79122868

Date: 2024-10-24 16:32:22
Score: 2.5
Natty:
Report link

To display modules according to articles on your website, you can approach it in various ways depending on your content management system (CMS), website platform, or custom development setup. Here’s a step-by-step guide on how to do this:

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

79122865

Date: 2024-10-24 16:31:22
Score: 1.5
Natty:
Report link

Blockquote: I would like to follow the MISRA C++:2023 coding guideline[s]. But it targets C++17, while the code and compiler follow C++14.

Do you want to run your diesel engine on petrol?

Blockquote: But I would see C++14 as a subset of C++17 (with only few breaking changes). Would I not be MISRA-C++-2023 compliant or only with additional rules?

Use Autosar C++ 14 Guidelines instead, which is a 70% reference to MISRA C++ 2008. You will not be able to make C++14 compliant with Rule 4.1.1 without a Deviation. Further, read the MISRA Compliance:2020, which is mandated for use with MISRA C++ 2023.

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

79122863

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

I had a similar scenario when clicking a radio button, multiple AJAX requests were triggered instead of one.

For that i implemented the following code

$(document).off('click', '.radio-class').on('click', '.radio-class', function() {
// AJAX request 
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sreeharsh Rajan

79122855

Date: 2024-10-24 16:28:21
Score: 2
Natty:
Report link

For CockroachDB, a certain error code (40001) is returned, which signals to the caller that there is a retryable transaction error. The client is then expected to retry, just like some answers above indicate.

Docs here: https://www.cockroachlabs.com/docs/stable/common-errors#restart-transaction

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

79122849

Date: 2024-10-24 16:25:18
Score: 10.5 🚩
Natty: 6.5
Report link

@Y0rd4nis Did you find a solution to this problem?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution to this problem
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Y0rd4nis
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Yanosky Rios La Hoz

79122842

Date: 2024-10-24 16:23:17
Score: 1
Natty:
Report link

Restoring from a backup that contains multiple log files is not supported in SQL Database Managed Instance.

Azure Database Migration Service doesn't support databases with multiple log files it is a known issue.

NO, you can't bypass transactional log .bak file. Transaction log is an integral part of the backup. If you have numerous log files, you can shrink and restructure them to create a single transaction log file. Because you cannot remote to non-empty log files, you must first back them up.

To resolve this issue, you need to first SHRINK the transactional log before you take backup from .bak file.

For more detailed information plese refer this document by @Ganeshan K.

Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Ganeshan
  • High reputation (-1):
Posted by: Pratik Lad

79122837

Date: 2024-10-24 16:21:17
Score: 3.5
Natty:
Report link

Are you connected to the schema from which registration was created ? if from different schema you can check DBA_CHANGE_NOTIFICATION_REGS table and see if it returns any rows

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: munsidd

79122836

Date: 2024-10-24 16:21:17
Score: 1
Natty:
Report link

I had this same issue. I originally had my data set only as the Series, and nothing was set as the X-axis.

Once I set the same data range as both the Series and the X-axis, that enabled the number format option under Chart Editor -> Customize -> Horizontal axis.

example image

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

79122833

Date: 2024-10-24 16:20:17
Score: 2.5
Natty:
Report link

After trying all suggested methods, i tried to set things like this, and it worked! part of xcode

Reasons:
  • Whitelisted phrase (-1): it worked
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: MUHINDO

79122822

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

What happens if you use next code in Page - Function and Global Variable Declaration:

(function(){
    $(apex.gPageContext$).on("apexreadyend", function(jQueryEvent) {
        let tbGroup$ = $('#IG_STATIC_ID_ig_toolbar').find('.a-Toolbar-group').last();
        if (tbGroup$.length)
        {
            tbGroup$.addClass('a-IRR-buttons');
        }
        apex.theme42.page.init();
    });     
})();

IG_STATIC_ID to be replaced

your code in "Initialization JavaScript Function" to be disabled

'show maximize button' to be checked on the template options:

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: Karel Ekema

79122808

Date: 2024-10-24 16:14:15
Score: 1
Natty:
Report link

From this link, I have found another solution that does not use pyautogui, as pyautogui does not really well handle the different keyboards.

from pynput.keyboard import Controller
keyboard=Controller()
keyboard.type('[email protected]')

pynput is not installed by default, so you will have to install it first using:

$ pip install pynput

pyautogui stays still really useful for tasks like capturing the screen, moving the mouse, or others.

Reasons:
  • Blacklisted phrase (1): this link
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kaki In

79122806

Date: 2024-10-24 16:14:15
Score: 0.5
Natty:
Report link

I'm sure you've already done this, but anyone else can search for "stm32f103 bus matrix" or look at AN3427 (pg. 12 of Rev. 1) to get a good idea of the bus layout.

There are three core buses: I-bus, D-bus, S-bus. All of them can access SRAM. (S-bus does not touch flash but is the only core path to the peripherals.) The path where the I-bus connects to flash is called ICode, while the path where the D-bus accesses flash is called DCode. (Prefetching is performed on the ICode bus.)

At the same time, the reference manual (RM0008 Rev. 21) explains that SRAM is generally accessed via the S-bus.

What explains the connection between SRAM and I-/D-bus on a Cortex-M3? That's a head scratcher… or perhaps a typo? (Even exceptions use the appropriate bus separation.)

(Aside: There is a discussion about ST's Cortex-M3 cores where an Arm architect explains the SRAM is dual-port, read-only to ICode and read/write to DCode. I'd need a lot more context to figure out what that's supposed to mean.)

(Second aside: On the STM32F3, there is CCM SRAM that can only use I-/D-bus.)

(Third: On STM32 Cortex-M4 targets, SRAM can relay instructions to the core using either system or instruction bus, but I-bus is more efficient. This is explained in RM0390.)

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

79122799

Date: 2024-10-24 16:11:14
Score: 2
Natty:
Report link

Maybe this can help: https://github.com/shivangKheradiya/PyAVEVAE3D

"PyAVEVAE3D contains Proof of Concept for Python 3 embedding into AVEVA Plant Design Products ( e.g. PDMS, E3D2.1/ 3.1, Diagrams, Engineering). These software are based on PML & PML.Net."

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Henrik Landström

79122793

Date: 2024-10-24 16:09:14
Score: 3.5
Natty:
Report link

Change the Application Pool from Classic to Integrated.

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

79122788

Date: 2024-10-24 16:08:14
Score: 1
Natty:
Report link

check if you dont see the .idea file on the main file structure, as per I saw the same problem and get to understand that , that is the main issue why that pop-up of Vs code showing up. You can just create a new flutter project and add the .idea from there to the existing app.

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

79122784

Date: 2024-10-24 16:08:14
Score: 2
Natty:
Report link

You should implement it by using the load balancer, and first try to save all documents data in database and then in next step create docx in new queue so that all errors can be logged and after that implement the load balancer

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

79122774

Date: 2024-10-24 16:05:13
Score: 1.5
Natty:
Report link

An example with SUBSTRING :

SELECT SUBSTRING(Data,1,1000000) part1, SUBSTRING(Data,1000001,1000000) part2, SUBSTRING(Data,2000001,1000000) part3, SUBSTRING(Data,3000001,1000000) part4, SUBSTRING(Data,4000001,1000000) part5, SUBSTRING(Data,5000001,1000000) part6, SUBSTRING(Data,6000001,1000000) part7 FROM MyTable WHERE ID=123

Copy and paste the 7 columns one after the other in a text editor by removing the 0x at the beginning of each column. Then we can do a HEX -> ASCII conversion (for example with Notepad+++)

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

79122758

Date: 2024-10-24 16:00:11
Score: 1.5
Natty:
Report link

Ok, so the logic for the find_parent was wrong. The find_parent should have been

int find_parent(DSU* dsu, int n)
{
    if (n == dsu->parent[n].node) {
        return n;
    }

    return dsu->parent[n].node = find_parent(dsu, dsu->parent[n].node);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Aryan Kadole

79122741

Date: 2024-10-24 15:56:10
Score: 1
Natty:
Report link

The issue was that the date input field had an onkeydown event that returned false, preventing keyboard input. A user on Stack Overflow provided the solution to execute JavaScript to remove the onkeydown attribute:

((JavascriptExecutor) driver).executeScript("document.getElementById('textDateOfBirth').removeAttribute('onkeydown');");

After implementing this solution, the input now works fine.

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

79122734

Date: 2024-10-24 15:56:10
Score: 1
Natty:
Report link

Although ArrayBlockingQueue is simpler overall, I believe it uses a single lock for both put and take operations. So if you are using it to transfer very frequent (as in thousands or millions of messages per second) messages from one thread to another thread it may end up with worse performance due to contention.

Conversely, I believe LinkedBlockingQueue uses independent locks for put and take. Therefore if you have just one thread putting and another thread taking there may be less contention. However if you have multiple threads putting or multiple threads taking then there might be more contention because each lock operation will be a little bit longer than the equivalent operation with ArrayBockingQueue.

Concolusion: If you are using it to frequently transfer messages from a single source thread to a single detsination thread then LinkedBlockingQueue may be better as it may have less contention. Otherwise ArrayBlockingQueue is probably slightly faster.

If in doubt you would have to do real testing for your specific use case. But unless you are trying to send millions of messages per second you probably wont notice any significant difference - in most cases both will work equally well :)

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

79122725

Date: 2024-10-24 15:53:10
Score: 0.5
Natty:
Report link

For solve this problem I used the alembic tool (thanks to Robert)

Instruction how to use this tool:

1. Installing

First of all, we need to install alembic with command pip install alembic (or other in you're variant)

After that, we need to initializate the alimbic for our project with command alembic init alembic (alembic after the init is the path to create alembic folder)

2. Setting up

Now, we need to setup alembic to our project. Firstly, open the alembic.ini file in main directory of project, find this string and paste your url to database

# the output encoding used when revision files
# are written from script.py.mako
# output_encoding = utf-8

sqlalchemy.url = driver:///database.db

And open alembic/env.py file for adding metadata of your database

# add your model's MetaData object here
# for 'autogenerate' support
# from myapp import mymodel
# target_metadata = mymodel.Base.metadata
target_metadata = database.metadata

3. Using

For editing database we need to use two commands:

  1. Saving a current version of database (also need with after initialization)
alembic revision --autogenerate -m "Your comment"
  1. And commiting all changes for your database file
alembic upgrade head

That's all! If I have any mistakes in this answer (grammar too) , please write in comments

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

79122707

Date: 2024-10-24 15:47:08
Score: 5
Natty: 5
Report link

Спрайт» (2D и Apply c левой стороны

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (1):
  • Low reputation (1):
Posted by: александр гусев

79122695

Date: 2024-10-24 15:45:06
Score: 3.5
Natty:
Report link

it seems to me that pre_get_posts action does not work on divi

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

79122694

Date: 2024-10-24 15:45:04
Score: 6.5 🚩
Natty: 5
Report link

I understand the answer from @artoby, but isn't the linear layer (or feed forward or thinking layer) after the self-attention destroying this information flow as it pulls in information from other tokens to previous token?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @artoby
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Flooo

79122684

Date: 2024-10-24 15:40:03
Score: 0.5
Natty:
Report link

I had this problem with python-multipart 0.0.13 and 0.0.14 (both versions are Yanked - https://pypi.org/project/python-multipart/#history).

python-multipart 0.0.12 fixed this problem.

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

79122667

Date: 2024-10-24 15:35:01
Score: 5
Natty:
Report link

I think it might be related to this: https://github.com/ClosedXML/ClosedXML/issues/2425

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

79122666

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

Not that I'm aware of but do consider the following concurrent containers:

  1. xphoenix/linkedlist.Node
  2. sync.Map
  3. orcaman/concurrent-map.ConcurrentMap
  4. enriquebris/goconcurrentqueue.{Fixed}FIFO
  5. muesli/cache2go.CacheTable
  6. antigloss/go/concurrent/container/queue.LockfreeQueue
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Finn Bear

79122665

Date: 2024-10-24 15:35:01
Score: 0.5
Natty:
Report link

How to create a unique URL for each PR?

Unlike Vercel, it is not possible to get a unique URL for each pull request in Azure Web Apps.

You have two options to get the unique URLs for each PR.

  1. Create new web apps dynamically for each PR.
  2. Creating a new deployment slot for each PR.

Since creating a new web app each time is not effective, it’s better to use deployment slots.

az webapp deployment slot swap --name <app_name> --resource-group <resource_group> --slot <slot_name> --target-slot <target_slot_name>

You can create deployment slot via below command via Azure CLI

az webapp deployment slot create --name <app_name> --resource-group <resource_group> --slot <slot_name>

Here you'll get a unique URL for each deployment slot.

enter image description here

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (0.5):
Posted by: Sirra Sneha

79122658

Date: 2024-10-24 15:33:00
Score: 2.5
Natty:
Report link

when you use export settings from "File" menu, you can't fetch your settings on the sidebar.

you just should copy old workspace.xml of ".idea" directory and replace the current workspace.xml.

it suits for android studio at version 2024.1.2.

good luck.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): when you use
  • Low reputation (1):
Posted by: user26541748

79122656

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

Sorry, this isn't possible in Beyond Compare. It doesn't provide a method to match the whole string by pattern, but color only part of it.

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

79122654

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

The answer provided by 'Nthrack' fixed the issue.

Upgrade azapi to 1.15.0.

azapi = {
  source = "azure/azapi"
  version = "1.15.0"
}

I have tried to award the points 'Nthrack' but can't seem to do this.

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

79122652

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

In dotnet 5+ you can add this to the target .csproj file.

<ItemGroup>
    <InternalsVisibleTo Include="Project.That.Wants.To.See.Internals" />
</ItemGroup>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Malt

79122651

Date: 2024-10-24 15:31:00
Score: 3.5
Natty:
Report link

I was able to fix this error disabling the antivirus firewall.

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

79122639

Date: 2024-10-24 15:27:59
Score: 2.5
Natty:
Report link

Just use $table->foreignId('category_id')->references('id')->on('categories');

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: Denis Lopatin

79122628

Date: 2024-10-24 15:25:58
Score: 2.5
Natty:
Report link

One of the simplest tricks is to pin one of your most used tabs. By doing this, your VS Code will not close.

Here is the reference tutorial.

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

79122622

Date: 2024-10-24 15:23:58
Score: 2
Natty:
Report link

Refer this Open Source application [https://github.com/hiteshchoudhary/apihub]

You see the implementation of Authentication and Authorization based upon roles.

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

79122604

Date: 2024-10-24 15:18:54
Score: 6 🚩
Natty: 3
Report link

I have the same issue - The focus ring should only appear as support for tab key navigation, but not when the user clicks into a form field. I have not found a good solution so far.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Max

79122601

Date: 2024-10-24 15:17:54
Score: 1
Natty:
Report link

To speed up your first MySQL query, please increase the buffer pool size or you can use query cache.

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

79122594

Date: 2024-10-24 15:15:53
Score: 0.5
Natty:
Report link

To ground your models to your source data, you need to have prepared and saved your data to Vertex AI Search. To do this, you need to create a data store in Vertex AI Agent Builder.

If you are starting from scratch, you need to prepare your data for ingestion into Vertex AI Agent Builder. See Prepare data for ingesting to get started. Depending on the size of your data, ingestion can take several minutes to several hours. Only unstructured data stores are supported for grounding.

After you've prepared your data for ingestion, you can Create a search data store. After you've successfully created a data store, Create a search app to link to it and Turn Enterprise edition on.

Here is an example on how to ground the gemini 1.5 Flash model. Use the following instructions to ground a model with your own data. But before proceeding, There are prerequisites needed before you can ground model output to your data.

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

79122581

Date: 2024-10-24 15:12:52
Score: 2.5
Natty:
Report link

If you post your code I will take a look.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Steve Railsback

79122577

Date: 2024-10-24 15:10:51
Score: 3
Natty:
Report link

`

enter code here

`Talking tom cat 2: Gameplay App Outfit7 3d Animation download 2013 old app in the download thanks so much YouTube Facebook Twitter and done

enter code here`

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zelimir Simic

79122575

Date: 2024-10-24 15:10:51
Score: 4.5
Natty:
Report link

Neither solution 1 nor solution 2 help in my case. SSE works fine in the emulator, but does not work on a real Android device. Friends, tell me how to solve the problem.

Reasons:
  • Blacklisted phrase (1): how to solve
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Valentina

79122573

Date: 2024-10-24 15:09:50
Score: 0.5
Natty:
Report link

For those who, like me, try to run microemulator on Linux and get an error like in the main question. Run the following commands:

sudo apt remove openjdk-*-headless

sudo apt install openjdk-11-jdk

export DISPLAY=:0

java -jar microemulator.jar
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kolodieiev

79122572

Date: 2024-10-24 15:09:50
Score: 3.5
Natty:
Report link

In the same wiki page in the section Known Issues.

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

79122568

Date: 2024-10-24 15:09:50
Score: 1
Natty:
Report link

I was also facing the same issue with XCode 16. Try replacing SDKROOT=macosx with SDKROOT=(xcrun --sdk macosx --show-sdk-path) Its working for me.

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

79122565

Date: 2024-10-24 15:08:50
Score: 4
Natty:
Report link

remove rounded-md and it will work

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: محمود عادل - Mahmoud Adel

79122563

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

Probably already found the answer, but for those who may stumble upon this question, you need to add an indicatorShape to your theme:

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

79122557

Date: 2024-10-24 15:06:49
Score: 3
Natty:
Report link

Figured out the issue with the package being used. It was doing a split, which didn't take into account some directories using spaces in their names. Adding a maxsplit=1 into the code ensures that it is just the hash and the filename returned from this code. Will make a PR on GitHub for it. Thanks for the help!!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: alicethefemme

79122554

Date: 2024-10-24 15:06:49
Score: 0.5
Natty:
Report link

Is it possible to calculate the gift amount in O(1) ?

for(int j=0; j<6; ++j) is already O(1). There's no input value that increases the running time of this loop.

Reasons:
  • Blacklisted phrase (1): Is it possible to
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is it
  • High reputation (-2):
Posted by: Caleth

79122551

Date: 2024-10-24 15:05:49
Score: 1.5
Natty:
Report link

for me placing the

 app.use(fileupload());

on the starting of the code just below imports worked.

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

79122547

Date: 2024-10-24 15:05:49
Score: 4.5
Natty:
Report link

Can i see your config without keys? There must be getAuth() function.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can i
  • Low reputation (1):
Posted by: Göktuğ Günbay

79122543

Date: 2024-10-24 15:04:48
Score: 0.5
Natty:
Report link

I wanted the images to load up in both flask app in production and in react app (using npm start) for development. At the same time, I wanted unknown pages to be handled by react.
The most convenient solution I found is to put all the images under public/static/images instead of public/images and to change the src paths accordingly.
Then I can run yarn build and get the result build folder to the flask app folder (backend). That worked perfectly.

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

79122540

Date: 2024-10-24 15:03:48
Score: 0.5
Natty:
Report link

For VS Code Version: 1.94.2 (Universal)

This works for me:

{
    "terminal.integrated.defaultProfile.linux": "zsh"
}
Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Qikai

79122539

Date: 2024-10-24 15:03:48
Score: 1
Natty:
Report link

The twinBASIC programming language is a new VB6 compatible language. VB6 source code and forms can be imported into twinBASIC, typically without modification (at least for 32-bit compiles). The twinBASIC programming IDE is like a modern version of the VB6 IDE. twinBASIC has many extensions compared to VB6 including the ability to compile to 64-bit.

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

79122527

Date: 2024-10-24 15:00:47
Score: 14.5
Natty: 7.5
Report link

@pilgrimofdelhi, did you fix the issue reported? can you please share the solution?

Reasons:
  • RegEx Blacklisted phrase (2.5): can you please share the solution
  • RegEx Blacklisted phrase (3): did you fix the
  • RegEx Blacklisted phrase (1.5): fix the issue reported?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @pilgrimofdelhi
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: user9134756