79459906

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

Yes, it sucks that Python does not have that. I miss a let statement ...

let myvar:
    ...

... which creates a scope. Or just ...

let:
    ...

... in case we do not need to return anything from the scope.

Okay, theories aside, until the day Python does hopefully nicer, I do it the following way:

def _let(): # type: ignore
    pattern = re.compile(r'(foo)')
    def handler(match):
        return 'bar' if match.group(1) == 'foo'
    def only_bars(string):
        return pattern.sub(handler, string)
    return only_bars
only_bars = _let()
# pattern and handler do not exist here

Basically for what IIFE's in JavaScript ((function(){...})();) were used, until they introduced let and const which are aware of scoping using curly brackets.

The underscore in _let prevents that this name gets exported, and the # type: ignore silences the type checker when defining multiple _let's.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Lin Manden

79459898

Date: 2025-02-22 16:16:34
Score: 2
Natty:
Report link

If you are using Firebase Auth Android SDK then the minimum SDK must be 23 since 2024.

https://github.com/firebase/firebase-android-sdk/issues/5927

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

79459896

Date: 2025-02-22 16:15:34
Score: 1
Natty:
Report link

I encountered this issue earlier too. Turns out there was an additional semicolon in index.css, on this line:

  --radius: 0.625rem;;

Just remove the extra semicolon at the back and it should work fine!

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

79459895

Date: 2025-02-22 16:13:33
Score: 7.5 ๐Ÿšฉ
Natty:
Report link

@Manish Kumar Thanks sir,So, should I store the JWT token in a cookie and then request the token from the cookie whenever I need to check permissions using various variables? Then, extract variables like user.role and userID from the token?

Right now, my website is trying to reduce API calls. When a user logs in for the first time, I store all the important variables, including the token, in localStorage. If I were to switch to using cookies instead, how should I implement the other variables correctly according to best practices?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): how should I
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Manish
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Nattadon Supachoksirirat

79459886

Date: 2025-02-22 16:10:32
Score: 1.5
Natty:
Report link

