79174693

Date: 2024-11-10 10:52:17
Score: 1
Natty:
Report link

controllerThread sets the suspendRequested flag to true when it wants to pause threadA. threadA checks this flag if it's in run() method and, if it's set, it enters a waiting state using wait() or Thread.sleep(). To resume threadA, the controlling thread sets suspendRequested back to false and calls notify() to wake threadA up.

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

79174690

Date: 2024-11-10 10:51:16
Score: 0.5
Natty:
Report link

I also do not have it in the list. But I also have this warning yellow box enter image description here

Let none and it would work.

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

79174687

Date: 2024-11-10 10:50:16
Score: 3.5
Natty:
Report link

Try running the command from git bash, not CMD.

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

79174682

Date: 2024-11-10 10:49:16
Score: 0.5
Natty:
Report link

There is some misunderstanding, in that there never is a "user" [IIS AppPool\{AppPoolName}].

[IIS AppPool\{AppPoolName}] is a "virtual account", & is completely 'unmanaged' by IIS/Windows, and as such is not available via normal means. I think they could have named it better, because the word "account" is a bit of a misnomer (in the traditional sense). It's really a "deterministic unmanaged SID", which windows will let you use in security contexts as if it 'were' an account/user.

Aside/Details: Therefore, Microsoft/WindowsTeam does not have a process which keeps an easily accessible record of all of the "virtual account(s)" that have executed (as there is no 'creation', just 'usage'; a chicken with no egg). This is hack is possible due to the role of SIDs in Windows combined with the deterministic nature of the SIDs generated for the "virtual account in question". It's just a SID prefix based on the account class (i.e. [IIS AppPool\*] === S-1-5-82-*) combined with the UInt32 representation of the SHA-1 of the (lowercase, for IIS AppPool; uppercase, for other services) username.

This is why, when creating permissions in MSSQL Server for an IIS AppPool, the documentation states:

!!!DO NOT CLICK SEARCH!!!

How to add the ApplicationPoolIdentity to a SQL Server Login https://learn.microsoft.com/en-us/archive/blogs/ericparvin/how-to-add-the-applicationpoolidentity-to-a-sql-server-login

... as you can't search (or verify) that it exists, because it only 'exists' when you're using it. So while there will be traces of a virtual account's existence (i.e. the traces it leaves behind as it's bound to an executing service {in logs}, in configuration files, & usually the permissions created on resources for it to be effective). The "deterministic unmanaged SID" only 'exists' at "run time" of the service (and most often will not have a user profile). For instance, if you create a new AppPool, but don't actually start it; there won't be a trace it was there (via icacls.exe, below). However, as the AppPool is running you will see the 'virtual account / user' in task manager for w3wp.exe, as well as the config entry.

So now that that's "clear", let's dig into the question, "So the question is, how do I check that these IIS AppPool service accounts exist in Powershell?" .. because "{you} need to configure databases to automatically grant permissions to the correct account for IIS".

Short Answer -- You Don't (& don't "need" to).

Longer Answer -- If you're using MSSQL, you can follow the instructions above ("How to add the ApplicationPoolIdentity to a SQL Server Login") prior to even creating the Application Pool!

If you're using some other resource (db, file, etc.), you can do the following to bind the SID to a local group, & then use the GUI to apply access to that group:

#  PowerShell AS Admin  ->
#  ADSI  ===  System.DirectoryServices.DirectoryEntry
$group = [ADSI]"WinNT://$Env:ComputerName/{SomeSecGrpName},group"
Write-Host $group.Path
#  group  ===  WinNT://{ComputerName}/{SomeSecGrpName},group
$newAppPoolName = "SomeAppPoolName"
$ntAccount = New-Object System.Security.Principal.NTAccount("IIS APPPOOL\$newAppPoolName")
Write-Host $ntAccount
#  $ntAccount  ===  IIS APPPOOL\SomeAppPoolName
$strSID = $ntAccount.Translate([System.Security.Principal.SecurityIdentifier])
Write-Host $strSID
#  $strSID  ===  S-1-5-82-1567671121-388969313-3181147451-2359319770-4988630401
#  $strSID  -  note  -  not a valid SID above
$user = [ADSI]"WinNT://$strSID"
$group.Add($user.Path)

... then use the group "SomeSecGrpName".

However, lets say you want to know if the IIS AppPool ever ran and/or you want an easy way to get access to the SID; which you can then use to secure items. You can do the following:

Ensure Security Isolation for Web Sites https://learn.microsoft.com/en-us/iis/manage/configuring-security/ensure-security-isolation-for-web-sites

icacls.exe c:\inetpub\temp\appPools\{SomeAppPoolName}\{SomeAppPoolName}.config /save {d:\SomeDirectory}\icacls_{SomeAppPoolName}_output.txt

... gets us a file, containing the SID to use for security permissions.

Reasons:
  • Blacklisted phrase (1): how do I
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: George 2.0 Hope

79174671

Date: 2024-11-10 10:41:14
Score: 1.5
Natty:
Report link

From Microsoft documentation, I understand that it is essential to ensure that the begin and end functions are accessible in the same namespace as your container. This accessibility allows the compiler to locate these functions through Argument-Dependent Lookup (ADL).

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

79174664

Date: 2024-11-10 10:35:13
Score: 1
Natty:
Report link

MYSQL decides the relevant strategy: MATERIALIZATION (or) DUPSWEEDOUT based on the cost even if we force it (according to MySQL manuals for SEMIJOIN Hint). On the other hand, there is another Hint SUBQUERY, which you can use since nested subqueries are present in your query, which uses the materialization strategy.

The modified code below will use the MATERIALIZATION strategy:

EXPLAIN FORMAT=TREE
SELECT /*+ **SUBQUERY(@subq2 MATERIALIZATION)** */ rse.*
FROM rubric_session_elements rse
WHERE rse.rubric_session_id IN (
    SELECT /*+ QB_NAME(subq2) */ rs.id
    FROM rubric_sessions rs
    WHERE rs.template_id IN (
        SELECT /*+ QB_NAME(subq1) */ a.rubric_template_id
        FROM activities a
        WHERE a.group_id = 123
    )
);

Please let me know if you need more information.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Srinimf

79174660

Date: 2024-11-10 10:32:13
Score: 0.5
Natty:
Report link

Keep It Simple!

You can use lnk-cli to create a directory link.

Here’s my setup using TypeScript:

Step 1: Install lnk-cli

Step 2: Common Folder

enter image description here

Only include the code files you want (no package.json, tsconfig.json, etc.)

Step 3: Package.json

enter image description here

See the highlighted text. Just add the "lnk" command to create the directory link before watching the TypeScript files.

Step 4: .gitignore

enter image description here

