79283276

Date: 2024-12-15 22:29:14
Score: 2
Natty:
Report link

I had to delete Package.resolved in MyProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm . Nothing else worked.

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

79283269

Date: 2024-12-15 22:27:14
Score: 2.5
Natty:
Report link

My dev account is many years old and still same problem so don't BS without a proper knowledge. Facebook nowdays itself is a huge bug and mess.

Please remove invalid responses just guessing stuff...

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

79283268

Date: 2024-12-15 22:27:14
Score: 1
Natty:
Report link

Can you connect using valkey-cli (or redis cli)?
The issue seems to be a connection issue, the client can't get a response from the server and refresh the slots, which is part of the first steps client usually taking to create the cluster topology.
MemoryDB uses TLS by default, and it appears that you don't config the client to use TLS, and this probably the issue. And just an offer — Glide

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (0.5):
Posted by: avifen

79283266

Date: 2024-12-15 22:24:13
Score: 2
Natty:
Report link
ALTER TABLE `table_name` AUTO_INCREMENT = 1
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Onyedikachi Oko - Dexter

79283264

Date: 2024-12-15 22:23:13
Score: 3.5
Natty:
Report link

I discovered that in my other blueprint I had a function for /profile that I added for debugging and forgot to remove, I feel very stupid

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

79283259

Date: 2024-12-15 22:21:12
Score: 1
Natty:
Report link

My firebase config file was the problem. I removed export default app and changed it to the following. export { app };

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

79283256

Date: 2024-12-15 22:17:11
Score: 2
Natty:
Report link

And the answer was... tell the FFmpeg libx264 video codec to -tune zerolatency.

At the FFmpeg C API this is done with av_dict_set(&codecOptions, "tune", "zerolatency", 0), where codecOptions is the AVDictionary you will then pass as the last parameter to avcodec_open2().

Why? I couldn't tell you. It has taken me nearly a week of trying everything I could try before I found this. With this single option added the hls.js client synchronizes, and re-synchronizes, with the HLS stream every time, under all circumstances. Without it, hls.js will not gain initial sync to a HLS stream if it is started just a few seconds after the stream has begun and, won't regain synchronization if it should lose it.

Note that I did try running hls.js with lowLatency: false but that did not fix the problem.

We live and learn.

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rob

79283254

Date: 2024-12-15 22:16:11
Score: 1
Natty:
Report link

I faced similar issues as github.com/stripe/stripe-firebase-extensions/issues/507 and it looks like there is a permission denied issue when the stripe extension publishes the events.

Somehow this is overcome by just pointing a separate Stripe Webhook to your custom event handler. This function didn't even need the configuration of webhook secret or stripe key and only needed the event handling processing logic somehow. But this needed to enable all traffic and unauthenticated requests.

I just went with setting up my own custom webhook function.

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

79283253

Date: 2024-12-15 22:15:11
Score: 3
Natty:
Report link

Why this lines of code return an error:

qp.drawText(left, offset + blockTop + line.y(), rightMargin, line.height(), Qt.AlignRight, str(lineCount)

In the paintLineNumber function

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): Why this
  • Low reputation (1):
Posted by: Guelord Matala

79283244

Date: 2024-12-15 22:07:09
Score: 0.5
Natty:
Report link

This can happen with mismatch in versions between Elasticsearch-PHP and Elasticsearch. Documented in the Elasticsearch-php library github page explains the compatibilites between them: https://github.com/elastic/elasticsearch-php?tab=readme-ov-file#compatibility

The Elasticsearch client is compatible with currently maintained PHP versions.

Language clients are forward compatible; meaning that clients support communicating with greater or equal minor versions of Elasticsearch without breaking. It does not mean that the client automatically supports new features of newer Elasticsearch versions; it is only possible after a release of a new client version. For example, a 8.12 client version won't automatically support the new features of the 8.13 version of Elasticsearch, the 8.13 client version is required for that. Elasticsearch language clients are only backwards compatible with default distributions and without guarantees made.

Elasticsearch Version Elasticsearch-PHP Branch Supported
main main
8.x 8.x 8.x
7.x 7.x 7.17
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Typewar

79283242

Date: 2024-12-15 22:06:08
Score: 5.5
Natty:
Report link

How about some hints. What are the errors?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How
  • Low reputation (0.5):
Posted by: user2153142

79283224

Date: 2024-12-15 21:50:05
Score: 1
Natty:
Report link

From the docs for IAudioClient::Initialize it appears that in exclusive mode the API will change the endpoint device's format (which sounds like what I want). Whereas shared mode, will do resampling of the endpoint's current format (which I don't want).

AUDCLNT_E_UNSUPPORTED_FORMAT

The audio engine (shared mode) or audio endpoint device (exclusive mode) does not support the specified format.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Tom Huntington

79283219

Date: 2024-12-15 21:44:04
Score: 1
Natty:
Report link

If you only intend to look up your data by key, then key lookup is the most effective way to go (e.g. you store a user sesssion in Redis, use the userid as a key and only ever look up the session data by user)

On the other hand, if you want to search based on the content of the data, iterating over all the keys and looking at all the data would be extremely inefficient, whilst an index would very efficiently obtain all keys whose data content matches your search (e.g. if in the user session example you want to find all users who have a particular product stored within the session in their shopping cart to target a promotional offer)

In addition, other search use cases such as geographical searches or vector searches would simply be impossible with key alone.

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

79283198

Date: 2024-12-15 21:24:57
Score: 7.5 🚩
Natty: 6
Report link

i have the same problem, i have added javafx.swing in vmOption, but it still has Exception. ...plz, help me!!

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): i have the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dũng Đỗ