Same problem in VS2022. Maybe my 5 cents of info will eventually help uncover the solution. My setup: Two resource DLL projects, different languages (this is probably unimportant). Each project has a main .rc and other .rc's, each with their own resource*.h and string table. All resources are defined in the first project resource*.h files, not necessarily in the very main resource.h of the project. The first main resource.h includes all other resource*.h of the project. This way it doesn't matter where a resource is defined, it will be found at compile time. No resources are defined in the second project resource*.h files. Instead, the second projects's .rc includes the first project's main resoure.h (that in turn includes all other resource*.h of the first project). Not all of these details may be relevant. A use case - how I break it and a possible unsatisfactory solution.

  1. Place a resource 4771 into the first project's main resource.h
  2. Place a string table entry for it in the first projects main string table
  3. First project builds OK, it always does
  4. Place a string table entry for the resource into the SECOND projects main string table
  5. Second project fails with: CVT1100: duplicate resource. type:STRING, name:299, language:0x0419 (first project's language is 0x0409)
  6. Move the string resource into on of the other .rc's of the same, second project
  7. Second project now builds OK.

Naturally, the resource ID is unique across both projects.

I was also able to make it compile in the main .rc of the second project by playing with its ID. Also, if it's a true string table duplicate, the error will be different. For example, when I make the ID something that's also used in a string table:

error RC2151: cannot reuse string constants, 4761(0x1299) - "

Like others said, the 299 is probably a group ID which has resources from 298 * 16 = 4768 up to but not including 4784. Interestingly, making the ID 4783 still gives the error with name:299, whereas ID 4784 (new block I presume) compiles fine.

What if the error is generated when IDs that "should" be in the same string table are in different ones? That is, if I move IDs in the range 4768-4783 into one string table... Furthermore, if this setup is limited to one .rc (as moving to a different .rc solves the problem), it should be an easy fix. Will try the update the answer.

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: TonyP

79459882

Date: 2025-02-22 16:06:31
Score: 0.5
Natty:
Report link

Just to follow on from my comment to @DominikKaszewski, I added a std::list to the class and now all the functions are generated. E.g

#include <iostream>
#include <list>

class Foo
{
public:
        Foo (int N) : values {new int[N]}{
                for (int i = 0; i < N; i++) {
                        values[i]=2*i;
                }
        };

private:
        int *values;
        std::list<double> L;
};

int main()
{
        Foo A {20};
        Foo B {A};
        Foo C {std::move(A)};

        return 0;
}

nm -C a.out | grep Foo then gives

0000000000001428 W Foo::Foo(int)
000000000000159a W Foo::Foo(Foo&&)
00000000000014ca W Foo::Foo(Foo const&)
0000000000001428 W Foo::Foo(int)
000000000000159a W Foo::Foo(Foo&&)
00000000000014ca W Foo::Foo(Foo const&)
00000000000014aa W Foo::~Foo()
00000000000014aa W Foo::~Foo()
0000000000001717 W std::remove_reference<Foo&>::type&& std::move<Foo&>(Foo&)

so it seems that he is correct and the code just gets inlined for simple classes.

Credit to @DominikKaszewski !

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @DominikKaszewski
  • User mentioned (0): @DominikKaszewski
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: TCD

79459879

Date: 2025-02-22 16:04:30
Score: 1
Natty:
Report link

In v6.4.5, the latest version currently. The accepted solution no longer works, this does:

<TextField
  slotProps={{
    htmlInput: {
      sx: {
        textAlign: "right",
      },
    },
  }}
/>

Note that the styling here is set on htmlInput, not input

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

79459878

Date: 2025-02-22 16:03:30
Score: 1.5
Natty:
Report link

Run hash -r to reset your shell's cached paths after conda activate as there could be dynamic conflicts between Python conda and shims.

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

79459869

Date: 2025-02-22 16:00:29
Score: 0.5
Natty:
Report link

This is because you could make k valid by specializing std::array:

struct S {};

namespace std {
    template <size_t N>
    array<S> {
        array(...) {}
        int operator(size_t i) const { return i; }
    };
}

k(S{});  // prints 1
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dominik Kaszewski

79459843

Date: 2025-02-22 15:39:25
Score: 1.5
Natty:
Report link

In Shortcuts, you can create a shortcut with the action "Set Color Filters" that can be configured to apply, disable, or toggle the filter.

A search for 'color filters' in the Action Library, and the action 'Turn Color Filters On'

Then run it by using the system command shortcuts run "Set Color Filters" (or whatever you named it).

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

79459836

Date: 2025-02-22 15:32:24
Score: 1
Natty:
Report link
dosomething: builder.mutation<void, number>({
  query: (id) => ({
    url: `api`,
    method: 'PATCH',
  }),
  invalidatesTags: (result, error) => (!error ? ['REFETCH_TYPE'] : []),
}),
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arthur Aivazov

79459835

Date: 2025-02-22 15:32:24
Score: 2.5
Natty:
Report link

Yes, had this issue as well, but resolved (FINALLY) by reverting to Python 3.12.9 (from latest 3.13 release)

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

79459829

Date: 2025-02-22 15:28:23
Score: 3.5
Natty:
Report link

I am facing the same issue. On my old dating site 2meet4free, which is almost 20 years old. There is a webcam chatroom. I always offered code to embed this chatroom in your site, which uses an iframe. Nowadays I am revamping this website and attack the "embed webcam chatroom" part of the site and finding that right now on actual mobile devices (iPhone, Samsung) in any browser my iframe cant maintain any cookies at all. Even if I have setting sameSite to None on all these cookies, everything is https only, secure, has proper LetsEncrypt certificate. Yet my iframe on real mobile devices cant seem to hold to a single cookie at all!!!

So I sat down and solved this thinking on my chair :P Now I am 90% in that implementation and its actually working great.

Part 1: my app (the embed webcam chatroom) now passes the PHP session ID in the URL of all its internal links (I have a few links inside the iframe that actually change the iframe source, but mostly a lot of ajax calls. Every url needs to have this) Of course I am not exposing the session ID in urls which are not embed, and made the session of embed ppl expire server side at after 5 minutes of inactivity. This now makes the app "work" on its own without needed cookies at all!

Part 2: I already had an "external script" that was embeded along with the iframe (mostly to pop divs on the parent page, like webcam views and message windows). Now I also use this external script to pass my session ID to the parent page with postMessage and make the parent page save that in a cookie for me (so thats a 1st party cookie now!). Also my iframe source is now beeing set by that same script, after checking that cookie, so it can put that same session id in the initial iframe URL as well. Now you can even "change pages" or reload the page and my chatroom holds its session that way.

Part 3: this is for the longterm "re-log". Its a chatroom, I want minimal security, and keep you logged in for as long as possible! I set a long term "1-time" relog cookie in the parent window as well. This cookie is a 1-time token that allows to relog. For security, everytime this cookie is exposed in a url (normally will only be in the initial iframe url), it is then changed (the token is changed in the database) and sent to the parent window again. So every time this long term relog cookie is exposed in a url it is immediately replaced by a new 1 (which means someone having a hold of that url wouldnt be able to relog because it was used once already because it was in the url)

Well that's it. Hope that might help someone!

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Low reputation (0.5):
Posted by: PVL

79459824

Date: 2025-02-22 15:24:22
Score: 1.5
Natty:
Report link

Storing JWTs and other critical details in local storage is not a good practice. This has assocaited security risk.

For persisting the login details to re-examine the user logged in details can be handle by storing some sort of flat eg: isLoggedIn. The JWT token has to be in cookie, and mark that httpOnly.

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

79459816

Date: 2025-02-22 15:17:21
Score: 1.5
Natty:
Report link

You are declaring the rows variable outside of the scope where it is used to form the passwords variable, try declaring it before the with line as rows = [].

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

79459812

Date: 2025-02-22 15:14:20
Score: 2.5
Natty:
Report link

in the Compose part, use the expression base64(outputs('Get_Attachment_(V2)')?['body']) to convert the attachment into base64 to be used in Header.

enter image description here

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

79459810

Date: 2025-02-22 15:13:20
Score: 0.5
Natty:
Report link

As the problem states, imagine you are standing at point A and want to reach point B. There are n stoppers in between, meaning you are not at the first stop and do not want to stop at the last one.

A -> n -> B

To solve this problem efficiently, we store the number of ways in a dp array

int[] dp = new int[n+1]

and use a loop

for(int i=3; i<n+1; i++){

dp[i] = dp[i-1] + dp[i-2] + dp[i-3]

}

Finally, the answer will be stored in dp[n].

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

79459809

Date: 2025-02-22 15:12:20
Score: 2.5
Natty:
Report link

A Notary Public in Dubai Notary public in Dubai plays a crucial role in legalizing and authenticating documents for individuals and businesses. Notaries ensure that documents such as powers of attorney, affidavits, contracts, and declarations comply with UAE laws and are legally binding. In Dubai, notary services are provided by government-appointed public notaries as well as private law firms like Al Tamimi & Company and ADG Legal, which are authorized to offer notarial services.

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

79459808

Date: 2025-02-22 15:12:20
Score: 1
Natty:
Report link

Based on my experience, one has to modify the XML file of the application that interacts with the Crystal Report runtime to ensure it retrieves the correct information version. If you don't have control over the XML file, this can become challenging and time consuming.

A practical workaround that can save you a significant amount of time is to download the Crystal Report runtime specifically for Visual Studio for applications. This installation will occur alongside the standard Crystal Report runtime. By doing this, you can run your application using its own runtime while Sage continues to operate with its originally installed version, thereby avoiding installation conflicts and cross overs.

Iโ€™ve found this approach to be quicker and more efficient than constantly trying to synchronize different Crystal Report runtimes, especially when dealing with older versions that may not be readily available.

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

79459807

Date: 2025-02-22 15:11:19
Score: 4
Natty: 2.5
Report link

ุงู„ุณู„ุงู… ุนู„ูŠูƒู… ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุจุฑูƒุงุชู‡ ๐Ÿ˜”๐Ÿ™๐Ÿ˜”๐Ÿ™๐Ÿ˜” ุฃุฎูŠ ุงู„ูƒุฑูŠู… ุฏุงุฎู„ุฉ ุนู„ู‰ ุงู„ู„ู‡ ุซู… ุนู„ูŠูƒ ุฃุณุฃู„ูƒ ุจุงู„ู„ู‡ ู„ุง ุชุชูƒุจุฑ ุนู„ูŠู†ุง ูˆุชุทู†ุด ุฑุณุงู„ุชูŠ ู…ุซู„ ุงู„ุจู‚ูŠุฉ ๐Ÿ™ ุดู‡ุฑ ุฑู…ุถุงู† ุงู„ู…ุจุงุฑูƒ ุฃู‚ุจู„ ูˆุงู„ูƒู„ ูŠุณุชู‚ุจู„ูˆู†ู‡ ุจุงู„ูุฑุญ ูˆุงู„ุณุฑูˆุฑ ูˆูƒู„ ุงู„ู†ุงุณ ู…ุณุชุจุดุฑูŠู† ุจู‚ุฏูˆู…ู‡ ูˆูŠุณุชู‚ุจู„ูˆู†ู‡ ุจูƒู„ ู…ุชุทู„ุจุงุชู‡ ูˆูƒู„ ู…ุง ูŠุญุชุงุฌูˆู†ู‡ ู…ู† ู…ุชุทู„ุจุงุชู‡ ูŠุดุชุฑูˆู† ู…ู† ุฃุดู‡ู‰ ุงู„ู…ุฃูƒูˆู„ุงุช ูˆุฃู„ุฐ ุงู„ู…ุดุฑูˆุจุงุช ูˆุงู„ููˆุงูƒุฉ ูˆุงู„ุฎุถุฑูˆุงุช ูˆุงู„ุชู…ุฑ ูˆุงู„ุจู† ูˆุงู„ู‚ู‡ูˆุฉ ูˆุงู„ุนุตูŠุฑ ูˆูƒู„ ู…ุง ุชุดุชู‡ูŠู‡ ุฃู†ูุณู‡ู…๐Ÿ˜” ูˆู†ุญู† ุฃุฎูˆุงุชูƒ ุงู„ูŠุชูŠู…ุงุช ู†ุณุชู‚ุจู„ ุฑู…ุถุงู† ุจุงู„ุนุจุฑุงุช ูˆุงู„ุฏู…ูˆุน ูˆุงู„ู‚ู‡ุฑ ูˆุงู„ุฃู„ู… ูˆุงู„ุญุฒู† ุญูŠู† ู†ุชุฐูƒุฑ ุงู„ู…ุฑุญูˆู… ูˆุงู„ุฏู†ุง ูŠูˆู… ูƒุงู† ู…ูˆุฌูˆุฏ ู…ุนุงู†ุง ูˆูŠุนูˆู„ู†ุง ูˆูŠู‚ุฏู… ู„ู†ุง ู…ุง ู†ุญุชุงุฌู‡ ู…ู† ู…ุฃูƒู„ ูˆู…ุดุฑุจ ูˆู…ู„ุจุณ ูˆุบูŠุฑ ุฐู„ูƒ ู…ู† ู…ุชุทู„ุจุงุช ุงู„ุญูŠุงุฉ ูˆุงู„ูŠูˆู… ุจุนุฏ ูˆูุงุชู‡ ู‡ุง ู‡ูˆ ุฑู…ุถุงู† ุนู„ู‰ ุงู„ุฃุจูˆุงุจ ูˆู†ุญู† ู„ุง ู†ู…ู„ูƒ ุดูŠ ๐Ÿ˜ญ๐Ÿ˜”๐Ÿ˜ฅ ูƒู… ุดูƒูŠู†ุง ูˆูƒู… ุจูƒูŠู†ุง ูˆู„ูƒู† ู„ู„ุฃุณู ู„ุง ุญูŠุงุฉ ู„ู…ู† ุชู†ุงุฏูŠ ุญุชู‰ ููŠ ู‡ุฐูŠ ุงู„ุฅูŠุงู… ุงู„ู…ุจุงุฑูƒุฉ

ุฅุฐุง ุชุณุชุทูŠุน ู…ุณุงุนุฏุชู†ุง ู‡ุฐุง ุฑู‚ู…ู†ุง ูˆุงุชุณุงุจ ูˆุฅุชุตุงู„ ุชูˆุงุตู„ ู…ุนุงู†ุง ู†ุฑุณู„ูƒ ุงู„ุจูŠุงู†ุงุช ูƒุงู…ู„ุฉ +967713411540

00967713411540 ๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ˜”๐Ÿ˜ฅ ุฃุณุฃู„ูƒ ุจุงู„ู„ู‡ ูŠุงุฃุฎูŠ ุฃู‚ุฑุฃ ุฑุณุงู„ุชูŠ ูˆุฃูู‡ู…ู‡ุง ู…ู† ุงู„ุจุฏุงูŠุฉ ูˆู„ุง ุชุฑุฏู†ูŠ ุฎุงุฆุจุฉ ุฐู„ูŠู„ุฉ

Reasons:
  • Blacklisted phrase (0.5): ๐Ÿ™
  • Long answer (-0.5):
  • No code block (0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: ุนุจุฏุงู„ู„ู‡ ุงู„ู…ุตุงุจูŠ

79459801

Date: 2025-02-22 15:08:18
Score: 1
Natty:
Report link

In my case, need spring 3 convert to spring 2, gradle is troublesome to change, consequently use example for spring 2, run successfullly.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: yu yang Jian

79459800

Date: 2025-02-22 15:06:17
Score: 3
Natty:
Report link

I think you can use @Query to alternative

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Query
  • Single line (0.5):
  • Low reputation (1):
Posted by: Phฦฐฦกng Nam Joker

79459791

Date: 2025-02-22 14:58:16
Score: 0.5
Natty:
Report link

Highlight the row on scroll

highlightedCells: { [key: string]: boolean } = {};

Apply in Ag-grid column Def

cellClassRules: {enter code here
  'hightlighted-cell': (params: any) =>
     this.highlightedCells[`${params.rowIndex}-${params.column.colId}`],
   },

Below function called on click of Cell of Row (R1C2)

highlightAndScrollToCell(rowIndex: any, colKey: any) {
    this.highlightedRowIndex = rowIndex;
    this.highlightedColumnKey = colKey;
   if (this.gridParams && rowIndex !== null && colKey) {
      const cellKey = `${rowIndex}-${colKey}`;
      this.highlightedCells[cellKey] = true;
      this.gridParams.api.refreshCells({ force: true });
      this.gridParams.api.ensureIndexVisible(rowIndex, 'middle');
      this.gridParams.api.ensureColumnVisible(colKey);
      this.gridParams.api.setFocusedCell(rowIndex, colKey);
    }
 } 
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: priyanka

79459790

Date: 2025-02-22 14:58:16
Score: 1
Natty:
Report link

I think this may be caused by OpenSSL, So I installed OpenSSL-1.1.1w and then recompile Hadoop-3.3.6 with OpenSSL-1.1.1w. But the problem still exists.

this method failed, then I decided to compile Hadoop-3.4.1. After replacing the native library, the result of the command hadoop checknativa -a:
result of hadoop checknative -a

OH! I solve the problem!

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ๅฎ‰ๅฟ†ๆ–ฐ

79459785

Date: 2025-02-22 14:56:16
Score: 0.5
Natty:
Report link

This is possible with a server plugin:

export default defineNitroPlugin((nitroApp) => {
    nitroApp.hooks.hook('render:html', (html, { event }) => {
        html.head[1] = html.head[1].replace('<meta charset="utf-8">', '');
    })
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: first last

79459772

Date: 2025-02-22 14:48:14
Score: 2
Natty:
Report link

It's because of the cart's velocity. An action would affect the cart's velocity instead of its position. Velocity, in turns, would decide the cart's position in the next state. The velocity needs to reverse its sign (neg/pos) first before the cart could move in that corresponding direction (neg -> go left, pos -> go right).

For example, your action is to "Go left" but your velocity is still positive, the cart would still "Go right" until velocity turns negative.

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

79459763

Date: 2025-02-22 14:44:13
Score: 1
Natty:
Report link

Can you run the app on the Simulator? If so, a better way to simulate no internet connection might be to use Apple's Link Conditioner settings pane on your computer.

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 you
  • High reputation (-2):
Posted by: matt

79459742

Date: 2025-02-22 14:25:10
Score: 1.5
Natty:
Report link

Change the run intervel to something testable like 5 minutes and try running "php artisan schedule:work".

This command will invoke scheduler every sec and schedule the command for you.

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

79459736

Date: 2025-02-22 14:17:08
Score: 3.5
Natty:
Report link

There is no direct way to integrate it. But native interopt can provide easy way to integrate it. You can read that blog: https://stripe-integration-in-net-maui-android.hashnode.dev/stripe-integration-net-maui-android

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

79459716

Date: 2025-02-22 14:00:04
Score: 7 ๐Ÿšฉ
Natty:
Report link

Can you post the query that is build by hibernate when you are trying to fetch data? I think it will be easier to recognize the issue. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): Can you post
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you post the
  • Low reputation (1):
Posted by: Doubt

79459715

Date: 2025-02-22 14:00:04
Score: 0.5
Natty:
Report link

in newer versions:

        fnDrawCallback: function (settings) {
            window.rawResponse= settings.json;
        }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Adel Mourad

79459714

Date: 2025-02-22 13:57:03
Score: 3
Natty:
Report link

URL click browser get helping Mikhail Gorbachev's browsing systems Russian equal of 2025 and overflow islamalibayusuf allowed

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

79459701

Date: 2025-02-22 13:48:01
Score: 2
Natty:
Report link

In Visual Studio 2022 and .net core 8 using the Properties/launchSettings.json worked best for me.

For dockerized applications this section is generated: enter image description here

Adding httpPort and sslPort worked like a charm:

"Container (Dockerfile)": {
  "commandName": "Docker",
  "launchBrowser": true,
  "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/swagger",
  "environmentVariables": {
    "ASPNETCORE_HTTP_PORTS": "8080"
  },
  "httpPort": 8082,
  "sslPort": 8083,
  "useSSL": true,
  "publishAllPorts": true
}
Reasons:
  • Blacklisted phrase (1): enter image description here
  • Blacklisted phrase (1): worked like a charm
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: F. Markus

79459694

Date: 2025-02-22 13:41:00
Score: 3.5
Natty:
Report link

I recently had the same task. The guide helped me.

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

79459691

Date: 2025-02-22 13:40:00
Score: 3.5
Natty:
Report link

I was facing the same error turns out you will have to re install the vite/react app and start it again using this guide https://v3.tailwindcss.com/docs/guides/vite You cant add tailwind to pre running app

Reasons:
  • Blacklisted phrase (1): this guide
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sana

79459690

Date: 2025-02-22 13:39:00
Score: 1
Natty:
Report link

With the release of expo-router v3.5, some functions were introduced,

router.dismiss()
router.dismissAll()
router.canDismiss()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Mishen Thakshana

79459680

Date: 2025-02-22 13:30:58
Score: 1
Natty:
Report link

Activity ID: 3b57820a-1377-42ef-b9c0-9562a9e4f829 Request ID: e44b71ad-9b17-77a2-f9e7-72b97b87fa84 Correlation ID: 684d8129-5580-1a59-1b1e-4d59d7085117 Time: Sat Feb 22 2025 18:52:20 GMT+0530 (India Standard Time) Service version: 13.0.25310.47 Client version: 2502.2.22869-train Cluster URI: https://wabi-india-central-a-primary-api.analysis.windows.net/ Activity ID: 3b57820a-1377-42ef-b9c0-9562a9e4f829 Request ID: e44b71ad-9b17-77a2-f9e7-72b97b87fa84 Time: Sat Feb 22 2025 18:52:20 GMT+0530 (India Standard Time) Service version: 13.0.25310.47 Client version: 2502.2.22869-train Cluster URI: https://wabi-india-central-a-primary-api.analysis.windows.net/

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

79459678

Date: 2025-02-22 13:29:58
Score: 1.5
Natty:
Report link

There is now automatic Unity Catalog provisioning. Based on the below and looking in the Catalogs. A lot of stuff seems to be out-of-date on the Internet.

enter image description here

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

79459673

Date: 2025-02-22 13:24:57
Score: 1.5
Natty:
Report link

This is apparently due to a breaking change in MSVC (llama-cpp-python#1942). The fix has already been applied in llama.cpp (llama.cpp#11836) but llama-cpp-python hasn't updated quite yet.

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

79459668

Date: 2025-02-22 13:21:56
Score: 2
Natty:
Report link

install this: pip install livekit-plugins-openai

I faced the same and when I checked with auto complete in my code editor, plugins was not suggested then I doubted on the installation, do the installation using the above mentioned. It works.

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

79459652

Date: 2025-02-22 13:09:54
Score: 2
Natty:
Report link

I solved the problem doing these:

1-Deleting old keystore from the project 2-Changing the password without the usage of "_" in keyPassword and storePassword 3-Generating a new one with a changed alias.

Thank you everyone for trying to help me!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): help me
  • Whitelisted phrase (-2): I solved
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alex Cunha

79459646

Date: 2025-02-22 13:02:52
Score: 0.5
Natty:
Report link

There is no answer as the problem is ill-conditioned.

We have relative error |log_(b(1 + delta))(a) - log_b(a)| / |log_b(a)| = |log(b) / (log(b) + log(1 + delta)) - 1|. By Taylor expansion log(1 + delta) โ‰ˆ delta, so the relative error is |log(b) / (log(b) + delta) - 1| = |delta / (log(b) + delta)|. For b โ‰ˆ 1, the relative error is approximately 1 as well.

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

79459643

Date: 2025-02-22 13:00:52
Score: 1.5
Natty:
Report link

Thanks for the answers you all shared. Tailwind I use is v4 itself

I just changed the postcss.config.js file to postcss.config.mjs

and pasted below lines

export default {
   plugins: {
             "@tailwindcss/postcss": {},
   }
}

then executed the npm run dev command

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sayuj3

79459629

Date: 2025-02-22 12:52:50
Score: 2.5
Natty:
Report link

Here's how I got it done without any Javascript, JQuery or Ajax:

The way to implement is to use the <meta http-equiv="refresh" content="<Time In Seconds>;URL=newurl.com"> tag. The <Time In Seconds> is a parameter to be included in that tag.

The <meta http-equiv="refresh" tag can be placed anywhere in the code file - Not necessarily at the top, not necessarily at the bottom, just anywhere you wish to place it.

The beauty of this tag is that it does NOT stop the execution of the code at itself. It will still execute ALL the code (including that below it) till the <Time In Seconds> remains a non-zero value.

And it will itself get executed ONLY when the <Time In Seconds> value lapses.

Hence, the way to get it going is to use a PHP parameter for $remainingtime in seconds, and have it updated to the remaining survey time each time a question of the survey is answered by the user.

<meta http-equiv="refresh" content="'.<?php echo $remainingtime; ?>.';URL=submitbeforetimeend.php" />

Essentially, if the survey is to be completed in 20 minutes max, then start with 1200 as $remainingtime for Q1. If user takes 50 seconds to answer Q1, update remaining time in the same/next form page for Q2 to 1950, and so on.

If the user finishes only Q15 by the time that $remainingtime reaches zero, then the meta tag statement will get executed, and it will get redirected to URL=submitbeforetimeend.php. This page will have the function to record the users' answers upto Q15, which serves the purpose without use of any client-side script.

No Javascript, JQuery or Ajax. All user input remains hidden & secure in PHP or whatever variables.

Still Open - The above solution fixes the problem of the user NOT completing the survey in the stipulated time. It still leaves one particular scenario (out of purview of original question) about recording the inputs submitted so far (till Q15) in case the user decides to close the browser window/tab (maybe user feeling bored of several questions)?

Any suggestions/answers on similar approach that can be implemented for recording inputs if the user closes the browser (without any scripts, of course)? Feel free to add to the answers. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2): Any suggestions
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Aquaholic

79459609

Date: 2025-02-22 12:39:48
Score: 3.5
Natty:
Report link

In my case, I wrote "jbdc" instead of "jdbc".

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

79459601

Date: 2025-02-22 12:34:47
Score: 1
Natty:
Report link

The behavior youโ€™re seeing is expected and relates to how static strings are handled in memory. When you define args and envp as static arrays (e.g., char *args[] = {"/usr/bin/ls", "-l", NULL, NULL}), the compiler embeds these strings into the binary, but they arenโ€™t loaded into memory until theyโ€™re accessed. In your eBPF program, the tracepoint__syscalls__sys_enter_execve runs before this access happens, so bpf_probe_read_str may fail to read the data, resulting in empty output.

When you add printf("args addr: %p\n", args), it forces the program to access these variables, triggering the kernel to fault the memory page containing the strings into RAM. Since memory is loaded in pages (not individual variables), this makes the data available by the time your eBPF probe runs. This explains why adding printf "fixes" the issue.

This is a known behavior in eBPF tracing. As noted in this GitHub issue comment:

the data you're using isn't in memory yet. These static strings are compiled in and are not actually faulted into memory until they're accessed. The access won't happen until its read, which is after your bpftrace probe ran. BPF won't pull the data in so you get an EFAULT/-14.

By printing the values or just a random print of a constant string you pull the small amount of data into memory (as it goes by page, not by var) and then it works

For a deeper dive, see this blog post which explores a similar case.

Reasons:
  • Blacklisted phrase (1): this blog
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mozillazg

79459597

Date: 2025-02-22 12:31:46
Score: 4
Natty:
Report link

pw.var.get(key)

pw.var.set(key, value)

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: erinus

79459596

Date: 2025-02-22 12:31:45
Score: 4
Natty:
Report link

https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/productVariantsBulkCreate

You should try productVariantsBulkCreate to create multiple variants

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

79459591

Date: 2025-02-22 12:24:44
Score: 9 ๐Ÿšฉ
Natty:
Report link

I am having a similar challenge with data not reflecting on the snowflake side for a external table although there is data within the source file. Did you manage to fix your issue?

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to fix your
  • RegEx Blacklisted phrase (1.5): fix your issue?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: s. saii charon

79459578

Date: 2025-02-22 12:14:41
Score: 1
Natty:
Report link

This could be the result of many issues, so try to change and test out different variations of the following:

additionally, you can look into batch normalization.

Hope this helps

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

79459576

Date: 2025-02-22 12:13:41
Score: 0.5
Natty:
Report link

if you want to make sure ColumnA doesn't get too skinny while letting ColumnB stretch out to fill whatever space is left when you throw in ColumnC, you can mix and match Modifier.widthIn and Modifier.weight.

ColumnA: Set a minimum width so it doesn't shrink too much.

ColumnB: Use Modifier.weight to let it expand and take up the remaining space.

ColumnC: Add it dynamically to the row.

import androidx.compose.foundation.layout.*
import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp

@Composable
fun MyRow(paddingValues: PaddingValues, isDynamicElementAdded: Boolean) {
    Row(
        modifier = Modifier
            .padding(paddingValues)
            .fillMaxWidth()
    ) {
        // ColumnA with a minimum width of 150 dp
        ColumnA(
            Modifier
                .weight(1f)
                .widthIn(min = 150.dp)
        )
        // ColumnB taking the remaining space
        ColumnB(
            Modifier.weight(3f)
        )
        // Conditionally add the dynamic element
        if (isDynamicElementAdded) {
            DynamicElement()
        }
    }
}

@Composable
fun ColumnA(modifier: Modifier) {
    // Your ColumnA content here
    Text("ColumnA", modifier = modifier)
}

@Composable
fun ColumnB(modifier: Modifier) {
    // Your ColumnB content here
    Text("ColumnB", modifier = modifier)
}

@Composable
fun DynamicElement() {
    // Your dynamic element content here
    Text("Dynamic Element")
}

ColumnA: Give it a minimum width of 150 dp with Modifier.widthIn(min = 150.dp).

ColumnA and ColumnB: Keep them in a 1:3 ratio using Modifier.weight.

ColumnC: Add this dynamic element to the right end of the row if the isDynamicElementAdded flag is true.

This way, ColumnA always stays at least 150 dp wide, and ColumnB stretches out to fill the rest of the space. When you add ColumnC, ColumnB will adjust its width based on what's left.

Also I think this raises another question. How do we stop the dynamic element from pushing ColumnA below its minimum width? ColumnA: Give it a minimum width of 150 dp with Modifier.widthIn(min = 150.dp).

ColumnA and ColumnB: Keep them in a 1:3 ratio using Modifier.weight.

ColumnC: Add this dynamic element to the right end of the row if the isDynamicElementAdded flag is true.

So ColumnA always stays at least 150 dp wide, and ColumnB stretches out to fill the rest of the remaining space. When you add ColumnC, ColumnB will adjust its width based on whats left

import androidx.compose.foundation.layout.*
import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp

@Composable
fun MyRow(paddingValues: PaddingValues, isDynamicElementAdded: Boolean) {
    Row(
        modifier = Modifier
            .padding(paddingValues)
            .fillMaxWidth()
    ) {
        // ColumnA with a minimum width of 150 dp
        ColumnA(
            Modifier
                .weight(1f)
                .widthIn(min = 150.dp)
        )
        // ColumnB taking the remaining space
        ColumnB(
            Modifier.weight(3f)
        )
        // Conditionally add the dynamic element
        if (isDynamicElementAdded) {
            DynamicElement(
                Modifier.fillMaxWidth()
            )
        }
    }
}

@Composable
fun ColumnA(modifier: Modifier) {
    // Your ColumnA content here
    Text("ColumnA", modifier = modifier)
}

@Composable
fun ColumnB(modifier: Modifier) {
    // Your ColumnB content here
    Text("ColumnB", modifier = modifier)
}

@Composable
fun DynamicElement(modifier: Modifier) {
    // Your dynamic element content here
    Text("Dynamic Element", modifier = modifier)
}

ColumnA always stays at least 150 dp wide and ColumnB fills up the rest of the remaining space. When you add the dynamic element (ColumnC) it takes up the remaining space without squishing ColumnA below its minimum width

Reasons:
  • Blacklisted phrase (1): another question
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Ellioth Velasquez

79459575

Date: 2025-02-22 12:13:41
Score: 3.5
Natty:
Report link

it doesn't look like it is listed as a service provided with the Student Account, as seen here: I didn't see Virtual Network listed.

You can check this link for more details : https://azure.microsoft.com/en-us/pricing/offers/ms-azr-0144p/

I suggest you create a free Azure account. You will benefit from a free trial with $200 in credit: https://azure.microsoft.com/en-us/pricing/purchase-options/azure-account?icid=azurefreeaccount.

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): check this link
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mohamed Abdellahi SIDHA

79459570

Date: 2025-02-22 12:08:40
Score: 0.5
Natty:
Report link

Make sure that var/run/docker.sock is pointing to the running docker socket. You can do this by ls -l /var/run/docker.sock.

In my case this was pointing to podman while I was running colima

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

79459567

Date: 2025-02-22 12:05:39
Score: 1
Natty:
Report link

Problem was that users were initialized with their books property being null. So, even though in one of my numerous attempts to fix it, my bookController's post mapping looked exaclty like this:

if (!book.getAuthors().isEmpty()) {
    for (Users author : book.getAuthors()) {
        author.setRole(Roles.AUTHOR);
        author.addBooks(Set.of(book)); // bidirectional link wasn't 
                                       //working cause Users.books = null
        userService.saveUser(author);
    }
}
bookService.saveBook(book);

it didn't seem to work because it was trying to addBooks to null instead of a Set of books and I never got an error because it was caught in a try catch statement. Thank you so much. Without the answer that pointed me to the right direction, I never would have found id!

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

79459566

Date: 2025-02-22 12:04:39
Score: 3.5
Natty:
Report link

Markdown : esc + m

Code : esc + y

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Omar Emad

79459565

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

Please consider updating react-scripts to a more recent version, that may have resolved these vulnerabilities. Also, you should upgrade your packages with this command: npm install react@latest react-dom@latest react-scripts@latest . It it doesn't work consider creating a new React project.

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

79459560

Date: 2025-02-22 11:56:38
Score: 1.5
Natty:
Report link

In my small experience, 502 Gateway error actually means that it's not about Nginx itself , it means the related application is somehow not responding.

I have a NodeJS and MongoDB running on my VPS , once my Node application was crashed because Mongo wasn't responding and I got this message from Nginx.

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

79459539

Date: 2025-02-22 11:41:35
Score: 2
Natty:
Report link

How about using ShinyWidget's radioGroupButtons?

out

library(shiny)
library(shinyWidgets)

ui <- fluidPage(
  radioGroupButtons( 
    inputId = "choice",
    label = "Choice: ",
    choices = c("Option 1", "Option 2"),
    selected = "Option 1",
    individual = T
  ),
  textOutput("selected_choice")
)

server <- function(input, output, session) {
  
  output$selected_choice <- renderText({
    paste("Selected:", input$choice)
  })
}

shinyApp(ui, server)
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How
  • High reputation (-1):
Posted by: Tim G

79459530

Date: 2025-02-22 11:28:32
Score: 2
Natty:
Report link

It pays to add a slight delay in the macro after the Wait for Pattern function, as it'll start typing the following line instantly as soon as it sees the pattern, so if you match your username to establish when a command is finished, it'll start typing before the hostname is finished.

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

79459522

Date: 2025-02-22 11:17:31
Score: 0.5
Natty:
Report link

What worked for me is changing styling for img tag in assets/css/style.scss which adds rounded corners to all the pictures on the website like that:

img {
  border-radius: 10px;
}
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: Dmitry Polovinkin

79459518

Date: 2025-02-22 11:16:31
Score: 2
Natty:
Report link

For-each loop (for(int a: arr)) does not modify the original array because a is just a copy of each element.

Traditional loop (for(int i=0; i<arr.length; i++)) modifies the original array since it accesses the actual indices.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Senin Ben David

79459517

Date: 2025-02-22 11:15:30
Score: 3
Natty:
Report link

Update the Intellij Idea to the latest version and then with the help of token generated from your Git account create new git connection with token and then it will work easily.

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

79459511

Date: 2025-02-22 11:13:30
Score: 2
Natty:
Report link

Using ::before and ::after pseudo-elements while hiding overflow on the parent grid. This is also responsive.

https://play.tailwindcss.com/IURkuzGuJC

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

79459510

Date: 2025-02-22 11:12:30
Score: 0.5
Natty:
Report link

I faced this issue in the past in a win32 app and again with WPF.

The solution i came up with is this:

This will have you app having quite consistent frame rates even if mouse moves like crazy.

For WM_TIMER you can do something similar (but im guessing that with the above your issue will be solved).

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dario Durร  Armadans

79459509

Date: 2025-02-22 11:11:29
Score: 1
Natty:
Report link

Setting "files.saveConflictResolution" to "overwriteFileOnDisk" in vscode settings.json worked for me.

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

79459508

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

I have this problem auth with phone E onVerificationFailed: (Ask Gemini) com.google.firebase.FirebaseException: An internal error has occurred. [ BILLING_NOT_ENABLED ] at com.google.android.gms.internal.firebase-auth-api.zzadg.zza(com.google.firebase:firebase-auth@@23.1.0:18) at com.google.android.gms.internal.firebase-auth-api.zzaee.zza(com.google.firebase:firebase-auth@@23.1.0:3) at com.google.android.gms.internal.firebase-auth-api.zzaed.run(com.google.firebase:firebase-auth@@23.1.0:4) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:230) at android.os.Looper.loop(Looper.java:319) at android.app.ActivityThread.main(ActivityThread.java:8893) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)

