79209678

Date: 2024-11-21 04:32:18
Score: 2.5
Natty:
Report link

The .rc file shoule be encoded as utf-8 format, not utf-8(BOM) format. Open the file with notepad++ and choose encoding, change it to utf-8.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 民间小哥

79209676

Date: 2024-11-21 04:31:18
Score: 1.5
Natty:
Report link

This issue is indeed related to theme tabler. It can be fixed by uninstalling the theme with:

composer remove backpack/theme-tabler

and reinstalling it with:

composer require backpack/theme-tabler
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tariiq Dusmohamud

79209675

Date: 2024-11-21 04:31:18
Score: 2.5
Natty:
Report link

I change to IF-ELSE as workaround solution, it's simple way to solve this problem

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

79209672

Date: 2024-11-21 04:29:17
Score: 3.5
Natty:
Report link

Right click on the rack, select 'Edit style', delete the command 'childLayout=rack; and click Apply.

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

79209664

Date: 2024-11-21 04:23:16
Score: 0.5
Natty:
Report link

A motor or servo (if you choose to use a motor, you will need the L293D Motor driver) Picaxe 28X1 board and chip (this can be done with other microcontrollers, but I am using this one) A computer (Mac or PC, doesn't matter since the code will be on the board itself) AXEPad (Programming software for Picaxe, can be found for Mac OSX, Windows, and Linux)

NOTE: you will need a soldering iron and solder for this.Once you have your servo or motor connected, plug in the battery case, put three double A's into it, then plug the USB cable into the board and the computer. After that open up AXEPad. You are now ready to program it.

#Picaxe 28X1 #Terminal 4800 Do SerRxd b0 SerTxd( "You typed ", b0, CR, LF ) if b0 = "o" then 'the o can be changed to whatever letter you want (in this case o≠O, so you have twice as many options) servo 0,75 'this should be replaced by the motor command if you use a motor instead, It is high 4, low 5, or high 5, low 4 for one of them, or high 6, low 7, or high 7, low 6 for the other. wait 2 'this command is specifically for the servo, otherwise it will not turn all the way end if if b0="i" then 'again, this can be changed to suit your preferences and i≠I servo 0,225 'If you use a motor, switch the high and low values wait 2 'again, you don't need this if you are using a motor end if if b0 = "p" then servo 0, 150 'this centers the servo, put all values on low to stop the motor wait 2 end if Loop

Press f4, or go to PICAXE>check syntax to make sure everything is entered correctly, then press f5, or go to PICAXE>program to download the program to the board

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

79209662

Date: 2024-11-21 04:23:16
Score: 3.5
Natty:
Report link

After trying many solutions from Google and StackOverflow. I came to know that my code is correct the issue was with SMTP credentials. I have used other SMTP credentials and it worked.

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): StackOverflow
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: JIGNESH PATEL

79209649

Date: 2024-11-21 04:08:14
Score: 0.5
Natty:
Report link

Not good idea but maybe using controller to get table and in the view you can filter by where clause. example : controller.php

$ticket = DB::table('tiket');

and in the view you can using where clause. view.blade.php

@php
$ticket->where('tanggal', $tgl)->where('id_jadwal', $jadwal)->first();
@endphp
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Eka

79209648

Date: 2024-11-21 04:08:14
Score: 1.5
Natty:
Report link

install them first.

sudo apt install libhdf5-dev libcapstone-dev

then delete build dir.

rm -rf build

finally, rebuild it.

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

79209640

Date: 2024-11-21 04:03:13
Score: 3.5
Natty:
Report link

I think you should try to add layout for your panel first.

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

79209635

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

Try adding xlim(c(<lower_limit>, <upper_limit>)). From there, you can create another function to find where the 90th percentile (or another threshold) of your data lies - input that into your upper or lower limits.

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

79209617

Date: 2024-11-21 03:50:10
Score: 2.5
Natty:
Report link

In the left sidebar, under the list of repositories, select the "Manage notifications" dropdown menu and click Subscriptions. Select the notifications you want to unsubscribe from. In the top right, click Unsubscribe.

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

79209614

Date: 2024-11-21 03:48:10
Score: 2
Natty:
Report link

Apache Druid does not have native support for Oracle as a metadata storage option available. Instead, the error message specifies that the required Oracle extension is missing. Outside of the box, Druid natively supports PostgreSQL and Derby. Thus, if Oracle support is critical in your application, you would have to develop a custom extension or otherwise seek community-contributed plugins-though such efforts are not officially supported.

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

79209613

Date: 2024-11-21 03:47:10
Score: 2.5
Natty:
Report link

It is likely that Microsoft has locked down access to the IR camera for security, but I know some other people who have tried. From what I've been able to find, it seems like this was once possible on Windows 10 (with no recent news on Windows 11). Check out some prior attempts here and here

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

79209611

Date: 2024-11-21 03:46:09
Score: 0.5
Natty:
Report link

In Raft, the leader queues and processes requests in order rather than refusing them. Techniques like batching, pipelining, and asynchronous handling allow the leader to maintain high throughput and low latency, ensuring clients get a timely and consistent response.

Example:

Let’s say a leader is processing request1 when request2 arrives:

You can see its implementation here https://github.com/dhyanio/discache/blob/main/rafter/raft.go

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

79209600

Date: 2024-11-21 03:42:08
Score: 1
Natty:
Report link