The common folder has the main code, so you can ignore these linked folders. Any changes in one of the three locations (common, functions/common, or server/common) will automatically reflect in all linked locations.

Done!

enter image description here

Now you can import the common files like this. (No additional need to adjust tsconfig.json)

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • RegEx Blacklisted phrase (1): I want
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Edelcio Molina

79174651

Date: 2024-11-10 10:27:11
Score: 0.5
Natty:
Report link

After you set the visibility to GONE, add

ConstraintLayout.LayoutParams layoutParams = (ConstraintLayout.LayoutParams) tvQuestion.getLayoutParams();
layoutParams.topToBottom = R.id.tvQuestionNumber;
tvQuestion.setLayoutParams(layoutParams);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user27894462

79174641

Date: 2024-11-10 10:21:09
Score: 5
Natty:
Report link

after asking around my question on Image.sc forum, I found that the problem can be solved if I downgrade keras from 3.6.0 to 3.4.1 (Google Colab version).

However, the bad news is that a new bug appeared. When I set

discriminator.compile(loss = "binary_crossentropy", optimizer = Adam(learning_rate = 0.0002, beta_1 = 0.5), metrics = ["accuracy"])
# Set non-trainable after compiling discriminator
discriminator.trainable = False

discriminator still becomes non-trainable even if it had been compiled before turning off the trainable tag, and no re-compilation of the discriminator afterwards. Please refer to discriminator.summary() before and after turning off the trainable flag.

discriminator.summary before freezing
Model: "functional_1"
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓
┃ Layer (type)                         ┃ Output Shape                ┃         Param # ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩
│ input_layer_1 (InputLayer)           │ (None, 28, 28, 1)           │               0 │
├──────────────────────────────────────┼─────────────────────────────┼─────────────────┤
│ flatten (Flatten)                    │ (None, 784)                 │               0 │
├──────────────────────────────────────┼─────────────────────────────┼─────────────────┤
│ dense_4 (Dense)                      │ (None, 512)                 │         401,920 │
├──────────────────────────────────────┼─────────────────────────────┼─────────────────┤
│ leaky_re_lu_3 (LeakyReLU)            │ (None, 512)                 │               0 │
├──────────────────────────────────────┼─────────────────────────────┼─────────────────┤
│ dense_5 (Dense)                      │ (None, 256)                 │         131,328 │
├──────────────────────────────────────┼─────────────────────────────┼─────────────────┤
│ leaky_re_lu_4 (LeakyReLU)            │ (None, 256)                 │               0 │
├──────────────────────────────────────┼─────────────────────────────┼─────────────────┤
│ dense_6 (Dense)                      │ (None, 1)                   │             257 │
└──────────────────────────────────────┴─────────────────────────────┴─────────────────┘
 Total params: 533,505 (2.04 MB)
 Trainable params: 533,505 (2.04 MB)
 Non-trainable params: 0 (0.00 B)
discriminator.summary after freezing but no recompile
Model: "functional_1"
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓
┃ Layer (type)                         ┃ Output Shape                ┃         Param # ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩
│ input_layer_1 (InputLayer)           │ (None, 28, 28, 1)           │               0 │
├──────────────────────────────────────┼─────────────────────────────┼─────────────────┤
│ flatten (Flatten)                    │ (None, 784)                 │               0 │
├──────────────────────────────────────┼─────────────────────────────┼─────────────────┤
│ dense_4 (Dense)                      │ (None, 512)                 │         401,920 │
├──────────────────────────────────────┼─────────────────────────────┼─────────────────┤
│ leaky_re_lu_3 (LeakyReLU)            │ (None, 512)                 │               0 │
├──────────────────────────────────────┼─────────────────────────────┼─────────────────┤
│ dense_5 (Dense)                      │ (None, 256)                 │         131,328 │
├──────────────────────────────────────┼─────────────────────────────┼─────────────────┤
│ leaky_re_lu_4 (LeakyReLU)            │ (None, 256)                 │               0 │
├──────────────────────────────────────┼─────────────────────────────┼─────────────────┤
│ dense_6 (Dense)                      │ (None, 1)                   │             257 │
└──────────────────────────────────────┴─────────────────────────────┴─────────────────┘
 Total params: 533,505 (2.04 MB)
 Trainable params: 0 (0.00 B)
 Non-trainable params: 533,505 (2.04 MB)

There are a lot of reports about this tag working aberrantly A GitHub discussion Another GitHub discussion To circumvent this problem, I have to turn discriminator trainable before I train it and then off before I train the entire GAN in each epoch cycle

discriminator.trainable = True
discriminator.train_on_batch(x = realhalf, y = np.ones((half_size, 1)))
discriminator.trainable = False
combined.train_on_batch(np.random.normal(0, 1, (batch_size, 100)), np.array([1] * batch_size))

But honestly I feel a bit unsecure using these packages since the bug has been there since almost a decade ago. I did a brief search and some recommended PyTorch instead (Redit discussion)? If anyone knows about these packages, please feel free to let me know. Thanks in advance!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): anyone knows
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Henryk W

79174638

Date: 2024-11-10 10:19:09
Score: 2.5
Natty:
Report link
int col=StringGrid1->Col;
int row=StringGrid1->Row;
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: hadi ranjdoust

79174631

Date: 2024-11-10 10:14:07
Score: 4
Natty:
Report link
document.getElementById("myInput").value =uuid.v4()
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: R K

79174629

Date: 2024-11-10 10:12:06
Score: 4
Natty:
Report link

After receiving @JarMan's comment, I verified the Qt and I found that my Qt pointed to the build host Qt installation. After I manually pointed to the cross-compiled Qt from the Yocto SDK, the error disappeared.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @JarMan's
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Robert

79174628

Date: 2024-11-10 10:12:06
Score: 2
Natty:
Report link

The error comes because we didn't select Firebase features right before hitting Enter button just hit space button to select the feature.

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

79174626

Date: 2024-11-10 10:11:06
Score: 2
Natty:
Report link
gdal.Translate(self.output, raster_dataset, format='GPKG',
                                       creationOptions=['APPEND_SUBDATASET=YES'])

It works.

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

79174620

Date: 2024-11-10 10:08:05
Score: 4
Natty: 6.5
Report link

Damm jack has the biggest baseball bat Grand slam that was a Hit setup change,up switch hitters nice try next time bring Jill LL COOL J's classic I need love hahahahah hackers why are you wasting your time, figured you out thanks too the hacker on my Google account . Swear he thinks he invincible.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anthony M

79174616

Date: 2024-11-10 10:04:04
Score: 2
Natty:
Report link

Using useTemplateRef since Vue 3.5+ is the recommended way from the current official doc to obtain the reference with Composition API.

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

79174597

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

Error cause

Error resolution

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

79174589

Date: 2024-11-10 09:49:01
Score: 2
Natty:
Report link