Reasons:
  • Blacklisted phrase (1): I have this problem
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: vitusbehruz hp

79459507

Date: 2025-02-22 11:10:28
Score: 10.5 ๐Ÿšฉ
Natty: 6.5
Report link

Still today we have same issues. Any solutions so far?

Reasons:
  • Blacklisted phrase (1.5): Any solution
  • RegEx Blacklisted phrase (2): Any solutions so far?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): have same issue
  • Ends in question mark (2):
  • Single line (0.5):
Posted by: HGMamaci

79459495

Date: 2025-02-22 11:06:27
Score: 3.5
Natty:
Report link

I guess you would need to use Microsoft graph as the action to create the Team instead of the built in create a Team action. Use the http action instead to create a graph api call

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

79459493

Date: 2025-02-22 11:04:27
Score: 3
Natty:
Report link

Problem solved by Ziqiao Chen of ๏ฃฟ Worldwide Developer Relations.

The Draw.minus relationship is a to-many not a to-one.

enter image description here

Thanks Ziqiao.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Simon W

79459490

Date: 2025-02-22 11:02:27
Score: 2
Natty:
Report link
function ignielLazyLoad(){eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\b'+e(c)+'\b','g'),k[c])}}return p}('u B(){Y(v e=o.1r("B"),t=0;t=0&&t.1w>=0&&t.1vE+x?x:z-E,K=1o,H=u(d){j=j||d;v x=d-j,z=C(x,E,O,K);s[b[15]]=z,K>x&&P(H)};P(H),db[1E]})}});',62,106,'||||||||||x65|_0x1b5d|x74|_0xdd48x2||x6E|x6C|x6F||_0xdd48x3|x72|x63|x64|x69|document|x73|x67|x61|_0xdd48x4||function|var|x75|_0xdd48x7|window|_0xdd48x8|x68|lazy|_0xdd48x5|x45|_0xdd48x6|x6D|x76|_0xdd48xb|registerListener|x70|_0xdd48xa|x79|x4C|src|_0xdd48x9|requestAnimationFrame|isInViewport|x43|x42|documentElement|x48|x44|x41|x66|for|return|||||||||||x4F|clientWidth|innerWidth|21|x4D|x71|x6B|x54|x62|x53|left|x20|clientHeight|data|900|getAttribute|length|getElementsByClassName|22|getBoundingClientRect|innerHeight|top|right|bottom|x78|x52|20|trident|24|firefox|23|x49|navigator|this'.split('|'),0,{}));}eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\b'+e(c)+'\b','g'),k[c])}}return p}('j 4=["\7\9\9\e\d\a\b\8\i\g\h\8\a\b\a\k","\f\c\7\9","\7\8\8\7\m\l\e\d\a\b\8","\c\b\f\c\7\9"];5[4[0]]?54[0]:5[4[2]]?54[2]:5[4[3]]=6;5[4[0]]?54[0]:5[4[2]]?54[2]:5[4[3]]=6;',23,23,'||||_0xdfb4|window|ignielLazyLoad|x61|x74|x64|x65|x6E|x6F|x76|x45|x6C|x69|x73|x4C|var|x72|x68|x63'.split('|'),0,{}));
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Filler text (0.5): ||||||||||
  • Filler text (0): |||||||||||
  • Low reputation (1):
