79244275

Date: 2024-12-02 13:34:59
Score: 2.5
Natty:
Report link

If you use range selection use below formula

=ARRAYFORMULA(AND(C2=C3:C27))

If you use selected cell to compare use below formula

=ARRAYFORMULA(AND(F2={F3, F4, F5}))

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

79244274

Date: 2024-12-02 13:34:59
Score: 1
Natty:
Report link

The correct answer was:

method search(a: array<int>) returns (i: int)
  requires a.Length > 1 && a[0] == a[a.Length-1]
  ensures 0 <= i < a.Length-1 && a[i] >= a[i+1]
{  
  i := a.Length - 2;
  var j := 0;
  while i != j
    invariant 0 <= j <= i < a.Length - 1 && a[j] >= a[i + 1]
  {
    var m := (i + j) / 2;

    if a[j] >= a[m + 1]{
      i := m;
    } else {
      j := m + 1;
    }
  }
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Demir Akbalıkcı

79244272

Date: 2024-12-02 13:32:58
Score: 3.5
Natty:
Report link

https://www.arclab.com/en/kb/csharp/read-write-text-file-ansi-utf8-unicode.html

Encoding.Default is the notation for ANSI.

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

79244269

Date: 2024-12-02 13:32:58
Score: 2
Natty:
Report link

Please check the API scope: it should be read_customers and write_customers scopes if any doubt then reinstall the app. Also, check the API version in your requests (2023-01 for REST and 2024-10 for GraphQL)

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

79244264

Date: 2024-12-02 13:30:58
Score: 2
Natty:
Report link

To create a subfolder directly under the organization you need to add Organization Administrator role to your user account Follow the same steps as before : go to

  1. Go to [Cloud Console Iam Admin][1] (this should take you to your org setting https://console.cloud.google.com/iam-admin/settings?organizationId= < your org Id > )
  2. On the left bar Open IAM, either select grant access (if the your user is not there) or edit principal (beside the your user) and add Organization Administrator role
Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: mimir

79244261

Date: 2024-12-02 13:29:57
Score: 4
Natty: 4.5
Report link

Blockquote a little late to the party, but this was added in this PR

I've been on this doc. It doesn't work neither on their website, nor on my computer... Maybe we should report an issue on gh ?

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

79244256

Date: 2024-12-02 13:26:56
Score: 3
Natty:
Report link

We got exactly the same issue after upgrading to Capacitor 6. In my case, I was able to solve it by running "cap sync".

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

79244254

Date: 2024-12-02 13:26:56
Score: 1
Natty:
Report link

As already written above, you need to roll back the version. It worked for me on Keil uVision 5.24.2.0 and Keil::STM32F4xx_DFP 2.4.0. It is installed directly in the package installer after uVision installation. Screenshot

Reasons:
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Алексей Ельцов

79244248

Date: 2024-12-02 13:24:56
Score: 2.5
Natty:
Report link

You posing data without setting 'Content-Length' header. XMLHttp will no send any without this header and fail with error invalid data.

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

79244242

Date: 2024-12-02 13:22:55
Score: 1
Natty:
Report link

I had the same problem, when trying to use a "pt_BR.utf-8" locale and variations, like this:

import locale
locale.setlocale(locale.LC_ALL, 'pt_BR.UTF-8')

So i tried this:

import locale
locale.setlocale(locale.LC_ALL, "Portuguese_Brazil.1252")

Here have a list of variations for most locales

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tanukaum

79244230

Date: 2024-12-02 13:18:54
Score: 8.5
Natty: 7
Report link

so u deal with it? i have same problem

Reasons:
  • Blacklisted phrase (1): i have same problem
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): i have same problem
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: someguestsname

79244228

Date: 2024-12-02 13:16:54
Score: 1.5
Natty:
Report link

You can't update to update Angular applications more than one major version at a time. I recommend you migrate to Angular 17, after to angular 18.

You can follow this official guide Update Guide

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

79244227

Date: 2024-12-02 13:16:54
Score: 2
Natty:
Report link

in my case i cant delete asp net users because i am adding trigger the first setup delete the trigger and i am login to SSMS as windows Authentication and i can delete and Update data .

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

79244222

Date: 2024-12-02 13:14:53
Score: 2.5
Natty:
Report link

You have to add g.V().count().toList(), hope this will work for you

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

79244215

Date: 2024-12-02 13:13:53
Score: 1.5
Natty:
Report link

@Eduardo Your solution worked for me with one small change. Currently if you instantiate the class and then add new parameters via set_params(), that change won't be reflected in get_params() because they haven't been added to _param_names. I added one line to fix this:

def set_params(self, **params):
    for param, value in params.items():
        setattr(self, param, value)
        self._param_names.append(param)

    return self

(Posted as an answer as I can't comment yet)

Reasons:
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (1): can't comment
  • Has code block (-0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: cleonard

79244206

Date: 2024-12-02 13:10:52
Score: 0.5
Natty:
Report link
import { useRouter } from 'expo-router';

const router = useRouter();

router.replace('/somewhere')

Alaways works for me

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Blessing Mwiti

79244205

Date: 2024-12-02 13:09:50
Score: 9.5 🚩
Natty: 5
Report link

did you ever encounter the issue or a workaround?

Reasons:
  • RegEx Blacklisted phrase (3): did you ever
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Turlough

79244200

Date: 2024-12-02 13:08:49
Score: 1
Natty:
Report link

Try self.updateLabel(self.slider.sliderPosition()) in the end of the def __init__(self, parent = None) function.
Hope it works.

Reasons:
  • Whitelisted phrase (-1): Hope it works
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lewis

79244194

Date: 2024-12-02 13:06:49
Score: 1.5
Natty:
Report link

The repeater column span is 1 by default, so it is filling a single column, which is why it's all squished.

For the repeater to span the full width:

  1. use ->colSpanFull() on the repeater (or ->colSpan(4))
  2. remove ->columns(4) from the section (or change to ->columns(1))

repeater-spanning-columns

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

79244190

Date: 2024-12-02 13:05:48
Score: 3
Natty:
Report link

$ ollama pull nomic-embed-text

pulling manifest pulling 970aa74c0a90... 100% ▕██████████████████████████████████████████████████████████▏ 274 MB
pulling c71d239df917... 100% ▕██████████████████████████████████████████████████████████▏ 11 KB
pulling ce4a164fc046... 100% ▕██████████████████████████████████████████████████████████▏ 17 B
pulling 31df23ea7daa... 100% ▕██████████████████████████████████████████████████████████▏ 420 B
verifying sha256 digest writing manifest success

Reasons:
  • No code block (0.5):
  • No latin characters (1):
  • Filler text (0.5): ██████████████████████████████████████████████████████████
  • Filler text (0): ██████████████████████████████████████████████████████████
  • Filler text (0): ██████████████████████████████████████████████████████████
  • Filler text (0): ██████████████████████████████████████████████████████████
  • Low reputation (1):
Posted by: jijainth

79244184

Date: 2024-12-02 13:04:48
Score: 2
Natty:
Report link

The best way is that the Cookies can be set from the server side. Cookies more Structurely backend developer can set from the server side. when user logged in token automatically set in the browser cookies. other try you can go with defining the domine name as a parameter while setting the cookies or you can go with local storage. Finally very advanced way is that you have to use the different storage type in production level.

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

79244183

Date: 2024-12-02 13:04:48
Score: 3
Natty:
Report link

For anyone having the same issue: We were not able to identify why this happens. We "solved" this by not relying on blob/content uris for the mobile version of our application at all. Instead, we use react-native-blob-util to copy the attachment to the applications cache and get a path for it.

At certain points in the life cycle, when we know we don't need the attachment anymore, we delete it again, also using react-native-blob-util.

Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): having the same issue
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Artemios Antonio Balbach

79244179

Date: 2024-12-02 13:03:47
Score: 2.5
Natty:
Report link

I recently created a GitHub repository called SuiteTalkNS, aimed at developers working with the NetSuite SuiteTalk SOAP API. This repository provides a comprehensive example of integrating with NetSuite using C#, including features such as authentication, record creation, and handling various API operations.

If you're exploring NetSuite integrations or learning how to work with the SuiteTalk API, this repository might be helpful.

Here’s the GitHub link: 👉 SuiteTalkNS GitHub Repository

I’d love to hear your feedback and suggestions. Feel free to contribute or share the repository with others who might find it useful.

Looking forward to your thoughts!

Reasons:
  • Blacklisted phrase (1.5): Looking forward to your
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mohammed Shariq

79244167

Date: 2024-12-02 12:59:46
Score: 3
Natty:
Report link

I had a similar issue where I was getting the correct values when i wrote the query directly in supabase, but when i tried to run it locally it wouldnt retrieve anything. For me it was because of it being related to the row-level security policy set. Wanted to post just in case someone else got the same issue. My first time commenting here on stackoverflow

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: André Bergan

79244164

Date: 2024-12-02 12:58:46
Score: 12
Natty: 7.5
Report link

I am facing the same problem, did you find a solution for this?

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • RegEx Blacklisted phrase (3): did you find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abderaouf ABDELLATIF

79244163

Date: 2024-12-02 12:58:45
Score: 1
Natty:
Report link

This appears to occur when pointing spyder at the standalone python kernel you have installed rather than the default. Try installing spyder from pip in the python version you desire, following the official instructions here: https://docs.spyder-ide.org/5/installation.html

This will require first installing Visual Studio Build tools ( https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022 )

and Rust (https://rustup.rs/)

After which one can attempt installation with pip install spyder, and finally running the program with spyder

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

79244159

Date: 2024-12-02 12:56:45
Score: 1
Natty:
Report link

When dealing with compatibility issues between Ext JS 4.0 and Sencha Touch 2.0, particularly in the context of iOS 18.2 Beta, there are several factors to consider, especially regarding legacy JavaScript support and rendering problems.

Overview of Compatibility Issues

Legacy JavaScript Support: Ext JS 4.0 was designed with a focus on modern JavaScript practices, which may lead to compatibility issues with older versions of JavaScript that Sencha Touch 2.0 relies on. As browsers evolve, they increasingly drop support for legacy features, which can cause problems when trying to run older frameworks on newer operating systems like iOS 18.2.

Developers may encounter issues where certain JavaScript functions or methods used in Sencha Touch do not perform as expected in the newer environment, leading to potential errors or unexpected behavior.

Rendering Problems: Rendering issues can arise due to differences in how Ext JS and Sencha Touch handle UI components. For instance, if a component is built using Ext JS but is rendered in a Sencha Touch application, there may be discrepancies in how styles and layouts are applied.

iOS updates often come with changes to the WebKit rendering engine, which can affect how JavaScript frameworks render their components. This means that even if the code is technically compatible, visual inconsistencies or performance issues may still occur.

Recommendations for Addressing Compatibility Issues

Testing Across Versions: Conduct thorough testing of your applications across different versions of iOS and browser environments. Utilize tools like BrowserStack or Sauce Labs to emulate various devices and operating systems. Pay special attention to any deprecation warnings or errors that arise during testing, as these can provide insights into what might break in future updates.

Update Frameworks: If possible, consider upgrading your applications to newer versions of Ext JS or Sencha Touch that have been optimized for modern browsers and mobile operating systems. This can help mitigate many compatibility issues. Review the release notes for both frameworks to understand any breaking changes that might affect your application.

Utilize Polyfills: For legacy support, consider using polyfills that can help bridge the gap between older JavaScript features and modern implementations. This can be particularly useful for maintaining functionality in older codebases while ensuring compatibility with new environments.

Monitor Community Feedback: Engage with community forums and discussions related to Ext JS and Sencha Touch. Other developers may have encountered similar issues and could provide valuable solutions or workarounds. Platforms like Stack Overflow or the Sencha forums can be excellent resources for troubleshooting specific problems.

Performance Optimization: Optimize your code for performance by reducing unnecessary DOM manipulations and leveraging efficient data binding techniques offered by both frameworks. Use profiling tools available in browsers to identify bottlenecks in rendering and execution times.

Compatibility issues between Ext JS 4.0 and Sencha Touch 2.0 on platforms like iOS 18.2 Beta can pose significant challenges due to legacy JavaScript support and rendering problems. By adopting a proactive approach that includes thorough testing, framework updates, the use of polyfills, community engagement, and performance optimization, developers can navigate these challenges more effectively.

Written by Hexadecimal Software

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: seo1

79244158

Date: 2024-12-02 12:54:44
Score: 1
Natty:
Report link

If you are using PyCharm and the tkinter started showing this issue, you might consider changing the Python Interpreter settings.

Settings -> Tab:Project: <> -> Change the Python Interpreter with any existing one or add the new Interpreter path

In my case I had 2 versions of python installed in my environment and the project was using the wrong version.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Sarang M K

79244156

Date: 2024-12-02 12:54:44
Score: 0.5
Natty:
Report link

The documentation is a bit tricky and also the updates in different versions can be missleading. What I found is:

mongodump --archive="<the-new-db-name>" --db=<the-db-to-copy>--host="localhost" --port=<e.g:27017> --username=<your-username> --authenticationDatabase=admin

, you may be asked for a password. after the correct password it will write and dump

enter image description here

Note: And you will have your file "archived". if you want it as an output file, you will need to change the "archive=" statement by "--out="

Note2: I am ussing MongoDB: 7.0.5 and Mongosh: 2.1.4

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

79244153

Date: 2024-12-02 12:53:44
Score: 0.5
Natty:
Report link

An f-string is probably most concise:

>>> import pathlib
>>> p = pathlib.Path( '/some/where/file/name.log' )
>>> p.with_suffix( f'{p.suffix}.bz2' )
PosixPath( '/some/where/file/name.log.bz2' )
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: gjvc

79244150

Date: 2024-12-02 12:53:42
Score: 6 🚩
Natty:
Report link

Did anyone get to the bottom of this? This is weird and should not be happening. Committed changes in tracked files should not be disappearing no matter what, especially without merge conflicts or warnings. The first committer pushes the changes, anyone else pulls and resolves before they can push themselves.

Reasons:
  • RegEx Blacklisted phrase (3): Did anyone get to the
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did anyone
  • Low reputation (1):
Posted by: user3447616

79244143

Date: 2024-12-02 12:51:41
Score: 1
Natty:
Report link

Error AsyncClient.init() got an unexpected keyword argument 'proxies'

The models internally use a library like httpx for HTTP requests. The proxies argument be incorrectly passed due to outdated or mismatched library versions.

Azure AI Foundry might include a pre-configured script or template that assumes proxy usage and incorrectly adds a proxies argument.

Go to Foundry's Networking or Configuration section in the Azure portal. Disable Proxy Settings at Foundry Level

Add openai==1.55.3 to your requirements.txt to lock the version and avoid unintended issues caused by future updates please check this link and also refer this.

Reasons:
  • Blacklisted phrase (1): please check this
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): check this link
  • Long answer (-0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Suresh Chikkam

79244115

Date: 2024-12-02 12:42:37
Score: 4.5
Natty:
Report link

They would be rendered in the sequence of triangles in index buffer.

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

79244114

Date: 2024-12-02 12:41:37
Score: 0.5
Natty:
Report link

No, it is not required to call .Rollback() or .RollbackAsync() if you are disposing of the transaction without committing it.

From the official docs (https://learn.microsoft.com/en-us/ef/core/saving/transactions):

Commit transaction if all commands succeed, transaction will auto-rollback when disposed if either commands fails

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

79244110

Date: 2024-12-02 12:41:37
Score: 2
Natty:
Report link

I have tried all of the mentioned answers using contains, indexof, substring but nothing was working for me.

In case you have a similar issue I advise trying a wildcard char (*) like this:

$filter=FileRef eq '*sites/my folder/subfolder*'

This was the only solution that worked for me and I found it in another thread after some time: original answer

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Has code block (-0.5):
  • Me too answer (2.5): have a similar issue
  • Low reputation (1):
Posted by: iwokal

79244108

Date: 2024-12-02 12:39:36
Score: 5.5
Natty:
Report link

i have the same problem so will follow this. i also added the same line on ubuntu 24.04 on two places in grub file

GRUB_CMDLINE_LINUX_DEFAULT="swapaccount=1 cgroup_enable=memory systemd.unified_cgroup_hierarchy=0" GRUB_CMDLINE_LINUX="swapaccount=1 cgroup_enable=memory systemd.unified_cgroup_hierarchy=0"

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Low reputation (1):
Posted by: thomas

79244101

Date: 2024-12-02 12:38:35
Score: 1.5
Natty:
Report link

I was able to installed WordPress by Docker following this detailed tutorial:

https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-docker-compose

It might help you too.

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

79244099

Date: 2024-12-02 12:37:35
Score: 1
Natty:
Report link

Inspired by @Yogi's comments, I found a way to make it:

let parent1 = document.querySelector('#parent1') 
let child1 = document.querySelector('#child1')
document.querySelectorAll('.log').forEach(ele => {
  ele.addEventListener('pointerdown', e => console.log(ele.id + " pointerdown"))
  ele.addEventListener('pointerup', e => console.log(ele.id + " pointerup"))
  ele.addEventListener('click', e => console.log(ele.id + " click"))
})
function dragHandler(e){
  // handling drag move event
  console.log('move')
}
parent1.addEventListener('pointerdown', (e) => {
  e.target.setPointerCapture(e.pointerId)
  e.target.addEventListener('mousemove', dragHandler)
  e.target.onlostpointercapture = (e) => {
    e.currentTarget.removeEventListener('mousemove', dragHandler)
    e.currentTarget.onlostpointercapture = null
  }
})
<div id='parent1' class='log'><div id='child1' class='log'>click me</div></div>

It seems that a pointer capture set on the parent element do prevent mouseup events from being fired on the child element, so I need to set the pointer capture on the child element (target) instead of the parent element (currentTarget).

The mouseup event of the parent element can be triggered normally through the bubbling.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Yogi's
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: FaniX

79244098

Date: 2024-12-02 12:37:35
Score: 3
Natty:
Report link

Use server side processing to accomplish what you asked, but Why would you add html to your ajax response? You can play with your response ajax and add all your html tags using datatables column dict.

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

79244092

Date: 2024-12-02 12:35:35
Score: 1.5
Natty:
Report link

By executing below commands app engines can be deleted.

Step 1: Create an empty dispatch.yaml file

echo "dispatch: []" > dispatch.yaml

Step 2: Deploy the empty dispatch.yaml

gcloud app deploy dispatch.yaml

Step 3: Delete the App Engine service

gcloud app services delete

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

79244091

Date: 2024-12-02 12:35:35
Score: 0.5
Natty:
Report link

I think this is not possible due to the fact that this #label slot is not designed to handle interactivity: please check this https://github.com/vuetifyjs/vuetify/issues/18270 ( there's also a workaround published here).

Hope this helps!!

Reasons:
  • Blacklisted phrase (1): please check this
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paola Tili

79244090

Date: 2024-12-02 12:34:34
Score: 2
Natty:
Report link

Try to restart your docker service. systemctl restart docker.service

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

79244082

Date: 2024-12-02 12:30:34
Score: 2
Natty:
Report link

The solution was really simple - you just need to replace "/" symbol in photo_url to "/" Python:

data_check_string = data_check_string.replace("/", "\/")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Python Coder

79244061

Date: 2024-12-02 12:25:32
Score: 0.5
Natty:
Report link

I had to do the same thing in my project where I use Spring Data and Hibernate. I overrided the org.hibernate.dialect.Dialect#addSqlHintOrComment method and added custom wrapper for Hibernate's @QueryHint. The full implementation and related details can be found here

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

79244060

Date: 2024-12-02 12:25:32
Score: 2.5
Natty:
Report link

Modify your extension’s composer.json to disable the alias loader in your extension's context:

"config": { "allow-plugins": { "typo3/class-alias-loader": false } }

After making this change, run:

composer dump-autoload

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

79244042

Date: 2024-12-02 12:18:30
Score: 1.5
Natty:
Report link

nAviD's answer (13) works for me, but the "▶" should be replaced with the decoded character [1]: https://i.sstatic.net/YjnbWU6x.png

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jack Asa

79244036

Date: 2024-12-02 12:17:30
Score: 1.5
Natty:
Report link

OK, select the column of cells you are trying to sum. Select -Replace- then "find what" and type the currency symbol (in my case) £ in the 'Replace with' leave empty. then press button 'replace all'

With the column of cells still selected insert the currency symbol from the drop down menu and it will be ok. Essentially even though it shows a currency symbol it's actually text and excel is not recognising the symbol so you have to delete the old one and insert a new one from the correct menu. This is the problem I had when importing from a csv file - solved it straight away.

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

79244026

Date: 2024-12-02 12:12:29
Score: 1
Natty:
Report link

This: \`\`\` produces this: ```

Ive been at googling rabbit hole for an answer for 2 hours , untill i tried that. I wanted is to copy contents of a file into a markdown file for Obsidian and have it formatted there.

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

79244015

Date: 2024-12-02 12:09:25
Score: 9.5 🚩
Natty:
Report link

I am facing the same error like this help please

Reasons:
  • RegEx Blacklisted phrase (1): I am facing the same error
  • RegEx Blacklisted phrase (1.5): help please
  • RegEx Blacklisted phrase (1): I am facing the same error like this help please
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same error
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jay Itsquare

79244011

Date: 2024-12-02 12:09:25
Score: 1
Natty:
Report link

I encountered this problem on version 1.25. I try to reinstall it:

remove.packages("reticulate")
install.packages("reticulate")

And the error disappeared.

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

79244006

Date: 2024-12-02 12:07:24
Score: 5.5
Natty:
Report link

I didn't quite understand your question. Could you please clarify or provide more details, such as images or a video, if possible?

Also, if you're not already using this approach, please give it a try.

showModalBottomSheet(
      context: context,
      isScrollControlled: true,
      backgroundColor: context.colorStyles.background,
      shape: RoundedRectangleBorder(
      borderRadius: BorderRadius.vertical(top: Radius.circular(16.r)),
  ),
  builder: (BuildContext context) {
  return Wrap(
  children: [
  Column()]);
});
Reasons:
  • RegEx Blacklisted phrase (2.5): Could you please clarify
  • RegEx Blacklisted phrase (2.5): please give
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Tulsi virani

79243991

Date: 2024-12-02 12:02:23
Score: 2
Natty:
Report link

Consider PositionChanged event is called periodically by the system just approximately 4 times per second.

So you can register for PositionChanged event and update value there from code behind.

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

79243990

Date: 2024-12-02 12:02:23
Score: 3
Natty:
Report link

you have to install Microsoft.DataTools.ReportingServices first and then install Microsoft.DataTools.IntegrationServices

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

79243979

Date: 2024-12-02 11:59:22
Score: 2
Natty:
Report link

my case, the Runner.xcodeproj file was broken by other commit; the error was thrown during code build.

use Xcode to open the project, you will see a Xcode complaining that unable to load the Runner.xcodeproj file.

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

79243977

Date: 2024-12-02 11:58:22
Score: 2.5
Natty:
Report link

There's a python library available online for graph coloring. It's called GCol. Full discosure: I wrote it.

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

79243975

Date: 2024-12-02 11:57:22
Score: 2
Natty:
Report link

ComposeView(this).apply { setContent { YourComposeDialog( {}, {}, it.title, it.contentText ) } }

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

79243953

Date: 2024-12-02 11:51:20
Score: 0.5
Natty:
Report link

Incase anyone is struggling with this, Firstly, I changed the import to import * as bcrypt from "https://deno.land/x/[email protected]/mod.ts"

Then, I found a setup from the docker website and made some minor changes: https://hub.docker.com/r/denoland/deno

FROM denoland/deno:2.0.6

# The port that your application listens to.
EXPOSE 1993

WORKDIR /app

# Create and set proper permissions for the working directory
RUN mkdir -p /app && chown -R deno:deno /app

# Switch to deno user
USER deno

# Copy dependency files first
COPY --chown=deno:deno . .

# Cache the dependencies
RUN deno cache  main.ts

# Run the application
CMD ["run",  "--allow-net", "--allow-read", "--allow-env",  "main.ts"]
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jonny Love

79243948

Date: 2024-12-02 11:50:20
Score: 1.5
Natty:
Report link

rename .eclipse and eclipse folder in installation directory as .eclipse-old, eclipse-old or something other name you want to rename.

second, remove its shortcut created on desktop to avoid duplicacy.

Now, you can install new setup with the new installer.

Note: You can even remove rather renaming the folders if you want to delete the older setup.

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

79243942

Date: 2024-12-02 11:49:20
Score: 1.5
Natty:
Report link

Solution: A proxy gateway in the VPC to allow services like S3 to be connected through SDK without using NAT.

Reasons:
  • Whitelisted phrase (-2): Solution:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Luis G

79243940

Date: 2024-12-02 11:48:19
Score: 1
Natty:
Report link

After I tried different own approaches that SNYK wasn't satisfied with, I decided to have a look on DOMpurify.

As I saw, what this module takes care about, I also decided to not longer want to do this on my own, the author really did a great job checking nodeTypes and known not allowed attributes and so on.

IMO this probably is the easiest way to handle XXS protection at the moment.

And, SNYK is also happy!

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: René Baudisch

79243932

Date: 2024-12-02 11:46:19
Score: 1
Natty:
Report link

The C compiler translates the source code into an assembly code (.s file). Since add is only declared but not defined, the compiler knows the signature (parameters and return type) but doesn't know the implementation. It treats add as an external symbol and assumes the definition will be provided later (likely in another object file or library).The assembler converts the assembly code into machine code, creating an object file (.o file).he assembler creates an entry for the add function in the symbol table as an undefined symbol.The assembler does not reserve memory for the add function. Instead, it simply records the fact that add is a function that will be resolved during the linking phase. During linking, the linker combines all object files and resolves the addresses for external symbols like add. If the linker cannot find a definition for add, it will throw an undefined reference error.

You could read more about it here : https://www.quora.com/What-happens-if-a-function-is-declared-but-not-defined-in-C

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

79243927

Date: 2024-12-02 11:44:18
Score: 2
Natty:
Report link

So thanks to @pskink I have a working version... using a record makes it quite need although I don't think that is the thing that actually fixed it - rather using a separate future returned from _loadData and then adding a load of ? and ! to override nulls - but I just don't have time to do all the differential diagnosis to see exactly what fixed what (feel free to add comments to make my code more robust).

As an aside I like the fact that retrieving elements from records makes my code look a bit more like Perl :)

import 'package:flutter/material.dart';
import 'load_xml.dart';

class MyApp extends StatefulWidget {
  const MyApp({super.key});
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {

  final String xmlAssetPath = 'data.xml';
  
  Future<(DataTree, Group)>? initFuture;
  DataTree? dataTree;
  Category? selectedCategory; // = Category(name: 'not_set', groupNames: []); 
  Group? selectedGroup;
  // Group selectedGroup = Group(name: "not_set", items: []);
  String? groupName; // ="Citrus";
  Item? selectedItem; // = Item(name: "Orange");
  int selectedItemIndex = 0;

  Future<(DataTree, Group)> _loadData() async {
    dataTree = await loadXml(xmlAssetPath); 
    debugPrint ("Loading data tree...");
    for (var category in dataTree!.categories) {
      debugPrint ("Loading category ${category.name}...");
      if ((category.isDefault ?? false) && (category.defaultGroupName != null)) {
         debugPrint ("Setting groupName to ${category.defaultGroupName}...");
         groupName = category.defaultGroupName!;
       }
    } 
    debugPrint ("Loading selected group $groupName..."); 
    selectedGroup = await loadGroup(xmlAssetPath, groupName!); 
    for (var item in selectedGroup!.items) {
      debugPrint ("Loading item ${item.name}...");
      if (item.name == selectedGroup!.defaultItemName) {
         selectedItem = item;
         selectedItemIndex = selectedGroup!.items.indexOf(selectedItem!);
      }
    }
    return (dataTree!, selectedGroup!);
  }

  @override 
  void initState() { 
    super.initState(); 
    initFuture = _loadData();
  }


  Widget build(BuildContext context) {
    return FutureBuilder<(DataTree, Group)> (
        future: initFuture,
        builder: (BuildContext context, AsyncSnapshot<(DataTree, Group)> snapshot) {
          if (snapshot.hasData) {
           return MaterialApp (
             title: snapshot.data!.$2.name,
             home: ListView.builder(
              itemBuilder: (context, index) => Card(
                key: ValueKey(snapshot.data!.$2.items[index].name),
                child: ListTile(
                  title: Text(snapshot.data!.$2.items[index].name),
                  subtitle: Text((snapshot.data!.$2.items[index].name==selectedItem!.name) ? "Selected" : "Not selected"),
                ),
              ),
              itemCount: snapshot.data!.$2.items.length,
            )
           );
          } else {
            return Container();
          }
        }
    );
  }
}
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @pskink
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: rawcane

79243920

Date: 2024-12-02 11:42:18
Score: 1.5
Natty:
Report link

The easiest way to do this is with QMicroz.

QStringList _fileList;
_fileList << "file1_path";
_fileList << "file2_path";
...

QMicroz::compress_(_fileList);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Archivarius

79243909

Date: 2024-12-02 11:39:17
Score: 0.5
Natty:
Report link

Decoding JPEG images with ICC (International Color Consortium) metadata involves extracting and interpreting the color profile information embedded within the image file. The ICC profile ensures consistent color reproduction across different devices like monitors, printers, and cameras. Here’s how it works:

Steps for Decoding JPEG with ICC Metadata: Extract ICC Profile: The ICC profile is embedded in the JPEG image's metadata. Software like ImageMagick, Photoshop, or Exiv2 can be used to extract the ICC profile.

Interpret the Profile: The ICC profile contains data about the color space used (e.g., sRGB, Adobe RGB, ProPhoto RGB), which determines how the colors in the image should appear on different devices.

Color Management: Applications like browsers or image editors can read this profile to adjust the image's colors so they appear as intended, depending on the device's display capabilities.

Tools for Decoding: ImageMagick: Command-line tool for image manipulation and metadata extraction. ExifTool: A powerful metadata editor that can extract ICC profiles from images. Photoshop/Lightroom: Professional software that supports ICC profiles for accurate color rendering. By decoding and applying ICC metadata, images maintain consistent color accuracy across various viewing and printing devices.

Know More, https://vensen.in/#serve

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

79243885

Date: 2024-12-02 11:31:15
Score: 1
Natty:
Report link

The reason the tag appears to cover the entire screen, even though it is a block-level element, is due to the default behavior of the browser's rendering engine. While block-level elements typically expand to fill the width of their parent container, the height of the tag is determined by its content. However, the tag can stretch to fill the entire viewport if there's not enough content to naturally fill the page. This happens because browsers often render the element to take up the full screen by default. When you apply a background color to the , it spans the entire height of the viewport, even if the content doesn’t fill the page, because the background color is applied to the area occupied by the body tag. To prevent this behavior and make the tag behave more like a typical block-level element, you would need to explicitly define the height of both the and tags, often setting them to 100%, which constrains the body to the height of its content rather than filling the entire screen.

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

79243880

Date: 2024-12-02 11:29:14
Score: 1
Natty:
Report link

I was having an identical issue on one of my sites and found this question here, after roughly 10 hours debugging it turns out to be a combination of .htaccess and a PHP routing script. There are no static .html pages on my site, everything is built on demand and normally works ok but one directory was behaving strangely with 'Chrome Lighthouse' scores, turns out everything was being served with a 404 from that directory although pages looked and functioned as expected.

The reason being my .htaccess was misconfigued and not routing that directory directly to the PHP script, there was however an 'ErrorDocument 404' setup which inadvertently was stepping in. As that document name DID hit the pattern for the PHP routing script the page was then built successfully yet the 404 remained. As with most config issues a one char fix was needed, in my case adding a '-' to the RewriteRule regex pattern. No more 404 and Lighthouse all green.

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

79243873

Date: 2024-12-02 11:28:14
Score: 1.5
Natty:
Report link

You can stop synchronizing/indexing each time you switch to the IDEA and it's quite useful when dealing with big projects and outside build process which triggers indexing.

Just disable checkbox System Settings -> Synchronize files on frame or editor tab activation.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Zhivko.Kostadinov

79243850

Date: 2024-12-02 11:21:12
Score: 5.5
Natty: 5.5
Report link

Anyone got anything on this, this is really important, how to get SSR WITH SWR ?

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

79243843

Date: 2024-12-02 11:19:11
Score: 4
Natty: 5
Report link

where int and string are subtypes of arraykey.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): where in
  • Low reputation (1):
Posted by: Genia Hateliak

79243839

Date: 2024-12-02 11:18:10
Score: 3
Natty:
Report link

um, jus the set up is automatically gonna download the model locally right? because even though ive 20gb in my C drive and 100+ in others im not able to access methods of AI object, i mean "optimization guide" isnt even appearing in my components

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

79243833

Date: 2024-12-02 11:16:10
Score: 1
Natty:
Report link

There is a very good explanation in the spring-data-redis documentation:

Due to its blocking nature, low-level subscription is not attractive, as it requires connection and thread management for every single listener. To alleviate this problem, Spring Data offers RedisMessageListenerContainer, which does all the heavy lifting. If you are familiar with EJB and JMS, you should find the concepts familiar, as it is designed to be as close as possible to the support in Spring Framework and its message-driven POJOs (MDPs).

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

79243827

Date: 2024-12-02 11:15:10
Score: 2
Natty:
Report link

You should activate Streams in your table and use Triggers.

So, as soon as one item changes, you can detect that, and, for example with a Lambda Function, you can update the tables you need to.

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html

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

79243819

Date: 2024-12-02 11:13:09
Score: 1
Natty:
Report link

I was having this issue (still cannot build it but at least not having this one). Just used developer command line for visual studio and run the commands in the repo folder.

set "PGROOT=C:\Program Files\PostgreSQL\16"
nmake /F Makefile.win ----> I am still failing at this build step
nmake /F Makefile.win install

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ozgur E.

79243811

Date: 2024-12-02 11:10:08
Score: 1
Natty:
Report link

GCol is an open-source Python library for graph coloring. It has exact and heuristic algorithms for node coloring, edge coloring, equitable coloring, weighted coloring, precoloring, and maximum independent set indentification.

Full disclosure: I wrote and maintain the library. It is based on my 2021 book:

Lewis, R. (2021) A Guide to Graph Colouring: Algorithms and Applications (second ed.). Springer. ISBN: 978-3-030-81053-5.

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

79243806

Date: 2024-12-02 11:09:08
Score: 1
Natty:
Report link

Thanks to The fourth bird !

I understood what was going wrong and i finally ended up with this working code (for any special characters but keep spaces) :

titre = "4K ULtra HD | SAMSUNG UHD Demo׃ LED TV"
print("original : "+ titre)
for i in titre:
    if i.isalnum()==False:
        if i.isspace()==False:
            titre=titre.replace(i,"-")
print("modified : "+ titre)

#Output : modified : 4K ULtra HD - SAMSUNG UHD Demo- LED TV
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Garbez François

79243802

Date: 2024-12-02 11:09:08
Score: 1
Natty:
Report link

For Gradle Project:

I'm using windows OS.

now

try ".\gradlew clean bootJar"

in my build.gradle

bootJar() {

doFirst {

    clean
}

enabled = true
manifest {

    attributes 'Start-Class': 'com.abc.app.adaptor-app.AdaptorApplication'
}

}

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

79243801

Date: 2024-12-02 11:09:08
Score: 3
Natty:
Report link

You can create a new build configuration like this enter image description here

make sure to check the two options marked in the red box.

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

79243800

Date: 2024-12-02 11:09:08
Score: 3.5
Natty:
Report link

Initialize array in this way: string[][] Temphighscores = new string[10][];

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

79243798

Date: 2024-12-02 11:08:07
Score: 13 🚩
Natty: 5.5
Report link

have the same issue , did u solveit?

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

79243796

Date: 2024-12-02 11:08:07
Score: 2
Natty:
Report link

Android MVP (Model-View-Presenter) is a design pattern that separates the concerns of the user interface from the underlying logic. It allows for more testable, maintainable, and flexible code by dividing the app into three main components: the Model (data), the View (UI), and the Presenter (business logic).

Lifecycle architecture components in Android help manage the lifecycle of an app’s activities and fragments. They help simplify tasks such as managing UI state, handling background tasks, and ensuring that components respond correctly to lifecycle changes like screen rotations.

For more detailed insights and services on MVP development for Android, you can check out this link: https://www.cleveroad.com/services/mvp-development-services/.

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

79243795

Date: 2024-12-02 11:07:06
Score: 9 🚩
Natty:
Report link

I was wondering the same today and I think it's not possible. I think the i18nRouting: true option is not mandatory as you locales ar defined in the config.

Did you find a way to do it ? On my side, I try to change the url for each locale to optimize SEO. Maybe you have a way to do this ?

Nicolas

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

79243791

Date: 2024-12-02 11:07:06
Score: 2
Natty:
Report link

I had a similar problem with installing ruby 3.3.5 via rvm. Reinstalling autogen helped(in my case via brew reinstall autoconf)

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

79243785

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

Via user data, I would append some parameters (including the auto-scaling group name). However, Explorer recognizes this parameter as a tag, not as a dimension. Therefore, I completely removed it from the user data. Now, we can use Explorer to visualize the historical user data dynamically through explorer

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

79243783

Date: 2024-12-02 11:04:05
Score: 3
Natty:
Report link

Just adding what was causing my problem:

Double click either of these values and check it only contains 1 number

Double click values

check if only 1 value

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

79243781

Date: 2024-12-02 11:02:04
Score: 1.5
Natty:
Report link

If you don't have access to the docker host that sounds like a toll order. From my understanding, You want to run Ubuntu 20.04 container and do away with CentOS 7, that is more like running a whole new container in the docker host. If you mean running Ubuntu 20.04 inside the CentOS 7...one piece of advice, DON'T! But if you feel explorative, you can install docker engine inside the CentOS 7 then run an Ubuntu 20.04. You could theoretically also use LXC/LXD or a similar lightweight virtualization inside a Docker container to simulate nesting, but this is complex and error-prone.

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

79243767

Date: 2024-12-02 10:58:03
Score: 1.5
Natty:
Report link

Securing the product list endpoint for an eCommerce API is crucial to protect sensitive product data and ensure that only authorized users or systems can access it. Here are some best practices for securing this endpoint:

Authentication & Authorization: Ensure that your eCommerce API uses robust authentication mechanisms such as OAuth or API keys to verify the identity of users and applications. By implementing role-based access control (RBAC), you can ensure that only authorized users can access specific product data.

Use HTTPS: Always use HTTPS to encrypt communication between the client and server. This ensures that the product data is securely transmitted and cannot be intercepted by unauthorized parties.

Rate Limiting: Implement rate limiting to prevent abuse of your eCommerce API. Limiting the number of requests per IP or user ensures that malicious actors cannot overload the endpoint or attempt brute-force attacks.

Input Validation & Sanitization: Always validate and sanitize user inputs to prevent SQL injection and other forms of attack. Ensure that product list queries are properly filtered and validated to avoid the execution of harmful commands.

Monitor and Log Requests: Regularly monitor and log API requests to detect any suspicious activity. With proper logging and alerting, you can identify and respond to potential security threats in real-time.

To further enhance the security of your eCommerce API, it's important to integrate these practices with the best eCommerce APIs available. At AllThingsDev, we offer various APIs for eCommerce that come with built-in security features to help you secure your product list and other critical endpoints.

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

79243764

Date: 2024-12-02 10:58:03
Score: 1
Natty:
Report link
function isPersianName($name) {
// بررسی می‌کند که آیا نام شامل حروف غیر فارسی (انگلیسی) است
if (preg_match('/[a-zA-Z]/', $name)) {
    return ('لطفاً نام خود را به فارسی وارد نمائید.'); // اگر حروف انگلیسی وجود داشته باشد
} else {
    return $name;
}

}

echo isPersianName('حمید حساس');
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hamid Hassas

79243757

Date: 2024-12-02 10:55:02
Score: 0.5
Natty:
Report link

So, coming back 2 days later to tell that I could solve the problem.

The problem with the InternalBytecode.js file normally lies on some dependency error.

I solve the problem going back into the last commits I've done, till one of them didn't had the problem.

It ends up that the most helpful message had nothing to do with this InternalBytecode.js file, but with the first message I wrote on the question: "ERROR Warning: TypeError: Cannot read property 'regular' of undefined"

As expected, it was a TypeError, where a obj field (fonts) was set to "any" instead of "never".

export const lightTheme: Theme & NavigationTheme = {
  dark: false,
  colors: {
    ...
  },
  fonts: {} as never,
};

So, if you find yourself stuck in the same problem, try to look for the first log and interpret it, it might on the most of the cases be a type problem.

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

79243752

Date: 2024-12-02 10:53:02
Score: 3
Natty:
Report link

I found the answer I had to use HeadlessJsTaskWorker instead of HeadlessJsTaskService now when app is closed it works

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

79243749

Date: 2024-12-02 10:53:02
Score: 2.5
Natty:
Report link

You are trying column name with spaces, that can be the issue. Try with double quotes.

ALTER TABLE cust RENAME COLUMN “first name” TO first_name;

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

79243747

Date: 2024-12-02 10:53:02
Score: 2.5
Natty:
Report link

If the message is forwarded to any other user on WhatsApp, the receiving user will not see the original CTA(s) but rather see the "Message business" button. So your CTAs are safe with the user.

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

79243737

Date: 2024-12-02 10:48:01
Score: 1.5
Natty:
Report link

Ok great, I was equally faced with similar challenge but then I keep asking myself how can i drop Livewire just because of this little issues? and how can I not use wire:navigate because of this same issues till i was able to figure out a way.

According to the docs: https://livewire.laravel.com/docs/navigate#dont-rely-on-domcontentloaded

this event listener was suggested

document.addEventListener('livewire:navigated', () => { 
    // any code you place here will be fired after livewire has successfully swapped the initial page with the on you navigated to
})

Great, so in my case i was Using Flowbite so i had to copy a function from their Docs page and that was all.

document.addEventListener('livewire:navigated', () => { 
     // console.log('navigated to a new page');
      initFlowbite();
  })
Reasons:
  • Blacklisted phrase (0.5): how can i
  • 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: Muhammed Yakubu

79243736

Date: 2024-12-02 10:47:00
Score: 3.5
Natty:
Report link

The problem was using the wrong property. The right property is proxy.host instead of proxy.url.

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

79243732

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

This post is four years late but i hope that this will help .

It's not necesseraly a django-channels related problem , in my case it's was related to Daphne, it seams Daphne dosn't release the momery after webssocket connections are closed,

Replacing Daphne with Uvicorn resolved the memory leak in my case.

For the diagnosis i'm afraid i don't have much to say, because i suspected many root causes and finaly it was replacing daphne the solution we have adopted

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

79243728

Date: 2024-12-02 10:44:59
Score: 6.5 🚩
Natty:
Report link

Do we have any option to do that in adb2c? i wanted to inject terms and condition statement in signing user flow.

Reasons:
  • RegEx Blacklisted phrase (2.5): Do we have any
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bharathareddi Suresh Basavarad

79243722

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

I have the same error with jest and custom icon moon

Details:

node_modules/@expo/vector-icons/createIconSetFromIcoMoon.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import createIconSetFromIcoMoon from './build/createIconSetFromIcoMoon';
                                                                                    ^^^^^^

SyntaxError: Cannot use import statement outside a module                                                                                      ^^^^^^

    SyntaxError: Cannot use import statement outside a module

and I fixed the error following the jest expo docs.

I updated the transformIgnorePatterns on my jest.config.js file

  "transformIgnorePatterns": [
    "node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@sentry/react-native|native-base|react-native-svg)"
  ]

But now I have another error

● Test suite failed to run

TypeError: Cannot read properties of undefined (reading 'Expo')

    8 |   MaterialIcons,
    9 | } from '@expo/vector-icons';
> 10 | import createIconSetFromIcoMoon from '@expo/vector-icons/createIconSetFromIcoMoon';
Reasons:
  • Whitelisted phrase (-2): I fixed
  • RegEx Blacklisted phrase (1): I have the same error
  • RegEx Blacklisted phrase (1): I have another error
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same error
Posted by: David Leuliette

79243712

Date: 2024-12-02 10:40:57
Score: 0.5
Natty:
Report link

Good Afternoon,

I though my response would be a good addition to this discussion. You can see from the previous answers that there was no discusion on how to handle a list of values which would go into the IN clause of the query. Hope this version of the answer also helps.

import oracledb
oracledb.version = "8.3.0"
import sys
sys.modules["cx_Oracle"] = oracledb
from sqlalchemy.engine import create_engine
from sqlalchemy import text
from sqlalchemy import bindparam
import pandas as pd


def makeOraEngine():
        global oraEngine
        oracledb.init_oracle_client(lib_dir=r'C:\app\Oracle\product\21.0.0\client_1')
        DIALECT = 'oracle'
        DRIVER = f'{DIALECT}db'
        USER = 'user' 
        PASSWORD = 'password' 
        DSN = 'dsn'
        url = f'{DIALECT}+{DRIVER}://:@'
        params = {'param1':['PREF1','PREF2','PREF3'],'param2':[2,3]}

        oraEngine = create_engine( url, connect_args={"user": USER,"password": PASSWORD,"dsn": DSN})
        sql_text = "select well_name, well_prefix, bore_number from well_laterals where well_prefix in :param1 and bore_number in :param2
order by well_prefix, bore_number"
        qry =text(sql_text).bindparams(
                bindparam('param1', expanding=True),
                bindparam('param2', expanding=True)
                )
        df = pd.read_sql(qry, con=oraEngine, params=params)
        print(df)
if __name__=='__main__':
    makeOraEngine()
Reasons:
  • Blacklisted phrase (1): Good Afternoon
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Z T Minhas

79243711

Date: 2024-12-02 10:40:57
Score: 3
Natty:
Report link

.parent { position: relative }

.child { position: absolute top: 0 }

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

79243703

Date: 2024-12-02 10:37:56
Score: 12 🚩
Natty:
Report link

Were you able to solve this issue? Facing the same issue

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve this issue?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Aadesh Kanna

79243702

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

Run PowerShell or Command Prompt "Run As Administrator" and then run your desired command

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