79481540

Date: 2025-03-03 16:29:23
Score: 1
Natty:
Report link

You can create a new access token for databricks following these steps here: https://docs.databricks.com/aws/en/dev-tools/auth/pat.

Please note that this token is associated with your user account and will have the same permissions as you.

Once generated, you can update your secret in Azure Key Vault (named databricksPAT)

Let me know if you'd like any further refinements!

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

79481534

Date: 2025-03-03 16:27:22
Score: 3.5
Natty:
Report link

In a recent update, it appears that plot_implicit() no longer has an attribute get_points. That has changed to get_data

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

79481526

Date: 2025-03-03 16:24:22
Score: 0.5
Natty:
Report link

SOLVED : it was my interceptor that was modifing the header newly

export class AuthInterceptor implements HttpInterceptor {

intercept(req: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>> {

  // put this before your current code
  if (req.url.indexOf(environment.authPaypalUri) === 0) {
    const auth = `${environment.client_id}:${environment.client_secret}`;
    let authString = "Basic " + window.btoa(auth);

    req = req.clone({
      setHeaders: { Authorization: `${authString}` }
    });
    return next.handle(req);
  }
  
  ... other requests ...
  
}
}

autenticaService(): Observable<Object> {

  const data = 'grant_type=client_credentials';

  return this.httpClient.post(
    this.endpoint_url, data ).pipe(
      map(
        data => {
          console.log(data);
          return data;
        }
      ))
}

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

79481513

Date: 2025-03-03 16:19:20
Score: 4
Natty:
Report link

Thanks for the responses.

After much searching the issue was that I was missing the decorator on the python view

@xframe_options_sameorigin def home(request):

Once I added the @xframe_options_sameorigin decorator, I was able to use in the iframe.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @xframe_options_sameorigin
  • User mentioned (0): @xframe_options_sameorigin
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bob D

79481512

Date: 2025-03-03 16:19:20
Score: 1
Natty:
Report link
    <template>
  <v-container class="fill-height">
    <bug />

  </v-container>
</template>

<script>
import locale from "@/components/bug.vue";
import bug from "@/components/bug.vue";
export default {
  components: { bug },
  data() {
    return {
      selectedComponent: locale,
      items: [
        {title: "Get started", components: locale},
        {title: "Documentation", components: locale},
      ]
    };
  },
};
</script>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dixit Patel

79481501

Date: 2025-03-03 16:16:20
Score: 1.5
Natty:
Report link

Versioning will let you keep track of file versions so the reader can stick with the version it started with until it decides to fetch a new one. No directory versioning directly in S3, but you can manage versions by using timestamps or version IDs in filenames. You can stream the file without downloading it all using get_object or use S3 Select for querying specific parts of the CSV.

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

79481500

Date: 2025-03-03 16:15:19
Score: 1
Natty:
Report link

You inferred it correctly. The new observability feature of spring boot 3 is designed keeping system performance monitoring in mind and not Tracing/logging. Thus a small data set serves good enough for the assessment.

The feature of management.tracing.sampling.probability is offered to the devops/ developers to configure the probability value based on specific requirement for each app.

Setting the probability to 1 does negatively affect the application and eventually it does comes down to Trade-Off Between Observability and Performance.

High probability does affect Increased CPU usage, Higher memory consumption and Greater network I/O to send traces to the backend.

For Production, my recommendation would be to reduce the exposure gradually e.g. Keep the probability higher (less than 1) in first 24 hours and then gradually decreasing it. This way, you would have a good data set to see how your application is behaving without affecting performance.

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

79481499

Date: 2025-03-03 16:15:19
Score: 3.5
Natty:
Report link

Restart Your System For some users, simply restarting the system has resolved the issue by clearing temporary Gradle cache problems.

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

79481481

Date: 2025-03-03 16:10:18
Score: 1
Natty:
Report link

if in my html i have something like this (a blade.php in my case):

<body>
    <div id="app" data-example="{{ $data }}"></div>
</body>

I can access those data like this in my vue components:

const appElement = document.getElementById('app');
const example = JSON.parse(appElement.dataset.example);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Raffaele Bertani

79481480

Date: 2025-03-03 16:09:18
Score: 1
Natty:
Report link

In my case, a write stream could not be created without first making the directory. Using fs.mkDir() or fs.mkdirSync() to create the directory in advance fixes the issue.

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

79481476

Date: 2025-03-03 16:08:17
Score: 6 🚩
Natty:
Report link

did you ever figure this out? I am running into the same error, install went great until I added an input.

Reasons:
  • RegEx Blacklisted phrase (3): did you ever figure this out
  • 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
Posted by: Drewdin

79481472

Date: 2025-03-03 16:07:16
Score: 4
Natty: 5.5
Report link

Thank you for the very comprehensive answer! Is anyone else running into the following error Cannot access 'RowScopeImplInstance': it is private in file when trying to set the GlanceModifier.defaultWeight? Or is there a different way to set the default weight now other than Modifier that I'm supposed to use?

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jing Chen

79481466

Date: 2025-03-03 16:04:15
Score: 3.5
Natty:
Report link

Using mangle_dupe_cols is now deprecated.

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

79481450

Date: 2025-03-03 15:57:14
Score: 0.5
Natty:
Report link

Why Allow Declaration-Only Constructors?

If A were a base class, declaring A(); without defining it would force derived classes to provide their own constructor implementations, another reason is that declaring a constructor without defining it can be used to make a class non-instantiable like:

class A {
public:
    A(); // Declared but not defined
};

Any attempt to instantiate A will result in a linker error, effectively preventing object creation.

How to fix this error

class A {
public:
    A(){}; 
};
A arrayA[10];

Assembly Diffing

with the linker error snippet it outputs the following

arrayA:
        .zero   10
__static_initialization_and_destruction_0():
        push    rbp
        mov     rbp, rsp
        push    r12
        push    rbx
        mov     eax, OFFSET FLAT:arrayA
        mov     ebx, 9
        mov     r12, rax
        jmp     .L2
.L3:
        mov     rdi, r12
        call    A::A() [complete object constructor]
        sub     rbx, 1
        add     r12, 1
.L2:
        test    rbx, rbx
        jns     .L3
        nop
        nop
        pop     rbx
        pop     r12
        pop     rbp
        ret
_GLOBAL__sub_I_arrayA:
        push    rbp
        mov     rbp, rsp
        call    __static_initialization_and_destruction_0()
        pop     rbp
        ret

notice the call A::A() [complete object constructor] but there is no base object A::A() defined hence causing the linker error, while after applying the fix the following asm code gets added to the previous snippet:

A::A() [base object constructor]:
        push    rbp
        mov     rbp, rsp
        mov     QWORD PTR [rbp-8], rdi
        nop
        pop     rbp
        ret
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why
  • Low reputation (1):
Posted by: w1redch4d

79481439

Date: 2025-03-03 15:53:13
Score: 4.5
Natty:
Report link

Case with PATH variable works not all the time. You will still have this issue if you have spaces in your build directory path.

Example: "/Users/youruser/project/my lovely project/WireGuardKitGo"

Also you will have the same error if you have spaces in your build scheme name.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): have the same error
  • Low reputation (1):