Sorry @jcalz, I was to answer you specifically yesterday but was too tired and simply forgot it.

Yes, what you mention on your comment is what I was after. Little I knew I was taking TS to it's pants, so I finally plan to settle on something like this:

[
  /* One entry */
  {
    string: 'foo',

    function_1 (x) {
      let ret : number = x;
      return (ret);
    },

    function_2 (x) {
      let ret: number = x;
      return (ret);
    }
  },

  /* Another entry */
  ...
]

This is a construction I've seen for example, in prosemirror's schema (except for mine's being inside an array). If that's also a problem I'll then reparent these with an object and get rid of the array altogether.

For those calling it laziness: I wouldn't have devoted a whole day to try to solve this if that was the particular case.

Well, thank you all for you time and you attention!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jcalz
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user1476851

79174568

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

rm -rf ~/.gradle/caches

Try this if your running inside docker

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ankush katkar

79174565

Date: 2024-11-10 09:39:59
Score: 2.5
Natty:
Report link

This is a network issue. You can first check if the API URL is accessible using the code in this thread.

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

79174547

Date: 2024-11-10 09:30:57
Score: 2
Natty:
Report link

Well, this error is familiar, because it gave me sleepless nights. 415 Unsupported Media Type. I think this means that the content type of the request doesn't match what spring-boot expects. Since you've confirmed that your BE API works, I suspect tat the issue is in how React is making the request. Just making educated guesses here. Here are a few things you can try:

  1. Check that the field names in your FormData match the param names in your controller. FormData (caption, file, and postTypeName)

  2. Please check your axios version. I put this here because some versions of axios have known issues with FormData

  3. Remove Content-Type header I think because axios automatically sets the Content-Type header to multipart/form-data with a boundary, which is essential for FormData to work properly. Manually setting Content-Type can interfere with this. So Try removing 'Content-Type': 'multipart/form-data' from the headers like this:

const response = await axios.post(url, formData, {
  headers: {
    "Authorization": `Bearer ${token}`,
  },
});
  1. You can set postTypeName in FormData instead of RequestParam: Since you've currently added postTypeName as a RequestParam, it might not work as expected in a FormData object. Instead, please ensure that postTypeName is added as a RequestPart parameter in your controller. Do you understand?

I would also improve your addPostWithImage endpoint like this.

@PostMapping(value = "/posts/add", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
@ResponseStatus(HttpStatus.CREATED)
@ApiResponse(responseCode = "400", description = "Please check the payload or token")
@ApiResponse(responseCode = "200", description = "Post added with image")
@Operation(summary = "Add a new Post with optional image")
@SecurityRequirement(name = "studyeasy-demo-api")
public ResponseEntity<?> addPostWithImage(
        @Parameter(content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE)) @RequestPart("caption") PostPayloadDTO postPayloadDTO,
        @RequestPart(value = "file", required = false) MultipartFile file,
        @RequestPart("postTypeName") String postTypeName, // I changed this from RequestParam to RequestPart
        Authentication authentication) {
    ...
}

These are some of the issues I could immediately spot with your code. Try and change them and please let me know.

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Nelson Ekpenyong

79174540

Date: 2024-11-10 09:29:56
Score: 2
Natty:
Report link

I fix the similar issue by installing the referenced dlls from NuGet. My case was like: LibraryA needs System.Runtime(6.0.0.) but somehow the dll path
was not correct. I just removed the existing LibraryA references and re-install them from NuGet.

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

79174523

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

The answers here are not wrong, but not precise either. Your problem has nothing to do with the BigDecimal class as such, but with the nature of doubles.

A double is internally represented as an exponential, you could imagine the computer storing something looking like 0.22 * 2^15. However not every number can be represented accurately this way (for your case see: https://www.binaryconvert.com/result_double.html?decimal=049051053046054057). This inaccurate representation is what you pass to the BigDecimal constructor.

In conclusion, the input argument for your BigDecimal constructor is the approximation that you see in the end. The BigDecimal constructor did nothing wrong, its input was inaccurate.

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

79174522

Date: 2024-11-10 09:20:54
Score: 1.5
Natty:
Report link

The UAC will come always, try to run this in admin, right click run as admin or change the app executable or the apps entire folder and give it all elevated administrator permissions. Then UAC prompt will be skipped, or if you as I can see are already using Auto Hotkey, there are many scripts available for this, where it automatically clicks Yes (Button 1) when it detected the UAC admin prompt, you can activate it keeps running on loop and that's good for you, or if you can, disable UAC, [DON'T, this is last resort.]

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

79174519

Date: 2024-11-10 09:17:53
Score: 3
Natty:
Report link

I know how to remove from the blacklist without having to download from the extension store again. Is your extension deployed under a non Google domain

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

79174515

Date: 2024-11-10 09:16:53
Score: 2.5
Natty:
Report link

ARRGGH!

The problem came from the CMakeLists.txt for one of the static libs which contained:

target_link_libraries(${PROJECT_NAME} PUBLIC libraw libtiff ZClass )

David

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

79174514

Date: 2024-11-10 09:16:53
Score: 1.5
Natty:
Report link

You can do this without needing to use the gcloud CLI/API. You can add this role to your user through the IAM section however you need to make sure you're in the settings for your organization, not your project. The dropdown at the top of the page will let you switch over and then the role will be visible when you search for them on the right side.

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

79174508

Date: 2024-11-10 09:09:52
Score: 2
Natty:
Report link

Solved the same issue with below VS code setting:

File > Preferences > Settings> Search 'Extensions'>Python

Under Python: Default Interpreter Path, update 'Python: Select Interpreter'

Screencap

Reference for Setting descriptions for python.defaultInterpreterPath:

https://github.com/microsoft/vscode-python/wiki/Setting-descriptions#pythondefaultinterpreterpath

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

79174483

Date: 2024-11-10 08:51:46
Score: 8.5 🚩
Natty: 5.5
Report link

I am having the exact same requirements did you find your answer?

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

79174477

Date: 2024-11-10 08:47:45
Score: 1
Natty:
Report link

Well, useRef is a hook in React for functional components. It has function that provides a mutable reference to a DOM element. Creating a ref without useRef just uses the React.createRef() method. The typical difference between them is that we normal use useRef hook for the functional component and the Creating a ref without useRef for the class component. And the second difference is that createRef method creates a new ref object each time the component re-renders but the useRef hook only returns the same ref object through the component's lifecycle so doesn't need the re-render. I think the benefit of useRef is that it can have any mutable value without causing a re-renders unlike the createRef method.

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

79174468

Date: 2024-11-10 08:44:44
Score: 2.5
Natty:
Report link

The reason is because of the node version. The solution is to use lts. I was using the latest.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sixtus Agbo

79174461

Date: 2024-11-10 08:41:44
Score: 2
Natty:
Report link

Have you tried using this solution from a bit of an older post?

The post was: Stackoverflow Post which was based on this blog from 2015. The way this post outlines on fixing the issue is by manually compiling OpenCV yourself. (By my understanding). You could also try checking the official docs to compile with that: OpenCV Docs

If this doesn't work however you could try just cloning the github repo (I know not the greatest way but it should work..)

$ sudo apt-get install git
$ git clone https://github.com/opencv/opencv.git
Reasons:
  • Blacklisted phrase (1): this blog
  • Blacklisted phrase (1): Stackoverflow
  • Whitelisted phrase (-1): Have you tried
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: AboveAphid

79174443

Date: 2024-11-10 08:29:42
Score: 3
Natty:
Report link

In my case the debugger had left "convert" open. None of the .cs that were designer would show up. I closed "convert" and restarted the project

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

79174441

Date: 2024-11-10 08:29:42
Score: 1.5
Natty:
Report link

During troubleshooting, I noticed that using the AWS CLI instead of Boto3 gave slightly different output. I tried running the script within the same account for both the EC2 client and Network Manager, and it worked. It seems Boto3 is performing a check to ensure that the core network and VPC are in the same account, but it's throwing an incorrect error, indicating a "wrong input."

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

79174439

Date: 2024-11-10 08:28:41
Score: 2
Natty:
Report link

As Robert mentioned in the comments, this depends on certain parameters sent to Google Play when requesting the download link. Based on my research, the key parameter is Vending.version, which specifies the version of Google Play that is making the download request. The last version that can request the app without split APKs is 80913000, which represents a specific Google Play version. After this version, it’s no longer possible to download a solid APK.

Additionally, some apps have implemented restrictions within themselves, so even setting this parameter to 80913000 won't allow the app to be downloaded. You can see this in the link below, where, starting from a certain app version, even on ApkCombo, downloading a unified APK file is no longer possible:

https://apkcombo.com/space-takeover-over-city/risk.city.dominations.strategy.io.games/download/apk

Reasons:
  • Blacklisted phrase (1): the link below
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Micle

79174436

Date: 2024-11-10 08:27:41
Score: 2
Natty:
Report link

WhatsApp Profile Image Size – 500 x 500 px (use this size to get the best profile picture) WhatsApp Square Post to Send Image Size – 800 x 800 px WhatsApp Story to Share Image Size – 750 x 1334 px

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hamid Reza Heidary

79174431

Date: 2024-11-10 08:25:39
Score: 11 🚩
Natty: 4
Report link

hey i am also facing the same issue can you help me Export encountered errors on following paths: /(main)/agency/page: /agency /(main)/subaccount/page: /subaccount /_error: /404 /_error: /500 /_not-found /site/page: /site Error occurred prerendering page "/site". Read more: https://nextjs.org/docs/messages/prerender-error TypeError: Cannot read properties of null (reading 'useContext')

Reasons:
  • Blacklisted phrase (1): i am also facing the same issue
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): can you help me
  • RegEx Blacklisted phrase (2): hey i am
  • No code block (0.5):
  • Me too answer (2.5): i am also facing the same issue
  • Low reputation (1):