79283188

Date: 2024-12-15 21:14:55
Score: 2
Natty:
Report link

I hope my solution will help someone. The same error message appeared for me because in two projects with authentication on Firebase I named the package the same. That is: com.company.project1 and com.company.project2 After changing the "company" for "companysecond", has the problem solved.

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

79283183

Date: 2024-12-15 21:08:54
Score: 2
Natty:
Report link

You can get the path like so:

tauri::Builder::default()
  .setup(|app| {
    let path = app.path().app_data_dir();//
    Ok(())
  });

Similarly, you can get other paths as well: https://v1.tauri.app/v1/api/js/path/#appdatadir

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

79283179

Date: 2024-12-15 21:04:52
Score: 4.5
Natty: 5.5
Report link

There is an alternative proposed to fix this: https://github.com/whatwg/fetch/issues/1790

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

79283174

Date: 2024-12-15 20:56:50
Score: 3
Natty:
Report link

Putting the foreign language in will be perfect, the way your crypto will be smoothly processed and delivered will change your life 🫵🏻👩🏻‍🦲🤘🏻

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

79283173

Date: 2024-12-15 20:56:50
Score: 2
Natty:
Report link

This can happen if the objects aren't fully released from memory. After deleting the sheet, explicitly set the sheet object to Nothing to release it from memory:

Dim ws As Worksheet
Set ws = ActiveWorkbook.Sheets("Output_Final")
ws.Delete
Set ws = Nothing

See also Remove a non-existant Sheet in VBA, VBA code deletes it's own sheet, leaving a "ghost" sheet behind, GHOST Worksheet in Project Explorer - How to Delete It?

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Michal

79283168

Date: 2024-12-15 20:53:50
Score: 2
Natty:
Report link

https://learn.microsoft.com/en-us/dotnet/csharp/advanced-topics/reflection-and-attributes/how-to-create-a-c-cpp-union-by-using-attributes

[System.Runtime.InteropServices.StructLayout(LayoutKind.Explicit)]
struct TestUnion
{
    [System.Runtime.InteropServices.FieldOffset(0)]
    public int i;

    [System.Runtime.InteropServices.FieldOffset(0)]
    public double d;

    [System.Runtime.InteropServices.FieldOffset(0)]
    public char c;

    [System.Runtime.InteropServices.FieldOffset(0)]
    public byte b;
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: abc2025

79283146

Date: 2024-12-15 20:36:47
Score: 1
Natty:
Report link

Configure correctly extension directory in php.ini:

; Directory in which the loadable extensions (modules) reside.
; https://php.net/extension-dir
;extension_dir = "./"
; On windows:
;extension_dir = "ext"

If you on Windows just remove ";" on last line

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

79283144

Date: 2024-12-15 20:34:46
Score: 3
Natty:
Report link

I got this working by adjusting the Windows registry: Rename TortoiseXXX paths in the Registry by adding more spaces to the beginning of the folders names. Close and open the Registry again, now TortoiseXXX paths should show up at top. Restart the explorer (or Windows) and this should fix it:

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

79283137

Date: 2024-12-15 20:31:45
Score: 2.5
Natty:
Report link

private val GESTURE_THRESHOLD_DP = ViewConfiguration.get(myContext).scaledTouchSlop

-


List item



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

79283136

Date: 2024-12-15 20:31:45
Score: 1.5
Natty:
Report link

Another solution in n-dimensional space might be:

import numpy as np
vector = np.array([1,2,3,4])
vector = vector[np.newaxis,:]
orthogonal_vertices = np.linalg.svd(vector)[-1]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mark

79283131

Date: 2024-12-15 20:29:44
Score: 0.5
Natty:
Report link

Try this...

app\Actions\Fortify\PasswordValidationRules.php

return ['required', 'string', Password::min(8)->mixedCase()->numbers(), 'confirmed'];
Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vallter

79283130

Date: 2024-12-15 20:29:44
Score: 3
Natty:
Report link

Provide fallback for an undefined object. Also, using __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED is not safe. Hopefully this solved your problem.

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

79283121

Date: 2024-12-15 20:27:44
Score: 0.5
Natty:
Report link

For anybody who uses MUI 6+, InputProps is set as deprecated, and it should be replaced with slotProps with input property assigned an object with startAdornment and endAdornment as properties.

To fix this, replace the following snippet:

InputProps={{
  startAdornment: (
    <InputAdornment position="start">
      <SearchIcon />
    </InputAdornment>
  ),

  endAdornment: value && (
    <IconButton
      aria-label="toggle password visibility"
      onClick={() => setValue("")}
    ><CancelRoundedIcon/></IconButton>
  )
}}

With the following:

slotProps={{
  input: {
    startAdornment: (
      <InputAdornment position="start">
        <SearchIcon />
      </InputAdornment>
    ),
    endAdornment: value && (
      <IconButton
        aria-label="toggle password visibility"
        onClick={() => setValue("")}
      ><CancelRoundedIcon/></IconButton>
    )
  },
}}

For more info, please refer to this guide

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Abdul Rahman Kayali

79283110

Date: 2024-12-15 20:21:43
Score: 1.5
Natty:
Report link

Try to add popupClassName="pointer-events-auto" to the Select component, it works for me.

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: free dom

79283102

Date: 2024-12-15 20:18:42
Score: 3
Natty:
Report link

The actual problem in from coping nano its copy only half check you should see email address at the end of key and more command works

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

79283099

Date: 2024-12-15 20:14:41
Score: 2.5
Natty:
Report link

javascript:(function () {var script=document.createElement('script');script.src="//cdn.jsdelivr.net/npm/eruda";document.body.appendChild(script); script.onload = function () { eruda.init() } })();

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

79283094

Date: 2024-12-15 20:10:40
Score: 1.5
Natty:
Report link

Well, it not clear why you don't just add some API end points to the existing WebForms application?

In other words, adding some web methods to existing pages, or even adding a .asmx web service page to the existing WebForms would be the easiest road.

However, assuming that both web sites have full rights and access to the same database?

Then change the security SQL provider and the role provider for the WebForms to point to the same "user" database as the new site. This will require you to add (create) these two providers for the existing web forms site.

It is rather easy to simply "inherit" the SqlProvider, and "inhert" the RoleProvider in the existing Webforms application, and that will THEN allow you to point the user database to the new and SAME user database in the new site with the API's.

So, in terms of most easy?

I would consider just adding the API's (web end points) to the existing application. In fact the big question why this was not considered a option? As I pointed out, little or next to nothing is and would prevent you from adding web end points (API's) to the existing site. As noted, this not only solves all your issues, but web end points for WebForms automatic support REST, XML and JSON data, and do so without any special efforts on your part.