Testing based on the yaml files shared by you, I don't have the same error and the pipeline works fine.

azure-pipelines.yml:

trigger:
- none

pool:
  vmImage: ubuntu-latest

extends:
  template: pipeline.yml
  parameters:
    DefaultSettings:
      Service1:
        Setting1: Value1
        Setting2: Value2
      Service2:
        Setting1: Value1

    Environments:
      Development:
        Settings:
          Service1:
            Setting2: DevelopmentValue2
          Service2:
            Setting1: DevelopmentValue1
      Test:
        Settings:
          Service2:
            Setting1: TestValue1

pipeline.yml:

parameters:
- name: DefaultSettings
  type: object
  default: []
- name: Environments
  type: object
  default: []

stages:
- stage: Pipeline
  jobs:
  - job: job
    steps:
    - script: |
        echo "ENVIRONMENTS: ${ENVIRONMENTS}"
        echo "DEFAULTSETTINGS: ${DEFAULTSETTINGS}"
      env:
        ENVIRONMENTS: ${{ convertToJson(parameters.Environments) }}
        DEFAULTSETTINGS: ${{ convertToJson(parameters.DefaultSettings) }}

- ${{ each environment in parameters.Environments }}:
  - template: environment.yml
    parameters:
      Environment: ${{ environment.Value }}
      DefaultSettings: ${{ parameters.DefaultSettings }}

environment.yml:

parameters:
- name: Environment
  type: object
  default: []
- name: DefaultSettings
  type: object
  default: []

stages:
- stage:
  jobs:
  - job: job
    steps:
    - script: |
        echo "ENVIRONMENT: ${ENVIRONMENT}"
        echo "DEFAULTSETTINGS: ${DEFAULTSETTINGS}"
      env:
        ENVIRONMENT: ${{ convertToJson(parameters.Environment) }}
        DEFAULTSETTINGS: ${{ convertToJson(parameters.DefaultSettings) }}


- template: environment-stages.yml
  parameters:
    Settings:
      ${{ each service in parameters.DefaultSettings }}:
        ${{ service.Key }}:
          ${{ each setting in service.Value }}:
            ${{ setting.Key }}: ${{ coalesce(parameters.Environment.Settings[service.Key][setting.Key], setting.Value) }}

environment-stages.yml:

parameters:
- name: Settings
  type: object
  default: []

stages:
- stage: 
  jobs:
  - job: job
    steps:
    - script: |
        echo "Settings: ${SETTINGS}"
      env:
        SETTINGS: ${{ convertToJson(parameters.Settings) }}

Result:

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same error
  • High reputation (-1):
Posted by: Ziyang Liu-MSFT

79209595

Date: 2024-11-21 03:38:08
Score: 3
Natty:
Report link

I setup my Docker file with node version:22-alpine3.19. Downgrading the NodeJS version works.

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

79209589

Date: 2024-11-21 03:36:07
Score: 1.5
Natty:
Report link

Cassandra Java Driver 3.11 is compatible with Cassandra 4. But cassandra-unit is using Cassandra Java Driver 4.x. So it seems to me that your dependency is messed up.

Cassandra Java Driver 4.x used modern designs and introduced a lot of breaking changes. Cassandra Java Driver 3.x is not maintained anymore. I would recommend you to upgrade your driver to 4.x.

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

79209588

Date: 2024-11-21 03:33:07
Score: 2.5
Natty:
Report link

run command

brew install pkg-config
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: GrandPa Island

79209584

Date: 2024-11-21 03:32:06
Score: 8.5 🚩
Natty: 5
Report link

I used Cypress below version 10 and it worked normally with connections to Oracle, basic scripts, I updated Cypress to version 13 and it no longer works, I receive the error ORA12560, do you know how to fix it?

Reasons:
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (1.5): how to fix it?
  • RegEx Blacklisted phrase (1): I receive the error
  • RegEx Blacklisted phrase (2.5): do you know how
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: RRP

79209576

Date: 2024-11-21 03:25:04
Score: 1.5
Natty:
Report link

Quite late to the party, but what about merging the jobs and adding the condition to the step?

jobs:
  build-deploy:
    runs-on: ubuntu-latest
    steps:
      - name build
        run: echo "build"

      - name test
        if: ${{ github.ref_name == 'main' }}
        run: echo "build"

      - name deploy
        run: echo "deploy"
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: Benoit

79209562

Date: 2024-11-21 03:21:04
Score: 3.5
Natty:
Report link
View this post on Instagram A post shared by Anastasiya Kvitko (@anastasiya_kvitko)

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

79209558

Date: 2024-11-21 03:14:02
Score: 4.5
Natty: 5
Report link

Can be multiple embedded.mobileprovision

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can
  • Low reputation (1):
Posted by: ios签名

79209555

Date: 2024-11-21 03:13:01
Score: 7 🚩
Natty: 6
Report link

Thank you for the code, this code can remove the shipping bar from woocommerce shipping orders and emails, but it will cause my account order to not see the shipping bar, please tell me how to make my account order can see the shipping bar normally and only remove the shipping bar from my emails, thank you again for the code, from China, thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1.5): tell me how to
  • RegEx Blacklisted phrase (2.5): please tell me how
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: godiy

79209546

Date: 2024-11-21 03:07:59
Score: 3.5
Natty:
Report link

wsl --unregister docker-desktop run this in your powershell as administrator

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