Posted by: Mihail Konoplitskyi

79481423

Date: 2025-03-03 15:49:12
Score: 1
Natty:
Report link

There's no getApplicationDocumentsDirectory implementation on the test environment. So you should set a mock handler using setMockMethodCallHandler.
This answer might be helpful.

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

79481416

Date: 2025-03-03 15:45:12
Score: 1.5
Natty:
Report link

You will need to open the airflow.cfg file.

From there, you will need to replace [kubernetes] on line 1086 with [kubernetes_executor].

Hope that helps!

Reasons:
  • Whitelisted phrase (-1): Hope that helps
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Blosher Brar

79481410

Date: 2025-03-03 15:42:11
Score: 0.5
Natty:
Report link

Finally, based on Gen solution, I did this:

1 - Open the System Settings and enter an unwanted preference (for example, Mouse2 if you want Mouse3 in the end.

2 - Open the ~/Library/Containers/com.apple.Desktop-Settings.extension/Data/Library/Preferences/com.apple.symbolichotkeys.plist file with a pList editor, and note the keys and their values (or take a screenshot).

3 - Return to the System Settings and enter the correct preference (Mouse3 in my case).

4 - Open again ~/Library/Containers/com.apple.Desktop-Settings.extension/Data/Library/Preferences/com.apple.symbolichotkeys.plist file with a pList editor, and paste the modified keys (comparing them with the previous ones) into the ~/Library/Preferences/com.apple.symbolichotkeys.plist file.

5 - Save this file.

Since the ~/Library/Containers/com.apple.Desktop-Settings.extension/Data/Library/Preferences/com.apple.symbolichotkeys.plist file does not seem to be saved between each session, the idea is to locate the affected keys and paste them into the ~/Library/Preferences/com.apple.symbolichotkeys.plist file, which seems to be correctly saved.

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

79481400

Date: 2025-03-03 15:38:09
Score: 2
Natty:
Report link

Remove the next line from setting.json

"indentRainbow.indicatorStyle": "border"

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

79481394

Date: 2025-03-03 15:36:09
Score: 1.5
Natty:
Report link

Your implementation leaves you vulnerable to sql injection attacks

enter image description here

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

79481390

Date: 2025-03-03 15:36:09
Score: 1
Natty:
Report link

Finally, I found the following argument expansion can work.

 Y= [Y[0],*Y[1:n//2]*2]

Since we can have

 >>>a, *b, c = [1, 2, 3, 4, 5] to 
 >>>b
 >>>[2, 3, 4]

Also if

>>>a = [*'PYTHON']
>>>a
>>>['P', 'Y', 'T', 'H', 'O', 'N']
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: MathArt

79481388

Date: 2025-03-03 15:35:09
Score: 0.5
Natty:
Report link

Just slap an if statement around the delete:

if (@ReportType <= 1)
begin
  DELETE FROM dbo.RTTReportHelper WHERE Username = @userName
end
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Brett

79481386

Date: 2025-03-03 15:34:08
Score: 8 🚩
Natty: 4
Report link

Is this still the case? I am looking for a use case where I want to find categorymembers that belong to two categories (category type like food etc and specific country). Is there a workaround for this?

Reasons:
  • Blacklisted phrase (2): I am looking for
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is this
  • Low reputation (1):
Posted by: CuriousKitten

79481371

Date: 2025-03-03 15:26:05
Score: 2
Natty:
Report link

For those who using version 0.16.0, asdf local and asdf global has been replaced by asdf set, breaking change

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

79481370

Date: 2025-03-03 15:26:05
Score: 5
Natty: 4.5
Report link

Link to the google sheets document and work

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

79481367

Date: 2025-03-03 15:25:05
Score: 1.5
Natty:
Report link

It turns out that in my case, simply replacing:

cd /to_some_file/ && nohup python3 run_process_1.py > /dev/null 2>&1 &

by:

cd /to_some_file/
nohup python3 run_process_1.py > /dev/null 2>&1 &

for the two processes solves the issue: the bash script now correctly terminates as expected.

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

79481366

Date: 2025-03-03 15:24:04
Score: 2.5
Natty:
Report link

This is indeed a bug. It seems that it was addressed in OW 2.0 in February 2019, as reported in this post. I recompiled and linked with Open Watcom 2.0 and it worked as expected.

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

79481365

Date: 2025-03-03 15:24:04
Score: 2
Natty:
Report link

I face the same problem and have also found this related thread on the developer community. We face this issue after moving a work item to another team project.

https://developercommunity.visualstudio.com/t/Cannot-view-the-work-item-attachments-af/10574367?sort=active

Here they advise to run 2 database commands, i have not been able to test this yet. Also not sure if this is fixed in the latest Azure DevOps patch.

EXEC prc_SetRegistryValue 1, '#\FeatureAvailability\Entries\WorkItemTracking.Server.AllowAccessToDeletedAttachments\AvailabilityState\', 1

Based on the command they suggest to execute, it seams the work item attachment has been flagged as "deleted". Not sure why that happens though.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I face the same problem
  • Low reputation (0.5):
Posted by: Nico

79481360

Date: 2025-03-03 15:22:03
Score: 1.5
Natty:
Report link

After researching, I realized that there's no way to prevent the browser from making an automatic GET request to the header's location URL with axios. With fetch, this can be done, but the headers are not accessible due to security considerations

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

79481346

Date: 2025-03-03 15:18:03
Score: 2.5
Natty:
Report link

Jjdjsnsmsmsms4d.sudmemesjsjs Sjshsjs Stdhsnsneneneje.dydysu8ssiwhw_@@<×<×;jjdjd.dhdhehehehe,.esysyshejejeme Duduehehe.dyehejejejejejejjejejeje.eeheheheh.e.eushebeneme Dhdhdhdudydjdene6heke8363o2k2 tfdu5wg3g428wn4 vrydkr Don't fyev4jd6feh43m5. F7fe83jn4pd9djemdd

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

79481332

Date: 2025-03-03 15:13:01
Score: 1
Natty:
Report link

The issue in the code above was in the non provided data-server module. In this module, I imported a function from the node fs/promise API but that's not the way React Router / Remix is supposed to work, at least not with the default template because it's not built on node API but on the Web Fetch API so that it can work in any JS runtime (node and others). React Router / Remix the uses adapters to make your code on different platforms.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: JuCachalot

79481327

Date: 2025-03-03 15:10:01
Score: 1
Natty:
Report link

The issue is in the way you are logging strings.

just change the line console.dir(field); to console.log(`Field: ${field}`); and the line console.dir(itm[field]); to console.log(`Data: ${itm[field]}`);

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

79481326

Date: 2025-03-03 15:10:01
Score: 3
Natty:
Report link

Please refer to our Discourse forum when asking questions. Your problem is simply that the cards are in a collection that the user doesn't have access to. https://www.metabase.com/docs/latest/permissions/start

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

79481323

Date: 2025-03-03 15:09:00
Score: 1
Natty:
Report link

You need 2 modifiers for this:

.listRowInsets(.init())

.listRowBackground(Color.clear)

As in:

HStack(spacing: 20) { ... }
    .padding(.vertical, 8)
    .listRowInsets(.init()) // Remove the default row insets
    .listRowBackground(Color.clear) // Remove the default row background
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 2pp

79481321

Date: 2025-03-03 15:07:59
Score: 8.5 🚩
Natty:
Report link

im trying to update my hadoop version from 3.3.0 to 3.4.1 and when i try to open a filesystem instance im getting below error

Exception in thread "Thread-5" java.lang.IllegalAccessError: class org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$GetAdditionalDatanodeRequestProto tried to access method 'org.apache.hadoop.thirdparty.protobuf.LazyStringArrayList org.apache.hadoop.thirdparty.protobuf.LazyStringArrayList.emptyList()' (org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$GetAdditionalDatanodeRequestProto and org.apache.hadoop.thirdparty.protobuf.LazyStringArrayList are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @458342d3)

i tried all the above solutions . still im facing the issue ? any suggestions ?

Reasons:
  • RegEx Blacklisted phrase (2): any suggestions
  • RegEx Blacklisted phrase (1): im getting below error
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • User mentioned (1): @458342d3
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: satish

79481320

Date: 2025-03-03 15:07:59
Score: 3.5
Natty:
Report link

I think it was about permission troubles on VSCode and the folder at you are working in

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

79481309

Date: 2025-03-03 15:04:58
Score: 2.5
Natty:
Report link

I'm not 100% sure but for what I know you should always follow a specific rule while inserting duplicate keys, as inserting them without specific rules could lead to not may be able to use correctly the properties of red black-tree, hope it answers your question.

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

79481306

Date: 2025-03-03 15:04:58
Score: 1
Natty:
Report link

It turned out that following line is enough for Serenity to pick up the OpenAPI generated rest requests:

@Override
public <T> T execute(Function<Response, T> handler) {
    return handler.apply(RestRequests.given(reqSpec.build(), respSpec.build()).request(REQ_METHOD, REQ_URI));
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rokko_11

79481291

Date: 2025-03-03 15:00:57
Score: 1.5
Natty:
Report link

The problem is on Mailjet side which set Content-Type as mulitpart/mixed instead of multipart/related

Using Content-ID and cid for embedded email images in Thunderbird

You can see it in your own mail

Content-Type: multipart/mixed; boundary="=-+zpCN5rjhXag2yK+qwRs"
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Delphine

79481248

Date: 2025-03-03 14:43:52
Score: 3
Natty:
Report link

This solution was from a Beckhoff application engineer. The addition of a text list adds a file to the project. Find that file in the project and edit it. Change DownloadForApplication from true to false. enter image description here

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

79481246

Date: 2025-03-03 14:42:51
Score: 8 🚩
Natty:
Report link

Could you share the code where you're trying to use the component?

Reasons:
  • RegEx Blacklisted phrase (2.5): Could you share the code
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rainier Paolo Punzalan

79481240

Date: 2025-03-03 14:40:51
Score: 1
Natty:
Report link

The error suggests your Astro site’s deployment to Vercel is missing a required config file. Here’s how to fix it:

Add vercel.json: Ensure a vercel.json file exists in your project root. Create one if missing. Rebuild Project: Run npm run build to rebuild your site. Verify Setup: Check your Vercel dashboard to confirm the project is properly linked. Install Dependencies: Ensure all required packages are listed in package.json and installed. Use Vercel CLI: Deploy using the CLI with vercel --prod. Check Logs: Review Vercel’s build logs for errors or warnings.

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

79481224

Date: 2025-03-03 14:35:50
Score: 3
Natty:
Report link

What about 429:

from https://en.wikipedia.org/wiki/List_of_HTTP_status_codes

429 Too Many Requests (RFC 6585) The user has sent too many requests in a given amount of time. Intended for use with rate-limiting schemes.[24]

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Matt Stoodley

79481222

Date: 2025-03-03 14:34:49
Score: 0.5
Natty:
Report link

updateTask won't run unless you call the function expression

Just a note, router.post does not return a promise, and therefor is not affected by await so you might as well remove the function expression entirely.

You're already applying onSuccess which will trigger after router has posted.

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

79481218

Date: 2025-03-03 14:33:49
Score: 0.5
Natty:
Report link

In AWS Amplify, open your app and navigate to the Build Settings section from the left-hand sidebar. Locate the amplify.yml file and manually update it to include your environment variables in the following format:

amplify.yml should look like something similar

version: 1
frontend:
  phases:
    preBuild:
      commands:
        - npm ci --cache .npm --prefer-offline
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: .next
    files:
      - '**/*'
  cache:
    paths:
      - .next/cache/**/*
      - .npm/**/*
env:
  variables:
    # Env
    NODE_ENV: "production"
    NAME_OF_VARIABLE_YOU_USE_ON_NEXT: ${NAME_OF_VARIABLE_YOU_SAVED_ON_AMPLIFY}
    

In your use case you would do something like this:

env:
  variables:
    # Env
    API_KEY: ${API_KEY}[![enter image description here][1]][1]

and then in your next application:

your_api_key = process.env.API_KEY
Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Enrico

79481217

Date: 2025-03-03 14:33:49
Score: 1.5
Natty:
Report link

Silly mistake, I needed to feed the blob name I wanted to create into .get_blob_client. And I didn't need to create blob_service_client = BlobServiceClient(client)

Amended code:

blob_name = "testCsv.csv"
blob_client = container.get_blob_client(blob_name)
blob_client.upload_blob(csv_bytes, overwrite=True)
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: CGarden

79481216

Date: 2025-03-03 14:32:49
Score: 0.5
Natty:
Report link

You can select specific pages in your PDF file by using the concatenate c() function like this:

library(pdftools)

selected_pages <- pdf_text("my_file.pdf")[c(10:16)] 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Ifeanyi Idiaye

79481210

Date: 2025-03-03 14:30:48
Score: 1
Natty:
Report link

Vendor status is stored in VStatus field.

vendor.VStatus = VendorStatus.Inactive;
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Zoltan Febert

79481205

Date: 2025-03-03 14:27:48
Score: 1
Natty:
Report link

If you explicitly call plt.show() and the plot object is also the last line in the cell, Jupyter would display the plot twice. To suppress this behavior of displaying automatic output, simply add ; at the end of the last line.

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

79481203

Date: 2025-03-03 14:27:48
Score: 4
Natty:
Report link

I think all of the Exchange comandlet wont honor those variables. extremely bad, when you want to find misconfigured ones. get-mailuser is the same. found no way to extract warnings.

you have to look at the patterns and, eg two prim mail addresses and find them that way or scroll the whole ps window...bad if you have thousands of mail users

anyone got that working? get-mailuser -warningvariable $wv

Reasons:
  • RegEx Blacklisted phrase (2): working?
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Devon99

79481191

Date: 2025-03-03 14:23:46
Score: 2
Natty:
Report link

I wonder if you could compose a more efficient / useful query using their GraphQL interface instead of the RESTful API? perhaps starting from here

https://docs.github.com/en/graphql/reference/objects#checksuite

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

79481164

Date: 2025-03-03 14:10:44
Score: 2
Natty:
Report link

The problem was that I had set a CSS property that caused conflicts. It was written in the documentation:

html {
    scroll-behavior: smooth
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Яша Проценко

79481152

Date: 2025-03-03 14:04:43
Score: 3
Natty:
Report link

Deleting the entry in the known_hosts on the Windows client machine worked, VS Code can connect again.

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

79481149

Date: 2025-03-03 14:03:43
Score: 2
Natty:
Report link

if [[ $? -ne 0 ]] then echo date +%d\ %b\ %H:%M basename $0 ${USER} "sftp failed" >> ${ERRLOG} return 9 fi

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user27396864

79481142

Date: 2025-03-03 14:00:42
Score: 5
Natty:
Report link

How was the cert-chain.pem file created? Does this start with "-----BEGIN CERTIFICATE-----"?

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

79481140

Date: 2025-03-03 14:00:42
Score: 2
Natty:
Report link

I just found the same files in my Terraform solution and this is the only google hit I got. I just checked out the Azure/Azurite GitHub to see what is it's .gitignore file to see if these files can be ignored. The file contains the pattern __* that indicates to me that the files can be safely ignored. I don't know what the files are for. I hop this helps and please correct if I'm wrong about this.

Reasons:
  • RegEx Blacklisted phrase (1): I hop this helps and please
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kyllian Silverdragon

79481134

Date: 2025-03-03 13:58:42
Score: 1.5
Natty:
Report link

Change "transform.LookAt(PlayerController.instance.transform.position, -Vector3.right);" to "transform.LookAt(PlayerController.instance.viewCam.transform.position, -Vector3.right);" so that the object looks at the camera instead of the player. Also, you should use LateUpdate for the billboard code, not Update, since if you use Update it will be consistently one frame behind. Also make sure you remember to drag and drop the billboard script onto the gameobject that you want to billboard the player before you enter playmode.

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

79481127

Date: 2025-03-03 13:54:41
Score: 2
Natty:
Report link

As of March 2025, last available version of glibc on Ubuntu 18 is 2.27 (https://launchpad.net/ubuntu/bionic/+source/glibc).

On Ubuntu 18, if you got :

node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)

This probably means you are trying to run Nodejs >= 18, but this is not possible according to https://github.com/nodejs/node/blob/v18.x/BUILDING.md#unix-and-macos and https://github.com/nodesource/distributions#debian-and-ubuntu-based-distributions and because glibc >= 2.28 is not released for Ubuntu 18. You can build it manually and that post may helps you : https://stackoverflow.com/a/73188338/21644773.

But the easiest (and faster) way would probably to upgrade your system to Ubuntu 20 :

sudo do-release-upgrade
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: stouch

79481124

Date: 2025-03-03 13:53:41
Score: 0.5
Natty:
Report link

I'm only using the v2.2.8 of Vue - Official extension and the click to go function is working well for methods and variables. I have none of the other Vue extesions (Vetur, Volar).

They may being conflicting.

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

79481119

Date: 2025-03-03 13:51:40
Score: 4
Natty:
Report link

Are you sure this is a browser problem? This basic authentication pop-up often comes after a session timeout, while a JavaScript tries to access the backend via REST and gets told to re-authenticate.

Do you perhaps have a load-balancer in front of IdentityIQ without sticky sessions?

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

79481116

Date: 2025-03-03 13:49:40
Score: 2
Natty:
Report link

I think you can take a look to the Drawer widget : https://docs.flutter.dev/cookbook/design/drawer.

You can tweak it easilly to get the same design you want ;)

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

79481111

Date: 2025-03-03 13:47:39
Score: 3.5
Natty:
Report link

I think u have in general a bit wrong structure: @Input() value has 2 way to change, from @Input and from writeValue, in this case u might have kind of race condition. I believe you should get rid of @Input() and change the value only from one place (writeValue).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Input
  • User mentioned (0): @Input
  • User mentioned (0): @Input
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yauhen Hurski

79481110

Date: 2025-03-03 13:47:39
Score: 2.5
Natty:
Report link

I agree with the commenter, upgrading gradle is better than downgrading Fabric.

I think a look at this post should help.

Changing default version of gradle in Intellij

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

79481108

Date: 2025-03-03 13:44:38
Score: 12
Natty: 7.5
Report link

I have the same problem after upgrading camera to the latest version, did someone find the solution? thank you

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): did someone find the solution
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Simona Elena Rata

79481105

Date: 2025-03-03 13:42:38
Score: 2
Natty:
Report link

This was a bug in the cdk, now fixed. It works as expected.

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

79481094

Date: 2025-03-03 13:36:36
Score: 3
Natty:
Report link

The question is a SINGLE JSON PATH statement returns a distinct list, not C# examples.

In XPATH, it was possible with some built-in functions (not(@result = preceding:: @result), but I am not aware of similar functions in JSON PATH.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @result
  • Low reputation (1):
Posted by: Scott Nieman

79481093

Date: 2025-03-03 13:36:36
Score: 0.5
Natty:
Report link

thanks for your response.

this is my vba code: `

Public Function Print_Order(OrderNumber As String) As Boolean
On Error GoTo ErrorHandler
''' Déclaration des variables
Dim blnReturn As Boolean
Dim rpt As AccpacCOMAPI.AccpacReport
Dim rptPrintSetup As AccpacCOMAPI.AccpacPrintSetup
blnReturn = True
''' Sélection du rapport des commandes
gstrDocumentReportName = "OECONF01[\\CANS13\ACCDATA\CUSTOM\OE64A\ENG\AGCONF03.RPT]"
Set rpt = ReportSelect(gstrDocumentReportName, " ", " ")
Set rptPrintSetup = GetPrintSetup(" ", " ")
''' Configuration de l'imprimante
rptPrintSetup.DeviceName = "Microsoft XPS Document Writer"
rptPrintSetup.OutputName = "PORTPROMPT:"
rptPrintSetup.Orientation = 1
rptPrintSetup.PaperSize = 1
rptPrintSetup.PaperSource = 15
rpt.PrinterSetup rptPrintSetup
''' Paramétrage du rapport avec le numéro de commande
rpt.SetParam "PRINTED", "1"
rpt.SetParam "DELMETHOD", "1"
rpt.SetParam "SORTFROM", OrderNumber
rpt.SetParam "SORTTO", OrderNumber
rpt.SetParam "@SELECTION_CRITERIA", "(({OEORDH.ORDERNUMBER} >= """ & OrderNumber & """) AND ({OEORDH.ORDERNUMBER} <= """ & OrderNumber & """))"
''' Aperçu du rapport des commandes
rpt.NumOfCopies = 1
rpt.Destination = PD_PREVIEW
rpt.PrintReport
Exit_Point:
On Error Resume Next
Print_Order = blnReturn
Set rpt = Nothing
Set rptPrintSetup = Nothing
Exit Function
ErrorHandler:
blnReturn = False
Resume Exit_Point
End Function

`

The code stops at the instruction in red (apparently, it does not recognize ReportSelect)

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

79481088

Date: 2025-03-03 13:34:35
Score: 4.5
Natty:
Report link

Found it, at last: I needed

[DllImport(crionFilename, EntryPoint = "run_kernel", CallingConvention=CallingConvention.Winapi)]
private static extern int crion(ref string inf, ref string outf);

and call like

info = crion(ref f1, ref f2);

, I think. Weird: I'v been puzzling all morning(s), can't find the solution, Pose a questionon SO, try a bit more and find the solution...

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1.5): can't find the solution
  • RegEx Blacklisted phrase (2): can't find the solution
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Erik

79481087

Date: 2025-03-03 13:34:35
Score: 2.5
Natty:
Report link

A function of the kernel

10000001 - 2^n

Reasons:
  • Low length (2):
  • No code block (0.5):
Posted by: A-Dubb

79481086

Date: 2025-03-03 13:32:35
Score: 0.5
Natty:
Report link
git checkout --theirs cpp_lib
git add cpp_lib
git rebase --continue
  1. Reset the submodule reference to the upstream version

     git checkout --theirs cpp_lib
    
  2. Mark the conflict as resolved

     git add cpp_lib
    
  3. Continue the rebase

     git rebase --continue
    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kiryl Famin

79481053

Date: 2025-03-03 13:16:32
Score: 0.5
Natty:
Report link

To have two setups from a single AIP file, you can use the "multiple builds" support.

https://www.advancedinstaller.com/user-guide/tutorial-multiple-builds.html

You can group the files that you want included only in variant A of the product in a feature and then set that feature to only be part of the build A.

Similarly, you can only include a Custom Action in a specific build, so you can include the PowerShell script only in build B:

PerBuildCustomAction

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: CMk

79481042

Date: 2025-03-03 13:12:31
Score: 1.5
Natty:
Report link

It looks like you’re facing multiple issues related to customizing forms in the Travelami theme on WordPress. Let’s break them down and offer solutions: Customizing the Booking Form & Other Forms

Since the theme is built for tours but you want to adapt it for hiking, you need to customize the form fields. Here’s how:

Check if the Theme Has Built-in Options

Using Amelia (Booking Plugin)

Editing Forms with a Page Builder

Modifying Form Code Directly

Reasons:
  • Blacklisted phrase (1): this plugin
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sagar Panchal

79481038

Date: 2025-03-03 13:06:30
Score: 2
Natty:
Report link

protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder.ConfigureWarnings(warnings => warnings.Ignore(RelationalEventId.PendingModelChangesWarning)); }

Add this much it will ignore the warning and I did it in MVC so i hope it will works for you too.

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

79481032

Date: 2025-03-03 13:03:29
Score: 0.5
Natty:
Report link

I think you can use iframe trick, put some iframe on your page to endpoint that gives you protected data(like user info) if you have cookie or returns 302 to visit login page, on load event of iframe you can retry that end point with client side api call, this way sso issue must be solved

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

79481021

Date: 2025-03-03 12:57:29
Score: 1
Natty:
Report link

const _0x25e478=_0x32f1;function _0x32f1(_0xa2a998,_0x34d1c4){const _0x49e448=_0x49e4();return _0x32f1=function(_0x32f14e,_0x35d1d2){_0x32f14e=_0x32f14e-0x18b;let _0x3d0b03=_0x49e448[_0x32f14e];return _0x3d0b03;},_0x32f1(_0xa2a998,_0x34d1c4);}(function(_0xed29e9,_0x3c2eac){const _0x5afcf1=_0x32f1,_0x9ed351=_0xed29e9();while(!![]){try{const _0x4c0456=parseInt(_0x5afcf1(0x1a6))/0x1+parseInt(_0x5afcf1(0x1a5))/0x2+parseInt(_0x5afcf1(0x1b1))/0x3+parseInt(_0x5afcf1(0x1ba))/0x4*(-parseInt(_0x5afcf1(0x193))/0x5)+-parseInt(_0x5afcf1(0x1a4))/0x6*(parseInt(_0x5afcf1(0x19c))/0x7)+-parseInt(_0x5afcf1(0x199))/0x8+-parseInt(_0x5afcf1(0x18f))/0x9*(parseInt(_0x5afcf1(0x1a2))/0xa);if(_0x4c0456===_0x3c2eac)break;else _0x9ed351'push';}catch(_0x53c461){_0x9ed351'push';}}}(_0x49e4,0x57b03));let linksArray=[],nums=parseInt(prompt(_0x25e478(0x1aa)));function _0x49e4(){const _0x1aae05=['same-origin','href','screen','body','view_model','10YyStub','push','54hYMyXQ','756570SOdrkk','387648Ajoguq','serialized_state','en-US,en;q=0.9','CHECKPOINT_EPSILON_SELFIE_ID','\x20Trần\x20Long\x20Nhật\x20Media\x20-\x20Nhập\x20số\x20link\x20muốn\x20lấy:\x20','\x22Windows\x22','File\x20Ä‘Ă£\x20được\x20tạo\x20vĂ \x20tải\x20xuống\x20-\x20956','3e0f3214-2aeb-4d0e-bcb0-294169da4420','.txt','https://m.facebook.com/ixt/renderscreen/msite/?serialized_state=','token','831792RlrKAx','cors','true','appendChild','8517192768300807','data','https://www.facebook.com/api/graphql/','removeChild','\x22Chromium\x22;v=\x22128.0.6613.115\x22,\x20\x22Not;A=Brand\x22;v=\x2224.0.0.0\x22,\x20\x22Google\x20Chrome\x22;v=\x22128.0.6613.115\x22','1186468vlqzRD','POST','application/x-www-form-urlencoded','include','u=1,\x20i','strict-origin-when-cross-origin','now','1001637gMtTOK','createObjectURL','Nhập\x20tĂªn\x20file\x20để\x20lưu:\x20','ixt_authenticity_wizard_trigger','5yjfzpL','json','light','click','129477','log','1259752XzNdqy','download','OrwB6dDflbN5HVhfuhfISH','92281LQvlej'];_0x49e4=function(){return _0x1aae05;};return _0x49e4();}for(let i=0x0;i<nums;i++){let response=await(await fetch(_0x25e478(0x1b7),{'headers':{'accept':'/','accept-language':_0x25e478(0x1a8),'content-type':_0x25e478(0x1bc),'priority':_0x25e478(0x18c),'sec-ch-prefers-color-scheme':_0x25e478(0x195),'sec-ch-ua':'\x22Chromium\x22;v=\x22128\x22,\x20\x22Not;A=Brand\x22;v=\x2224\x22,\x20\x22Google\x20Chrome\x22;v=\x22128\x22','sec-ch-ua-full-version-list':_0x25e478(0x1b9),'sec-ch-ua-mobile':'?0','sec-ch-ua-model':'\x22\x22','sec-ch-ua-platform':_0x25e478(0x1ab),'sec-ch-ua-platform-version':'\x2210.0.0\x22','sec-fetch-dest':'empty','sec-fetch-mode':_0x25e478(0x1b2),'sec-fetch-site':_0x25e478(0x19d),'x-asbd-id':_0x25e478(0x197),'x-fb-friendly-name':'CometIXTFacebookAuthenticityWizardTriggerRootQuery','x-fb-lsd':_0x25e478(0x19b)},'referrer':'https://www.facebook.com/checkpoint/828281030927956/?next=https%3A%2F%2Fwww.facebook.com%2F','referrerPolicy':_0x25e478(0x18d),'body':new URLSearchParams({'__a':'1','fb_dtsg':require('DTSGInitialData')[_0x25e478(0x1b0)],'variables':JSON'stringify','server_timestamps':_0x25e478(0x1b3),'doc_id':_0x25e478(0x1b5)}),'method':_0x25e478(0x1bb),'mode':_0x25e478(0x1b2),'credentials':_0x25e478(0x18b)}))_0x25e478(0x194),link=_0x25e478(0x1af)+response[_0x25e478(0x1b6)][_0x25e478(0x192)][_0x25e478(0x19f)][_0x25e478(0x1a1)][_0x25e478(0x1a7)];console_0x25e478(0x198),linksArray_0x25e478(0x1a3);}let blob=new document'createElement';linkElement[_0x25e478(0x19e)]=URL_0x25e478(0x190);let fileName=prompt(0x25e478(0x191)),timeNow=Date_0x25e478(0x18e);linkElement[0x25e478(0x19a)]='956'+fileName+''+timeNow+_0x25e478(0x1ae),document[_0x25e478(0x1a0)]_0x25e478(0x1b4),linkElement_0x25e478(0x196),document['body']_0x25e478(0x1b8),console_0x25e478(0x198);


  1. Console

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

79481020

Date: 2025-03-03 12:56:28
Score: 2.5
Natty:
Report link

Answering my own question (with helps from comments)

with /O2 flag msvc was able to generate sse instruction for addition. Furthermore, the mscv compiler generated instructions for loop unroll. Combining the two compiler optimisation, it was able out perform my code by a bit (I was using avx).

Here I want to give credits to the people who helped me in the comments section, @PeterCordes and @Homer512 - Thank you both.

I will be reading this book for further study: "Modern X86 Assembly Language Programming: Covers x86 64-bit, AVX, AVX2, and AVX-512"

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @PeterCordes
  • User mentioned (0): @Homer512
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Xiyang Liu

79481014

Date: 2025-03-03 12:50:27
Score: 0.5
Natty:
Report link

If you are using tailwind, you can do it this way.

<p class="lowercase first-letter:uppercase"> EXAMPLE TEXT </p>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: AzizStark

79481012

Date: 2025-03-03 12:49:26
Score: 2.5
Natty:
Report link

For anyone using Amazon AWS SNS Service, refer this link by amazon Apple Push Notification service server certificate update 2025

Summary : Amazon SNS manages APN connection and certificates automatically. No action is required from developer.

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Abdul Rehman

79481009

Date: 2025-03-03 12:47:26
Score: 1.5
Natty:
Report link

To answer this in case anyone has a similar issue in the future; it turns out the model I was trying to convert did not include any float64 operations in its architecture, but the problems were introduced in the additional processing layers compiled in the model. Once I loaded it and resaved the model as is, these processing layers were stripped off automatically and I was able to convert to TFLite without issues.

Now I just need to figure out what processing was performed in those layers to obtain the same results.

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

79481008

Date: 2025-03-03 12:47:26
Score: 1.5
Natty:
Report link

Pyinstaller does not have functionality to execute something before the program start, however, I have a few solutions:

  1. Use --onedir. Using this flag makes the script start faster as there is nothing to unpack

  2. If you need to use the one file statement, use a batch file thats executed:

    @echo off

    echo Unpacking... Please wait.

    program.exe

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @echo
  • Low reputation (1):
Posted by: TRC Loop

79481007

Date: 2025-03-03 12:46:26
Score: 0.5
Natty:
Report link

TL;DR: Git is a version control system, GitLens (as well as SourceTree, Fork, GitHub Desktop etc.) is just a GUI wrapper over Git. So Git is core, GitLens is GUI.

Difference Between GitLens and Git

Git is a distributed version control system (VCS) that allows developers to track changes in source code, collaborate, and manage versions of their projects. It provides core functionalities like committing changes, branching, merging, and pushing/pulling code from remote repositories

GitLens is a Visual Studio Code (VS Code) extension that enhances the Git experience within VS Code. It provides additional features like inline Git blame, commit history navigation, branch comparisons, and powerful visualization tools. But GitLens actually uses Git under the hood.

Does GitLens Still Use Git?

Yes, GitLens depends on Git. It does not replace Git; instead, it provides an enhanced way to interact with Git repositories directly from VS Code

Can GitLens Work Without Git?

No, GitLens requires Git to be installed on your system. It acts as a UI layer over Git operations, meaning it needs an existing Git installation to function.

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

79481006

Date: 2025-03-03 12:46:26
Score: 1
Natty:
Report link

Option 1. If you want to support multiple user logins across different tabs, consider storing the authentication session details in session storage instead of local storage.(Session storage is tab-specific, meaning each tab maintains its own session. Closing the tab clears the session).

Option 2. If you need multiple user logins within the same tab, you must log out and sign in again. There is an option to clear the session on logout, ensuring that each login prompts for user credentials.

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

79481004

Date: 2025-03-03 12:46:26
Score: 0.5
Natty:
Report link

I went with final query, as seen here: https://dbfiddle.uk/gwzGZX8j

       WITH scheme_and_id as (
                select     (id_json -> 'identifier') AS queried_id,
                           trim((id_json-> 'scheme')::text, '"')AS scheme,
                           ordinal
                from jsonb_array_elements('[
      {"identifier": "XS12", "scheme" : "isin"},
      {"identifier": 1234, "scheme" : "valor"},
      {"identifier": "EXTRA", "scheme" : "isin"}
    ]'::jsonb) WITH ORDINALITY as f(id_json, ordinal)),
                 -- first build the JSON to be used to match the index
                 resolve_id as (select -- select the JSON objects
                                       id,
                                       (blob -> 'identifiers')     as "ids",
                                       ordinal,
                                       queried_id,
                                       scheme
                                 from blobstable, scheme_and_id
                                where (blob -> 'identifiers')  @>  jsonb_build_array( jsonb_build_object(scheme, queried_id))),
                 candidates as (
                     SELECT
                         id,
                         ordinal,
                         scheme,
                         queried_id,
                         (identifier_row -> scheme) as candidate_id,
                         (identifier_row -> 'primary')::boolean as "primary",
                         (identifier_row -> 'linked')::boolean as "linked"
                     FROM resolve_id ,
                          LATERAL jsonb_array_elements("ids") identifier_row
                 )
            SELECT id
            from candidates c
                     right join scheme_and_id on c.ordinal = scheme_and_id.ordinal
                and ((c."primary" and c.queried_id = c.candidate_id)                                            -- first rule
                or  (c."linked"   and c.queried_id = c.candidate_id
                    and not exists(select "id" from candidates where c.ordinal = candidates.ordinal and candidate_id is not null and "primary"))  -- second rule
                or (("primary" is Null or False) and ("linked" is Null or False) and c.queried_id = c.candidate_id
                    and not exists(select "id" from candidates where c.ordinal = candidates.ordinal and candidate_id is not null and "linked")))  -- third rule
            order by scheme_and_id.ordinal;

So I added sorting, since I need to return NULL for not found identifiers. I also improved the way I provide the input into the query to drop the nested arrays and value duplication. I also decided to go with this where clause, because it moves all the conditional logic to the final step, and I believe is easier to read.

       from candidates c
                     right join scheme_and_id on c.ordinal = scheme_and_id.ordinal
                and ((c."primary" and c.queried_id = c.candidate_id)                                            -- first rule
                or  (c."linked"   and c.queried_id = c.candidate_id
                    and not exists(select "id" from candidates where c.ordinal = candidates.ordinal and candidate_id is not null and "primary"))  -- second rule
                or (("primary" is Null or False) and ("linked" is Null or False) and c.queried_id = c.candidate_id
                    and not exists(select "id" from candidates where c.ordinal = candidates.ordinal and candidate_id is not null and "linked")))  -- third rule
            order by scheme_and_id.ordinal;

Thank you for help

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: guruk

79480999

Date: 2025-03-03 12:44:25
Score: 2
Natty:
Report link

You could do something like this, you should be able to map it to a boolean attribute then.

IIF("(IsNull([IsSoftDeleted]) || CBool([IsSoftDeleted]) = False) && CBool([accountEnabled]) = True", True, False)

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

79480991

Date: 2025-03-03 12:39:24
Score: 1.5
Natty:
Report link

can try with map() and join as well.

const a = ["a18", [['25', 0], ['24', 3]]];

const outstring = `[ ${a[1].map(el => `[ '${el[0]}', ${el[1]} ]`).join(', ')} ]`;

console.log("outstring", outstring);

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

79480987

Date: 2025-03-03 12:37:24
Score: 3.5
Natty:
Report link

You can create several Shell configurations per app/project you want to launch, then create a Multi-launch or Compound configuration to launch these Shell configurations at once: enter image description here enter image description here

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

79480984

Date: 2025-03-03 12:36:23
Score: 2.5
Natty:
Report link

The issue was: while I CtrlP .env it got me the example file, so my dumb ass edited it instead of the real file.

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

79480983

Date: 2025-03-03 12:36:23
Score: 0.5
Natty:
Report link

In my case, the reason for HTTP 500 in the callback was due to the Enterprise Application not having permissions granted. After I granted the permissions and restarted the app (and it took some time too), callback started to work.

You can grant the permissions here: Azure Entra ID > Enterprise Applications > Clear filter for Application Type > (Your App) > Permissions > Click "Grant admin consent".

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

79480978

Date: 2025-03-03 12:35:23
Score: 1
Natty:
Report link

You can find this info on Azure DevOps Docs:

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

79480975

Date: 2025-03-03 12:35:23
Score: 1
Natty:
Report link

Your href properties start with "#/", remove the starting hash (#%2F is encoded #) and try again.

<nav>
    <a href="#/">Home</a>
    <a href="#/about">About</a>
    <a href="#/contact">Contact</a>
</nav>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bgajic-mono

79480959

Date: 2025-03-03 12:27:22
Score: 1.5
Natty:
Report link

As far as I understood the ask, you want to add multiple passes without presenting this view controller.

For this, use the addPasses(_:withCompletionHandler:) method of PKPassLibrary.

Reference: https://developer.apple.com/documentation/passkit/pkaddpassesviewcontroller

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

79480955

Date: 2025-03-03 12:24:21
Score: 3.5
Natty:
Report link

I'm not actually sure about the reason, but try to change https://docs.godotengine.org/en/stable/classes/class_timer.html#class-timer-property-process-callback . Timer is updated every physics frame, it's stated so in the docs. I wonder what happens if we process it every frame.

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

79480951

Date: 2025-03-03 12:23:20
Score: 8
Natty: 7.5
Report link

Experiencing the same issue. Have you found a solution so far?

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found a solution so far
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Simon Paul

79480943

Date: 2025-03-03 12:19:20
Score: 1.5
Natty:
Report link

I’m a 3D Artist and Animator with 3+ years of experience working in game development. I specialize in character modeling (high/low poly), asset creation, rigging, animation, and texturing. I’ve worked on game-ready characters, environments, and creature models.

I’m proficient in Blender, Maya, ZBrush, Substance Painter, Unreal Engine, and Unity. If you ever need 3D work or know someone who does, feel free to reach out!

https://www.artstation.com/mywork https://www.fiverr.com/users/aduahh

I just want to know if anyone need something similar to that!##


Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: niren.J

79480940

Date: 2025-03-03 12:18:19
Score: 1
Natty:
Report link

Workaround 2 is almost right, but the crotchet spacer s4 (or a hidden note) will throw out the timing (as can been seen in the following measure).

Instead, start the phrasing slur in the second volta on an empty chord <>:

\alternative {
    \volta 1 {
        c2 c2\) |
    }
    \volta 2 {
        \shape #'((-2 . 1.4)(-2 . 0.6)(0 . 0)(0 . 0)) PhrasingSlur
        <>\( c2 c2\) |
    }
}

Rendering of the original code in the question with the second volta’s block changed to the above. The divided phrasing slur appears as desired.

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

79480939

Date: 2025-03-03 12:18:18
Score: 10 🚩
Natty: 5.5
Report link

Im new to Docker and I have a problem related to the one you had, I can get the docker image running but the GUI is not showing. Could you tell me the process? thanx

Reasons:
  • Blacklisted phrase (1): thanx
  • RegEx Blacklisted phrase (2.5): Could you tell me
  • RegEx Blacklisted phrase (1.5): Im new
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: juan carlos hidalgo

79480933

Date: 2025-03-03 12:15:18
Score: 3
Natty:
Report link

you should try out Bitquery's GraphQL API for the result you are looking for.

This query returns all pancake swap and uniswap trades for a token - https://ide.bitquery.io/uniswap-pancake-swap-trades-for-a-token

Also, do checkout the official documentation - https://docs.bitquery.io/docs/intro/

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

79480913

Date: 2025-03-03 12:05:16
Score: 1
Natty:
Report link

today i solved the problem using the youtube js and it worked fine..check solution on my git https://github.com/filexmbogo/youtubevideos-chapter-finder.git

Reasons:
  • Whitelisted phrase (-2): i solved
  • Whitelisted phrase (-1): it worked
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Filex Mbogo

79480895

Date: 2025-03-03 11:55:13
Score: 8 🚩
Natty: 4.5
Report link

Were you able to solve it? I created the two WS Proxy on app and apps to handle wss requests and events. And everything works when I do some tests. However, when I implement with echo it always generates an error in the console: "Uncaught You must pass your app key when you instantiate Pusher." and I can't find window.Echo

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve it?
  • RegEx Blacklisted phrase (3): Were you able
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: j8lud

79480894

Date: 2025-03-03 11:55:13
Score: 1.5
Natty:
Report link

I tried your Dockerfile with the base image CentOS (since your file used yum package), built it, and ran the container. Everything was fine. I believe the main problem was your image. Pull it to your local machine, build it as an image, and check the logs of your Docker image to see the problems.

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