If above is not a valid choice (and you not explained why this easy road is not being taken), then next up would be to simply point the existing WebForms's SqlProvider, and RoleProvider's to the new database. You can as noted, create a new (custom) SqlProvider, and a new RoleProvider. If you inherit the existing providers, you find that very few code stubs are required for both of these providers to continue to work, and work by being pointed to the new user database.

Of course, the only issue I can see is if you're using some of the older "legacy" pages often provided in WebForms to add new users, delete (disable) new users, and how they do things like re-set their password etc. And how now are these users assigned security roles for the existing site? In other words, how many moving parts are being used to manage existing users? (either none, or a lot??? - this question needs to be answered).

If you have your own custom pages for this purpose? Then once again, creating a custom sql and role provider would be little work, and that would result in the WebForms site now using the new user database that the API site is using.

As noted, my first choice and suggestion would be to add the web end point's and API's to the existing WebForms application, and it not at all clear why this was or is not the first choice?

Reasons:
  • Blacklisted phrase (1): ???
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: Albert D. Kallal

79283090

Date: 2024-12-15 20:08:40
Score: 0.5
Natty:
Report link

It looks like you’re already heading in the right direction by enabling network-related settings with PowerShell. However, the “All Networks” setting in the control panel is part of the advanced sharing settings, and unfortunately, PowerShell doesn’t have a direct cmdlet to toggle that specific control panel setting.

That said, you can try enabling the underlying network discovery and file sharing components as you’ve started doing. You might also need to ensure that the network profile is set to “Private” since some sharing options behave differently depending on the network type. Here's a command for that:

powershell Copy code Set-NetConnectionProfile -NetworkCategory Private
If you still can’t get it to work, the issue might be with group policies or registry keys related to the sharing settings. One possible registry key to check is:

powershell Copy code Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\NetworkList\Profiles" -Name "Category" -Value 1
This sets the network profile to private, which is often a prerequisite for enabling “All Networks” sharing.

Let me know if this helps or if you’re stuck anywhere—I’ll be happy to troubleshoot further!

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

79283087

Date: 2024-12-15 20:05:39
Score: 3
Natty:
Report link

The problem which I faced above and my approach to understanding and solving the problem were mismatched. Hence the above problem statement. I wanted to run 2 independent apps one Flask (Python) and one Angular (Node.js) on 1 EC2 Instance and be able to access them. I have found a solution below is the link to my GitHub repository with the approach explained in a detailed way. It works for my needs and there is room for improvement. two-apps-aws-docker

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

79283077

Date: 2024-12-15 19:58:38
Score: 1
Natty:
Report link

I had the same problem (gcc-arm-none-eabi 13.3.1 on Linux) and solved the problem by removing --specs=nosys.specs --specs=nano.specs

from the makefile.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Paolo Subiaco

79283058

Date: 2024-12-15 19:46:36
Score: 1.5
Natty:
Report link

Look at merkel trees to store nfts more efficiently

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

79283052

Date: 2024-12-15 19:43:35
Score: 3
Natty:
Report link

For whomever this is still relevant, you can try our chat component https://github.com/dappros/ethora-chat-component (also available as npm package: https://www.npmjs.com/package/@ethora/chat-component).

Files, photo, audio and video attachments with previews are supported.

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

79283051

Date: 2024-12-15 19:42:35
Score: 3
Natty:
Report link

Select all the files and move them insided where you want. Moving single file may be cause this.

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

79283048

Date: 2024-12-15 19:42:35
Score: 3
Natty:
Report link

This is a great question for understanding of Typing and OOP.

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

79283033

Date: 2024-12-15 19:34:33
Score: 3
Natty:
Report link

Still we can create the user pool only with username as the sign up attributes from cloudformation templates. But Im not sure this will get changed in a future release.

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

79283027

Date: 2024-12-15 19:33:33
Score: 1
Natty:
Report link

This is an interesting problem, and I can see why it’s confusing. Since your useCallback depends on windowSize, it should only trigger when windowSize changes. But from what you’re describing, it sounds like something else might be causing the callback to run.

One thing to watch out for is whether the parent component re-renders whenever you update searchValue. Even though searchValue isn’t part of the useCallback dependency array, a re-render at the parent level could cause the function to be re-invoked.

It might help to log both windowSize and searchValue to figure out what’s actually triggering the callback. Also, double-check how windowSize is being updated—it’s possible something subtle is happening there.

Let me know if this helps or if you want to share more of the code. Happy to help dig into it!

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

79283026

Date: 2024-12-15 19:33:33
Score: 1.5
Natty:
Report link