79209543

Date: 2024-11-21 03:06:58
Score: 1.5
Natty:
Report link

How about a simple loop on column A where we check if the string starts with any of those, and if so, put N and add the rest back on?

Sub Replace_NX_NC_NL()
    Dim ws As Worksheet
    Dim lastRow As Long
    Dim i As Long
    Dim originalText As String
    Dim modifiedText As String

    ' Set the worksheet to work on
    Set ws = ThisWorkbook.Sheets(1) ' Change the index or name as necessary
    
    ' Find the last row in column A
    lastRow = ws.Cells(ws.Rows.Count, "A").End(xlUp).Row
    
    ' Loop through each cell in column A
    For i = 1 To lastRow
        originalText = ws.Cells(i, "A").Value
        modifiedText = originalText
        
        ' Check if the string starts with NL, NC, or NX
        If Left(originalText, 2) = "NL" Or Left(originalText, 2) = "NC" Or Left(originalText, 2) = "NX" Then
            ' Replace the first occurrence of NL, NC, or NX with N
            modifiedText = "N" & Mid(originalText, 3)
        End If
        
        ' Paste the modified text into column C
        ws.Cells(i, "C").Value = modifiedText
    Next i

End Sub
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How
  • Low reputation (0.5):
Posted by: sillycone

79209534

Date: 2024-11-21 03:00:57
Score: 1
Natty:
Report link

For anyone who still struggling, I made it work using the code snippet below in python. Just pass the content_disposition argument when generating the SAS. Thanks to @user3102567 answer

output_sas_blob = generate_blob_sas(
        account_name=storage_acct,
        container_name=storage_cont,
        blob_name=blobname,
        account_key=storage_key,
        permission=BlobSasPermissions(read=True, write=True, create=True),
        expiry=datetime.utcnow() + timedelta(hours=1),
        content_disposition=f"attachment; filename = {filename} "
    )
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @user3102567
  • Low reputation (0.5):
Posted by: Chisskarzz

79209529

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

Use like this:

response = supabase.table("faculty").select("*").execute()
df1 = pd.DataFrame(response[5:])
df1

or

response = supabase.table("faculty").select("*").execute()
df1 = pd.DataFrame(response['data'])
df1

I am not sure if your table response is a string or an object.

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

79209525

Date: 2024-11-21 02:55:56
Score: 4.5
Natty:
Report link

My issue ended up being not having my company's self signed certificate in my JDK's cacerts: https://stackoverflow.com/a/68596094/27576792

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

79209522

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

For first step,maybe you should check DNS resolution name inside of the container that you're tying to call.

or trying to do the telnet first whether the expected port can be called inside container. Just for crosscheck.

Or better use container port directly to call the other container For example, if the API container is named api-service, you can access it using http://api-service:port/myservice

instead of using public domain

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

79209521

Date: 2024-11-21 02:55:56
Score: 0.5
Natty:
Report link

The Work Items - List API uses Get method with the optional parameters (ids, asOf, fields, etc.) added in the URI, which can be limited by the URI length.

While Work Items - Get Work Items Batch API uses Post method with the parameters in the request body, allowing for larger payloads.

Therefore, they can both work when the request to call is relatively small. We can use the POST request when attempting to retrieve a large number of specific work items with parameters.

See the discussions on Can HTTP POST be limitless? and What is the maximum length of a URL in different browsers?.

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Alvin Zhao - MSFT

79209512

Date: 2024-11-21 02:49:55
Score: 3
Natty:
Report link

In case anyone finds this in 2024, enabling public internet access on the SageMaker domain fixed this issue for me.

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

79209508

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

When obtaining the channel, set a separate pty so that EOF can be immediately obtained when the command ends. Otherwise, it is uncertain whether other processes in the system might affect stdout.

client.connect(hostname='127.0.0.1', port=2222, username='root', password='xxx',
               timeout=10, banner_timeout=300)
cmd = "echo $PATH\n"
stdin, stdout, stderr = client.exec_command(cmd, get_pty=True)
stdout.readlines()

or

client.connect(hostname='127.0.0.1', port=2222, username='root', password='xxx',
               timeout=10, banner_timeout=300)
channel = client.get_transport().open_session(timeout=10)
channel.get_pty()
channel.settimeout(10)
cmd = f'echo $PATH\n '
channel.exec_command(cmd)
stdin = channel.makefile('wb')
stdout = channel.makefile('r')
stdout.readlines()
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: user28406068

79209507

Date: 2024-11-21 02:48:54
Score: 2
Natty:
Report link

You can based in the function argument, as example order parameter, define the operation that you want to do. Put an if to identify if the operation: is shortest do shortest action, if not, do the longest action. It will put some logic, but can help to avoid the function repetition and the same scope can be used.

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

79209492

Date: 2024-11-21 02:37:52
Score: 1
Natty:
Report link

I solved this issue. The root cause was that I incorrectly configured the Application Context under Run Configuration -> Deployment. This misconfiguration caused the accessible URL for my application to be incorrect. After correcting the Application Context, the problem was resolved.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: shino

79209480

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

To update an old question/answer, PHCloudIdentifier has been a public API for this purpose since iOS 15.

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

79209477

Date: 2024-11-21 02:31:50
Score: 2
Natty:
Report link

In Windows 11:

  1. Press and hold the Ctrl key.
  2. Click and drag a file slightly while keeping the Ctrl key pressed.
  3. Release the file.