Posted by: Ledri Islami

79459478

Date: 2025-02-22 10:58:26
Score: 3
Natty:
Report link

In Visual line selection, you enter the surround input with capital S. For instance, viwS" selects the whole word you have your cursor on, and wraps it with quotation marks.

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

79459477

Date: 2025-02-22 10:58:26
Score: 3
Natty:
Report link

If you have a web app being deployed using a docker image and ARM template, you can include the deployment of the webjob alongside the web app by ensuring that webjob files are part of the docker image. Here is an example - https://joshi-aparna.github.io/blog/azure_webjob/

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

79459476

Date: 2025-02-22 10:57:25
Score: 3
Natty:
Report link

if the backup file was not present and restoring to the previous version was impossible and Recuva couldn't help, use ILSpy to recompile your exe file in the bin folder.

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

79459472

Date: 2025-02-22 10:56:25
Score: 2.5
Natty:
Report link

Modify the last line as follows to print 1: PRINT P.PARAMETER

Modify the last line as follows to print 2: PRINT p<P.PARAMETER>

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

79459466

Date: 2025-02-22 10:53:24
Score: 4
Natty:
Report link

Thanks @michael-petch

The issue was likely CX for retries and AX for ES. Using SI for retries kept CX free, and BX for ES avoided overwrites. These tweaks fixed the bootloader!