QStudio opens sqlite files by simply double clicking in windows: https://www.timestored.com/qstudio/database/sqlite# As it registers a file association and will open sqlite, h2, duckdb databases.

enter image description here

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

79283024

Date: 2024-12-15 19:31:31
Score: 9 🚩
Natty: 5.5
Report link

Did you ever solve this problem? If so, I would love to see how you did it. Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Did you ever solve this problem
  • RegEx Blacklisted phrase (1.5): solve this problem?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Skattch

79283003

Date: 2024-12-15 19:21:29
Score: 3
Natty:
Report link

Faced same error while writing code in Notebook Fix : Restart the Kernel.

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

79282997

Date: 2024-12-15 19:18:27
Score: 10 🚩
Natty: 5
Report link

How did you fix the issue? I followed every step in the documentation but still getting the error

Reasons:
  • Blacklisted phrase (1): How did you fix
  • RegEx Blacklisted phrase (3): did you fix the
  • RegEx Blacklisted phrase (1.5): fix the issue?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How did you fix the is
  • Low reputation (1):
Posted by: user28794785

79282996

Date: 2024-12-15 19:17:26
Score: 0.5
Natty:
Report link

If you face this issue, you can solve this by using either JQUERY or Javascript

JQUERY:

$(".input-value").val("")

Javascript:

document.getElementById("input-value").value = ""

This will clear all the spaces from textarea and it wont start at the middle. Cursor will be at top left.

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

79282993

Date: 2024-12-15 19:15:26
Score: 2.5
Natty:
Report link

You can call IdentityWebAPIProject from AnotherMCVProject via HTTP calls and HttpClient

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

79282984

Date: 2024-12-15 19:09:24
Score: 2
Natty:
Report link

You can use morphological analyzer like jaonome for python or kuromoji for javascript. IDK is there anything for php though.

Reasons:
  • Blacklisted phrase (1): is there any
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: isomoar

79282982

Date: 2024-12-15 19:07:24
Score: 3.5
Natty:
Report link

This turns out to be an issue with the docker image tagged 4.1.1. I created a bug ticket here: https://github.com/apache/superset/issues/31459

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

79282971

Date: 2024-12-15 19:02:23
Score: 1
Natty:
Report link

U can use this:

String[] strings = createNew(100); // = new String[100];

or

Bars[] bars=createNew(10);// = new Bars[10];