A duplicate file named filename-Copy.ext will be created.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: CrackerJack Naveen Kumar

79209476

Date: 2024-11-21 02:31:50
Score: 4
Natty:
Report link

The readOnly prop might be helpful.

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

79209475

Date: 2024-11-21 02:30:50
Score: 3.5
Natty:
Report link

lists config/ you may have created empty an file in the config/ delete the empty image.php enter image description here

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

79209474

Date: 2024-11-21 02:29:49
Score: 10 🚩
Natty: 4.5
Report link

Do you know how to solve it? I had the same problem.

Reasons:
  • Blacklisted phrase (1): how to solve
  • Whitelisted phrase (-1): I had the same
  • RegEx Blacklisted phrase (1.5): how to solve it?
  • RegEx Blacklisted phrase (2.5): Do you know how
  • RegEx Blacklisted phrase (2): know how to solve
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: hugo

79209472

Date: 2024-11-21 02:23:47
Score: 2
Natty:
Report link

This works now: GRANT ALL ON DATABASE yourdatabase TO ROLE yourrole;

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

79209469

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

AsyncKafkaConsumer and ClassicKafkaConsumer aren't part of Kafka's core API. The Classic Consumer uses a blocking poll() to fetch messages synchronously, giving you full control over processing and offset commits. The Async Consumer fetches and processes messages non-blockingly, often using callbacks or reactive streams. While the Classic Consumer is part of the standard Kafka API, Async patterns are typically implemented by frameworks or libraries on top of Kafka

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

79209455

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

I replaced import androidx.compose.runtime.getValue with import androidx.compose.runtime.* and it worked.

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

79209454

Date: 2024-11-21 02:10:45
Score: 3
Natty:
Report link
  1. List item

This is the solution edit -->

paint.setStyle(TJPaint_Style.JavaClass.FILL_AND_STROKE);

to --->

paint.setStyle(TJPaint_Style.JavaClass.FILL);

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Programmer Hatha from ksa

79209444

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

I needed something similar recently - this is how I hacked it.

If you're okay with converting your STRUCT to JSON string than this method will work for you.

SELECT ARRAY_AGG(DISTINCT TO_JSON_STRING(STRUCT(field_a, field_b))) as c FROM table
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Parth Shah

79209442

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

Building on top of Yerke's answer: modgraphviz from the experimental package can be used to convert the output into a Graphviz-readable format.

enter image description here

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

79209432

Date: 2024-11-21 01:55:42
Score: 2
Natty:
Report link

Make sure you have openai credit. If not, you can use groq api, which is free. Find the project I made using Groq, HF, AstraDb. For your case, see the folder api/chat/route. enter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jnlan

79209431

Date: 2024-11-21 01:55:42
Score: 0.5
Natty:
Report link

The .wapproj is for instally Applications. MSIX doesn't really install class libraries.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Rob Mensching

79209417

Date: 2024-11-21 01:46:40
Score: 0.5
Natty:
Report link

You will need to start with Stack.

Think like in layers.

First layer is to put your image there.

Second you can create one Container(MainArea) that will have the same size of the all image. Use Positioned to set this Container over the image.

Inside this MainArea container in child:, create Columns and Rows and create anothers Containers(EachParts) to fill the area of each parts.

Use Flex or Expanded to help you when you resize the MainArea and keep all more or less also scalable. Need more research here.

In all those EachParts containers you can set the color:Colors.transparent and wrap it with a GestureDetector and get when tap happens.

I guess that could be a good start.

Good luck!

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

79209398

Date: 2024-11-21 01:36:38
Score: 1
Natty:
Report link

I think you should specify the path, something like this may work:

python:
  install:
    - requirements: source/requirements.txt
    - method: pip
      path: .

Ensure that .readthedocs.yml is at the base of your directory

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

79209389

Date: 2024-11-21 01:26:37
Score: 4
Natty: 4
Report link

You should look into Subject & BehaviorSubject.

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

79209382

Date: 2024-11-21 01:21:36
Score: 3
Natty:
Report link

The setting in VSCode that you are looking for is "Explorer > Decorations: Badges" and/or "Git > Decorations: Enabled".

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

79209381

Date: 2024-11-21 01:21:35
Score: 2.5
Natty:
Report link

@Venkatesh's answer is not right. Logistic Regression uses gradient-descent based optimization, which will be sensitive to the scale of the features: if a feature lives on a much larger scale, its corresponding element in the gradient will be much larger, and the optimization will favor going "downhill" in the direction of this feature. This can be mitigated by having appropriately scaled learning rates for each feature (scaled by the std of the feature, specifically), but I don't think that most off-the shelf logistic regression APIs do that.

The part about tree-based algorithm is right though.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • User mentioned (1): @Venkatesh's
  • Low reputation (1):
Posted by: user28405305

79209379

Date: 2024-11-21 01:18:35
Score: 0.5
Natty:
Report link

Assuming you add Event objects which trigger a refresh of the Query, you should be able to observe it:

.onChange(of: events.count) {
    data = filterManager.sortedEvents(events: filterManager.filteredEvents(events: events))
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrei G.

79209378

Date: 2024-11-21 01:17:34
Score: 2
Natty:
Report link

Using SASS and Vuetify 3, you can disable global utility and color classes.

Here is the documentation: https://vuetifyjs.com/en/features/sass-variables/#disabling-utility-classes

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

79209364

Date: 2024-11-21 01:05:32
Score: 2.5
Natty:
Report link

In my case issues was caused by library that was duplicated lib and lib.bck

I was able to determine this issue by inspecting the .nx/wokspace-data/d/daemonlog

enter image description here

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

79209363

Date: 2024-11-21 01:04:32
Score: 4
Natty: 4.5
Report link

To anybody what to need help

Try detectChanges() of angular

https://angular.dev/api/core/ChangeDetectorRef

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

79209355

Date: 2024-11-21 00:57:31
Score: 3
Natty:
Report link

Another way is to simply override the CSS of the theme you are using, much less complicated.

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

79209352

Date: 2024-11-21 00:54:30
Score: 1
Natty:
Report link

Inside the file @angular/language-service/bundles/language-service.js:

The variable isStandalone is initialized to false. Change all lines from:

let isStandalone = false;

to:

let isStandalone = true;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: digitalOrange

79209344

Date: 2024-11-21 00:48:29
Score: 1.5
Natty:
Report link

for some reason my url was the problem, i dont know why but when i uploaded my picture in imgur and used the imgur pic url it worked (and also i have done that html line that everyone is talking about in the answers)

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

79209342

Date: 2024-11-21 00:48:29
Score: 3.5
Natty:
Report link

there was a function being called inside newShader that tried to read the shader files, but didnt allocate memory properly to read it.

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

79209333

Date: 2024-11-21 00:42:27
Score: 10 🚩
Natty: 4.5
Report link

Were you able to figure it out? I can't find an answer too.

Reasons:
  • RegEx Blacklisted phrase (3): Were you able to figure it out
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrey K47

79209326

Date: 2024-11-21 00:36:25
Score: 1
Natty:
Report link

You can work around it by wrapping everything in MainActor.assumeIsolated:

.onPreferenceChange(HeightKey.self) { height in
    MainActor.assumeIsolated {
        self.height = height
    }
 }

This should be fine as long as it's being called from the main thread.

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

79209324

Date: 2024-11-21 00:34:25
Score: 1
Natty:
Report link

For those facing this issue whilst using Stripe Webhooks with signature authentication and Firebase Functions - the accepted answer was the solution for me. The suggested solution on Stripe docs: express.json({type: 'application/json'}) doesn't work unfortunately.

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

79209312

Date: 2024-11-21 00:27:24
Score: 3.5
Natty:
Report link

idmsa.apple.com[enter code here][1]

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Salong mustinch

79209309

Date: 2024-11-21 00:23:23
Score: 3
Natty:
Report link

If you are using free version of static web app you need to delete preview environments, since in free version you can have only 3. They are created with each PR, so this can stack pretty quickly

enter image description here

enter image description here

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

79209302

Date: 2024-11-21 00:17:22
Score: 2.5
Natty:
Report link

postgres: connection: url: "jdbc:postgresql://your-postgresql-server:5444/your-database" username: ${POSTGRES_USERNAME} password: ${POSTGRES_PASSWORD}

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

79209299

Date: 2024-11-21 00:15:21
Score: 1
Natty:
Report link

Queues must be defined as array

'supervisor-1' => [
    'connection' => 'redis',
    'queue' => ['queue1', 'queue2'],
    'balance' => 'simple',
    'processes' => 10,
    'tries' => 3,
],

Also you can define multiple supervisors

'supervisor-1' => [
    'connection' => 'redis',
    'queue' => ['queue1', 'queue2'],
    'balance' => 'simple',
    'processes' => 10,
    'tries' => 3,
],

'supervisor-2' => [
    'connection' => 'redis',
    'queue' => ['queue3', 'queue4'],
    'balance' => 'simple',
    'processes' => 10,
    'tries' => 3,
],

for more informations, you can read this article here

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

79209296

Date: 2024-11-21 00:12:21
Score: 1
Natty:
Report link

I went the 2 Labda route, same as Sebastian. Both are created by AWS CDK with via python. One labmda inside the vpc, one without and giving the one within and Lambda VPC endpoint. ChatGPT is good at helping set that all up.

I also had CDK create a token and put it in a secret that both could access. That way you can also pass the token from one to another and validate it, all automated.

Avoid NAT Gateways if you can. They're a money pit.

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

79209295

Date: 2024-11-21 00:12:21
Score: 1.5
Natty:
Report link

In addition to Joe's answer and ibaranov's addition, I also had to add this:

if last.field2 then flag_out='';

after

if last.field2 then output;

to get it working.

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

79209282

Date: 2024-11-21 00:01:18
Score: 8.5 🚩
Natty: 5.5
Report link

I'm working on something simular, did you find out anything?

Reasons:
  • RegEx Blacklisted phrase (3): did you find out
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: rickkorsten

79209277

Date: 2024-11-20 23:58:17
Score: 0.5
Natty:
Report link

Angular 18

Using @ViewChildren in an attribute directive does not work because attribute directives don't have templates, so there are no children to query. You need to use @ContentChildren instead. Make sure to set descendants equal to true if the component you want to select isn't a direct descendant of the element with the attribute directive.

import { AfterViewInit, Directive, QueryList, ContentChildren } from '@angular/core';
import { TargetComponent } from './target.component';

@Directive({
  selector: '[appSubject]',
  standalone: true,
})
export class SubjectDirective implements AfterViewInit {
  @ContentChildren(TargetComponent, { descendants: true }) targets!: QueryList<TargetComponent>;

  ngAfterViewInit(): void {
    console.log('targets = ');
    console.log(this.targets);
  }
}

Additional context: https://github.com/angular/angular/issues/58642

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

79209276

Date: 2024-11-20 23:58:17
Score: 1
Natty:
Report link

This error appeared with visual studio 2022 v17.12.0 after this update VS installed and forcing the Azure Functions Tools v4.0.6517 by default and based on Microsoft documentations

enter image description here

So we have to solution to solve this issue, the first one is to Update Microsoft.NET.Sdk.Functions nuget package to be 4.5.0 and this will solve the issue, but what if you don't want to update this package at all, then you will need to downgrade the version of Azure Core Tools, so the following steps explains how to do it

  1. Close the VS
  2. Do manual installation for Core Tools v4.0.6280 (older version)
  3. Copy the content of folder --> C:\ProgramFiles\Microsoft\Azure Functions Core Tools
  4. Paste it to --> C:\Users\{your username}\AppData\Local\AzureFunctionsTools\Releases\4.104.0\cli_x64
  5. Restart your PC or Laptop
  6. Open the VS again and try to run any azure function, you will notice that the console is now showing the older version of the Core Tools.

enter image description here I hope this answer may help someone.

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

79209267

Date: 2024-11-20 23:52:16
Score: 2.5
Natty:
Report link

Someone else has suggested me (in the Japan Godot forum) to use a Google font, because it has both Japanese and accented alfabet character-sets. It fixed my bug. I would still accept another answer as the correct one if someone knows how to fix it without forcing the use of a specific font.

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

79209266

Date: 2024-11-20 23:49:14
Score: 7 🚩
Natty: 4.5
Report link

I am encountering the same problem. Was this ever solved? Im just stuck at this :(

Reasons:
  • Blacklisted phrase (1): :(
  • RegEx Blacklisted phrase (1.5): solved?
  • RegEx Blacklisted phrase (0.5): Was this ever solved
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Metaphor

79209264

Date: 2024-11-20 23:47:14
Score: 2
Natty:
Report link

I'd recommend using notistack - it takes care of the state for you and can be used across components with a single instantiation: https://github.com/iamhosseindhv/notistack.

It's also mentioned in the MUI docs: https://mui.com/material-ui/react-snackbar/#notistack.

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

79209263

Date: 2024-11-20 23:47:14
Score: 2.5
Natty:
Report link

This happened to me because I added a field to Contacts a long time ago. I guess the customization pulls in a bunch of dependencies that you really on

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

79209258

Date: 2024-11-20 23:41:13
Score: 0.5
Natty:
Report link

There's no date on the Subscription itself to indicate how many days have passed since the first failed payment attempt on the latest Invoice. I think you probably want to use the smart retries feature to retry failed payments and mark a Subscription as unpaid after all retries fail. This way, you can continue to allow access to your service if a Subscription is in past_due state but block access once it transitions to unpaid.

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

79209243

Date: 2024-11-20 23:31:09
Score: 9.5 🚩
Natty: 5
Report link

https://stackoverflow.com/users/4543841/paulo-luvisoto

Hi Paul, do you have a Caddy file where you use commercial certs? Doe you run them on port 443 or another SSL port?

Thanks Ivan

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): stackoverflow
  • RegEx Blacklisted phrase (2.5): do you have a
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: ivan

79209230

Date: 2024-11-20 23:19:06
Score: 3
Natty:
Report link

What I found to work the best is to make sure you change the code to reflect which pins are connected and to connect the pins to the correct spots for whichever board you are using(IE if it's a MEGA make sure you don't have it wired for an UNO) and to add 1k resistors to the SDA, SCK, MOSI, and RST pins.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What I
  • Low reputation (1):
Posted by: Aidan Barajas

79209229

Date: 2024-11-20 23:19:06
Score: 2
Natty:
Report link

Note that you can run the command: npm install -D @tailwindcss/typography and then add the plugin in your tailwind.config.ts file:

// eslint-disable-next-line @typescript-eslint/no-require-imports plugins: [require("tailwindcss-animate"), require('@tailwindcss/typography'),],

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

79209221

Date: 2024-11-20 23:14:05
Score: 3.5
Natty:
Report link

When I changed enableMessageOrdering to false for subscription-task-reactor-fam-task messages began arriving correctly in the DLT and messages arriving after the DLT'd message were delivered normally.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Steve Gazzo

79209217

Date: 2024-11-20 23:12:04
Score: 1
Natty:
Report link

I checked the latest documentation and there still doesn't seem to be a way to override this parameter with an environment variable.

Going to say that this isn't possible and close this question out.

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

79209206

Date: 2024-11-20 23:07:03
Score: 1.5
Natty:
Report link

Try importing it like this:

import { jwtDecode } from "jwt-decode"

At least that worked for me

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

79209201

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

Aspect that need consideration:

Now, if it's just UK post codes (NW3 6SG), then well, |0x20 for A-Z and byte compare. But does the space matter? You might have some special rules.

And for prefix searches, one has to check the function used (e.g. stricmp) for what happens when one string is shorter than the other.

The sad reality is that there are MANY string comparisons that can be used, but the edge cases are complex.

TL;DR: just roll your own, depending on your needs.

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

79209192

Date: 2024-11-20 23:02:00
Score: 7 🚩
Natty:
Report link

This is not an ANSWER, but I am trying something similar: @Colosen can you advise?

I am stuck on number 4. I am using cooja motes (add border router first then hello-world mote)

~/contiki-ng/examples/rpl-border-router$ make TARGET=zoul connect-router-cooja
../../arch/cpu/arm/cortex-m/Makefile.cortex-m:6: ../../arch/cpu/arm/CMSIS/CMSIS does not exist or is empty.
../../arch/cpu/arm/cortex-m/Makefile.cortex-m:7: Did you run 'git submodule update --init' ?
../../arch/cpu/arm/cortex-m/Makefile.cortex-m:8: *** "".  Stop.

So I do git submodule update --init :

~/contiki-ng/examples/rpl-border-router$ git submodule update --init
Submodule 'arch/cpu/arm/CMSIS' (https://github.com/ARM-software/CMSIS_5.git) registered for path '../../arch/cpu/arm/CMSIS'
...
Submodule path '../../tools/sensniff': checked out '70029fc5b21485cfd4afb8037c49661212d0935a'

Then I try make again, but now I get this error:

:~/contiki-ng/examples/rpl-border-router$ make TARGET=zoul connect-router-cooja
../../Makefile.include:157: *** Target "zoul" compiler "arm-none-eabi-gcc" cannot be found.  Stop.
~/contiki-ng/examples/rpl-border-router$ l
Makefile  README.md  border-router.c  build/  project-conf.h  webserver/

this is my ls /dev/tty* output :

~/contiki-ng/examples/rpl-border-router$ ls /dev/tty*
/dev/tty    /dev/tty12  /dev/tty17  /dev/tty21  /dev/tty26  /dev/tty30  /dev/tty35  /dev/tty4   /dev/tty44  /dev/tty49  /dev/tty53  /dev/tty58  /dev/tty62  /dev/ttyS0
/dev/tty0   /dev/tty13  /dev/tty18  /dev/tty22  /dev/tty27  /dev/tty31  /dev/tty36  /dev/tty40  /dev/tty45  /dev/tty5   /dev/tty54  /dev/tty59  /dev/tty63  /dev/ttyS1
/dev/tty1   /dev/tty14  /dev/tty19  /dev/tty23  /dev/tty28  /dev/tty32  /dev/tty37  /dev/tty41  /dev/tty46  /dev/tty50  /dev/tty55  /dev/tty6   /dev/tty7   /dev/ttyS2
/dev/tty10  /dev/tty15  /dev/tty2   /dev/tty24  /dev/tty29  /dev/tty33  /dev/tty38  /dev/tty42  /dev/tty47  /dev/tty51  /dev/tty56  /dev/tty60  /dev/tty8   /dev/ttyS3
/dev/tty11  /dev/tty16  /dev/tty20  /dev/tty25  /dev/tty3   /dev/tty34  /dev/tty39  /dev/tty43  /dev/tty48  /dev/tty52  /dev/tty57  /dev/tty61  /dev/tty9
Reasons:
  • Blacklisted phrase (1): not an ANSWER
  • RegEx Blacklisted phrase (2.5): can you advise
  • RegEx Blacklisted phrase (1.5): I am stuck
  • RegEx Blacklisted phrase (1): I get this error
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Colosen
  • Low reputation (1):
Posted by: intelli lab

79209191

Date: 2024-11-20 23:02:00
Score: 1.5
Natty:
Report link

in my case I upgraded the KTOR library and now I got the message "The binary version of its metadata is 2.0.0, expected version is 1.8.0."

Finally the solution was to upgrade to the latest version of Gradle from 8.4 to 8.11.1

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

79209188

Date: 2024-11-20 23:01:00
Score: 2.5
Natty:
Report link

Barnard is correct that full error trace back is needed, but you are saying if it equals change color one way, else set color another way. Is it possible a none type value is making it to the else clause.

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

79209186

Date: 2024-11-20 23:01:00
Score: 0.5
Natty:
Report link

If these producer-consumer methods are meant to be used by several teams, I would be cautious about letting consumers handle the type assertions. There are quite a few ways to go around this, such as with the use of tagged interfaces, but a lot of those strategies don't necessarily adhere to the go-way of doing things. Instead, they're aimed at having a reliable implementation that is less prone to being misused.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ali Khan

79209182

Date: 2024-11-20 22:57:59
Score: 1
Natty:
Report link

a bit late but try this simple way:

Unload frmEditarCompetencia
Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: PIT

79209180

Date: 2024-11-20 22:56:59
Score: 1
Natty:
Report link

The custom serialization functionality is deprecated in pyarrow 2.0. I solve this problem by downgrading the version.

conda install -c conda-forge pyarrow=1.0.1

Note: the version of pyarrow should be matched with the version of python.

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

79209163

Date: 2024-11-20 22:50:57
Score: 1.5
Natty:
Report link

Fixed the issue by following these links:

"use client"
import { Amplify } from "aws-amplify"
import { cognitoUserPoolsTokenProvider } from "aws-amplify/auth/cognito"
import { sessionStorage } from "aws-amplify/utils"
import { Suspense } from "react"
import { Provider } from "react-redux"
import { store } from "@data/index"
import amplifyConfig from "@utils/amplifyConfig"
import RequireAuth from "@components/RequireAuth/RequireAuth"
import { AppRouterCacheProvider } from '@mui/material-nextjs/v15-appRouter';
import theme from "./theme"
import {
    extendTheme as materialExtendTheme,
    ThemeProvider as MaterialThemeProvider,
    THEME_ID as MATERIAL_THEME_ID,
} from '@mui/material/styles';
import { ThemeProvider as JoyThemeProvider } from '@mui/joy/styles';
import CssBaseline from '@mui/material/CssBaseline';

Amplify.configure(amplifyConfig)
cognitoUserPoolsTokenProvider.setKeyValueStorage(sessionStorage)

export default function RootLayout({ children }: { children: React.ReactNode }) {
    return (
        <html lang="en">
            <head>
                <title>My Shitty App</title>
            </head>
            <body style={{ margin: 0, padding: 0 }}>
                <AppRouterCacheProvider>
                    <MaterialThemeProvider theme={{ [MATERIAL_THEME_ID]: theme }}>
                        <JoyThemeProvider>
                            <CssBaseline enableColorScheme />
                            <Provider store={store}>
                                <Suspense>
                                    <RequireAuth>
                                        {children}
                                    </RequireAuth>
                                </Suspense>
                            </Provider>
                        </JoyThemeProvider>
                    </MaterialThemeProvider>
                </AppRouterCacheProvider>
            </body>
        </html>
    )
}
Reasons:
  • Blacklisted phrase (1): these links
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: JustANoob

79209160

Date: 2024-11-20 22:48:56
Score: 1.5
Natty:
Report link
.modal-open {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

html {
  overflow-y: scroll !important;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ali Rad

79209156

Date: 2024-11-20 22:44:56
Score: 1
Natty:
Report link
"FUNCTIONS_INPROC_NET8_ENABLED": 1

I have added this to local settings after upgraded to .NET 8 to resolve the error

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

79209134

Date: 2024-11-20 22:32:53
Score: 2
Natty:
Report link

I have come across an interesting post from here. Its an from MIT.

It says:

constant_pool[0] may be used by the implementation for whatever purposes it wishes.

One possible use is suggested on the same MIT website, which can be found here link description here. In the example in the link, the in-memory constant_pool[0] is used as an optimization when used to check which class fields have been resolved, in other words if other constant_pool entries in the in-memory constant_pool have had constant_pool[x] read in from the class file, where x > 1. The class file could possibly be mmaped. This would be an example of lazy symbol resolution, otherwise all the class files would have to be parsed and stored in an in-memory representation of the class file when the JVM starts. This would cause slow JVM starts.

There are other possible uses as explained in another stackoverflow question that can be found here.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: shodz

79209121

Date: 2024-11-20 22:27:52
Score: 0.5
Natty:
Report link

I know this is old, but I ran into this issue and it took me a while to solve. Just wanted to add this here for posterity.

All you need to do is delete the line

try_files $uri $uri/ =404:

in the sites-available/default file.

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

79209120

Date: 2024-11-20 22:23:51
Score: 1.5
Natty:
Report link

fr=13Ma2AbvfQasXZsXm.AWWOvGs4zVLm-NIEPbdnR7R3s0I.BnLeP-..AAA.0.0.BnLeQM.AWX5UfDZGGI; presence=C%7B%22t3%22%3A%5B%5D%2C%22utc3%22%3A1731060751375%2C%22v%22%3A1%7D; wd=337x480; sb=jvjEZl5GnxGFxYWK_HNNPl_6; datr=jfjEZr3-RG9acrbzWxKmbrF1; dpr=0.699999988079071; xs=246%3ASoEr1bH8yszQxA%3A2%3A1723489618%3A-1%3A2223%3A%3AAcW7wGzjqgBQfeHphigQtDNN3iNU6SHWRjy05gAhmQ; ps_n=1; locale=en_GB; c_user=100001610918615; ps_l=1; useragent=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzExNS4wLjkzOTYuNTEgU2FmYXJpLzUzNy4zNg%3D%3D

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

79209119

Date: 2024-11-20 22:22:51
Score: 1
Natty:
Report link

Unfortunately HTTP message Header doesn't have the same restrictions as the HTTP message body.

UTF-8 is supported in message body but not in the header (for historic and technical reasons). PHP urlencode function is worth a try for headers but not sure it will improve things.

Allowed characters in HTTP header values https://stackoverflow.com/a/75998796/8199678

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: NullPointerWizard

79209116

Date: 2024-11-20 22:22:51
Score: 1.5
Natty:
Report link

I like this approach:

public ICommand MyCommand => new RelayCommand(
    () => { /* Command logic here */ },
    () => { /* CanExecute logic here */ }
);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dario Durà Armadans

79209111

Date: 2024-11-20 22:20:51
Score: 2
Natty:
Report link

I had same problem. I installed .NET 8 after uninstalling .NET6 from visual studio installer. And I disabled read only option of "UE_5.4\Engine\Source" Directory. Then Unreal project build is works well. Additionally, my full path of UE is "C:\Program Files\Epic Games\UE_5.4\Engine\Source". Hope this works well with you.

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

79209108

Date: 2024-11-20 22:19:51
Score: 1
Natty:
Report link

I made a script that changes alias to echo the aliases to a file to save them. also gives you the ability to delete aliases as well without opening the file. you use it exactly like you use alias normally

https://github.com/FloppyDisco/alias-command

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