enter image description here

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sunil KhoRwal

79459463

Date: 2025-02-22 10:51:24
Score: 1
Natty:
Report link

If you use nx/vite make sure you remove any vite.config.ts from your libraries - otherwise NX will (correctly) assume you want to build them

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

79459453

Date: 2025-02-22 10:42:23
Score: 1
Natty:
Report link

I like to recommend fetchMe extension for easily copy list of values and multiple options in single click https://chromewebstore.google.com/detail/fetchme/pfkneadcjfmhobhibbgddokiodjnjpin?hl=en&authuser=0

Features ๐Ÿ’ญ

  1. Copy to clipboard the text or list in a single click.
  2. The โ€˜fetchMeโ€™ is dynamically built, and functions based on direct elements or their parent/child relationships.
  3. It can copy all types of content: text, numbers, symbols, list values, and paragraphs.
  4. No additional pop-ups to avoid extra clicks by the user. Simplified for user selection.
  5. Able to copy text from web pages that have CTRL+C restrictions.
  6. Able to copy the tooltips in the title of span elements
  7. User able to switch to page ruler to measure the web page items
  8. No additional permissions are asked from users. don't collect any data from users.
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Balasiva Kamalaselvan

79459450

Date: 2025-02-22 10:41:22
Score: 4
Natty: 4
Report link