@NonNull
public static <T> T[] createNew(int capacity, @NonNull T... array) {
    return java.util.Arrays.copyOf(array, capacity);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Michael Puzio

79282957

Date: 2024-12-15 18:53:20
Score: 1
Natty:
Report link

Check if you deleted that field directly of Model instance. The principle is, that when you pass an object to a function, it is the same object and not a copy of it, so the deletion of an attribute by, for example, del vars(object)[field] would change the original object. Instead use copy.deepcopy(object) before changing it.

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

79282949

Date: 2024-12-15 18:44:19
Score: 1.5
Natty:
Report link

I think the issue is Livewire State Changes State updates in Livewire, such as mountedActions or mountedTableActions, are reflected in the modal's visibility due to the Livewire data bindings.When updateing the paginator your updating a propraty called $tableRecordsPerPage in trait CanPaginateRecords. For now this is what i reached.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: khalil khassep

79282926

Date: 2024-12-15 18:32:16
Score: 1.5
Natty:
Report link
  1. Storing Image as a Base64 String Convert the selected image into a Base64 string and store it as a string in MongoDB. Pros: Simple and avoids dealing with file storage. Cons: Increases database size significantly because Base64 encoding adds ~33% overhead. Example:

`const image = await ImagePicker.launchImageLibraryAsync({ base64: true }); const base64Image = image.base64;

// Save to MongoDB const imageDocument = { image: base64Image }; await db.collection('images').insertOne(imageDocument);`

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Muhammad Adeel

79282922

Date: 2024-12-15 18:30:15
Score: 4.5
Natty: 5
Report link

I have a same problem issue, same case.. and I solved by your way.. so thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Whitelisted phrase (-2): I solved
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have a same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dr. Ayman Alqasem

79282917

Date: 2024-12-15 18:26:13
Score: 1
Natty:
Report link

I was having this error with .deb installation using ubuntu 22.04.

I run:

sudo dpkg --configure -a
sudo apt update
sudo apt upgrade 
sudo apt --fix-broken install

after this, the command back for me

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

79282912

Date: 2024-12-15 18:25:12
Score: 5.5
Natty: 4
Report link

same issue i got this method is still not working plz anyone help { "name": "your-app-name", "version": "1.0.0", "proxy": "https://www.swiggy.com" // add this line }

Reasons:
  • Blacklisted phrase (2): still not working
  • RegEx Blacklisted phrase (1): same issue
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ankit Kumar

79282905

Date: 2024-12-15 18:20:10
Score: 5
Natty: 6
Report link

Bir web sitesinin başarılı olması için 1. Yapılması gereken nedir. Ziyaretçi sayısı nasıl artar. Örneğin çekici sitemiz nasıl başarılı olur? https://www.cekici.com

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Çekici internet hizmetleri

79282904

Date: 2024-12-15 18:19:09
Score: 1.5
Natty:
Report link

I know this is stupid, but I traced the issue down to this Chrome extension I had installed years ago: https://chromewebstore.google.com/detail/manage-web-workers/mcojhlgdkpgablplpcfgledhplllmnih?pli=1

I guess a recent Chrome update prompted my browser to re-install that extension after years of having it disabled, and this suddenly broke my app overnight.

You can easily just run the app in incognito to see if that is messing with the web-worker loading. This seemed like such a stupid reason, but in retrospect it makes sense why, despite me doing "all the right things", my issue persisted.

In the offchance someone runs into the same exact issue I had, I figured I'd just document that it could be an issue with installed extensions.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Sam

79282886

Date: 2024-12-15 18:12:07
Score: 4.5
Natty: 4.5
Report link

You can also query https://citydata.mesaaz.gov/api/views to get most of the unique IDs available.

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

79282871

Date: 2024-12-15 18:04:05
Score: 0.5
Natty:
Report link

Add the following snippet to one of your projects:

allprojects {
  tasks.register('printConfigurations') {
    if (!configurations.empty) {
      println "==="
      println "Configurations of ${project.path} project"
      println "==="
      configurations.all {
        println "${name}${canBeResolved ? '' : ' resolvable'}${canBeConsumed ? '' : ' consumable'}${canBeDeclared ? '' : ' scope'}"
        extendsFrom.each {
          println "  ${it.name}"
        }
      }
    }
  }
}

Run gradlew printConfigurations

Output:

===
Configurations of :foo project
===
annotationProcessor consumable
apiElements resolvable scope
archives resolvable scope
compileClasspath consumable scope
  compileOnly
  implementation
compileOnly resolvable consumable
default resolvable scope
  runtimeElements
implementation resolvable consumable
mainSourceElements resolvable scope
  implementation
runtimeClasspath consumable scope
  runtimeOnly
  implementation
runtimeElements resolvable scope
  implementation
  runtimeOnly
runtimeOnly resolvable consumable
testAnnotationProcessor consumable
testCompileClasspath consumable scope
  testCompileOnly
  testImplementation
testCompileOnly resolvable consumable
testImplementation resolvable consumable
  implementation
testResultsElementsForTest resolvable scope
testRuntimeClasspath consumable scope
  testRuntimeOnly
  testImplementation
testRuntimeOnly resolvable consumable
  runtimeOnly

Not fancy, but fills that gap between the standard outgoingVariants, dependencies, and dependencyInsight tasks.

Reasons:
  • RegEx Blacklisted phrase (1.5): Resolved ?
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alexey Semenyuk

79282866

Date: 2024-12-15 18:01:04
Score: 0.5
Natty:
Report link

you can use IsNull()

repo.findOneBy({ status: IsNull() })
Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Hai Alison

79282862

Date: 2024-12-15 18:00:04
Score: 0.5
Natty:
Report link

This worked for me: turn off USB debugging, revoke previous access, unplug the cable, plug the cable in, stand on right leg, don't click allow to fast, use the 'always allow' option, don't refresh the inspect page, sit and wait for 3.35 minutes, then do those steps 4 more times. You probably still won't get it to connect, but it will keep you busy and stop you from throwing all android products in reach out the window.

Reasons:
  • Whitelisted phrase (-1): This worked for me
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28794135

79282854

Date: 2024-12-15 17:57:03
Score: 2.5
Natty:
Report link

I had to change the setting in Windows 11 called "Regional Format" to recommended. Also display language to English (US).

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

79282848

Date: 2024-12-15 17:54:03
Score: 2
Natty:
Report link

CMake Error at contrib/netsimulyzer/CMakeLists.txt:88 (target_compile_definitions): Cannot specify compile definitions for target "libnetsimulyzer" which is
not built by this project.

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

79282841

Date: 2024-12-15 17:53:01
Score: 12 🚩
Natty: 5.5
Report link

I'm facing the same issue and haven't found a solution yet.

I'm sending a publish message to: $aws/things/ESP32-dev-01-thing/jobs/job/get

ESP32-dev-01-thing is the thing_name. job is the job_id. When I use the AWS MQTT Test Client, everything works perfectly. However, on my ESP32, I don't receive any response on:

Does anyone know why this might happen? I've confirmed that the ESP32 is subscribed to both topics.

Any help would be appreciated!

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (2): Does anyone know
  • RegEx Blacklisted phrase (3): Any help would be appreciated
  • RegEx Blacklisted phrase (1): haven't found a solution
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Armand Petit

79282840

Date: 2024-12-15 17:52:00
Score: 5
Natty:
Report link

Unfortunately, Jansi doesn't directly provide a method to retrieve the terminal's background color. The Terminal.getPalette() method primarily focuses on color palettes, which are typically used for predefined color schemes. It doesn't delve into the specific color settings of the terminal's background. However, there might be a workaround involving platform-specific APIs:

Reasons:
  • RegEx Blacklisted phrase (2.5): do you have any
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
Posted by: A bot

79282835

Date: 2024-12-15 17:46:59
Score: 1
Natty:
Report link

You can try to download manually from pysmb. Then, copy smb and nmb folders to your site-packages folder (...\Lib\site-packages) Try again:

from smb.SMBConnection import SMBConnection
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sharon

79282829

Date: 2024-12-15 17:43:59
Score: 1
Natty:
Report link

just change for(i= to for(let i=

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: o17t H1H' S'k

79282821

Date: 2024-12-15 17:38:57
Score: 4.5
Natty:
Report link

By rewriting my article I found out that removing the following comment, from:

      - name: Copy over new files
        run: |
            # Whitelist of all publishable wiki articles
            cp index.md $content
            # more publishable markdown files...

to

      - name: Copy over new files
        run: |
            # Whitelist of all publishable wiki articles
            cp index.md $content

I could get it to work. I suppose the dots (...) at the end of the line where the issue. Can anyone provide some more information regarding this?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can anyone provide some
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: hmaier

79282817

Date: 2024-12-15 17:37:57
Score: 1.5
Natty:
Report link

You can connect DDR4 Memory for PL also, which is available to use in the PL block design as a FIFO or big storage like BRAM and it has several GBs free spaces. Unfortunately PYNQ-Z2 board will not able to provide it, it would be better if you start to use a better ZCU104 dev board at least, it has a SODIM DDR4 slot for PL memory extension.

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

79282816

Date: 2024-12-15 17:36:57
Score: 1.5
Natty:
Report link

You can try putting preserve scroll on your update function. Something like this: const update = () => { form.put(/budget/${props.budget.id}, { preserveScroll: true }); }

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

79282814

Date: 2024-12-15 17:34:56
Score: 0.5
Natty:
Report link

Parse the RTF and convert the relevant parts to MigraDoc objects.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: I liked the old Stack Overflow

79282811

Date: 2024-12-15 17:30:55
Score: 5.5
Natty:
Report link

I’m facing the exact same issue. I’ve been dealing with this for over a month now, and despite trying everything ...

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): facing the exact same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Marcos B

79282809

Date: 2024-12-15 17:28:54
Score: 0.5
Natty:
Report link

Follwoing you need to make.

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

79282805

Date: 2024-12-15 17:25:53
Score: 2.5
Natty:
Report link

je viens de realiser tout sur codeigniter mais je ne parviens a retrouver la page sur xamp apres avoir le ";" dans le php.ini et aussi ajouter "C:\xampp\php" dans le variable d'environnement

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

79282794

Date: 2024-12-15 17:16:52
Score: 1
Natty:
Report link

This is actually typical issue where users and technicians are separated. Tons of users think, they know it all, but really don't know anything. No offense, let me explain.

While users often think, they see letters and number and colors on the screen and that is what the device handles as well, the truth is, these are electronic devices that don't know letters and numbers and colors and they only know power and no power. Meaning, there is no color in storage. Which is what a file is. A file represents data on the hard drive. Which still is being stored in some representation of power and no power, not letters, numbers and colors.

This means, that the data is being interpreted in such a way, that it is being DISPLAYED in color on your monitor, but it is not actually color in storage. There is some code that tells the device, that certain parts are not text to output, but formatting. Also meaning, that displaying data in color depends on an INTERPRETER, aka the application that makes use of the data, that distinguishes between formatting and text in the data! It also means, that interpretations can be different from interpreter to interpreter.

That said, you mention a specific example FbBlack. To me, this immediately reminds me about codes that are being used to display colored text in LINUX SHELLS like bash or fish.

What that means is, you can actually write this into pretty much ANY file, even text file. But there is a difference between opening it in a text editor or in, say, the web browser. If you open it with a text editor, the text editor doesn't handle color and will interpret everything in the file as output text and thus will show the formatting instructions as output text as well. But in case you read the text from the file with your programming language, in this case JavaScript, and output the text with the code in a shell like bash, bash or fish will interpret the code as instruction instead of output text and instead of showing the code as text, display the following code in color.

This is the same for ALL formats actually and Quentin failed to explain this properly. The difference between color and no color is actually not text file vs. HTML file or RTF. You can write text in HTML files all day and it won't display in color, just because the file name ends in .html. The difference is actually the viewer you use and more specifically, how it interprets the data. Because if you open HTML in a text editor, you will see the HTML tags as plain text and if you open the HTML file in a browser, they will be interpreted as tags, thus formatting, rather than plain output text.

Frankly, the extension helps WINDOWS (not Linux for example) to determine which application to open it with to make sure it is being interpreted correctly. The truth is, the extension does not force you to actually put the correct data and format into the file. Therefore, you don't actually have to use RTF or HTML. Even less so, if you want to output the text in the console. But it would be appropriate to use the fitting file extension for the instructions you used in the file.

(You should take your own advice, Quentin! Combined glyphs? Wrong interpretation? Talking around the topic for nothing...)

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

79282790

Date: 2024-12-15 17:14:51
Score: 0.5
Natty:
Report link

Turns out this is a problem on React Native. Something is broken on the internals, although my code is correct, the runtime_error is not being correctly mapped to a generic std::exception.

https://github.com/facebook/react-native/issues/48027

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

79282784

Date: 2024-12-15 17:10:50
Score: 0.5
Natty:
Report link

https://developer.arm.com/documentation/100068/0623/Migrating-from-armasm-to-the-armclang-Integrated-Assembler/Data-definition-directives

I think I found the definition of this ARM directive here :

.inst Allocate a block of memory in the code, and specify the opcode. In A32 code, this is a four-byte block. In T32 code, this can be a two-byte or four-byte block. .inst.n allocates a two-byte block and .inst.w allocates a four-byte block.

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

79282781

Date: 2024-12-15 17:07:48
Score: 9 🚩
Natty: 5
Report link

I have exactly the same problem, did you solve it? :)

I tried changing the response to the webhook to force this specific thread, but it didn't work.

I wonder if the only option is to send the response via the API, because I wouldn't want to do that. The bot sends a message via the webhook, we return an empty message, and we post the response via the API.

Reasons:
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • No code block (0.5):
  • Me too answer (2.5): I have exactly the same problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: kkolodziej

79282773

Date: 2024-12-15 17:03:47
Score: 2.5
Natty:
Report link

You can try by without using extract text and replace text .Use update record by using syslog reader as reader and json writer as writer then need to update the time stamp by using record path value./orig_timestamp in value use ${field.value:toDate():format("yyyy-MM-dd'T'HH:mm:ss.SSSZ")}

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

79282749

Date: 2024-12-15 16:45:43
Score: 2
Natty:
Report link

There are various libraries supporting type-safe serialization, with varying degrees of efficiency and need for manual intervention:

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

79282725

Date: 2024-12-15 16:31:40
Score: 1.5
Natty:
Report link

it looks like we have the same problem,for some project that i have sometimes it worked sometimes not ,for some my project im call the function in the root app

config/config.go

func InitConfig() {
    viper.SetConfigName("config")
    viper.SetConfigType("yaml")
    viper.AddConfigPath(".")
    err := viper.ReadInConfig()
    if err != nil {
        panic(fmt.Errorf("fatal error config file: %w", err))
    }
    replacer := strings.NewReplacer(".", "_")
    viper.SetEnvKeyReplacer(replacer)
    viper.AutomaticEnv()
}

cmd/root.go(or just call it in your main.go)

   func initConfig(){
        config.InitConfig()
    }

    func Execute(){
        initConfig()
        if err := rootCmd.Execute(); err != nil {
            log.Fatal(err)
        }
  }
Reasons:
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same problem
  • Low reputation (1):
Posted by: Kanisius X-1

79282722

Date: 2024-12-15 16:30:38
Score: 7 🚩
Natty: 6.5
Report link

Have you completed this project???

Reasons:
  • Blacklisted phrase (1): ???
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andres Diaz

79282720

Date: 2024-12-15 16:28:38
Score: 3
Natty:
Report link

dhxjwgdhyxhextehuxydjsudyjwuxywjsxhwuxyxhsuuyzhdueydhxyshzucysjuxysjisyxwhcigedjjcgwnxigwbxutwhsitwjxutwhxutwbduyehxueghduegwbuxfwbusgwhzutwhsugwbuxgwbsygwbsygwhsywfsvudtwhs7twgzuwthsuxtwhxugwhhdutwhxuegbzudgbsjshshdueghshsusgxuysgxuxyshxuz

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Asim Ahmed

79282717

Date: 2024-12-15 16:27:37
Score: 1
Natty:
Report link

It looks like you need to pass this data to the .render() call and modify your HTML file to have value attributes in those <input> tags. They would need to render data passed into the template rendering engine through that render() call, accessing them by their context names. Do you have that on GitHub or somewhere? There's code in other modules that might give you some clue.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: webknjaz -- Слава Україні

79282714

Date: 2024-12-15 16:26:37
Score: 1.5
Natty:
Report link

Manual protobuf serialization over TCP? Totally fine. People overcomplicate this stuff.

Basically, gRPC is like bringing a tank to a go-kart race. If you just need to move some bytes fast, just do that. Serialize your protobuf, send the bytes, done.

# Dead simple
sock.send(your_message.SerializeToString())

That's it. No rocket science. You'll probably get like 30% better performance by skipping all the gRPC overhead. HTTP/2, service discovery, all that jazz - great for big distributed systems, total overkill if you're just moving data between two points. Just make sure you handle your socket connection and maybe add a little length prefix so you know exactly how many bytes to read. But seriously, it's not complicated. Want me to show you a quick example of how to do it right?

Quick Code Example

import socket
from google.protobuf import your_message_pb2

def send_protobuf(sock, message):
    data = message.SerializeToString()
    sock.sendall(len(data).to_bytes(4, 'big') + data)

def receive_protobuf(sock, message_class):
    length = int.from_bytes(sock.recv(4), 'big')
    data = sock.recv(length)
    
    message = message_class()
    message.ParseFromString(data)
    return message
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: 0x8D

79282709

Date: 2024-12-15 16:24:36
Score: 4.5
Natty:
Report link
For Kafka Server

 

*********SECURITY using OAUTHBEARER authentication ***************

sasl.enabled.mechanisms=OAUTHBEARER

sasl.mechanism.inter.broker.protocol=OAUTHBEARER

security.inter.broker.protocol=SASL_PLAINTEXT

listeners=SASL_PLAINTEXT://localhost:9093

advertised.listeners=SASL_PLAINTEXT://localhost:9093

*Authorizer for ACL

authorizer.class.name=kafka.security.auth.SimpleAclAuthorizer

super.users=User:0oalmwzen2tCuDytB05d7;

**************** OAuth Classes *********************

sasl.jaas.config=org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule required OAUTH_LOGIN_SERVER=dev-someid.okta.com OAUTH_LOGIN_ENDPOINT='/oauth2/default/v1/token' OAUTH_LOGIN_GRANT_TYPE=client_credentials OAUTH_LOGIN_SCOPE=broker.kafka OAUTH_AUTHORIZATION='Basic AFSDFASFSAFWREWSFDSAFDSAFADSFDSFDASFWERWEGRDFASDFAFEWRSDFSDFW==' OAUTH_INTROSPECT_SERVER=dev-someid.okta.com OAUTH_INTROSPECT_ENDPOINT='/oauth2/default/v1/introspect' OAUTH_INTROSPECT_AUTHORIZATION='Basic AFSDFASFSAFWREWSFDSAFDSAFADSFDSFDASFWERWEGRDFASDFAFEWRSDFSDFW==';

listener.name.sasl_plaintext.oauthbearer.sasl.login.callback.handler.class=com.oauth2.security.oauthbearer.OAuthAuthenticateLoginCallbackHandler

listener.name.sasl_plaintext.oauthbearer.sasl.server.callback.handler.class=com.oauth2.security.oauthbearer.OAuthAuthenticateValidatorCallbackHandler

********** SECURITY using OAUTHBEARER authentication ***************

I followed this article https://medium.com/egen/how-to-configure-oauth2-authentication-for-apache-kafka-cluster-using-okta-8c60d4a85b43

Now the problem is I want to write a producer and consumer with Java-code which should be provider independent such as such as okta , keycloak ,IBM Security Access Manager (ISAM) Identity Provider.

How can I achieve that?

Reasons:
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (0.5): medium.com
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Omsairam

79282699

Date: 2024-12-15 16:20:35
Score: 1.5
Natty:
Report link

in december/2024:

only set this value to false in settings.json

"explorer.excludeGitIgnore": false,

or set in this option

https://imgur.com/tVvHIpi

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

79282695

Date: 2024-12-15 16:19:35
Score: 3.5
Natty:
Report link

I've tried using different libraries like fpdf2, but the Sihari of the Punjabi text is misplaced, showing shifted to the next character.

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

79282685

Date: 2024-12-15 16:15:33
Score: 3
Natty:
Report link

I think that the barrel size should be small enough so that the loading time can be reduced.

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

79282683

Date: 2024-12-15 16:14:33
Score: 1
Natty:
Report link

Commenting to follow. I have a different issue but this is closely related. I need to update snapshot properties after table is written due to work flows. Pyspark doesn’t seem to have a way I’ve only seen Java used

    import org.apache.iceberg.*;
    import org.apache.iceberg.nessie.NessieCatalog;
import org.apache.iceberg.catalog.TableIdentifier;
import io.kontainers.iceberg.nessie.NessieConfig;
import java.util.HashMap;
import java.util.Map;

public class ModifySnapshotExample {
    public static void main(String[] args) {
        // Connect to the Nessie catalog
        String nessieUrl = "http://your-nessie-server:19120";
        String catalogName = "nessie";
        String database = "your_database";
        String tableName = "your_table";

        NessieConfig config = new NessieConfig();
        config.setNessieUri(nessieUrl);

        // Instantiate the Nessie catalog
        NessieCatalog catalog = new NessieCatalog();
        catalog.configure(config);

        // Load the Iceberg table from the Nessie catalog
        Table table = catalog.loadTable(TableIdentifier.of(database, tableName));

        // Retrieve the current snapshot
        Snapshot currentSnapshot = table.currentSnapshot();
        if (currentSnapshot != null) {
            System.out.println("Current Snapshot ID: " + currentSnapshot.snapshotId());

            // Create a map of new properties to add to the snapshot
            Map<String, String> newProperties = new HashMap<>();
            newProperties.put("snapshot.custom.property", "new_value");

            // Apply the new properties to the snapshot
            // You could use the commit API or table metadata API
            table.updateProperties()
                 .set("snapshot.custom.property", "new_value")
                 .commit();

            System.out.println("Snapshot properties updated.");
        } else {
            System.out.println("No snapshot found.");
        }
    }
}`enter code here

`

But seems clunky.

Any other advice is appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tobias Caouette

79282678

Date: 2024-12-15 16:09:32
Score: 2
Natty:
Report link

I too once saw that in a website, it was used to provide an <input type='file'/> functionality in a button.

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

79282675

Date: 2024-12-15 16:07:32
Score: 1
Natty:
Report link

This site uses Cloudflare Cloudflare Bot Fight Mode, you need to use TLS Client, try with TLS Requests to bypass.

pip install wrapper-tls-requests

Example

import tls_requests
r = tls_requests.get('https://www63.bb.com.br/portalbb/djo/id/resgate/dadosResgate.bbx')
print(r) # <Response [200]>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Earn Pham

79282674

Date: 2024-12-15 16:07:32
Score: 0.5
Natty:
Report link

In whatever component you are using window, inject PLATFORM_ID as well:

constructor(@Inject(PLATFORM_ID) private platformId: Object) {}

ngOnInit() {
  if (isPlatformBrowser(this.platformId)) {
    // This code will only run in the browser
    console.log(window);
  }
}

Now you're good to go.

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

79282673

Date: 2024-12-15 16:06:31
Score: 0.5
Natty:
Report link

In python 3.12.4 or python 3.10.13 bistro,
You might use grpcio==1.68.1 and grpcio-status==1.68.1.

Downgrading grpcio and grpcio-status to version 1.67.1 resolves your warning problem clearly.

pip install grpcio==1.67.1 grpcio-status==1.67.1 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Notepad

79282671

Date: 2024-12-15 16:06:31
Score: 0.5
Natty:
Report link

Just implemented few months ago using this

Here an example using node.js

await client.messages.create({
  contentSid,
  contentVariables: JSON.stringify(contentVariables),
  from: <messageServiceSid>,
  to: `whatsapp:${phone}`,
})

As you can see from has to be the message service sid and not the phone number.

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

79282662

Date: 2024-12-15 16:02:29
Score: 4
Natty: 5.5
Report link

can i see for complete your code? i still confuse about organization chart with data, i use codeigniter

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can i
  • Low reputation (1):
Posted by: Machasin Nur

79282657

Date: 2024-12-15 15:57:28
Score: 4.5
Natty:
Report link

Try following this Getting started with sign in with Google on Android

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

79282651

Date: 2024-12-15 15:55:27
Score: 1
Natty:
Report link

Try to change your address string from:

adr = "USB::0x2A8D::0x1766::MY57251874::INSTR"

to:

adr = "USB0::0x2A8D::0x1766::MY57251874::INSTR"

Notice the additional "0" at the end of "USB" at the beginning of your address string.

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

79282640

Date: 2024-12-15 15:46:25
Score: 3
Natty:
Report link

The problem seems to be the 64bit version of Python. After installing the 32bit version the MySQL connector worked.

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

79282629

Date: 2024-12-15 15:40:24
Score: 2
Natty:
Report link

It is probably a little bit late for this but I just came across this issue and there is a quite easy fix to that. Seperate your CLickGUI into 3 different Classes one for the Category one for the Modules and one For the settings and then render them accordingly because ur way of positioning elements makes 0 sense.

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