Posted by: Shiven Narang

79174429

Date: 2024-11-10 08:24:38
Score: 0.5
Natty:
Report link

Jon Betts’s answer is useful when you only want a Cache-Control header.

If you don’t mind also adding an Expires header, the following one-liner replaces the upstream header with a new Cache-Control header and an equivalent Expires header

expires 10;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: NodeUnderflow

79174411

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

This is probably related to the installed version, in my case, I had this issue with version 10.0.1 so I downgraded the @videogular/ngx-videogular package version to v9.0.0 and the icons problem got fixed.

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

79174408

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

If you need really good compression , I’ve used on ChatGPT “SentenceSqueezer”, it usually compresses in neighborhood 60-85% of instruction sets and it’s so simple, guaranteed not to lose context because it makes an acronym out of each sentence or line , tell it to leave periods in there place or whatever you desire, gives pre and post count with a mapping table, and it may do meta compression using one symbol. The other one is “Tokenizer GPT Instruction Compressor” also in the same platform but uses single placeholders for words that repeat more than 3 times I. BElieve, outputs same stats on compression mapping table etc, may be worth a try, I’m new so I may be way off if this will work for you, hopefully so. But if they both have worked for me in not having to ever worry about how technical I need my instructions to be

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): worked for me
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Papa T

79174407

Date: 2024-11-10 08:09:35
Score: 2.5
Natty:
Report link

They have suggested differently from their support site. Please check Atlassian. Support

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

79174405

Date: 2024-11-10 08:08:34
Score: 4
Natty: 5
Report link

I personally used https://github.com/MartinKuschnik/WmiLight, it works liked margic!

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

79174396

Date: 2024-11-10 08:01:32
Score: 1.5
Natty:
Report link

To access your Laravel Herd apps from a Docker container, create a shared network using docker network create my-network. Run both your Laravel Herd apps and the Docker container on this network. Inside the container, you can access myapp1.test by its IP address or hostname, which should be resolvable within the network. For more complex setups, consider using Docker Compose to define services, networks, and dependencies.

Source: Terus

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Terus Technology

79174395

Date: 2024-11-10 08:01:32
Score: 2.5
Natty:
Report link

Since I installed vscode as "Flatpak" application, it has restricted access to the file system. I uninstalled and installed the .deb package from https://code.visualstudio.com. This installation has access to the /usr/local folder.

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

79174387

Date: 2024-11-10 07:54:31
Score: 0.5
Natty:
Report link

the following approach worked for me:

  1. remove old url get remote remove origin
  2. add new url git remote add origin /your/repo/url
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shatlyk

79174385

Date: 2024-11-10 07:53:31
Score: 0.5
Natty:
Report link

I use this in my GH-Action Workflow:

APP="myciapp"
APP_USER_ID="$(curl -SsL 'https://api.github.com/users/${APP}%5Bbot%5D' | jq '.id' -r)"
git config --global user.name "${APP}[bot]"
git config --global user.email "${APP_USER_ID}+${APP}[bot]@users.noreply.github.com"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nils

79174384

Date: 2024-11-10 07:52:30
Score: 2.5
Natty:
Report link

first thank you for your answer.

I try this code: https://codepen.io/jeromeminn/pen/gOVQVaX [https://codepen.io/jeromeminn/pen/gOVQVaX][1]

    <style>

.parent {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: 1fr;
grid-column-gap: 40px;
grid-row-gap: 0px;
}

.container {
display: flex; /* or inline-flex */
flex-direction: row;
flex-wrap: nowrap;
justify-content:space-between;
gap: 10px;
}

.item {
flex-grow:1;
flex-basis:0;
    
}
        