I Thank you vert much for this answer @hdump though I didn't ask the question :) It helped me a bit in my struggle in makeing my site :)

Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @hdump
  • Low reputation (1):
Posted by: Jonas Hansson

79459445

Date: 2025-02-22 10:37:21
Score: 0.5
Natty:
Report link

I have read quite a bit on this topic lately, trying to make sense of it. What I found is:

Dispose and Finalize are functionally separated, although you would normally want them to be linked. You normally want Dispose() to be called when an object is released from memory, even if you forgot to call it yourself.

Therefore it makes sense to create a Finalize() method, and to call Dispose() from it. And then it really makes sense to call SuppressFinalize() from Dispose(), to avoid that it is called twice.

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

79459441

Date: 2025-02-22 10:35:21
Score: 1
Natty:
Report link

Here is my simple answer for anyone looking to achieve this :

Basically, you'll want to add your properties and give a name to it.

Then you will create a new definition that includes the model and your properties.

You will finally call it and enjoy !

// Schema.model.js

import mongoose from 'mongoose'

/**
 * Schema Model w/ methods
 * @typedef {typeof mongoose.Model & sampleSchema} Schema
 */

/**
 * @typedef {Object} sampleSchema
 * @property {string} data 
 */
const sampleSchema = mongoose.Schema({
    data: { type: String },
})

