79150534

Date: 2024-11-02 11:28:18
Score: 1
Natty:
Report link

You have to clarify few things here first , is the new website on different domain or same domain ? , If the domain is same and has been pointed to new server please check if A records are transferred and name servers .

Check if there is cloudflare involved and nameservers or A address is pointing to that for caching purposes

I hope this will help

Reasons:
  • Whitelisted phrase (-1): hope this will help
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Muhammad Wasem

79150525

Date: 2024-11-02 11:21:17
Score: 1.5
Natty:
Report link

just like this,Is it ok?? wrap your for loop with {}

{
    int i=0;
    char *str="abc";
    for(;i<9&&*str=='a';i++,str++)
    {
        //do something
    }
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: littleyzp

79150521

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

See this question and answer about this issue (page shows for one second, and then goes to "not found"

Page NOT in the shared project does not show correctly in browser

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

79150517

Date: 2024-11-02 11:15:16
Score: 3.5
Natty:
Report link

You created CardSwiperController instance inside the CardSwiper. It should be the controller used in FloatingActionButton.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: علي المرتضى الشامي

79150510

Date: 2024-11-02 11:11:15
Score: 1
Natty:
Report link
.table-view {
-fx-border-width: 1;
-fx-border-color: grey;
-fx-border-radius: 5pt;
-fx-background-radius: 5pt;}


.table-view .column-header-background {
-fx-background-radius: 5pt 5pt 0 0;
-fx-border-color: -grey;
-fx-border-width: 0 0 1 0;
-fx-padding: 5px 0;}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dev Looper

79150508

Date: 2024-11-02 11:10:14
Score: 9.5
Natty: 7.5
Report link

Same Error for me. please suggest what to do?

Reasons:
  • RegEx Blacklisted phrase (2.5): please suggest what
  • RegEx Blacklisted phrase (1): Same Error
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: SSS

79150505

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

Yes, in "online" case please downgrade, but there is one more trick, just remove unwanted version file while offline to bind "head" to "base" back. For example, occasionally I've created revision, and then remove it before alembic upgrade
version

poc-2

poc-1

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

79150504

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

I ended up storing the time each host was last contacted. I am storing in a global variable. If the time passed since the last contact, is less than the required crawl-delay, the thread is sent to sleep until crawl-delay requirement is met.

To be thread-safe, this logic is happening in a locked space in each thread, as described here: https://superfastpython.com/threadpoolexecutor-thread-safe/#How_to_Make_Critical_Sections_Thread-Safe

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

79150500

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

Here is what I've observed so far: the jumping occurs when there was an incremental search previously activated by Ctrl+E:

Workaround: Press Ctrl+F to enter regular, non-incremental search. (No need to actually search for anything) That's it. Jumping majically disappears (until you use Ctrl+E again, which, for me, is the major way of navigating my code).

And yes, this is the most annoying thing I have ever seen in my entire life.

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

79150490

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

Did you try running Hadoop in administrator mode? as the message says, it's not accessible, probably due to mismatch permission.

Reasons:
  • Whitelisted phrase (-2): Did you try
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Kafeel S

79150487

Date: 2024-11-02 10:58:11
Score: 4.5
Natty:
Report link

I disagree with the answer from @Rose. Getting the Messages[] it's ok.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Rose
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pergentino Araújo

79150479

Date: 2024-11-02 10:50:09
Score: 2.5
Natty:
Report link

I see ssh2-sftp likes to test on specific node versions, try again with the following config:

ssh2 version 9.0.4 node version 16.17.2

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

79150473

Date: 2024-11-02 10:47:08
Score: 2
Natty:
Report link

just check in your project does it had android folder, if not then do some research and create one, or create this project again to get the android folder - by again creating expo init project

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

79150472

Date: 2024-11-02 10:46:07
Score: 1.5
Natty:
Report link

Worst Case: O(n^2), when the condition if (woo == 10000) is never satisfied, and the inner loop runs fully for every i.

Best Case: O(n^2), when the condition is met on the first iteration of the inner loop, causing an early exit from the if condition but the for inner for loop will execute for the complete iteration(all values of i).

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

79150462

Date: 2024-11-02 10:41:06
Score: 1
Natty:
Report link

Well, it's progressing a little, with this code, I get a return, but I don't know how to interpret it?

from machine import UART, Pin
from time import *

uart1 = UART(1, baudrate=9600, tx=Pin(4), rx=Pin(5))
uart1.init(bits=8, parity=None, stop=1)
# Play
uart1.write(b'\xaa\x02\x00\xac')
# query play status
uart1.write(b'\xAA\x01\x00\xAB')
# query current song
uart1.write(b'\xAA\x0D\x00\xB7')
print(uart1.read())
sleep_ms(10000)
# query current song
uart1.write(b'\xAA\x0D\x00\xB7')
#uart1.write(b'\xAA\x01\x00\xAB')
print(uart1.read())
# Stop
uart1.write(b'\xAA\x04\x00\xAE')
# query play status
uart1.write(b'\xAA\x01\x00\xAB')
print(uart1.read())

And I have this as an answer:

None
b'\xaa\x01\x01\x01\xad\xaa\r\x02\x00\x01\xba'
None
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: joMonk

79150449

Date: 2024-11-02 10:32:04
Score: 2.5
Natty:
Report link

The default application closure code (Environment.Exit(), Application.Shutdown) will execute your finally blocks. The only one that explicitly won’t is Environment.FailFast(). Which isn’t called by .net unless something cataclysmic happened (usually in native code).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jean-Baptiste Zeller

79150445

Date: 2024-11-02 10:31:04
Score: 5.5
Natty: 5.5
Report link

multi-step deliveries Override _prepare_stock_move_vals not working. How to do that?

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

79150439

Date: 2024-11-02 10:25:02
Score: 0.5
Natty:
Report link

Finally I managed to play the player with this code (the problem actually came from a false contact of a Dupont wire of the GND):

from machine import UART, Pin
from time import *

uart1 = UART(1, baudrate=9600, tx=Pin(4), rx=Pin(5))
uart1.init(bits=8, parity=None, stop=1)
# Play
uart1.write(b'\xaa\x02\x00\xac')
# query play status
uart1.write(b'\xAA\x01\x00\xAB')
# query current song
uart1.write(b'\xAA\x0D\x00\xB7')
uart1.readline()
sleep_ms(10000)
# Stop
uart1.write(b'\xAA\x04\x00\xAE')
# query play status
uart1.write(b'\xAA\x01\x00\xAB')
uart1.readline()

I have the 1st song that starts for 10 seconds, then stops, but I have no answer from the code Query play status, and query current song...

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

79150436

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

If your issue persists, you can try triggering with the sparkConf object as shown below, this will help in your scenario.

val sparkConf = new SparkConf().setAppName("MyApp").setMaster("local[*]")

val spark = SparkSession.builder.config(sparkConf).getOrCreate()

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

79150434

Date: 2024-11-02 10:20:01
Score: 0.5
Natty:
Report link

If you have the gitlens extension, you can use the command pallette (Ctrl/Cmd + Shift + p) and search for 'Search commits'. This should show an input for you to search for commits by message, hash, etc.

Open command palette

Search by commit(gitlens)

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

79150424

Date: 2024-11-02 10:15:00
Score: 3.5
Natty:
Report link

Figured out a little bit. Geonode uses geonode_mapstore_client, which has a bunch of harcoded urls:

  1. https://github.com/GeoNode/geonode-mapstore-client/blob/master/geonode_mapstore_client/templatetags/get_menu_json.py
  2. https://github.com/GeoNode/geonode-mapstore-client/blob/master/geonode_mapstore_client/templates/geonode-mapstore-client/snippets/footer.html

Also, you can set MAPSTORE_TRANSLATIONS_PATH and MAPSTORE_EXTENSIONS_FOLDER_PATH in settings.py (https://github.com/GeoNode/geonode-mapstore-client/blob/master/geonode_mapstore_client/context_processors.py)

These can be also changed here, or overriden

And finally, there's one more config (json) here

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

79150421

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

this solution works fine else you can use extension manager (from ubuntu sore) to install it manually

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: akshay p s

79150419

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

After removing <ViewTransitions /> from the affected page it works. I think it is related to https://github.com/withastro/astro/issues/11301.

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

79150405

Date: 2024-11-02 10:06:57
Score: 0.5
Natty:
Report link

You can find answer here: https://github.com/facebook/react/issues/20817 or here: https://legacy.reactjs.org/docs/hooks-reference.html#bailing-out-of-a-state-update

If you update a State Hook to the same value as the current state, React will bail out without rendering the children or firing effects. (React uses the Object.is comparison algorithm.)

Note that React may still need to render that specific component again before bailing out. That shouldn’t be a concern because React won’t unnecessarily go “deeper” into the tree. If you’re doing expensive calculations while rendering, you can optimize them with useMemo.

That's why your component will render 1 more time with the same result

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

79150398

Date: 2024-11-02 10:02:57
Score: 1
Natty:
Report link
String value = String.format("%,d",number);
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Masoud Siahkali

79150395

Date: 2024-11-02 10:00:56
Score: 3.5
Natty:
Report link

I was looking for an answer to the same question, this looks like a solution, I haven't had time to check it yet https://forums.unrealengine.com/t/commonui-switch-commoninputbasecontrollerdata-at-runtime/1933305/4

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

79150387

Date: 2024-11-02 09:54:54
Score: 0.5
Natty:
Report link

What you tried, App.switch_frame(ScrollFrame) , won't work because it is calling the function from the class not the instance, which is not the window you are seeing. So you need to call the function from the instance 'app'.

This is the general problem with OOP. You often need the classes to interact in some way which is only possible if each had a reference to the other or the instances were global. Both solutions defeat the purpose/advantage of using OOP.

For your case, you could give the class FunctionsSidebarFrame a reference to the app instance which you can then use to call its swith_frame function.

class FunctionsSidebarFrame(customtkinter.CTkFrame):
    def __init__(self, master, app):
        self.app = app
        ...
    def viewGames(self):
        self.app.switch_frame(ScrollFrame)

This will also require you to give the class SidebarFrame the reference to be passed to FunctionsSidebarFrame.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What you
  • Low reputation (1):
Posted by: Yazan Al Hariri

79150385

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

hi i m a new user of python but i can't finalized because terminal signalized me a parsing failed why i can solve it

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

79150382

Date: 2024-11-02 09:53:54
Score: 1.5
Natty:
Report link

You need to update hilt to 2.49 or newer version:

Fixed #2287, #3523: Add support for using @AssistedInject with @HiltViewModel. (8327177). For more details visit https://dagger.dev/hilt/view-model#assisted-injection.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @AssistedInject
  • User mentioned (0): @HiltViewModel
  • High reputation (-1):
Posted by: Jan Itor

79150368

Date: 2024-11-02 09:45:52
Score: 2.5
Natty:
Report link

How about using a parsing function and matching on the return value? For example:

def get_operator(token_list):
    if '/' in token_list:
        return '/'
    ...
    return 'NUM'  # 'NUM' means numeric token 

match get_operator(c):
    case '/':
        i = c.index("/")
        before_div, after_div = c[:i], c[i+1:]
        ...
    case "NUM":
        return c[0]
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How
  • Low reputation (0.5):
Posted by: olives

79150350

Date: 2024-11-02 09:33:49
Score: 1.5
Natty:
Report link

According to this link, there is a bug in new versions of .NET where the certificate folder is not automatically created.

The workaround is to add the following code in the aspnetcore-https.js file:

const baseFolder = 
//...
s.mkdirSync(baseFolder, { recursive: true });
Reasons:
  • Blacklisted phrase (1): this link
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aaron

79150348

Date: 2024-11-02 09:32:49
Score: 5
Natty:
Report link

I have the same issue with my KMP project, the old code is loaded into the android emulator but the new code is loaded in the XCode iOS emulator. there is no single error in the application whatsoever.!

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
  • Low reputation (0.5):
Posted by: Saher Al-Sous

79150343

Date: 2024-11-02 09:31:48
Score: 4
Natty:
Report link

Changing the node version helped me

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

79150319

Date: 2024-11-02 09:18:45
Score: 1
Natty:
Report link

These steps solved my issue:

As the problem was solved by fresh installation of the dependencies, Most probably I faced the issue because of some internal dependency conflict.

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

79150314

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

Use puppeteer-extra-plugin-stealth. Note that you will need to use puppeteer-extra rather than just puppeteer for this to work. Found this solution through this article.

const puppeteer = require('puppeteer-extra');
const StealthPlugin = require('puppeteer-extra-plugin-stealth');
puppeteer.use(StealthPlugin());
Reasons:
  • Blacklisted phrase (1): this article
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: lefrost

79150313

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

I've been struggling with how to get my user interface for filling in lots of information QUICKLY in to a form, the info comes from Different datatables and I have to build a big old Estimation type screen.

Your idea has lead me on to thinking perhaps just have a big list like yours and let them multi select JUST the rows they want. Then Build it from the Checkboxes.

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Low reputation (1):
Posted by: phillismable

79150310

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

Holy crap this solved my issue! How ridiculous that MobileDependencyResolver doesn't actually work properly

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

79150308

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

Ditch express-fileupload for multer. It works flawlessly!

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

79150307

Date: 2024-11-02 09:07:43
Score: 2.5
Natty:
Report link

I have tried another library, SAP/node-hdb: SAP HANA Database Client for Node, and to my surprise with the same configuration it does work with the user logged in and not logged in.

I'll leave this one.

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

79150305

Date: 2024-11-02 09:07:42
Score: 5
Natty: 4.5
Report link

National Skills Development Authority is hosting such types of training.

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

79150298

Date: 2024-11-02 09:04:42
Score: 5.5
Natty:
Report link

NSDA adsbfgjks.bgjkbdfsjgbjfsbxcvjbxcnvbn,xcbv,xb,cnv 1

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: computer nactar

79150295

Date: 2024-11-02 09:03:41
Score: 2.5
Natty:
Report link

Following on from @Michal I used:

=TEXT(SUBSTITUTE(X2, ".", "/"), "dd/mm/yyyy")

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Michal
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: elksie5000

79150286

Date: 2024-11-02 08:58:40
Score: 0.5
Natty:
Report link

I decide. Thanks everybody for help I use format data json_v2 and my config looks that:

[inputs]
[[inputs.http]]
# this section working and return data
  urls = [ "http://{my_api_server_ip}/monitor/system/status" ]
  method = "GET"
  name_override = "device_info"
  #json_string_fields = ["instance-id", "api-version"]
  data_format = "json_v2"
  [[inputs.http.json_v2]]
    [[inputs.http.json_v2.field]]
      path = "instance-id"
      type = "string"
      optional = true
   [[inputs.http.json_v2.field]]
      path = "api-version"
      type = "string"
  success_status_codes = [200]
  [inputs.http.tags]
    devid = "64"
[[inputs.http]]
# this section IS working NOW and return data
  urls = [ "http://{my_api_server_ip}/monitor/system/status" ]
  method = "GET"
  name_override = "device_data_status"
  tagexclude = ["url", "host"]
  data_format = "json_v2"
  [[inputs.http.json_v2]]
    [[inputs.http.json_v2.field]]
      path = "devices:cameras:status.framerates.0"
      type = "string"
      rename = "front_cam_1_framerates"
      optional = true
  success_status_codes = [200]
  [inputs.http.tags]
    devid = "64"

[[inputs.http]]
# this section working and return data
  urls = [ "http://{my_api_server_ip}/monitor/system/status" ]
  method = "GET"
  name_override = "device_data_mem"
  data_format = "json"
  json_string_fields = ["mem-active", "mem-available", "mem-free", "mem-total", "swap-free", "swap-total"]
  json_query = "system:memory:usage"
  success_status_codes = [200]
  [inputs.http.tags]
    devid = "64"
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Владимир Костяник

79150281

Date: 2024-11-02 08:56:39
Score: 4.5
Natty:
Report link

I have a class that I want to hide, this is my code:

    /*--------------------------------------------------------------
    Title & Breadcrumb
--------------------------------------------------------------*/
.main-title-section-wrapper {
    clear: both;
    float: left;
    margin: 0;
    padding: 75px 0 90px;
    width: 100%;
}

#header-wrapper .main-title-section-wrapper {
    position: relative;
}

#header-wrapper.header-top-absolute .main-title-section-wrapper {
    position: static;
}


.main-title-section {
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    pointer-events: none;
}



.main-title-section h1 {
    font-size: calc(var(--DTFontSize_H1)/.95);
    margin: 0 0 5px;
    word-break: break-all;
    font-weight: 700;
    text-transform: initial;
    line-height: 1.25em;
    color: #1a1a1a;
}



.breadcrumb {
    clear: both;
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: 500;
}

.breadcrumb span:not(.current) {
    display: inline-block;
    margin: 0px 12px;
    padding: 0;
}

.main-title-section-wrapper .breadcrumb-default-delimiter:before {
    content: "";
    background-color: currentColor;
    display: inline-block;
    height: 14px;
    opacity: 0.45;
    position: relative;
    top: -1px;
    vertical-align: middle;
    width: 1px;
    -webkit-transform: rotate(20deg);
    transform: rotate(20deg);
}

.main-title-section h1,
.breadcrumb {
    hyphens: auto;
    word-break: break-word;
    word-wrap: break-word;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.main-title-section-wrapper>.main-title-section-bg,
.main-title-section-wrapper>.main-title-section-bg:after {
    content: "";
    height: 100% !important;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    pointer-events: none;
}


/*--------------------------------------------------------------
    Default Colors
--------------------------------------------------------------*/

.breadcrumb {
    color: var(--DTBodyTxtColor);
}

.main-title-section h1 {
    color: var(--DTBlackColor);
}

.breadcrumb a {
    color: var(--DTLinkColor);
    border-bottom: 2px solid transparent;
}

.breadcrumb a:hover {
    border-bottom-color: var(--DTPrimaryColor);
}

.breadcrumb span.current {
    color: var(--DTBodyTxtColor);
}

.main-title-section-wrapper>.main-title-section-bg:after {
    background-color: rgba(var(--DTBlack_RGB), 0.05);
}

.main-title-section-wrapper.dark-bg-breadcrumb>.main-title-section-bg {
    background-color: var(--DTBlackColor);
}

.dark-bg-breadcrumb .main-title-section h1,
.dark-bg-breadcrumb .breadcrumb a,
.dark-bg-breadcrumb .breadcrumb span.current,
.dark-bg-breadcrumb .breadcrumb span:not(.current) {
    color: var(--DTWhiteColor);
}

.breadcrumb a:hover,
.dark-bg-breadcrumb .breadcrumb a:hover {
    color: var(--DTLinkHoverColor);
}



/*--------------------------------------------------------------
    Accents
--------------------------------------------------------------*/


/* Primary Color */

.breadcrumb a:hover {
    color: var(--DTPrimaryColor);
}


/*--------------------------------------------------------------
    Responsive
--------------------------------------------------------------*/

@media only screen and (min-width:1281px) {
    .main-title-section-wrapper {
        padding: 75px 0 90px;
    }
}

@media only screen and (max-width: 1280px) {
    .main-title-section-wrapper {
        padding: 45px 0 50px;
    }
}

/*----*****---- << Mobile (Landscape) >> ----*****----*/


/* Common Styles for the devices below 767px width */

@media only screen and (max-width: 767px) {
    .main-title-section h1 {
        font-size: 28px;
    }
    .main-title-section,
    .main-title-section h1,
    .breadcrumb {
        text-align: center;
    }
}


/* Common Styles for the devices below 479px width */

@media only screen and (max-width: 479px) {
    .main-title-section h1 {
        font-size: 24px;
    }
}

I'm trying to hide main title section wrapper, so far I used this:

    .main-title-section-wrapper {
    display: none ;
    visibility: hidden ;
    }
    
    .main-title-section-wrapper {
       position: absolute;
       top: -9999px;
       left: -9999px; }

And it works on chrome both on desktop that on mobile, but safari on ios still shows that class

What should I do to hide this element also in safari?

Reasons:
  • Blacklisted phrase (2): What should I do
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: marko988

79150279

Date: 2024-11-02 08:55:39
Score: 1
Natty:
Report link

I am new to kotlin but you made me learn this today, thanks! was using kotlin playground..


You were asking about way to add one more argument with default value without breaking existing calls.

You can do this by using attributes after vararg like

fun foo(
    id: String,
    vararg values: Int,
    attributes: Array<String> = arrayOf("a", "b"),
){
  ...
}

But wait, that will raise error regarding type, because the attribute which you meant to convey at last of foo() will also be considered as vararg, so to use this code we will have to call the function like:

foo("id_3", 1, 2, 3,attributes=loremipsum)

wherever required you can add ,attributes=loremipsum and if not leave it.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (1.5): I am new
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: redoc

79150273

Date: 2024-11-02 08:49:38
Score: 2
Natty:
Report link

I had this problem while training my ML model. The issue occurred when in the yaml configuration file I had mistakenly removed the space between one of the key and value. It got resolved after removing that.

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

79150271

Date: 2024-11-02 08:48:36
Score: 6 🚩
Natty:
Report link

Can you please share your shortcode code ? the shortcode should have ob_start() & ob_get_clean() functions. please see the below shortcode syntax

function your_shortcode_function() {
    ob_start();
    ?>
    <div class="your-custom-shortcode-wrapper">
        <!-- Your output content here -->
    </div>
    <?php
    return ob_get_clean();
}
add_shortcode('your_shortcode', 'your_shortcode_function');

please let me know if it works

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please share your
  • RegEx Blacklisted phrase (2.5): please let me know
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you please share you
  • Low reputation (0.5):
Posted by: Shaikh Aejaz Ahmed

79150266

Date: 2024-11-02 08:44:35
Score: 4.5
Natty:
Report link

I was able to solve it by adding the mingw complier as the compiler in compile flags in the clangd config.yaml file.

Here is a the detailed medium post I made: https://medium.com/@adarshroy.formal/setting-up-neovim-on-windows-a-beginner-friendly-no-nonsense-guide-with-cpp-clangd-without-wsl-f792117466a0

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user28073209

79150261

Date: 2024-11-02 08:41:32
Score: 6.5 🚩
Natty: 6.5
Report link

Can you send me your modeling files to study? I'm currently studying this aspect, but I haven't found any relevant learning materials. Thank you. [email protected]

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

79150253

Date: 2024-11-02 08:36:31
Score: 2
Natty:
Report link

Implementing JSON source generation in .NET 9 Preview is a powerful way to boost efficiency in IoT systems. With built-in support for fast, real-time JSON serialization and deserialization, it minimizes latency and enhances data processing performance—crucial for IoT applications requiring rapid, reliable communication.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chris A. Bell

79150249

Date: 2024-11-02 08:33:30
Score: 1
Natty:
Report link

Since 166.20 ≈ 581665650.50 / 3500000.00, I would guess that maybe you somehow changed the value of the "EBITDA last 4 quarters" column before you printed out that row.

Python dataframes are passed by reference, so any intermediate function that mutates the values within a dataframe that is passed in as an argument would also mutate the original dataframe itself.

If you paste your entire code snippet, we can help you debug further.

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

79150245

Date: 2024-11-02 08:31:27
Score: 13 🚩
Natty: 6
Report link

can you tell me how to install metaplex when i have only the old way available in a tutorial? You say its depricated - is this mean it wont work? i aim to create a fraqtuanized NFT with it. Sadly the code to install it with VSC is not working - only readme file in the zip file. I found this: https://github.com/metaplex-foundation/deprecated-clis so i want to ask if it will work for the installing of metaplex or not? I mean if its depricated isnt it means that it wont work ?

Also you say the new way is for candy machine - but i have no idea what is it - i just want to create a fraqtuanized solana nft - if its possible please clear my uncertainty and point me to the right direction. I am sorry if the question seems stupid to you - but i have been searching for it for about a week and havent found a good enough answer. May be i lack the nescessary skill to understand all - so any advice will be appriciated.

Please give me a pointer - you have my gratest gratitude.

Thank you all in advance for your understanding and helpfulness. Best wishes.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1.5): tell me how to
  • RegEx Blacklisted phrase (2.5): can you tell me how
  • RegEx Blacklisted phrase (2.5): Please give me
  • RegEx Blacklisted phrase (3): Thank you all in advance
  • RegEx Blacklisted phrase (1): i want
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): can you
  • Low reputation (1):