</style>

    <div class="parent">
<div style="background-color: #B5B5B5; width: fit-content"><h1>go to market</h1></div>
<div style="background-color: #C7C7C7; width: fit-content"><h1>branding &amp; sustainability</h1></div>
<div style="background-color: #CDCDCD; width: fit-content"><h1>product as a service</h1></div>
</div>
    
<div style="clear: both"></div>
    
<div class="container" style="width: 100%">
<div class="item" style="background-color: #B5B5B5; width: fit-content"><h1>go to market</h1></div>
<div class="item" style="background-color: #C7C7C7; width: fit-content"><h1>branding &amp; sustainability</h1></div>
<div class="item" style="background-color: #CDCDCD; width: fit-content"><h1>product as a service</h1></div>
</div>

but as you can see, no one function. I can't set a width in pixels or percentage as the 3 columns haven't got the same length of text, and if i set the width to "fit-content" for the parent div, it's OK, the space is redistributed like i want but when the text wrap on 2 lines the H1 tag don't take the width of the text but add extra space on the right (maybe the browser don't be able to calculate the new width ?!).

Thank you, regards Jerome

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): regards
  • Whitelisted phrase (-2): try this code
  • RegEx Blacklisted phrase (1): i want
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jeromeminn

79174383

Date: 2024-11-10 07:52:30
Score: 1
Natty:
Report link

In build.gradle (app module), you wrote in the dependency section:

implementation 'gun0912.ted:tedpermission:2.2.3'

it is now

implementation 'io.github.ParkSangGwon:tedpermission-normal:3.4.2'

It currently works with SdkVersion 34.

You may refer to the documentation:

https://github.com/ParkSangGwon/TedPermission

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

79174380

Date: 2024-11-10 07:50:30
Score: 7
Natty: 7
Report link

When I connect my wallet this type of problem show <Must provide authorization header with EIP-191 Timestamp Bearer token< Any solution here..?

Reasons:
  • Blacklisted phrase (1.5): Any solution
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: MD MAHADI

79174379

Date: 2024-11-10 07:50:29
Score: 1
Natty:
Report link

For FreeBSD/Macos:

find /path/to/ -type f ... -exec stat -f '%B %N' {} \; | sort -nr | awk '{print $2}'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: George Eliozov

79174378

Date: 2024-11-10 07:49:29
Score: 1
Natty:
Report link

I had the same issue where everything worked fine locally with Spring Boot, but failed when running in Docker. Adding the following dependencies resolved the problem:

implementation 'net.sf.jasperreports:jasperreports-jdt:7.0.1'

implementation 'org.eclipse.jdt:ecj:3.21.0'

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

79174367

Date: 2024-11-10 07:44:28
Score: 1.5
Natty:
Report link

When you are giving the child class a parent to inherit from, in this case; Parent, it literally inherits everything Parent has; it's attributes, methods, more. In this case you are REASSIGNING attribute which is already defined since you grabbed it from Parent. Therefore you would need to do attribute2 = attribute / 2 or attribute /= 2.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you are
  • Low reputation (1):
Posted by: OhioSkibidiSigmaToeTickler69

79174362

Date: 2024-11-10 07:37:26
Score: 3
Natty:
Report link

life is easy you live breathe and play slot gacor Just that :)

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: slog gacor nagacc

79174354

Date: 2024-11-10 07:33:26
Score: 3
Natty:
Report link

Use Keyboard Manager for customizable keyboard shortcuts

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

79174348

Date: 2024-11-10 07:28:25
Score: 1
Natty:
Report link

It seems Apache isn't loading the PHP extension correctly. First, make sure Apache is using the correct php.ini by checking phpinfo() in the browser. In your php.ini, try using extension=zip.so instead of the full path. After making changes, restart Apache with sudo apachectl restart. If it still doesn’t work, check Apache’s error logs (/var/log/apache2/error_log) for more details. This should make ZipArchive available in both the command line and the browser.

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

79174340

Date: 2024-11-10 07:25:24
Score: 3
Natty:
Report link

I asked perplexity.ai. It says I need to run:

ssh-add -K ~/.ssh/my_rsa

Also, I needed to remember the correct key-password for this public/private key.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Randy Strauss

79174334

Date: 2024-11-10 07:21:24
Score: 0.5
Natty:
Report link

Stability Across Renders: Without useRef: A plain object ({ current: undefined }) is recreated on each render, so it doesn’t persist. With useRef: useRef returns a stable object that stays the same across renders.

Automatic DOM Binding: Without useRef: React doesn’t automatically set .current to the DOM element, so REF.current won’t reliably point to the button. With useRef: React sets REF.current to the DOM element, making it reliable for DOM access.

Re-rendering: Without useRef: The object isn’t stable, which can cause unnecessary re-renders. With useRef: useRef doesn’t trigger re-renders when .current changes, making it ideal for mutable data that shouldn’t affect rendering. In short: useRef is the correct way to create stable, persistent, and React-compatible references for DOM elements.

Summary Using useRef is essential for creating stable references in React, as it:

Creates an object that persists across renders, unlike manually creating { current: undefined }.

Integrates with React's ref system, making REF.current a reliable way to reference DOM elements.

Allows mutable values to persist without causing re-renders, which is ideal for non-stateful data that needs to persist, like the button element in this example.

In almost all cases where you need a reference in React, using useRef is the correct and reliable approach.

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

79174332

Date: 2024-11-10 07:21:24
Score: 2
Natty:
Report link

In my case I was able to fix it by removing the "editor.language.brackets": [], setting in settings.json in VS Code. If you also have such a setting, try to remove it.

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

79174327

Date: 2024-11-10 07:16:23
Score: 2
Natty:
Report link

Watch 🟢 ➤ ➤ ➤ 🌐 Click Here To link (Full Viral Video Link HD)

🔴 ➤►DOWNLOAD👉👉 (Full Viral Video Link Hd)

.

.

Watch 🟢 ➤ ➤ ➤ 🌐 Click Here To link (Full Viral Video Link HD)

🔴 ➤►DOWNLOAD👉👉 (Full Viral Video Link Hd)

.

.

Watch 🟢 ➤ ➤ ➤ 🌐 Click Here To link (Full Viral Video Link HD)

🔴 ➤►DOWNLOAD👉👉 (Full Viral Video Link Hd)

.

.

Watch 🟢 ➤ ➤ ➤ 🌐 Click Here To link (Full Viral Video Link HD)

🔴 ➤►DOWNLOAD👉👉 (Full Viral Video Link Hd)

.

.

Watch 🟢 ➤ ➤ ➤ 🌐 Click Here To link (Full Viral Video Link HD)

🔴 ➤►DOWNLOAD👉👉 (Full Viral Video Link Hd)

Reasons:
  • Blacklisted phrase (1): Video Link
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: BD Ronjeet