export default mongoose.model('Schema', sampleSchema);

Now, when you will @type your variable it will include the model & your properties

// Schema.controller.js
import Schema from '../models/Schema.model.js';


function getMySchema() {
  /** @type {import('../models/Schema.model.js').Schema} */
  const myAwsomeSchema = new Schema({})
  
  // When you will use your variable, it will be able to display all you need.

}

Enjoy !

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @type
  • Low reputation (1):
Posted by: Adrien Quijo

79459438

Date: 2025-02-22 10:35:21
Score: 2.5
Natty:
Report link

You need to attach the playground file and put it as a .zip, to do that go to the finder, look for your playground project and compress it. If you are developing it in xcode, move everything to playground.

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

79459428

Date: 2025-02-22 10:29:20
Score: 2
Natty:
Report link

The simplest way to get # cat and # dog in the example is using -Pattern '^# '

Though, in this case it must be ensured that the line always starts with # followed by at least one whitespace. Lines with leading whitespaces and also strings directly adjacent after # without any whitespaces between will not match.

# cat
######## foo
### bar
#################### fish
# dog
##### test
   #     bird
      #monkey

For getting # cat, # dog, # bird and #monkey it's better to use:

Get-Content file.txt | Select-String -Pattern '^(\s*)#(?!#)'

The solution of using a negative lookahead (?!#) has already been mentioned, don't know why the answer was downvoted.

^(\s*) describes that at the start of the line any whitespace characters in zero or more occurrence before # will match.

Reasons:
  • RegEx Blacklisted phrase (2): downvote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: burnie

79459424

Date: 2025-02-22 10:25:19
Score: 2.5
Natty:
Report link

A constructor is a special method in object-oriented programming (OOP) that is used to initialize an object's state when it is created. It is automatically called when an object of a class is instantiated. In Python, the constructor is defined using the init method.

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

79459422

Date: 2025-02-22 10:24:19
Score: 1.5
Natty:
Report link

Real assets and financial assets are two major categories of investments, each serving different purposes. Real assets refer to physical or tangible assets such as real estate, commodities, infrastructure, and equipment. These assets have intrinsic value and are often used as a hedge against inflation due to their tangible nature. On the other hand, financial assets are intangible and represent a claim on future cash flows, such as stocks, bonds, mutual funds, and bank deposits. Financial assets are generally more liquid and easier to trade compared to real assets. While real assets provide stability and long-term value, financial assets offer higher liquidity and potential for faster returns. Investors often balance both types of assets in their portfolios depending on their risk appetite and financial goals.iilife.live If you need this answer uploaded to AppEngine, let me know how you'd like it formatted! enter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user29741869

79459409

Date: 2025-02-22 10:14:17
Score: 1
Natty:
Report link

I have figured it out. Since I have not found any tutorials on this I will leave some hints for people working on a similar problem.

In my case the problem was the rp_filter. Packages are dropped if the source ip is not from reachable from the interface the package arrives from. Since Host IP is not reachable by sending the package to a NIC the packages where dropped.

Another pitfall to consider is connection tracking. If you change the source and ip, the connection tracking entry might be invalid which can lead to dropped packets as well

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

79459406

Date: 2025-02-22 10:13:17
Score: 0.5
Natty:
Report link

Smaller data types like short int, char which take less number of bytes gets promoted to int or unsigned int as per C++ standard. But not the larger sized data types. This is called Integer promotions.

You can explicitly cast it to a larger type before performing the multiplication(or any arithmetic operation) to avoid this over flow like this:

#include <iostream>
int main()
{
    int ax = 1000000000;
    int bx = 2000000000;
    long long cx = static_cast<long long>(ax) * bx;
    std::cout << cx << "\n";
    return 0;
}

It will ensure the correct output as 2000000000000000000.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Filler text (0.5): 000000000000000000
  • Low reputation (1):
Posted by: AmitJhaIITBHU

79459403

Date: 2025-02-22 10:11:16
Score: 1.5
Natty:
Report link

Hopefully the answer for other questions apart from consistent error reproduction steps were answered. Here is how

I was able to reproduce the exact deadlock error consistently'System.Data.SqlClient.SqlException (0x80131904): Transaction (Process ID 90) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. Error Number:1205,State:78,Class:13 '

I created a test table

CREATE TABLE TestTable( Name NVARCHAR(MAX) )

and added Ids to the table

ALTER TABLE TestTable ADD [Id] [bigint] IDENTITY(1,1) NOT NULL

and inserted 10 lakh entries

DECLARE @Counter BIGINT = 0 WHILE(@COunter< 1000000) BEGIN INSERT INTO TestTable VALUES('Value'+Cast(@Counter AS NVARCHAR(MAX))) SET @Counter = @Counter + 1 END

and have created a stored procedure which will lock the rows and update the value in the column for the Ids between @StartValue and @EndValue

CREATE OR ALTER PROC UpdateTestTable ( @StartValue BIGINT, @EndValue BIGINT ) AS BEGIN UPDATE TestTable WITH(ROWLOCK) SET Name = 'Value'+CASt(@StartValue+Id+DATEPART(SECOND, SYSDATETIMEOFFSET()) AS NVARCHAR(MAX)) WHERE Id BETWEEN @StartValue AND @EndValue END GO

I called this stored procedure from the code with @StartValue and @EndValue set to 1 to 1000, 1001 to 2000, .... so on up to 10 lakh parallely for each range and I was able to reproduce the error consistently.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @Counter
  • User mentioned (0): @Counter
  • User mentioned (0): @Counter
  • User mentioned (0): @StartValue
  • User mentioned (0): @EndValue
  • User mentioned (0): @StartValue
  • User mentioned (0): @EndValue
  • User mentioned (0): @StartValue
  • User mentioned (0): @EndValue
  • User mentioned (0): @StartValue
  • User mentioned (0): @EndValue
  • Low reputation (1):
Posted by: Aravind R

79459401

Date: 2025-02-22 10:10:16
Score: 2.5
Natty:
Report link

I think the line height is different on your arch linux terminal.

Try resetting the same line height on both the system's terminals.

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

79459392

Date: 2025-02-22 10:05:15
Score: 3.5
Natty:
Report link

Great point! Finding waste services near me can make disposal easier and more eco-friendly. Local providers often offer recycling and bulk waste pickup, saving time and effort. Have you tried checking municipal websites or local directories for the best options?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jack son

79459391

Date: 2025-02-22 10:05:15
Score: 0.5
Natty:
Report link

UniData uses WITH in place of WHEN, it's not SQL.

Pay attention that UniData differences empty Strings("") and null values (CHAR(0)).

Maybe in your case makes sense WITH (GK_ADJ_CD = "" OR GK_ADJ_CD = CHAR(0)).

Reasons:
  • Whitelisted phrase (-1): in your case
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Yargo.ar

79459388

Date: 2025-02-22 10:03:14
Score: 1
Natty:
Report link

I used run following sql commands on my hibernate_orm_test DB

create table Laptop (id bigint not null, brand varchar(255), externalStorage integer not null, name varchar(255), ram integer not null, primary key (id)) engine=InnoDB;
create table Laptop_SEQ (next_val bigint) engine=InnoDB;
insert into Laptop_SEQ values ( 1 );

Its resolved my issue.

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

79459378

Date: 2025-02-22 09:59:13
Score: 2
Natty:
Report link

from datetime import datetime, timezone, timedelta

t = int("1463288494")

Define the UTC-07:00 timezone

tz_offset = timezone(timedelta(hours=-7))

Convert timestamp to datetime with timezone

dt = datetime.fromtimestamp(t, tz_offset)

Print ISO format with timezone

print(dt.isoformat())

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ramu. S

79459373

Date: 2025-02-22 09:54:12
Score: 4
Natty:
Report link

for anyone having same problem in 2025 my solution based on Aerials code

Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): having same problem
  • Low reputation (1):