Posted by: LaptopOneProgramming

79150242

Date: 2024-11-02 08:29:27
Score: 3.5
Natty:
Report link

please try to use the Jira Spoke and webhook and existing OOTB sub-flow.

https://docs.servicenow.com/bundle/xanadu-integrate-applications/page/administer/integrationhub-store-spokes/task/setup-jira302-webhooks.html

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

79150237

Date: 2024-11-02 08:25:26
Score: 3
Natty:
Report link

I was facing this same issue, solved it by downgrading hadoop to 3.3.6. I think 3.4.0 is not compatible with windows.

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

79150235

Date: 2024-11-02 08:22:25
Score: 0.5
Natty:
Report link

You can add the run-name property to your workflow YAML:

run-name: ${{ github.event.workflow_run.head_commit.message }}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: johnnyaug

79150234

Date: 2024-11-02 08:22:25
Score: 0.5
Natty:
Report link

I got the error resolved by first installing xformers since it is not able to recognize the torch module which was already installed

pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu124

then try installing mistral_inference

pip3 install mistral-inference
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: abhishek

79150225

Date: 2024-11-02 08:17:24
Score: 0.5
Natty:
Report link

Yes, events will synchronize with every command submitted before the signal and after the wait, provided that they match the pipeline stage. If you really want maximum independence here, you'd need to submit these sets of commands to different queues/queue families.