79174326

Date: 2024-11-10 07:15:22
Score: 3.5
Natty:
Report link

1 Type this command in terminal and get you machine IP

Linux/Mac

// ifconfig

Or Windows...

// ipconfig

[![enter image description here][1]][1]

  1. start your project
Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Himanshu Taviyad

79174325

Date: 2024-11-10 07:15:22
Score: 2.5
Natty:
Report link

Busbar Systems are essential for every power application that provides major interfaces between the outer world and the power modules. It has been witnessed throughout the design iterations in industrial cranes that occurred in recent years with the evolution of industries. Conducting sufficient amounts of currents in the applications, busbars are mandatory with a focus on electrical power distribution in cranes while meeting the dynamic application needs. In this blog, let's deep dive into everything about electrical bus bars, types, and their applications in detail.

What Are Busbars? An electrical busbar or a conductor bus bar, as the name suggests, defines a conductor or the aggregate of conductors that receive electric power from the incoming feeders, to further distribute it to outgoing feeders. Otherwise, an electrical bus bar is an electrical junction where the incoming and outgoing currents meet. The conductor busbar systems gathers electrical power in a centralized location.

DSL Busbars are made up of highly electrically conductive metals and they distribute & carry power from a source to a destination or multiple destinations. They are used in EOT Cranes to supply power from the grid to the crane control panel. The full Form of the DSL busbar is Down Shop Lead.

How Do Busbars Work? Busbars are usually used to connect electrical power sources and loads. It connects the generator and main transformer in power busbar systems and also interlinks the incoming/outgoing transmission lines. The busbar is visibly a copper or aluminium strip that transfers electricity in a substation, electrical apparatus, or switchboards. The flexible bus bars are made using aluminum tubes with disc insulator strings on either side and gantries to support them. While rigid busbars get support on post insulators and are made using Aluminum tubes. The size of the bus bars determines the amount of current it can carry safely. The common shapes are flat strips, hollow times, etc. since these shapes can allow more heat dissipation of the large ratio of surface area to cross-section area.

The Function of a Bus Bar A bus bar serves as an electrical connection point where it gathers electric power from incoming feeders and then disperses it to outgoing feeders. The primary function of a bus bar is to transport and distribute electricity, contributing to the efficiency of systems. In complex electrical setups, busbars can be a highly effective solution.

Nature of Busbar Connection Busbars could be supported in two ways: either on insulators or the insulation to surround them. A metal earthed enclosure busbar connector safeguards them against accidental contact. Neutral busbars also need insulation. Busbars could be also enclosed in the metal housing which uses bus-duct, isolated phase bus, or busway segregated phase bus. Connecting the busbars and the electrical apparatus needs welded connections or bolted clamps.

How Are Busbars Rated? Rated current- This is the RMS measure of current that busbars can conduct persistently with the rise in temperature within a particular limit.

Rated voltage- This is the RMS voltage value between lines for which you need the busbar

Rated frequency- The value of frequency for which the busbar systems work

Rated short-time current- The RMS current value that bus bars carry for specified temperature rises in a specified duration

Rated insulation level- the normal rated voltage, power frequency withstand voltage, switching impulse voltage or lightning impulse withstand voltage used to characterize the insulation levels.

Factors to Consider While Selecting Busbars You need to consider certain factors before choosing the busbar sizes—these include current carrying capacity, surface gradient, performance, etc. Electrical and mechanical stresses like short circuit fault currents should be considered to withstand thermal stresses. Also, the short circuit effects that cause stress to the clamps and connectors need to be well addressed. Let's check out the factors considered in selecting bars factors:

Ambient temperature Operating temperature Height from sea level Voltage level Short circuit current Type of bar coverage The number of busbars in each phase is considered. Types Of BusBar Arrangements in Power System Let’s now take a glance at the various types of busbar systems and learn more about them:

Single Busbar System This system arrangement consists of a main bus that remains energized every time and every circuit is connected to this. This arrangement offers the least amount of dependability. The complete loss of the substation can occur with the bus faults or any failure in the operation of the circuit breaker.

Advantages:

Cost-effective Needs small area Highly expandable Easy Concept and operation Great on protect

Reasons:
  • Blacklisted phrase (1): this blog
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Abdul Halim

79174324

Date: 2024-11-10 07:14:22
Score: 1.5
Natty:
Report link

Actually I m getting same issue as of now 2024 the solution is simple Add this dependency in pom.xml

    <dependency>
        <groupId>jakarta.servlet</groupId>
        <artifactId>jakarta.servlet-api</artifactId>
        <version>6.1.0</version>
        <scope>provided</scope>
    </dependency>

    
    <dependency>
        <groupId>jakarta.servlet.jsp</groupId>
        <artifactId>jakarta.servlet.jsp-api</artifactId>
        <version>4.0.0</version>
        <scope>provided</scope>
    </dependency>

    <dependency>
        <groupId>jakarta.servlet.jsp.jstl</groupId>
        <artifactId>jakarta.servlet.jsp.jstl-api</artifactId>
        <version>3.0.0</version>
    </dependency>

    <dependency>
        <groupId>org.glassfish.web</groupId>
        <artifactId>jakarta.servlet.jsp.jstl</artifactId>
        <version>3.0.0</version>
    </dependency>

note the uri for this

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
Reasons:
  • Whitelisted phrase (-1): solution is
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): getting same issue
  • Low reputation (1):
Posted by: aamer khan

79174305

Date: 2024-11-10 07:01:20
Score: 1
Natty:
Report link

It can be manually removed from the DoxygenLayout.xml

doxygen -l
LAYOUT_FILE            = doc/DoxygenLayout.xml
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dmitry Ponyatov

79174303

Date: 2024-11-10 06:59:20
Score: 0.5
Natty:
Report link

By adding this dependency in Pom.xml worked for me

<dependency>
    <groupId>io.github.resilience4j</groupId>
    <artifactId>resilience4j-spring-boot3</artifactId>
</dependency>
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: dabbiru haneesh

79174295

Date: 2024-11-10 06:56:16
Score: 6 🚩
Natty:
Report link

Give me somewhere to msg you we can help eachother out on BLTools i got some questions too. Not trying to sell anything or anything like that

Reasons:
  • Blacklisted phrase (3): Give me some
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: JacobTapp

79174289

Date: 2024-11-10 06:51:14
Score: 1
Natty:
Report link

Using the same request shared above:

POST https://graph.microsoft.com/v1.0/subscriptions { "changeType": "updated", "notificationUrl": "https://whook-url.com", "resource": "sites/SITE-ID/drive/root", "expirationDateTime": "2021-09-27T11:59:45.9356913Z", "clientState": "secretClientValue", "latestSupportedTlsVersion": "v1_2" }