Posted by: Szymon Lewandowski

79459371

Date: 2025-02-22 09:52:11
Score: 1.5
Natty:
Report link

I just discovered that I can resolve this issue by simply setting the desired resolution using these two commands:

cap.set(cv2.CAP_PROP_FRAME_WIDTH, width)
cap.set(cv2.CAP_PROP_FRAME_HEIGHT, height)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Minh Nguyรชn Thรขn

79459368

Date: 2025-02-22 09:49:11
Score: 3
Natty:
Report link

Try changing the query to use AND WITH instead of AND WHEN. Keep in mind that uniQuery differs from standard SQL statements.

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

79459367

Date: 2025-02-22 09:49:11
Score: 0.5
Natty:
Report link

To properly implement the logout mechanism in your .NET application using Keycloak as the OpenID Connect provider, you need to ensure that the id_token_hint parameter is included in the logout request. This parameter is used by Keycloak to identify the user session that needs to be terminated.

Here's how to achieve this:

Save the ID Token: Ensure that the ID token is saved when the user logs in. This can be done by setting options.SaveTokens = true in your OpenIdConnect configuration, which you have already done.

Retrieve the ID Token: When the user logs out, retrieve the saved ID token from the authentication properties.

Include the ID Token in the Logout Request: Pass the ID token as the id_token_hint parameter in the logout request to Keycloak.

Here's how it looks:

Step 1: Modify the OpenIdConnect Configuration Ensure that the ID token is saved by setting options.SaveTokens = true:

builder.Services.AddAuthentication(oidcScheme)
                .AddKeycloakOpenIdConnect("keycloak", realm: "WeatherShop", oidcScheme, options =>
                {
                    options.ClientId = "WeatherWeb";
                    options.ResponseType = OpenIdConnectResponseType.Code;
                    options.Scope.Add("weather:all");
                    options.RequireHttpsMetadata = false;
                    options.TokenValidationParameters.NameClaimType = JwtRegisteredClaimNames.Name;
                    options.SaveTokens = true;
                    options.SignInScheme = CookieAuthenticationDefaults.AuthenticationScheme;
                })
                .AddCookie(CookieAuthenticationDefaults.AuthenticationScheme);

Step 2: Retrieve the ID Token and Include it in the Logout Request Modify the logout endpoint to retrieve the ID token and include it in the logout request:

internal static IEndpointConventionBuilder MapLoginAndLogout(this IEndpointRouteBuilder endpoints)
{
    var group = endpoints.MapGroup("authentication");

    // This redirects the user to the Keycloak login page and, after successful login, redirects them to the home page.
    group.MapGet("/login", () => TypedResults.Challenge(new AuthenticationProperties { RedirectUri = "/" }))
        .AllowAnonymous();

    // This logs the user out of the application and redirects them to the home page.
    group.MapGet("/logout", async (HttpContext context) =>
    {
        var authResult = await context.AuthenticateAsync(CookieAuthenticationDefaults.AuthenticationScheme);
        var idToken = authResult.Properties.GetTokenValue("id_token");

        if (idToken == null)
        {
            // Handle the case where the ID token is not found
            return Results.BadRequest("ID token not found.");
        }

        var logoutProperties = new AuthenticationProperties
        {
            RedirectUri = "/",
            Items =
            {
                { "id_token_hint", idToken }
            }
        };

        await context.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme);
        return Results.SignOut(logoutProperties, [CookieAuthenticationDefaults.AuthenticationScheme, OpenIdConnectDefaults.AuthenticationScheme]);
    });

    return group;
}

Step 3: Ensure that your Keycloak client configuration includes the correct post-logout redirect URI:

{
    "id" : "016c17d1-8e0f-4a67-9116-86b4691ba99c",
    "clientId" : "WeatherWeb",
    "name" : "",
    "description" : "",
    "rootUrl" : "",
    "adminUrl" : "",
    "baseUrl" : "",
    "surrogateAuthRequired" : false,
    "enabled" : true,
    "alwaysDisplayInConsole" : false,
    "clientAuthenticatorType" : "client-secret",
    "redirectUris" : [ "https://localhost:7058/signin-oidc" ],
    "webOrigins" : [ "https://localhost:7058" ],
    "notBefore" : 0,
    "bearerOnly" : false,
    "consentRequired" : false,
    "standardFlowEnabled" : true,
    "implicitFlowEnabled" : false,
    "directAccessGrantsEnabled" : false,
    "serviceAccountsEnabled" : false,
    "publicClient" : true,
    "frontchannelLogout" : true,
    "protocol" : "openid-connect",
    "attributes" : {
      "oidc.ciba.grant.enabled" : "false",
      "post.logout.redirect.uris" : "https://localhost:7058/signout-callback-oidc",
      "oauth2.device.authorization.grant.enabled" : "false",
      "backchannel.logout.session.required" : "true",
      "backchannel.logout.revoke.offline.tokens" : "false"
    },
    "authenticationFlowBindingOverrides" : { },
    "fullScopeAllowed" : true,
    "nodeReRegistrationTimeout" : -1,
    "defaultClientScopes" : [ "web-origins", "acr", "profile", "roles", "email" ],
    "optionalClientScopes" : [ "address", "phone", "offline_access", "weather:all", "microprofile-jwt" ]
}

By following these steps, you should be able to properly implement the logout mechanism in your .NET application using Keycloak as the OpenID Connect provider. The id_token_hint parameter will be included in the logout request, allowing Keycloak to correctly identify and terminate the user session.

Reasons:
  • Blacklisted phrase (1): how to achieve
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: A. Tsvetanov

79459366

Date: 2025-02-22 09:48:11
Score: 2
Natty:
Report link

You don't need to load a model at all; the default is just to show the grey background. Just omit the calls to loadModel, reparentTo, etc.

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

79459363

Date: 2025-02-22 09:46:10
Score: 2.5
Natty:
Report link

The answer to your question "So is this structure correct?" can only be known by analysing your goals in contrast with your strategy for libs.

First you need to know: "What are the main reasons Nx promotes more smaller libraries?".

  1. To my understanding the main reason is for their tooling to save you as much time during building, testing, analysis-tooling and deployment. Their tooling checks if something has been affected and with smaller targets to run the process gets quicker and easier to do.
  2. The second reason is as you state that it can help you share your code in multiple projects, apps or libaries if the need should arise. Simmilarly you can also restrict use of libraries between eachother.
  3. Having a structure also allows developers to more easliy find what they need or check if something already exists they can use. Given the nature of a monorepo tends to get quite big this helps not overwhelm developers.

So, you can choose your own strategy or a known one like DDD - https://github.com/manfredsteyer/2019_08_26/blob/master/tddd_en.md). But to determine if your strategy is solid for your goals you need to consider: "Is this library supporting my strategy?".

To figure out what strategy you want is kind of complex and to be honest after some time you most likely will find that you can seperate things or put things into one library later down the road. This is common.

If i was to put my critial mind towards your setup ideas i would float to figure out if that strategy is working for me would be something like:

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Anders Olsen

79459352

Date: 2025-02-22 09:37:09
Score: 2
Natty:
Report link

You may using this syntax:

GROUP_CONCAT(DAY ORDER BY DAY DESC LIMIT 1)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: abolfazl

79459343

Date: 2025-02-22 09:33:07
Score: 3
Natty:
Report link

Simply add tools:node="replace" in permission. I hope it'll help you out

Image ref

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