However, you should also keep in mind that just because the driver could schedule work in parallel, it doesn't necessarily do so - this depends on the size of your submissions and free hardware resources. Using multiple queues also isn't free, so you should benchmark whether that split is really worth it.

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

79150211

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

This issue mainly results from how class labels are encoded and loaded during training. Ensure that the labels are encoded and loaded the same way as you did during training so that the indexing is not messed up, that is if the classes are sorted during training make sure they are also sorted during inference. I hope this helps.

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Takuphilchan

79150203

Date: 2024-11-02 08:04:21
Score: 2
Natty:
Report link

ran into the issue trying to locate UserRefID and found a solution. Apparently, when you follow their "OAuth2/Authorization Guide", you can get the needed data if you run GET call to this URL: user-iMac:Desktop user$ curl --location --request GET 'https://api.honeywell.com/v2/locations?apikey=' --header 'Authorization: Bearer '

The JSON that comes out has the UserID. So, it is indeed the UserRefID (2352951) :

"users": [ { "userID": 2352951, "username": "[email protected]", "firstname": "G", "lastname": "D", "created": 16335504, "deleted": -6213596800, "activated": true, "connectedHomeAccountExists": true, "locationRoleMapping": [ { "locationID": 37316221, "role": "Adult", "locationName": "Home", "status": 1 } ], "isOptOut": "False", "isCurrentUser": true }, {

I hope someone finds this useful.

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

79150198

Date: 2024-11-02 08:01:20
Score: 1.5
Natty:
Report link

Customizing styles with classNames is more better.

For example:

<AccordionItem 
 ...
 classNames={{
    title: "text-white",
    trigger: "bg-green-500",
  }}
/>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ashmakov

79150194

Date: 2024-11-02 07:59:19
Score: 0.5
Natty:
Report link

I came across your query regarding implementing client-side encryption with WebAuthn as a second factor in a PWA project. It resonates well with a recent article I wrote about integrating biometric authentication using the WebAuthn API.

In your case, you’re looking to encrypt a randomly generated key while ensuring that the server remains oblivious to client details. One potential approach is to leverage the public key generated during the WebAuthn registration process to encrypt your symmetric key. Although you noted that the public key changes with each login attempt, you can store the initial public key during the registration phase and use that for encryption, as it is unique to the user and the authenticator.

Here’s a simplified outline of how you could structure the encryption process:

Registration Phase:

Generate a key pair for WebAuthn (public and private). Store the public key securely in your database along with any user identifier. Encryption Phase:

When you need to encrypt your database key, use the stored public key to perform asymmetric encryption. Store the encrypted symmetric key on the server, while keeping the decryption private key on the client side. Authentication Phase:

Upon user authentication, retrieve the corresponding public key and use it for decryption. This approach ensures that the server doesn't have access to the private key, keeping your encryption strategy client-side.

For further details, you can refer to my article on Medium about WebAuthn, where I provide code snippets and practical steps for implementing biometric authentication. It may offer additional insights into working with WebAuthn effectively. Implementing Biometric Authentication in PWA

If you have any specific questions or need help with the implementation details, feel free to ask!

Best, soroush alipasand

Reasons:
  • Whitelisted phrase (-1): In your case
  • Contains signature (1):
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: soroush alipasand

79150192

Date: 2024-11-02 07:58:19
Score: 1.5
Natty:
Report link
class="link-underline link-underline-opacity-0 link-underline-opacity-100-hover"

Simply add this class to each link you want to style like Bootstrap 4.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Васил Тошков

79150156

Date: 2024-11-02 07:32:11
Score: 10 🚩
Natty: 5
Report link

I have the same issue, I hope you solve it anyone can help

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): anyone can help
  • RegEx Blacklisted phrase (0.5): anyone can help
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: user28098431

79150153

Date: 2024-11-02 07:30:11
Score: 3
Natty:
Report link

Manually Clearing Cached DNS Records The following three websites will help you clear out previously cached DNS records to speed up the worldwide. Simply visit each site and run the cache clear:

  1. OpenDNS: https://cachecheck.opendns.com/
  2. Cloudflare: https://1.1.1.1/purge-cache/
  3. Google: https://developers.google.com/speed/public-dns/cache

source: https://gridpane.com/kb/speeding-up-dns-propagation-manually-clearing-out-cached-records/

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

79150151

Date: 2024-11-02 07:28:10
Score: 3
Natty:
Report link

Got it myself. It was me renaming some .py files, and not deleting pickle-based cache file. Old module names got stuck in file, and pickle tried to import those old module names which no longer exist.

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

79150150

Date: 2024-11-02 07:28:10
Score: 3
Natty:
Report link

I just had the same issue with deleteDoc! Removing the await solved my problem. I don't know why this is the case.

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

79150140

Date: 2024-11-02 07:15:08
Score: 0.5
Natty:
Report link
import cv2 as cv
 
img = cv.imread('src.png', cv.IMREAD_GRAYSCALE)
height, width = img.shape 
blur = cv.blur(img, (width // 4, height // 4))
cv.imwrite('dst.png', blur)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Konstantin Makarov

79150137

Date: 2024-11-02 07:14:08
Score: 1.5
Natty:
Report link

Just go to providers and disable phone confirmation even if phone provider is disabled. Then you will get it in errors field. That user_already_exists

https://supabase.com/docs/reference/javascript/auth-signup

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

79150132

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

All these answers use a backslash after the drive:colon. Works without one:

if exist C: (
echo Yay C:
)
) else (
echo Nah
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Laurie Stearn

79150130

Date: 2024-11-02 07:07:06
Score: 1.5
Natty:
Report link
let backgroundImageView: UIImageView = {
    let imageView = UIImageView(image: #imageLiteral(resourceName:  "background"))
    imageView.contentMode = .scaleAspectFill
    imageView.clipsToBounds = true
    return imageView
}()

Adding imageView.clipsToBounds = true resolved problem

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

79150121

Date: 2024-11-02 07:02:05
Score: 1
Natty:
Report link

Samsung Smart TV apps are built specifically for the Tizen operating system (or older versions use Orsay). These apps are tailored to the Samsung Smart TV ecosystem, meaning that IPTV apps developed for Samsung Smart TVs might not function on other platforms unless adapted.

Understanding IPTV Compatibility: Samsung Smart TVs: Only run apps developed or ported for Tizen (or Orsay). Common IPTV apps available include IPTV Smarters, SET IPTV, and Ibo Player.

General IPTV Apps: Apps like Relax Play and Bob Player are designed to work across various devices but may require adaptation or a specific version for Samsung TVs. Can These Apps Work on Other IPTV Devices?

Not all IPTV apps for Samsung TVs will run on other smart TV platforms like LG (WebOS), Android TVs, or generic IPTV boxes. Cross-compatibility depends on whether the app developer has made versions for different operating systems.

Key Points to Remember:

Check App Compatibility: Ensure that the IPTV app supports the target device's OS. Use Multi-Platform Apps: Some apps, like IPTV Smarters, have versions for multiple platforms, including Android and smart TVs.

Installing Non-Store Apps: Sideloading may be an option for advanced users but isn't always straightforward and may have limitations.

For a detailed guide on IPTV apps like IPTV Smarters, Bob Player, Ibo, SET IPTV, and Relax Play, visit this resource to explore more options for IPTV services and their compatibility with various devices.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: عصام

79150109

Date: 2024-11-02 06:55:03
Score: 1
Natty:
Report link

ForrunnerDB has been a good fit over the years. It can run in the browser and works well in Cordova.

With its MongoDB like API, it can store and find any JSON data. It even works well with storing images as Base64 in its JSON documents.

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

79150107

Date: 2024-11-02 06:53:02
Score: 1
Natty:
Report link

In jupyter, Kernel > Restart kernel help,

Reference https://github.com/ipython/ipython/issues/11027 .

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

79150098

Date: 2024-11-02 06:45:01
Score: 0.5
Natty:
Report link

What will happen with old memory block place?

This question was not yet answered. The answer is simple, it is easy to check in your code. In my case, when realloc returns the same address (usually if I reduce the block size), calling free with old address produce no error, which is true since it is also a new address. When it returns different address, calling free with old address fails.

So, it does free the old block when it is reallocated:

void* location = realloc(arr, NEW_SIZE);
// do not delete arr, it points to the same or freed block
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: dmitrycello

79150093

Date: 2024-11-02 06:43:01
Score: 0.5
Natty:
Report link

When you submit the form, if there is an error (for example, if ModelState.IsValid is false), the form is re-rendered with the View(model); statement in the Create action.

this causes the view to include the existing partial views for each Mfo, including any appended ones, resulting in duplicates because the client-side javascript also appends additional partials.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Ashkan Afsharpour

79150079

Date: 2024-11-02 06:28:58
Score: 1.5
Natty:
Report link

That's easy. Just trim and check the value. You could add a short-if statement like (splitLine[2].toString() != "2" ? "1" : "2") Or check (string.IsNullOrEmpty(splitLine[2]) ? "1" : "2") is null or empty. But to be honest... Adding values like this way is very very bad. You know, every person has his own idea about entering values and this will almost always causing problems. I would recommend using a Textbox for every column and after pushing the 'Apply' or 'Insert' button, check every input from the textboxes if they contain the values you would like to accept.

The most errors occurs with user input! What if somebody enters four instead of 4?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Paul Albers

79150064

Date: 2024-11-02 06:12:55
Score: 2.5
Natty:
Report link

Yes, JavaScript can experience race conditions, especially in environments where asynchronous code execution is involved, such as with promises, callbacks, or web APIs like setTimeout, fetch, or event listeners.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nha Thuoc Do Minh Duong

79150055

Date: 2024-11-02 06:06:54
Score: 3
Natty:
Report link

I switched browsers. previously i was using arc but when i switched to chrome i chrome i could see the scrollbars. and on mac u cant see any visible scrollbars on any browser by default

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

79150051

Date: 2024-11-02 05:58:52
Score: 3.5
Natty:
Report link

how you are passing the token? you need to put bearer word before the token in Authorization header

bearer {{token}}

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): how you are
  • Low reputation (1):
Posted by: ahmmad aswad

79150048

Date: 2024-11-02 05:57:52
Score: 2
Natty:
Report link

Had the same issue, so I've created a Chrome extension for doing such automation download for multiple files (support also folders and pagination)

S3 Multi File Downloader

you are welcome to try and give feedbacks :)

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

79150045

Date: 2024-11-02 05:54:51
Score: 0.5
Natty:
Report link

bro,I'm a chinese man,when i see your problem, in this sentence '$( ".counter" ).append ("answer")' ,you should use {} to append answer not put the string "anwser" in it.

If you want to use JQuery,there is answer for you:
$(document).ready(function() {
    // 初始化计数器
    let counter = 0;
    
    // 显示计数的元素
    const $counterDisplay = $('.counter');
    
    // 点击按钮时的处理
    $('.clickme').on('click', function() {
        // 增加计数
        counter++;
        // 更新显示
        $counterDisplay.text(counter);
    });
});
 
if you want to contact with me,welcome to answser me

    enter code here
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: A_CHN_MAN

79150043

Date: 2024-11-02 05:52:50
Score: 4
Natty: 4.5
Report link

mongosh has to be installed using the instruction provided in the docs https://www.mongodb.com/docs/mongodb-shell/install/

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

79150030

Date: 2024-11-02 05:35:44
Score: 7.5 🚩
Natty: 4.5
Report link

Did you find a solution about this? I am facing the same challenge.

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution
  • Low reputation (1):
Posted by: rt2000

79150026

Date: 2024-11-02 05:29:42
Score: 2
Natty:
Report link

Clerk currently offers a restriction option under Configure > Restrictions -> Sign-up mode.

This mode disables sign ups and sign ins by users who are not currently in the users list or don't have an invite.

Clerk disable sign ups option

Results of activating restriction

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

79150024

Date: 2024-11-02 05:27:42
Score: 1
Natty:
Report link

The answer from @OriDrori would address the question.

The following is an alternate solution, not based on ref. Certainly it comes at a cost of an extra state and a separate useEffect statement.

Coding highlights

a. An extra state for sorting

  const [prevSorting, setPrevSorting] = useState();

b. Two separate useEffect invocations

The first useEffect will invoke for every render, but the logic inside will be applied with respect to the changes in sorting state.

The second useEffect will invoke only on the changes in sorting state, and will keep preSorting state in synch.

  useEffect(() => {
    if (sorting !== prevSorting) {
      loadEntries(sorting, searchParameters);
    }
  }); 


  useEffect(() => {
    setPrevSorting(sorting);
  }, [sorting]);

Code - full listing:

App.js

import { useState, useEffect } from 'react';

function loadEntries(sorting, searchParameters) {
  console.log(`loadEntries executed with : ${sorting},${searchParameters}`);
}

export default function App() {
  const [searchParameters, setSearchParameters] = useState('');
  const [sorting, setSorting] = useState();
  const [prevSorting, setPrevSorting] = useState();

  // update searchParameters if the user enters someting
  function handleChangeSearchParameters(newValue) {
    setSearchParameters(newValue);
  }
  // update sorting if the user clicks on a column in the table
  function handleClickSorting(newValue) {
    setSorting(newValue);
  }

  // PROBLEM: I only want to call loadEntries() if sorting changes, but I need searchParameters for it too!
  useEffect(() => {
    if (sorting !== prevSorting) {
      loadEntries(sorting, searchParameters);
    }
  });

  useEffect(() => {
    setPrevSorting(sorting);
  }, [sorting]);

  return (
    <>
      <button onClick={() => handleClickSorting(Math.random())}>
        Click sorting
      </button>
      <br />
      <label>searchParameters</label>
      <br />
      <input
        value={searchParameters}
        onChange={(e) => handleChangeSearchParameters(e.target.value)}
      ></input>
    </>
  );
}

Test runs

A search parameter newly entered

It did not invoke useEffect for the changes in Sorting, please see there is nothing logged in the console

Browser display - A search parameter newly entered

A change in Sorting by clicking the button

It did invoke useEffect for the changes in Sorting, please see there is something logged in the console.

Browser display - A change in sorting

A change in the search parameter

It did not invoke useEffect for changes in Sorting, please see there is nothing newly logged in the console.

Browser display - A change in search parameter

A change in Sorting by clicking the button

It did invoke useEffect for changes in Sorting, please see there is something newly logged in the console.

Browser display - Another change in sorting

Reasons:
  • Blacklisted phrase (0.5): I need
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @OriDrori
Posted by: WeDoTheBest4You

79150022

Date: 2024-11-02 05:22:41
Score: 1.5
Natty:
Report link
mkdir $HOME/.ccachetmp
export CCACHE_DIR=$HOME/.ccachetmp

You can additionally add

export CCACHE_DIR=$HOME/.ccachetmp

In ~/.bashrc

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

79150018

Date: 2024-11-02 05:17:40
Score: 2.5
Natty:
Report link

the helper function (CheckBusinessHours) will not have context,event and callback as it is helper function. Replace it with the param that you want to pass.

Ref link below

Twilio docs

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

79150014

Date: 2024-11-02 05:15:39
Score: 1
Natty:
Report link

Used a small library because browsers/OS's don't reliably work with the built in smooth scroll.

npm install --save zenscroll

import zenscroll from 'zenscroll';

zenscroll.setup();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: The Jared Wilcurt

79150008

Date: 2024-11-02 05:11:38
Score: 0.5
Natty:
Report link

You have to include the trailing slash / otherwise the path will get stripped:

baseURL: 'https://example.com/',

Looks like a known issue: https://github.com/microsoft/playwright/issues/21864

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

79149994

Date: 2024-11-02 04:55:35
Score: 2
Natty:
Report link

I think. It is because Docker is not more a part of kubernetes installation. Just google about it. For example. https://kodekloud.com/blog/kubernetes-removed-docker-what-happens-now/

Most likely you have another CRI containerD. Just take another base image. some alphine or ubuntu.

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

79149988

Date: 2024-11-02 04:51:34
Score: 2.5
Natty:
Report link
<?php
$array = ['One', 'Two', 'Three', 'Four', 'Five'];
$length = count($array);
var_dump($length);
?>

See Instraction Read More

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

79149977

Date: 2024-11-02 04:41:32
Score: 0.5
Natty:
Report link

I was working on a project using Firebase functions and tried implementing Multer, but it kept throwing the same error.

I ended up using this dependency express-multipart-file-parser https://github.com/cristovao-trevisan/express-multipart-file-parser, and I was finally able to process files in multipart/form-data requests.

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

79149963

Date: 2024-11-02 04:28:29
Score: 5
Natty: 4
Report link

Recently published a blog trying to explain the above https://medium.com/@ankush13777/the-hidden-optimization-behind-sparks-mappartitions-28983541df18

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: ankush1377

79149957

Date: 2024-11-02 04:25:27
Score: 2.5
Natty:
Report link

Analyze your flutter apk in as and you will find that it has a directory structure like this

enter image description here

Now suppose I need to load pic_app_logo.png, then the code should be like this

context.assets.open("flutter_assets/packages/pkg_res/assets/images/common/login/pic_app_logo.png")
Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 蒋明洁

79149946

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

Years ago IDE Insight was added to allow searching the IDE for settings. It is the small text box in the upper right. Seaching for save brings up a bunch of settings one of which describes what you want. Becoming familar with IDE Insight is worthwhile.

Dephi IDE Insite showing results of searching for save

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

79149944

Date: 2024-11-02 04:09:24
Score: 2.5
Natty:
Report link

Seems like you have not set the OPEN_API_KEY variable in your .env file. You can try following this to set your environment variables: https://stackoverflow.com/a/64881524/12248084

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: nabil.adnan1610

79149938

Date: 2024-11-02 04:01:23
Score: 3.5
Natty:
Report link

Buy Verified Cash App Accounts $220.00 – $560.00

Buy Verified Cash App Accounts is a convenient and secure way to access the benefits of Cash App quickly and effectively. Are you looking to buy verified Cash App accounts so you can start using the popular mobile payment app right away?

Features of Cash App Accounts ➤ 100% Satisfaction & Recovery Guaranteed ➤ Email login & Number access ➤ 100% BTC Withdrawal Enabled ➤ 4k 15k 25k accounts ➤ Real Gmail used USA, UK and other countries ➤ 100% secure and full verified accounts ➤ Bank & Card Verified ➤ Bank details ➤ Driving License Scan Copy ➤ Date of Birth Provided

If you want to more information just contact now. 24 Hours Reply/Contact E-mail: [email protected] Telegram: @Seo2Smm Skype: Seo2Smm

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Seo2Smm
  • Low reputation (1):
Posted by: Buy Verified Cash App Accounts

79149937

Date: 2024-11-02 04:00:23
Score: 0.5
Natty:
Report link

It seems like python and pip packages are corrupted. Try the following :

  1. Uninstall any python or pip package installed on your system
  2. Reinstall the python and pip and all the package and modules as well.

Let me know if it works. I installed 'scratch' but i encountered exactly same error.Then I did this and it ran smoothly.

Reasons:
  • Whitelisted phrase (-1): Try the following
  • No code block (0.5):
  • Low reputation (1):
Posted by: DREAMBOYYY26

79149933

Date: 2024-11-02 03:57:22
Score: 1
Natty:
Report link

tensorflow 2.9 -- 2.12 does not exist for M2 processors. More precisely, Google did not build and publish the packages on PyPI. You can see this for yourself: https://pypi.org/simple/tensorflow/ (Look for packages of the form macosx_*_arm64). My understanding is that at the time when tensorflow 2.9 was published (cca 2022), M1, M2 chips didn't exist, or at least they were not popular, and so Google didn't build tensorflow for these processors. Later Google didn't bother to publish these packages and assumed that people would use newer version of tensorflow instead.

Your best bet is to install a later version of tensorflow, i.e., 2.13 or later. Do not install tensorflow-macos -- that is just a bandaid.

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

79149928

Date: 2024-11-02 03:53:21
Score: 1
Natty:
Report link
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Gab