Getting errors: { "error": { "code": "ValidationError", "message": "The request is invalid due to validation error.", "innerError": { "date": "2024-11-10T06:44:34", "request-id": "59c60f96-a7c5-44c7-bc3d-5081b88edccf", "client-request-id": "59c60f96-a7c5-44c7-bc3d-5081b88edccf" } } }

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

79174288

Date: 2024-11-10 06:51:14
Score: 2.5
Natty:
Report link

i found the answer: if i Explicitly define the value of "c", like this, it will update.

parent.children = [Child(a=123, b="b", c=None), ...]

but if i just use the defualt none value of "c", it will not update, the original value will remain unchanged.

parent.children = [Child(a=123, b="b"), ...]

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

79174266

Date: 2024-11-10 06:35:11
Score: 2.5
Natty:
Report link

Should I open an issue on github?

Yes; this was an oversight on our part, and now that you've raised the issue (thanks!) I've committed a simple fix that should make it into the next release ;)

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: alexander-beedie

79174248

Date: 2024-11-10 06:23:09
Score: 1
Natty:
Report link

Using Android Studio, the correct repo is at

https://maven.scijava.org/content/repositories/public/com/github/QuadFlask/colorpicker/0.0.15/colorpicker-0.0.15.pom

so this old repo will display 404 error https://dl.google.com/dl/android/maven2/com/github/QuadFlask/colorpicker/0.0.15/colorpicker-0.0.15.pom

nor

https://repo.maven.apache.org/maven2/com/github/QuadFlask/colorpicker/0.0.15/colorpicker-0.0.15.pom

Therefore, it could not find the repo in these two locations.

You fix it by writing in build.gradle(Project level):

buildscript {
    repositories {
        google()
        mavenCentral()
        maven {
            url "https://maven.scijava.org/content/repositories/public/"
            }
    }
    dependencies {
                  .........
    }
}

allprojects {
    repositories {
        google()
        mavenCentral()
        maven {
            url "https://maven.scijava.org/content/repositories/public/"
            }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

Ensure in the build.gradle(App level):

dependencies 
{        
   ...........
  implementation 'com.github.QuadFlask:colorpicker:0.0.15'
}

Sync project and it will show BUILD SUCCESSFUL.

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

79174246

Date: 2024-11-10 06:20:08
Score: 1.5
Natty:
Report link

Many people claim that asyncio should be used for I/O-intensive tasks. However, this might not actually be the case. I wrote a simple benchmark and observed that for I/O-intensive tasks, the performance of asyncio and multithreading is quite similar. In fact, I believe that asyncio might only be necessary when dealing with very complex state sharing and contention. Otherwise, if using asyncio significantly affects the coding style, it’s best to avoid it.

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

79174244

Date: 2024-11-10 06:20:08
Score: 0.5
Natty:
Report link

Room has a builder that created an in-memory database:

Room.inMemoryDatabaseBuilder(context, AppDatabase::class.java, DATABASE_NAME)

If you combine this with dependency injection (to build a singleton of the database instance) you'll get a robust and extensible solution.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jesús Barrera

79174234

Date: 2024-11-10 06:08:06
Score: 2.5
Natty:
Report link

If your loop is in a while loop, there is no need to make another one. You can't do infinite actions for an infinity amount of times. In other words, infinity * infinity is impossible.

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

79174231

Date: 2024-11-10 06:07:05
Score: 2.5
Natty:
Report link

Without any unexpected error if there are no crates installed.

Use:

cargo install --list | grep -E '^[a-z0-9_-]+ v[0-9.]+:$' | cut -f1 -d' ' | xargs cargo install

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

79174229

Date: 2024-11-10 06:05:05
Score: 2
Natty:
Report link

thank for the answer of Gord Thompson in github.

Sorry, I did a minimal demo for test, and I did not reproduce the same problem, but it does exist in the actual program, so it is probably caused by other parts of the program. I will do another experiment to confirm where the problem lies before asking questions.

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

79174227

Date: 2024-11-10 06:04:05
Score: 2
Natty:
Report link

i found this article https://www.cypress.io/blog/component-testing-next-js-with-cypress#customize-your-nextjs-testing-experience

works great but need to keep this disclaimer from cypress team in mind :)

Unfortunately, there’s no such thing as a free lunch—adding these extra items to every mount will affect performance and introduce global state elements outside the bounds of your component. It’s up to you to decide whether these trade-offs are worth it based on your use case.

Reasons:
  • Blacklisted phrase (1): this article
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Igor Pavlenko

79174226

Date: 2024-11-10 06:04:05
Score: 3
Natty:
Report link

Finally, thanks to @Jester, encoding was the problem.

(gdb) r $(python3 -c 'import sys; sys.stdout.buffer.write(b"\x41"*152 + b"\x70\xe3\xff\xff\xff\x7f")')

Solved the isssue.

Same procedure as above gets

Program received signal SIGSEGV, Segmentation fault.
0x00007fffffffe370 in ?? ()
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Jester
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user27263189

79174221

Date: 2024-11-10 05:59:04
Score: 0.5
Natty:
Report link

just remove the "#" from this line.

LoadModule rewrite_module modules/mod_rewrite.so

In httpd.conf in /Applications/MAMP/conf/apache

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

79174212

Date: 2024-11-10 05:48:02
Score: 1.5
Natty:
Report link

I faced the same issue "Socket error on client , disconnecting." when my mosquitto configuration file contained this

allow_anonymous true

password_file /etc/mosquitto/passwd

The configuration file containing both lines seem to confuse the broker what to do. Fixed the issue when changing to

#password_file /etc/mosquitto/passwd

allow_anonymous true

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

79174202

Date: 2024-11-10 05:39:00
Score: 3.5
Natty:
Report link

Hey y’all I’m snoop dogg I make music and I just wanted to say hi ☠️

I've a simple .NET Core Web API that processes large size documents (> 10 MB < 50 MB). Basically it reads a document from CRM like Salesforce processes it with Aspose and send the processed documents to multiple destinations like Salesforce, Email etc. Instead of using byte array I thought of using streams but my question is after I process the document I get an output stream and how can I send a single output stream to multiple systems in parallel? Since streams are single threaded do I need to clone the stream? Cloning will again cause memory issues right? How we can handle large size documents in a memory efficient way and yet I can send to multiple destinations in parallel.

Reasons:
  • Blacklisted phrase (0.5): how can I
  • Blacklisted phrase (0.5): I need
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Snoop Dogg

79174201

Date: 2024-11-10 05:39:00
Score: 1
Natty:
Report link

No, because it's not calling them.

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

79174194

Date: 2024-11-10 05:30:58
Score: 1.5
Natty:
Report link

A very unsatisfying answer but worked. After finding this, I tried creating a new project and just transferred my source code and assets to the new one and it worked. Oh, and I guess the important part, I opted out of SSR during generation.

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

79174182

Date: 2024-11-10 05:15:52
Score: 6.5 🚩
Natty:
Report link

I have the same problem and I don't know where the error is because the code was working properly a month ago and now it doesn't work

Reasons:
  • 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: mohamed Sayed

79174172

Date: 2024-11-10 05:08:51
Score: 3
Natty:
Report link

You need to press on that link for Auth, and if err occurred there, remove and add again Google Chrome from Firewall and Network protection

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

79174166

Date: 2024-11-10 05:03:50
Score: 4
Natty:
Report link

GraphClient is no longer supported....

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mike Wilcox

79174155

Date: 2024-11-10 04:54:48
Score: 1.5
Natty:
Report link

If you're reading this in 2024 and still having issues even after implementing all the suggestions here, I just spent a ton of time trying to get to the bottom of this and managed to find a solution as my logs and Sentry were completely clogged.

Short answer: You need to update your nginx.conf file to rewrite the host if it's coming from a fixed IP.

Full write up here: https://diogofreire.btw.so/fixing-the-damn-allowed_hosts-issue-with-amazon-elastic-beanstalk-and-django

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Diogo Freire

79174149

Date: 2024-11-10 04:45:46
Score: 3.5
Natty:
Report link

Download Mingw-Minimalist GNU for windows

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

79174129

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

Is song.image the full path of asset you have? If so, you should initialize UIImage first, and then pass UIImage into Image

e.g.

instead of

Image(song.image)

use

Image(uiImage: UIImage(named: song.image)!)

Check the documentation for Image and UIImage to see various ways of initializing each object

https://developer.apple.com/documentation/swiftui/image

https://developer.apple.com/documentation/swiftui/image/init(uiimage:)

https://developer.apple.com/documentation/uikit/uiimage

https://developer.apple.com/documentation/uikit/uiimage/1624146-init

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Anonymous

79174128

Date: 2024-11-10 04:19:42
Score: 1.5
Natty:
Report link

If you're reading this in 2024 and still having issues even after implementing all the suggestions here, I just spent a ton of time trying to get to the bottom of this and managed to find a solution as my logs and Sentry were completely clogged.

Short answer: You need to update your nginx.conf file to rewrite the host if it's coming from a fixed IP.

Full write up here: https://diogofreire.btw.so/fixing-the-damn-allowed_hosts-issue-with-amazon-elastic-beanstalk-and-django

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Diogo Freire

79174125

Date: 2024-11-10 04:17:41
Score: 1
Natty:
Report link

Both 19c (19.25.0.0) and 23ai (23.6.0.24.10) drivers are supported with Oracle Database 19c. 23ai JDBC driver is the most recent release, hence it has more features than 19c and to answer your question:

  1. As you are already using JDK11, hence it is better to use ojdbc11.jar which is compiled with JDK11. ojdbc8.jar is meant for those who are still using JDK8 and because of that they cannot use the ojdbc11.jar.
  2. No performance implications of JDBC 4.3 over JDBC 4.2.
Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Saurabh Verma

79174124

Date: 2024-11-10 04:15:41
Score: 0.5
Natty:
Report link

I was facing the same issue regarding uploading PDF files at Cloudinary. Watch my tweet how I solved it

https://x.com/Mathur128/status/1855461641309294910

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vaibhav Mathur

79174123

Date: 2024-11-10 04:13:40
Score: 0.5
Natty:
Report link

Simply using a directory that's not named src/ doesn't require any arguments, by default colcon will recursively search for packages in the current directory.

You can specify a specific directory with --base-paths and/or add an empty file named COLCON_IGNORE to your other directories that should be ignored.

https://colcon.readthedocs.io/en/released/reference/discovery-arguments.html

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

79174122

Date: 2024-11-10 04:12:39
Score: 4
Natty: 4
Report link

you could always just use sprite collision.

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

79174114

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

Ensure that you are using a recent version of Git. Older versions of Git for Windows might have compatibility issues with curl. If you’re using an older version, consider updating Git manually by downloading the latest installer from the official site. If above solution is not working, uninstall Git for Windows from your system, restart, and then download and install the latest version.

Reasons:
  • Blacklisted phrase (1): solution is not working
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tharuka Deshan

79174110

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

Update AndroidManifest.xml &specify whether the broadcastReceiver is exported or not depending on your need

android:exported="true"

or

android:exported="false"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user27894462

79174107

Date: 2024-11-10 03:52:35
Score: 2
Natty:
Report link

try this /(\(\+[0-9]{2}\)\(0\)|00[0-9]{2}|0)([0-9]{9}$|[0-9\-\s]{10})/gm

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mika

79174076

Date: 2024-11-10 03:14:28
Score: 3
Natty:
Report link

Expo cloud compilation is the ugliest thing I have ever seen, it wipes out local compilation. Good job, brother. I support you, Trump.

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

79174073

Date: 2024-11-10 03:10:27
Score: 1
Natty:
Report link

I think the reason that you are unable to run the shell script through ./li.sh is because you haven't set the file permission to executable

You could have a look at this https://www.redhat.com/en/blog/linux-file-permissions-explained

tldr; you can run sudo chmod +x li.sh and then continue to proceed with ./li.sh

Assuming you are in the same directory when u run bash li.sh and ./li.sh , it should both work the same way. When you specify bash li.sh , it first runs bash and executes the file , where as when you run ./li.sh , it reads the file , sees that there is the #! symbol , it will run /bin/env bash , and then it will continue the script

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

79174072

Date: 2024-11-10 03:09:27
Score: 1
Natty:
Report link

I'm using process.cwd() but I'm getting this error on vercel

Unhandled Rejection: Error: ENOENT: no such file or directory, open '/var/task/src/contents/projects/undefined.md'

and this on development

unhandledRejection: Error: ENOENT: no such file or directory, open 'C:\Users\User\Desktop\My-Portfolio\src\contents\projects\undefined.md' at Object.readFileSync (node:fs:448:20)

This is how I used it. My markdown files are in the path src/contents/projects/

const projectDirectory = path.join(process.cwd(), 'src', 'contents', 'projects')
Reasons:
  • RegEx Blacklisted phrase (1): I'm getting this error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Idighs

79174059

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

I also faced some difficulties in deploying fullstack application using react and nestjs with nginx. Here is my approach: enter image description here I used nginx as follows:

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

79174030

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

It is 2024. You might want to use UDP if you don't mind loosing packages on the way during transport. This is totally fine for audio or video (streaming) but not if you expect a proper response. Use inproc if you need to support windows and all or ipc if you support a proper platform such as linux/BSD.

We are using ipc to communicate between micro-services and it's blazing fast. If you need to distribute your services over multiple servers use TCP. It works great and fast.

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