79802376

Date: 2025-10-28 02:31:36
Score: 6 đŸš©
Natty:
Report link

Thnx, same issue, this helped me a lot.

Reasons:
  • Blacklisted phrase (1): helped me a lot
  • RegEx Blacklisted phrase (1): same issue
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Petr KropĂ­k

79802375

Date: 2025-10-28 02:18:33
Score: 1.5
Natty:
Report link

Introduction

I think I got the reason why its not working the way everyone expects it to.

Barmar's suggestion was to compare the stdout of each examples, to see how each output differs from each other. But, I made something simpler. printf returns the number of characters it outputs to the screen. The same happens with wprintf.

So, I decided to test both of them, but also, I added a few more lines for a better understanding of the problem.

// Example 1
int n = printf("\U0001F625");
unsigned char *s = (unsigned char *) "\U0001F625";
printf("%d bytes %d %d %d %d\n", n, s[0], s[1], s[2], s[3]);
// This prints: đŸ˜„4 bytes 240 159 152 165

// Example 2
int n = wprintf(L"\U0001F625");
unsigned char *s = (unsigned char *) L"\U0001F625";
printf("%d bytes %d %d %d %d\n", n, s[0], s[1]);
// This prints: 2 bytes 61 216
// Note that the emoji doesn't appear. That's the output everyone is getting.

As a side note, I know I repeated variable names. I tested each example separately by commenting each part to avoid name conflicts.

Okay. So, why did I do all of that?

First, it starts on how the UTF-8 encoding works in binary level. You can read more about it here on the wikipedia. The table in the description section is an amazing resource to understand how the encoding works in low level.


Checking a few things first

I've got this output from C, from example 1: This prints: đŸ˜„4 bytes 240 159 152 165, because I want to see the binary representation of the number \U0001F625, which is 128549 in decimal. By checking the UTF-8 table, we get that it outputed a string of 4 bytes.

So according to the table, the unicode must be between U+010000 and U+10FFFF range.

By converting everything in decimals, we can easily see that 65536 <= 128549 <= 1114111 is true. So, yes, we've really got a utf-8 character of 4 bytes from that printf. Now, I want to check the order of those bytes. That is, should we mount our byte string with s[0], s[1], s[2], s[3]? Or the reverse order: s[3], s[2], s[1], s[0]?

I started in the 0-3 order.

To make things easier, I used python, and converted the s[n] sequence to a byte string:

'{:08b} {:08b} {:08b} {:08b}'.format(240, 159, 152, 165)
# '11110000 10011111 10011000 10100101'

In the UTF-8 table, we see that a 4-byte character must be in the binary form:

11110uvv 10vvwwww 10xxxxyy 10yyzzzz
11110000 10011111 10011000 10100101

So, that matches. Now, by concating the binary from where the u, v, w, x, y, z charaters are, we get: 000011111011000100101. In python, executing int('000011111011000100101', 2), we get: 128549.

So that means that the printf is really returning a UTF-8 character of the unicode 128549 or \U0001F625, and, I just proved that we can read each byte of that string from sequence 0 to 3, in this order. At least, on my PC and gcc compiler.


Seeing what happens on wprintf

Now, to the second example, let's see what's happening. We've got the output This prints: 2 bytes 61 216. So, if we get a binary representation of 61 and 216 bytes, it is: 00111101 11011000.

What's the problem with this string?

First, if we attempt to convert it to a decimal, we get int('0011110111011000', 2) -> 15832, or 0x3dd8. But that's expected. We had a very huge number that needed at least 3 bytes, and now we got just 2 bytes. There's no way it can fit inside it.

Second, the problem also lies on the UTF-8 encoding. A character of 2 bytes must be defined as:

110xxxyy 10yyzzzz
00111101 11011000

It doesn't match. So our output from wprintf is not UTF-8 encoded.

So, the only explanation is that it must be UTF-16 encoded. Because from many resources, specially this one from microsoft, after all the question in the matter seems to be in windows, it states that wchar_t is to support UTF-16 enconding.

I attempted to seek what character the unicode 0x3dd8 represents, but I didn't found anything. This site basically tells that this unicode has no representation at all. So, it's indeed a blank character.


Conclusion

That's how deep I could go on this matter. By calling wprintf with L"\U0001F625", it converts that codepoint into a smaller number, which is 0x3dd8, and this character seems to be invisible.

Reasons:
  • Blacklisted phrase (1): its not working
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Carl HR

79802364

Date: 2025-10-28 01:55:28
Score: 1.5
Natty:
Report link

Thanks — that’s a good, detailed description of a common Spark Structured Streaming issue with S3-backed checkpoints.

Let’s break it down clearly.


đŸ’„ Error Summary

Caused by: java.io.FileNotFoundException: No such file or directory: s3a://checkpoint/state/0/7/1.delta

This means Spark’s state store checkpoint (HDFSStateStoreProvider) tried to load a Delta file (used for state updates) from your S3 checkpoint directory, but that .delta file disappeared or was never fully committed.


🧠 Why This Happens

This typically occurs because S3 is not a fully atomic file system, while Spark’s streaming state store logic assumes atomic rename and commit semantics like HDFS provides.

Common triggers:

  1. S3 eventual consistency — the file might exist but not yet visible when Spark tries to read it.

  2. Partially written or deleted checkpoint files — if an executor or the job failed mid-commit.

  3. Misconfigured committer or checkpoint file manager — the "magic committer" setup can cause issues with state store checkpoints (which aren’t output data but internal metadata).

  4. Concurrent writes to the same checkpoint folder — e.g., restarting the job without proper stop or cleanup.

  5. S3 lifecycle rules or cleanup deleting small files under checkpoint directory.


⚙ Root Cause in This Case

You configured:

.config("spark.hadoop.fs.s3a.bucket.all.committer.magic.enabled", "true")
.config("spark.hadoop.mapreduce.outputcommitter.factory.scheme.s3a", "org.apache.hadoop.fs.s3a.commit.S3ACommitterFactory")
.config("spark.hadoop.fs.s3a.committer.name", "magic")
.config("spark.sql.streaming.checkpointFileManagerClass", "org.apache.spark.internal.io.cloud.AbortableStreamBasedCheckpointFileManager")

These are correct for streaming output to S3 — but not ideal for Spark’s internal state store, which writes lots of small .delta files very frequently.
The “magic committer” tries to do atomic renames using temporary directories, but the state store’s file layout doesn’t cooperate well with it.

So you likely had a transient failure where 1.delta was being written, and then Spark failed before it was visible or committed — leaving a missing file reference.


✅ Recommended Fixes

1. Keep checkpoint/state on HDFS or local durable storage

If possible:

.option("checkpointLocation", "hdfs:///checkpoints/myjob")

or if on EMR:

.option("checkpointLocation", "s3://mybucket/checkpoints/") 
.config("spark.sql.streaming.stateStore.providerClass", "org.apache.spark.sql.execution.streaming.state.HDFSBackedStateStoreProvider")

💡 Best practice:
Use S3 only for output sinks, not for streaming state checkpoints.

If you must use S3, use a consistent storage layer like:


2. If S3 must be used, disable the magic committer for checkpointing

Keep the committer for your output sink, but not for checkpoint/state store.

Try:

.config("spark.sql.streaming.checkpointFileManagerClass", "org.apache.spark.sql.execution.streaming.CheckpointFileManager")
.config("spark.hadoop.fs.s3a.committer.name", "directory")

and remove:

.config("spark.hadoop.fs.s3a.bucket.all.committer.magic.enabled", "true")

This forces Spark to write checkpoints with simpler semantics (no magic rename tricks).


3. Check for concurrent jobs / restarts

Make sure no two jobs are writing to the same checkpoint directory.
If the old job didn’t shut down gracefully (stopGracefullyOnShutdown), the state might have been mid-write.


4. Recover

If the checkpoint is already corrupted, you may need to delete the affected checkpoint folder and restart from scratch (you’ll lose streaming state, but it will recover).


5. Upgrade or Patch

There were several S3A + Structured Streaming fixes in Spark 3.5+.
If you can, upgrade to Spark 3.5.x (lots of S3 committer and state store improvements).


🔍 Quick Checklist

ActionRecommendationCheckpoint directoryUse HDFS/local if possibleMagic committerDisable for checkpointsS3 lifecycle rulesEnsure they don’t delete small filesSpark versionPrefer ≄ 3.5.0Job restartsEnsure only one writer per checkpointAfter crashClear corrupted state folder before restart


If you share your deployment environment (EMR / K8s / Dataproc / on-prem cluster) I can give you a precise config for reliable S3 checkpointing.

Would you like me to show the updated Spark session builder config with safe S3 settings for streaming checkpoints?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): in your case
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Mr GPT

79802357

Date: 2025-10-28 01:36:24
Score: 1.5
Natty:
Report link

I had the issue where I could launch a browser and create a new profile but I couldn't reopen the browser with the new profile directory specified. I also found that I didn't have permissions to delete or modify the profile directory I just created. I had to restart my computer in safe mode and then limit the directory permissions to control by just my username (eliminating System and other admins control - which didn't matter for my personal computer) as well as limit the permissions of the chrome application folder (which was writing and adding permissions to the profile folder,) to just control by my username. Then once I restarted the computer normally, I was able to modify the chrome profile folders and properly launch and relaunch the same profile with selenium webdriver.

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

79802338

Date: 2025-10-28 00:22:10
Score: 1.5
Natty:
Report link

I can get this to work if I put the name of the organizer in double quotes. e.g.

ORGANIZER;CN="John Smith":mailto:[email protected]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ben Wilton

79802334

Date: 2025-10-28 00:14:07
Score: 2.5
Natty:
Report link

I ran into this problem trying to install to the root folder of a drive. Switching my install folder to a different location in the Unity Hub settings fixed it for me.

However, I also had to move all my existing installs to the new folder and restart Unity Hub so it could find them again.

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

79802323

Date: 2025-10-27 23:57:02
Score: 4
Natty:
Report link

AVG( { FIXED [Player], [Match ID] : SUM([Total Errors]) } )

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

79802322

Date: 2025-10-27 23:54:01
Score: 2
Natty:
Report link
titleBarStyle to "hidden"

You should try the above code. It will fix the padding issue.

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

79802319

Date: 2025-10-27 23:42:58
Score: 1
Natty:
Report link

Was able to fix this by updating System.IdentityModel.Tokens.Jwt to the latest version. This would require explicit installation.

<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.21" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.14.0" />

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

79802315

Date: 2025-10-27 23:28:55
Score: 1.5
Natty:
Report link

And I just discovered the answer....

For some reason, the parent assignment operator <<- needs to be used here, e.g.

warnings[[i]] <<- w   # Return this to `warnings`
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Earlien

79802312

Date: 2025-10-27 23:26:54
Score: 2.5
Natty:
Report link

Ahem... The issue was ALLOT calling for only 32 CELLS and not 256, as it had ought.

No idea why VFX Forth had no issue with that. Anyhow, now for calling 256 ALLOT, all is well with all four Forths.

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

79802309

Date: 2025-10-27 23:24:54
Score: 1.5
Natty:
Report link

I tried this, and the disk won't show up as an option. For clarity, I have a C4 VM with a hyperdisk balanced drive that I took a snapshot of, and then tried to create a VM from the snapshot. No matter what I do, or how I go about it, I can't seem to create the VM with that snapshot or a disk based on that snapshot. When selecting the snapshot, it tells me: "This boot disk source does not support gVNIC" and when creating the disk first and then trying to use that disk, the disk just doesn't show up. It seems I am going to have to create a blank VM and then hand copy things over. :-/

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

79802308

Date: 2025-10-27 23:19:52
Score: 4.5
Natty:
Report link

Great thanks for you help! Works like a charm

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mick T

79802287

Date: 2025-10-27 22:21:38
Score: 3
Natty:
Report link

TMUX sessions are the way to go. You can have a tmux session not get killed in your VNC. You can always start where you left off

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

79802284

Date: 2025-10-27 22:08:35
Score: 3
Natty:
Report link

if you want to use "Publish an Android app for ad-hoc distribution",you will fail. there is a bug in there and will need to wait for a long time to be repaired.

so you would use "https://learn.microsoft.com/en-us/dotnet/maui/android/deployment/publish-cli?view=net-maui-9.0" instead.

if you do not want to waste your time.please do it. thank you.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: jie xiao

79802279

Date: 2025-10-27 22:02:33
Score: 1.5
Natty:
Report link

I tested a little more and I used

(gdb) symbol-file program.debug

instead of

(gdb) add-symbol-file program.debug

And I see the same result now.

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

79802267

Date: 2025-10-27 21:33:27
Score: 2.5
Natty:
Report link

json_formatted_str is a string, and iterating through a string will yield the individual characters. You probably want something like for line in json_formatted_str.split("\n")

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is a
  • Low reputation (1):
Posted by: wotb

79802266

Date: 2025-10-27 21:31:26
Score: 1.5
Natty:
Report link

I've had the same question. Bigtable Studio is very limited and cumbersome to use if we're being honest. I gave it a shot and built something on my own. I use it almost daily and it's a gamechanger. I know self-promotions are frowned upon so if you're interested, just search for "Binocular Bigtable", you should easily find it.

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

79802250

Date: 2025-10-27 21:07:21
Score: 2
Natty:
Report link

To anyone landing here, I noticed that it kept showing "Transport Error" and no solutions worked... until my watch's battery was back at 15% (and higher). I couldn't find documentation on if this is relevant.

→ But as soon as the battery reached 15%, the watch connected again. ←

Maybe it helps someone else.

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

79802245

Date: 2025-10-27 21:05:20
Score: 2.5
Natty:
Report link

Maybe this can help you. It was an issue with Tahoe connection with PG. As you are doing an HTTPS connection it may be related.

https://github.com/rails/solid_queue/issues/669

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

79802241

Date: 2025-10-27 20:59:18
Score: 1
Natty:
Report link

For newer versions, the memoryLimit property is inside of the typescript attribute.

new ForkTsCheckerWebpackPlugin({
  typescript: {
   memoryLimit: 8192, // default is 2048
  }
}),
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: William Gusmanov

79802238

Date: 2025-10-27 20:52:17
Score: 3.5
Natty:
Report link

yes I have testes the JS in the debug console. There it works.

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

79802235

Date: 2025-10-27 20:45:14
Score: 4.5
Natty: 5
Report link

After installing a DPK, rather than using the IDE Tools > Options > Languages > Delphi > Library > Library Path > Browse for Folder > Select a Folder > Add, is there a simple code to add the DPK name to the Library Path?

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

79802234

Date: 2025-10-27 20:39:13
Score: 2
Natty:
Report link

now with Angular 20 there is afterRenderEffect that can do that in one step

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

79802229

Date: 2025-10-27 20:35:12
Score: 1.5
Natty:
Report link

Just into this line put a boolean variable

if timeleft > 0 and noPause :

Next use yours event bottons to got it to change

And reseting your counter too.

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

79802227

Date: 2025-10-27 20:34:11
Score: 2
Natty:
Report link

Thank you both so much @derHugo and @Gerry Schmitz! Combining your suggestions (saving at periodic intervals and not only exporting at OnApplicationQuit allowed me to get the CSVs saved as intended!

In case anyone else has a similar issue in the future, I added in the following lines to my code to get it to work as intended:

Before void Start():

public float saveIntervalInSeconds = 15.0f; // logs the data every 15 seconds; adjustable in Inspector

At the end of void Start() (after dataLines.Add):

StartCoroutine(SaveRoutine());

Between voidRecordData() and void OnApplicationQuit():

private System.Collections.IEnumerator SaveRoutine()
{
    while (true)
    {
        yield return new WaitForSeconds(saveIntervalInSeconds);
        SaveData();
    }
}

I kept the OnApplicationQuit export point just as a final export point, to try to cover any data that may not have been exported in the smaller intervals.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @derHugo
  • User mentioned (0): @Gerry
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: sam

79802225

Date: 2025-10-27 20:33:11
Score: 1.5
Natty:
Report link

I found a solution before this got approved. This is what I ended up with:

SELECT
    ...,
    (SELECT pi.value -> 'id' FROM jsonb_each(data -> 'participants') AS pi WHERE pi.value -> 'tags' @> '["booked"]') custom_column_name
FROM
    ...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mrivera

79802224

Date: 2025-10-27 20:31:10
Score: 0.5
Natty:
Report link

I would recommend move this code:

var newEntryUuid = Uuid.random()
val newEntryUuidClone = newEntryUuid
coroutineScope.launch(Dispatchers.IO) {
    if (newEntryViewModel.selectedEntryType == EntryTypes.Card)
       newEntryUuid = newEntryViewModel.pushNewEntry(card = newEntryViewModel.createCard(), context =  localctx)
    if (newEntryViewModel.selectedEntryType == EntryTypes.Account)
        newEntryUuid = newEntryViewModel.pushNewEntry(account = newEntryViewModel.createAccount(), context = localctx)
    newEntryViewModel.entryCreated.value = newEntryUuid != newEntryUuidClone
}

to a new method at your viewmodel do to you already have one.
And because you're already updating this value:

newEntryViewModel.entryCreated.value

doing it at your VM will be easier, consistent and testeable, because your logic will be separated from your view.

then on your button now you'll only need to pass the method as parameter:

Button(
    onClick = newEntryViewModel::yourMethodToPushEntry
)

therefore your composable doesn't need to worry about manage coroutines.

you can launch it at your viewmodel using viewmodelScope.launch {} yes without the dispatcher because your method:

suspend fun pushNewEntry(

is already a suspend fun and its handling the need of move the context to IO Dispatchers.

Cheers!

Reasons:
  • Blacklisted phrase (1): Cheers
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gapps

79802223

Date: 2025-10-27 20:30:10
Score: 2
Natty:
Report link

Your issue comes from multiple parallel POST requests updating the same recipe; fix it by sending the full recipe in a single POST or chaining the requests sequentially so they don’t overwrite each other.

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

79802217

Date: 2025-10-27 20:26:09
Score: 0.5
Natty:
Report link

404 happens because Spring Boot handles /login instead of Angular.

Dev: use useHash: true ===> /#/login Prod: add in Spring Boot:

@GetMapping("/{path:[^\\.]*}") public String forward() { return "forward:/index.html"; }

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

79802210

Date: 2025-10-27 20:22:07
Score: 0.5
Natty:
Report link

Updated image:

enter image description here

Updated code, which includes some key functionality that is debatable not 'minimal' but debatably is minimal if we want to have something that mimics the functionality of a combo box as in the initial question, including:

from PyQt5.QtWidgets import (
    QApplication, QWidget, QHBoxLayout, QVBoxLayout, QTreeView,QMainWindow,QPushButton,QDialog,QLabel
)
from PyQt5.QtGui import QStandardItemModel, QStandardItem, QFontMetrics
from PyQt5.QtCore import QModelIndex,Qt,QPoint,QTimer

class MyPopup(QDialog):
    def __init__(self, parent=None):
        super().__init__(parent)
        self.parent=parent

        # Create the TreeView for the dropdown popup
        self.tree_view = QTreeView(self)
        self.tree_view.setHeaderHidden(True)  # Hide the header to look like a simple tree
        self.tree_view.setSelectionMode(QTreeView.SingleSelection)
        self.tree_view.setEditTriggers(QTreeView.NoEditTriggers)
        self.tree_view.setExpandsOnDoubleClick(False)
        self.tree_view.setAnimated(True)

        self.tree_view.setFixedHeight(300)

        # Create a model for the tree view
        self.model = QStandardItemModel()
        self.tree_view.setModel(self.model)

        self.tree_view.entered.connect(self.enteredCB)
        self.tree_view.clicked.connect(self.clickedCB)
        self.tree_view.expanded.connect(self.expandedCB)

        self.setWindowTitle("Popup Dialog")
        self.setWindowFlags(Qt.Popup)
        layout = QVBoxLayout(self)
        layout.setContentsMargins(0,0,0,0)
        layout.addWidget(self.tree_view)
        self.setLayout(layout)
        self.tree_view.setMouseTracking(True)
        # blockPopup: don't try to show the popup for a quarter second after it's been closed;
        #  this allows a second click on the button to close the popup, in the same
        #  manner as for a combo box
        self.blockPopup=False

    def closeEvent(self,e):
        self.blockPopup=True
        QTimer.singleShot(250,self.clearBlock)

    def clearBlock(self):
        self.blockPopup=False
        
    def enteredCB(self,i):
        self.setFullLabel(i)

    def expandedCB(self,i):
        self.collapseOthers(i)

    def clickedCB(self,i):
        self.setFullLabel(i)
        self.close() # close the popup
        self.parent.button.clearFocus() # do this AFTER self.close to prevent the button from staying blue

    def setFullLabel(self,i):
        # Get the full hierarchy path for display
        current_index = i
        path_list = [self.model.data(i)]
        while current_index.parent().isValid():
            parent_index = current_index.parent()
            parent_text = self.model.data(parent_index)
            path_list.insert(0, parent_text)
            current_index = parent_index
        # Join path with a separator and set the text
        self.parent.button.setText(' > '.join(path_list))
        self.parent.label.setText('selected ID: '+self.model.data(i,Qt.UserRole))
    
    # recursive population code taken from https://stackoverflow.com/a/53747062/3577105
    #  add code to alphabetize within each branch
    def fill_model_from_json(self,parent, d):
        if isinstance(d, dict):
            for k, v in sorted(d.items(),key=lambda item: item[0].lower()): # case insensitive alphabetical sort by key
                [title,id]=k.split('|')
                child = QStandardItem(title)
                child.setData(id,Qt.UserRole)
                parent.appendRow(child)
                self.fill_model_from_json(child, v)
        elif isinstance(d, list):
            for v in d:
                self.fill_model_from_json(parent, v)
        else:
            parent.appendRow(QStandardItem(str(d)))

    # adapted from https://stackoverflow.com/a/45461474/3577105
    # hierFromList: given a list of (child,parent) tuples, returns a nested dict of key=name, val=dict of children
    def hierFromList(self,lst):
        # Build a directed graph and a list of all names that have no parent
        graph = {name: set() for tup in lst for name in tup}
        has_parent = {name: False for tup in lst for name in tup}
        for child,parent in lst:
            graph[parent].add(child)
            has_parent[child] = True
        # All names that have absolutely no parent:
        roots = [name for name, parents in has_parent.items() if not parents]

        # traversal of the graph (doesn't care about duplicates and cycles)
        def traverse(hierarchy, graph, names):
            for name in names:
                hierarchy[name] = traverse({}, graph, graph[name])
            return hierarchy

        idHier=traverse({}, graph, roots)['Top|Top']
        return idHier   

    def populate(self,tuples):
        # Populates the tree model from a list of (child,parent) tuples of text|ID strings
        self.model.clear()
        # make sure <Top Level> is always the first (and possibly only) entry
        topLevelItem=QStandardItem('<Top Level>')
        topLevelItem.setData('0',Qt.UserRole) # UserRole is used to store folder ID; use a dummy value here
        self.model.appendRow(topLevelItem)
        data=self.hierFromList(tuples)
        self.fill_model_from_json(self.model.invisibleRootItem(),data)

    # collapse all other indeces, from all levels of nesting, except for ancestors of the index in question
    def collapseOthers(self,expandedIndex):
        QApplication.processEvents()
        print('collapse_others called: expandedIndex='+str(expandedIndex))
        ancesterIndices=[]
        parent=expandedIndex.parent() # returns a new QModelIndex instance if there are no parents
        while parent.isValid():
            ancesterIndices.append(parent)
            parent=parent.parent() # ascend and recurse while valid (new QModelIndex instance if there are no parents)
        def _collapse_recursive(parent_index: QModelIndex,sp='  '):
            for row in range(self.model.rowCount(parent_index)):
                index = self.model.index(row, 0, parent_index)
                item=self.model.itemFromIndex(index)
                txt=item.text()
                if index.isValid() and index!=expandedIndex and index not in ancesterIndices:
                    self.tree_view.collapse(index)
                    # Recursively process children
                    if self.model.hasChildren(index):
                        _collapse_recursive(index,sp+'  ')
        # Start the recursion from the invisible root item
        _collapse_recursive(QModelIndex())
        QApplication.processEvents()


class MainWindow(QMainWindow):
    def __init__(self):
        super().__init__()
        self.setWindowTitle("Main Window")
        self.setGeometry(100, 100, 400, 50)
        central_widget = QWidget()
        self.setCentralWidget(central_widget)
        layout = QHBoxLayout(central_widget)
        self.button = QPushButton("Show Popup", self)
        self.button.pressed.connect(self.buttonPressed)
        layout.addWidget(self.button)
        self.label=QLabel()
        layout.addWidget(self.label)
        self.fm=QFontMetrics(self.button.font())
        # create and populate the popup
        self.popup = MyPopup(self)
        self.popup.populate([
            ['aa|10','a|1'],
            ['aaa|100','aa|10'],
            ['a|1','Top|Top'],
            ['b|2','Top|Top'],
            ['bb|20','b|2'],
            ['c|3','Top|Top']])
        self.popup.setFullLabel(self.popup.model.index(0,0))

    def buttonPressed(self):
        if self.popup.blockPopup:
            print('  blockPopup is True (popup was recently closed); popup not shown; returning')
            return
        # Get the global position of the button's top-left corner
        button_pos = self.button.mapToGlobal(QPoint(0, 0))
        # Calculate the desired position for the popup
        popup_x = button_pos.x()
        popup_y = button_pos.y() + self.button.height()
        popup_h=self.popup.height()
        screen_bottom_y=self.button.screen().geometry().height()
        if popup_y+popup_h>screen_bottom_y:
            popup_y=button_pos.y()-popup_h
        self.popup.move(popup_x, popup_y)
        self.popup.setFixedWidth(self.button.width())
        self.popup.exec_() # Show as a modal dialog


if __name__ == "__main__":
    app = QApplication([])
    window = MainWindow()
    window.show()
    app.exec_()

The full in-situ widgets are beyond the scope of this question, in the github.com/ncssar/radiolog development code tree as of this commit:

https://github.com/ncssar/radiolog/tree/44afdde291ec79cd8a0c08c8b41cd387e2174e2d

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

79802209

Date: 2025-10-27 20:21:07
Score: 1
Natty:
Report link

Was looking myself and it seems someone has managed to find and upload a document here:

https://kib.kiev.ua/x86docs/AMD/MISC/19725c_opic_spec_1.2_oct95.pdf

Sadly I could find no more official source, but hopefully this leads to a few more people possessing a copy for the next time it disappears. In the interest of better preserving it, I may attempt to somehow attach or link it here (though I have no affiliation with the site, it seems we were all looking for the same thing):
https://wiki.osdev.org/Open_Programmable_Interrupt_Controller

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

79802194

Date: 2025-10-27 20:01:01
Score: 2.5
Natty:
Report link

have you tested your select query in the browser debug console?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Jason

79802176

Date: 2025-10-27 19:31:53
Score: 1.5
Natty:
Report link

had the same problem, after deleting the browser cache, it was showing the child theme template
i found that:

https://wordpress.stackexchange.com/questions/108300/woocommerce-override-mini-cart-php-not-working

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

79802169

Date: 2025-10-27 19:17:48
Score: 0.5
Natty:
Report link

I think this could work:


template<typename T>
DataList & operator+=(DataList &lhs, T &&rhs)
{
  lhs.reserve(lhs.size()+rhs.size());
  for(auto &&data : rhs)
  {
   if constexpr (std::is_rvalue_reference_v<T>)
     lhs.emplace_back(std::move(data));
   else lhs.emplace_back(data);
  }
  return lhs;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jls28

79802137

Date: 2025-10-27 18:30:36
Score: 2
Natty:
Report link

When reading a Delta table, think of each partition as a task you can run in parallel. A good starting point is to set executors based on your cluster cores (around 4–5 cores per executor) and tweak spark.sql.shuffle.partitions to keep things smooth. Also, watch out for tiny or skewed partitions—they can slow things down even if autoscaling is on.

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Daniel

79802136

Date: 2025-10-27 18:29:36
Score: 3.5
Natty:
Report link

I had made a mistake in the IDT registry part, where I managed to switch the reserved and flags parts around, fixing it seems to resolve the issue

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

79802126

Date: 2025-10-27 18:22:34
Score: 3
Natty:
Report link

I restarted my laptop and the issue resolved by itself!

I don't know if this will help everyone with this problem, but I restarted my laptop and now I can open the project without a problem. There were also discussions about this issue a few years ago on Jetbrains forums, so you might find something useful here: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360010604480-WSL2-specified-path-cannot-be-found

https://youtrack.jetbrains.com/issue/IJPL-2327/WSL2-specified-path-cannot-be-found

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

79802113

Date: 2025-10-27 18:04:29
Score: 0.5
Natty:
Report link

It's not correct that -1e9 is commonly used for initialisation, but you will see most of the time developers, including me, prefer as mentioned below:

CASE 1: Initialise with the Minimum value in case we have to find the Maximum value
CASE 2: Initialise with the Maximum value in case we have to find the Minimum value

This is an application across different programming languages, not specific to JavaScript only.

Reasons:
  • No code block (0.5):
Posted by: Wasit Shafi

79802089

Date: 2025-10-27 17:29:20
Score: 2
Natty:
Report link

The 'self' in def irqHandler(self, sm): was a hangover from the full program where it was a class.

Needed sm.active(0) in the handler to stop the PIO running

Needed wrap_target() at the end of the program to keep it in a loop until stopped. Otherwise it just reran and piled up the interrupts.

Learn something every day!!!!

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

79802088

Date: 2025-10-27 17:28:20
Score: 1.5
Natty:
Report link

Google Takeout allows exporting your lists, but Starred list is not possible to extract. the only way is to scrape the google maps webpage.

I made a bookmarklet tool, and I am happy to share it with everyone:

https://github.com/irgipaulius/maps_scrape_bookmarklet

it will scrape the responses as you scroll through your list (works on all lists, including Starred), and you can either copy the JSON from the console, or export everything as CSV.

Readme.md should contain all instructions you may need.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Paulius Jacinkevičius

79802083

Date: 2025-10-27 17:23:19
Score: 0.5
Natty:
Report link

Specify the path to compile_commands.json in .vscode/settings.json :

"clangd.arguments": [
    "--compile-commands-dir=build"
]

In this example, build is a local folder in the project root directory.

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

79802080

Date: 2025-10-27 17:18:17
Score: 2
Natty:
Report link

add CSS to it to make it bold like like this

foobar.add_css_class("bold-item");

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

79802078

Date: 2025-10-27 17:16:16
Score: 2
Natty:
Report link

main.2019115661.com.dts.freefiremax.obb.zip

1 /storage/emulated/0/â€ȘAndroid/obb/com.dts.freefiremax/main.2019115661.com.dts.freefiremax.obb.zip: open failed: ENOENT (No such file or directory)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ÉąáŽ‡Ê€áŽáŽ€ÉŽ xxx ÊŸáŽáŽ˜áŽ‡áŽą

79802070

Date: 2025-10-27 17:02:12
Score: 1.5
Natty:
Report link

Little late, but to add on the lower(user), @Paul Maxwell gave a good S.O. link regarding this. And to add on top of that, Neon.com tutorial is listed in the PostgreSQL documentation as another source of documentation.

There, there is a section for PostgreSQL Index on Expression where it shows in a more "graphical" way the use of an index on lower(user) expression by EXPLAINing the queries

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Paul
  • Low reputation (1):
Posted by: solisoares

79802069

Date: 2025-10-27 17:00:12
Score: 1
Natty:
Report link

Excelente explicaciĂłn 👏 Me gustĂł la parte donde se maneja la validaciĂłn de complejidad de contraseñas con expresiones regulares, especialmente la posibilidad de ajustar los requisitos modificando los rangos del regex.

Para quienes estén implementando algo similar, también pueden personalizar esta lógica agregando validaciones de longitud måxima o verificando que no se repita el email dentro de la contraseña.

Si alguien busca mĂĄs ejemplos sobre autenticaciĂłn personalizada con Firebase y manejo de dominios propios para pĂĄginas de autenticaciĂłn, escribĂ­ una guĂ­a tĂ©cnica en mi blog (pueden buscar “BastianSoft Firebase custom email handler” en Google).

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

79802068

Date: 2025-10-27 16:52:10
Score: 0.5
Natty:
Report link

Hi @YabinDa and @cthulkukk, my suggestion, or rather workaround, is to apply regex.

Say you assign your table to object x. Then you can manipulate with regex-functions, such as str_replace_all(), the content of x. Employing your example, my suggestion would be as follows.

 x <- kable(summarize(df.sum, group = "Experiment", test = T, digits = 1, show.NAs = F),
             row.names = F, caption = 'Summary Statistics for Treated and Control Groups',
             booktabs = T) %>% kable_styling(latex_options = c('striped', 'hold_position')) %>%
  footnote(general = 'DM8OZ indicates the daily max 8-hour ozone concentration; 
Daily_PM2.5 is the daily average of PM2.5; Tavg is the daily average temperature; 
Prcp is the daily accumulated precipitation. The last column in the table represents the testing results of null 
hypotheses that the treated and control groups are not statistically different. ',
footnote_as_chunk = T, threeparttable = T, fixed_small_size = T)

y <- str_replace_all(x, fixed("\\textit{Note: } \n\\item"), fixed("\\textit{Note:}"))
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @YabinDa
  • User mentioned (0): @cthulkukk
  • Low reputation (1):
Posted by: R.P.

79802067

Date: 2025-10-27 16:52:10
Score: 8
Natty: 7
Report link

what is the difference between the default package and yours @amjad hossain?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @amjad
  • Single line (0.5):
  • Starts with a question (0.5): what is the
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Christian Hess

79802063

Date: 2025-10-27 16:47:08
Score: 7.5 đŸš©
Natty: 4
Report link

I tried all of them, but they all say www.coolmath.com refused to connect. do you know how to fix this?

(I am using coolmath as an example)

Reasons:
  • RegEx Blacklisted phrase (1.5): how to fix this?
  • RegEx Blacklisted phrase (2.5): do you know how
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: PRKRRE27

79802059

Date: 2025-10-27 16:39:06
Score: 1
Natty:
Report link

It’s normal — not a bug.
In async Rust, await changes how variables are stored, so their drop order isn’t guaranteed.

If you want a fixed order, drop them manually:

std::mem::drop(x);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: dunl

79802058

Date: 2025-10-27 16:37:05
Score: 2.5
Natty:
Report link

pack.start() is no longer available use .append() instead of that it will work

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

79802047

Date: 2025-10-27 16:30:04
Score: 3
Natty:
Report link

i have fixed it by adding

implementation 'com.google.mlkit:barcode-scanning:17.3.0'

app/build.gradle => dependencies

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

79802042

Date: 2025-10-27 16:25:02
Score: 1.5
Natty:
Report link

Try this web-based app: https://textgrid-studio.vercel.app/

It merges tiers with the same name across TextGrid files. For your case, it merges two non-overlapping speaker tiers in one TextGrid file.

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

79802034

Date: 2025-10-27 16:21:00
Score: 1.5
Natty:
Report link

Google Takeout allows exporting your lists, but Starred list is not possible to extract. the only way is to scrape the google maps webpage.

I made a bookmarklet tool, and I am happy to share it with everyone:

https://github.com/irgipaulius/maps_scrape_bookmarklet

it will scrape the responses as you scroll through your list (works on all lists, including Starred), and you can either copy the JSON from the console, or export everything as CSV.

Readme.md should contain all instructions you may need.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Paulius Jacinkevičius

79802029

Date: 2025-10-27 16:20:00
Score: 2
Natty:
Report link

Yes one way is using Over clause and Rank() to simulate with ties functionality:

select * from(

select Id, [Name], rank() over(order by Id) as R

from #tbl) A

where A.R = 1;

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

79802028

Date: 2025-10-27 16:17:59
Score: 0.5
Natty:
Report link

HTTPie is a popular curl alternative. It does dry runs with --offline:

$ http --offline www.stackoverflow.com
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Host: www.stackoverflow.com
User-Agent: HTTPie/3.2.2



Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): is a
  • High reputation (-1):
Posted by: Adam Monsen

79802018

Date: 2025-10-27 16:02:55
Score: 0.5
Natty:
Report link

After a bit of a pause on this issue, I managed to create another macro that inserts the non-breaking space into a caption that is placed below a table. This would typically be used for Figures that according to ISO/IEC rules have their caption below the figure, whereas for a Table it is placed above.

    ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=2, NumColumns:= _
        4, DefaultTableBehavior:=wdWord9TableBehavior, AutoFitBehavior:= _
        wdAutoFitFixed
    With Selection.Tables(1)
        ...
        ...
    End With

    Selection.InsertCaption Label:=wdCaptionFigure, Title:=" " + ChrW(8212) + " My figute title", Position:=wdCaptionPositionBelow, ExcludeLabel:=0
    Selection.MoveStart Unit:=wdLine, Count:=-1
    Set rng = Selection.Range
    ActiveDocument.Range(rng.Start + Len("Figure"), rng.Start + Len("Figure") + 1).Text = ChrW(160)
    
    Selection.MoveStart Unit:=wdLine, Count:=1

Compared to the earlier code I now use Label:=wdCaptionFigure or Label:= wdCaptionTable to set the label type. My question now is if there is a way to find out, for example via the Len operation the length of the generated label depending on the given WdCaptionLabelID enumeration parameter, instead of using Len("Figure") or Len("Table").

Thanks

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

79802014

Date: 2025-10-27 16:00:55
Score: 3
Natty:
Report link

enter image description here

Thanks for the attention, everyone!

Selecting the Local Config option from the Configs dropdown was the step i missed.

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: pospolitaki

79802009

Date: 2025-10-27 15:53:53
Score: 3
Natty:
Report link

You can create a filter with this content : -author:app/dependabot AND is:unread

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

79802007

Date: 2025-10-27 15:50:51
Score: 4
Natty:
Report link

Your code is well written -
The issue may be in your "real app", if your server is standard synchronous server that runs with one worker - you are creating bottleneck, as your server can handle one task each time.
you send 5 requests concurrently, but your server put them in queue, and serve one request each time (even if your server is async). do you use time.sleep() in your server?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31765469

79802002

Date: 2025-10-27 15:43:49
Score: 3
Natty:
Report link

SSIS error Invalid Bracketing of name error
Example incoming source column is: [incl. Taxes (USD)]

Fix: [incl# Taxes (USD)]

When viewing the source the fields comes in as [incl# Taxes (USD)]

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

79801999

Date: 2025-10-27 15:40:48
Score: 4.5
Natty: 4.5
Report link

is it not doable at all without pgf?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): is it not
  • High reputation (-1):
Posted by: user1850133

79801995

Date: 2025-10-27 15:36:47
Score: 2
Natty:
Report link

Define a Fallback Locale. Media Entries need 1 image per locale (see image). If you don't set the Fallback Locale for 'uk' it simply returns empty. Other option is to go into your Media Entries and upload the same or different image for 'uk'.

Settings -> Locale -> Fallback Locale

After you set up the Fallback Locale there will be a little reference icon next to your uk media entry and the payload will have fields again :)

without fallback and separate locale image:

enter image description here
with fallback locale set:
enter image description here

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

79801991

Date: 2025-10-27 15:33:46
Score: 2
Natty:
Report link

Thanks, @burki. Since i struggled a bit myself with referencing the certificate, here my working gitlab-ci.yml:

include:
  - remote: "https://gitlab.com/renovate-bot/renovate-runner/-/raw/v24.0.0/templates/renovate.gitlab-ci.yml"

variables:
  SELF_SIGNED_CERTIFICATE_PATH: "${CI_PROJECT_DIR}/certificates/my-cert.pem"

renovate:
  variables:
    NODE_EXTRA_CA_CERTS: $SELF_SIGNED_CERTIFICATE_PATH
    GIT_SSL_CAINFO: $SELF_SIGNED_CERTIFICATE_PATH
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @burki
  • Low reputation (1):
Posted by: Rainer Wei

79801985

Date: 2025-10-27 15:31:45
Score: 2.5
Natty:
Report link

You can try changing FormDataContext.client.ts to FormDataContext.tsx but still keep the "use client" at the top of your components. This shows that this is a client component, instead of the extension of .client.tsx

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

79801984

Date: 2025-10-27 15:30:45
Score: 0.5
Natty:
Report link

When using Firebase BoM , Android Studio won't highlight newer BoM versions because:

Solution

  1. Manually check for updates

  2. Verify connectivity:

    • Ensure you're using a recent Android Studio version (Flamingo+)
    • Sync Gradle files (File > Sync Project with Gradle Files)
    • Check you're not offline in Gradle settings (Preferences > Build, Execution, Deployment > Gradle)
  3. For automatic checks: add this to your gradle.properties

    android.dependencyUpdateChecker=enabled
    
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: knowledgless

79801980

Date: 2025-10-27 15:26:44
Score: 1
Natty:
Report link

Install and set Prettier as default formatter then Create .prettierrc file in your root directory and put this

 {
  "overrides": [
    {
      "files": "*.hbs",
      "options": {
        "parser": "html"
      }
    }
  ]
}

It will automatically format when you save the .hbs file.

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

79801972

Date: 2025-10-27 15:19:42
Score: 0.5
Natty:
Report link

Here is a quick solution that you could optimize further:

pairs <- Map(\(x,y) rbind(combn(gsub(" ", "", strsplit(x, ";")[[1]]), 2), y), df$authors, df$type)

The list pairs can be converted back to a data.frame:

library(dplyr)
as.data.frame(t(do.call(cbind, pairs))) |>
  count(V1, V2, y)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Glory2Ukraine

79801971

Date: 2025-10-27 15:19:42
Score: 1
Natty:
Report link

The issue with my earlier approach was that I was treating `DynaPathRecorder` as a **helper class**, when it is actually a **shared class**.

**Helper class:** A helper class is injected into the application classloader so that it can access all classes loaded by that classloader — and vice versa.

**Shared class:** A shared class is one that needs to be accessible across multiple classloaders. One way to achieve this, it should be loaded by the **boot classloader**.

In my previous setup, my `InstrumentationModule` implemented the `isHelperClass()` and `getAdditionalHelperClassNames()` methods, which marked `DynaPathRecorder` as a helper class. When the OpenTelemetry agent detected it as a helper, it injected it into the application classloader instead of delegating loading to the boot classloader.

In my updated setup, I removed the implementations of `isHelperClass()` and `getAdditionalHelperClassNames()`. As a result, the OpenTelemetry agent now delegates the loading of `DynaPathRecorder` to the boot classloader, which resolves the issue.

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

79801968

Date: 2025-10-27 15:16:41
Score: 1.5
Natty:
Report link

It is translatable, indirectly. The fields maintained in the Launchpad Designer or the Launchpad App Manager are only default values. The fields of dynamic tiles can be overwritten by the service, which returns the number (see link below). That means, that you could return the field numberUnit depending on the login language of the user (e.g. as text-field).

See SAP Help (latest)
https://help.sap.com/docs/ABAP_PLATFORM_NEW/a7b390faab1140c087b8926571e942b7/be50c9a40b504083a7c75baaa02a85fa.html?locale=en-US&version=LATEST

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: H. Kaspari

79801967

Date: 2025-10-27 15:15:41
Score: 1.5
Natty:
Report link

You can try vscode extension Terminal File Navigator (released on vscode extensions market) Terminal File Navigator This extension allows you to browse multiple folders and jump to the selected directory or copy the file/folder path.

🚀 Features

Reasons:
  • Blacklisted phrase (0.5): contact me
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Wayen

79801963

Date: 2025-10-27 15:14:40
Score: 1
Natty:
Report link

The "Using fallback deterministic coder for type X" warning means the type hint

.with_output_types((Tuple[MessageKey, Message]))

is being lost somewhere.

I reproduced this and found that the type hint is not properly propagated in https://github.com/apache/beam/blob/9612583296abc9004f4d5897d3a71fc2a9f052bb/sdks/python/apache_beam/transforms/combiners.py#L962.

This should be fixed in an upcoming release, thanks for reporting the issue.

In the meantime you can still use this transform even with the "Using fallback deterministic coder for type X" warning, it just wont use the custom coder you defined.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Claudius van der Merwe

79801954

Date: 2025-10-27 15:07:37
Score: 9 đŸš©
Natty: 5
Report link

Getting the same error, is this still not fixed?

Reasons:
  • RegEx Blacklisted phrase (1.5): fixed?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Getting the same error
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: ross_geller_pivot

79801949

Date: 2025-10-27 15:03:36
Score: 1
Natty:
Report link
from docx import Document
from docx.shared import Pt, RGBColor
from docx.enum.text import WD_PARAGRAPH_ALIGNMENT

# Criar documento
doc = Document()

# Função para adicionar título
def add_title(text):
    p = doc.add_paragraph()
    run = p.add_run(text)
    run.bold = True
    run.font.size = Pt(20)
    run.font.color.rgb = RGBColor(31, 78, 121)  # Azul escuro
    p.alignment = WD_PARAGRAPH_ALIGNMENT.CENTER
    doc.add_paragraph()

# Função para adicionar subtítulo
def add_subtitle(text):
    p = doc.add_paragraph()
    run = p.add_run(text)
    run.bold = True
    run.font.size = Pt(14)
    run.font.color.rgb = RGBColor(0,0,0)
    doc.add_paragraph()

# Função para adicionar parågrafo normal
def add_paragraph(text):
    p = doc.add_paragraph(text)
    p.paragraph_format.space_after = Pt(6)

# ConteĂșdo do folheto
add_title("🛑 INSTRUÇÕES AOS MOTORISTAS")

add_subtitle("USO OBRIGATÓRIO DE EPI")
add_paragraph("Para garantir a segurança nas dependĂȘncias da empresa, Ă© obrigatĂłrio o uso dos seguintes Equipamentos de Proteção Individual (EPIs):")
add_paragraph("‱ Capacete de segurança\n‱ Calça comprida\n‱ Bota de segurança")
add_paragraph("O motorista deve permanecer sempre próximo ao veículo, evitando circular em åreas restritas às operaçÔes.")

add_subtitle("CIRCULAÇÃO E CONDUTA")
add_paragraph("‱ É proibido o trñnsito de motoristas e acompanhantes em áreas operacionais sem autorização.\n"
              "‱ Caso haja familiar ou terceiro acompanhando o motorista, nĂŁo Ă© permitido que circule nas dependĂȘncias da empresa.\n"
              "‱ Roupas inadequadas (bermudas, chinelos, camisetas regatas, etc.) não são permitidas nas áreas de operação.\n"
              "‱ Mantenha uma postura segura e siga sempre as orientaçÔes da equipe da empresa.")

add_subtitle("BANHEIRO PARA USO DE TERCEIROS")
add_paragraph("Banheiro disponĂ­vel para uso de visitantes e motoristas em frente ao galpĂŁo C.\n"
              "Por gentileza, preserve a limpeza e a organização do ambiente após o uso.")

add_paragraph("A segurança é responsabilidade de todos.\n"
              "O cumprimento destas orientaçÔes é essencial para a integridade física e o bom andamento das atividades.")

# Salvar documento
doc.save("Folheto_Motoristas.docx")
Reasons:
  • Blacklisted phrase (1): nĂŁo
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31765188

79801947

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

on Android 12+ not work.
there is solution?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Ali Bagheri

79801932

Date: 2025-10-27 14:46:31
Score: 0.5
Natty:
Report link

There is another approach for a readonly direct override. @Mostafa Fakhraei did it via a data descriptor - value and a writable flag). There is accessor descriptor - getter & setter. It is:

Object.defineProperty(queue, "CHUNK_SIZE", {
  get: () => 1,
})

Then the result will look like

it('should return true for chunk_size 1', async () => {
  Object.defineProperty(queue, "CHUNK_SIZE", { get: () => 1 })

  const actual = await queue.post({ action: 'UPDATE' });
  expect(actual).toBeTruthy();
});

No setter and only getter to be readonly.

More details about the Object.defineProperty() including enumerable, configurable flags are here.

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

79801929

Date: 2025-10-27 14:41:30
Score: 2
Natty:
Report link

The process for linking an additional terminology server into the IG Publisher infrastructure can be found here: https://confluence.hl7.org/spaces/FHIR/pages/79515265/Publishing+terminology+to+the+FHIR+Ecosystem

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

79801923

Date: 2025-10-27 14:33:27
Score: 6 đŸš©
Natty: 5.5
Report link

have you solved the problem?

I ran into some problems with python dependencies conflict when do the same thing as you, feel frustrating.

Reasons:
  • Blacklisted phrase (1.5): have you solved the problem
  • RegEx Blacklisted phrase (1.5): solved the problem?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: TUANTT001

79801920

Date: 2025-10-27 14:30:26
Score: 1
Natty:
Report link

I found the issue.
By default, in WebInitializer, the setServletConfig() method should return null so that the application context is used.
Otherwise, if you explicitly point to a class annotated with @EnableWebMvc, you must rescan the components using @ComponentScan; if you don’t, the components will only be defined in the application context and won’t be accessible to the servlet context.
This can make the logs quite confusing and tricky to debug

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

79801918

Date: 2025-10-27 14:26:25
Score: 2
Natty:
Report link
<!DOCTYPE html>
<html>
<head>
<title>Lemonade Stand</title>
<meta charset="utf-8">
</head>
<body style="background-color:white">
<title>Mission 002645</title>
<h1 style="font-family:impact;color:teal">What do you want to be when you grow up?</h1>
<p style="font-family:cursive ;color:coral">I want to be an explorer! I want to travel to the Amazon rainforest and find the animals and birds there. I want to explore ancient ruins and foreign temples. I want to brave the unknown.</p>
<h1 style="font-family:impact ;color:teal">What is your dream?</h1>
<p style="font-family:cursive ;color:coral">My dream is to travel to exotic lands. I want to try new foods, meet unique people, and try crazy things. I want to experience the world.</p>
<h1 style="font-family:impact ;color:teal">What is your plan</h1>
<p style="font-family:cursive ;color: coral">My plan to achieve my dreams is to get a good education. After I learn as much as I can about the world, I will get a meaningful job that can help support my travel expenses.</p>
</body>
</html>
Reasons:
  • Blacklisted phrase (1): What is your
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31764954

79801915

Date: 2025-10-27 14:24:21
Score: 8 đŸš©
Natty:
Report link

am facing same issue

NSClassFromString(@"RNMapsGoogleMapView") and NSClassFromString(@"RNMapsGooglePolygonView") both are returning nil values 

Environment:
RN - 0.81.4
Xcode - 26.0.1

Anyone finds solution please post here TIA

Reasons:
  • RegEx Blacklisted phrase (2.5): please post
  • RegEx Blacklisted phrase (2): TIA
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing same issue
  • Low reputation (1):
Posted by: user31764915

79801907

Date: 2025-10-27 14:17:19
Score: 1.5
Natty:
Report link

<script type="text/javascript" src="https://ssl.gstatic.com/trends_nrtr/4215_RC01/embed_loader.js"></script>

<script type="text/javascript">

trends.embed.renderExploreWidget("TIMESERIES", {"comparisonItem":[{"keyword":"/g/11rzrdt5f6","geo":"ID","time":"today 5-y"},{"keyword":"wizzmie","geo":"ID","time":"today 5-y"}],"category":0,"property":""}, {"exploreQuery":"date=today%205-y&geo=ID&q=%2Fg%2F11rzrdt5f6,wizzmie&hl=id","guestPath":"https://trends.google.com:443/trends/embed/"});

</script>

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

79801897

Date: 2025-10-27 14:10:16
Score: 0.5
Natty:
Report link

This is the expeced behavior, when defining groups.

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

79801886

Date: 2025-10-27 13:52:12
Score: 2.5
Natty:
Report link

A generic sensor name is more of a broad category than a specific model. Think of terms like temperature sensor, proximity sensor, pressure sensor, humidity sensor and light sensor. You can find a wide variety of dependable sensors over at EnrgTech.

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

79801885

Date: 2025-10-27 13:52:12
Score: 2.5
Natty:
Report link

I believe the reason it's these exact numbers, is because of shadows. Shadows are part of the window, so instead of scalling the "fake window" up to fit the shadows (ehich are 8 left, 8 right, 9 bottom I believe), it scales your window down to fit them.

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

79801882

Date: 2025-10-27 13:50:11
Score: 1.5
Natty:
Report link

i have this code in my YML file you can try it

- name: Increment version
  run: |
    sed -i "s/versionCode .*/versionCode ${{ github.run_number }}/" app/build.gradle
    sed -i "s/versionName \".*\"/versionName \"2.2.${{ github.run_number }}\"/" app/build.gradle
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31764704

79801870

Date: 2025-10-27 13:38:08
Score: 5
Natty: 5
Report link

here's a shell script that you can run to wait for the build to be done

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

79801863

Date: 2025-10-27 13:30:05
Score: 1
Natty:
Report link
=LET(
  _data, $A$1:$B$14,
  _months, SEQUENCE($D$1,1,1,1),
  _dates, DATE(2025, _months, 1),
  _monthVals,
     MAP(
       _dates,
       LAMBDA(d,
         SUMIFS(
           INDEX(_data,,2),
           INDEX(_data,,1), d
         )
       )
     ),
  VSTACK(_dates, _monthVals)
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Peter Odesola

79801860

Date: 2025-10-27 13:29:01
Score: 6.5 đŸš©
Natty:
Report link

Hi have you found a solution for this issue?

I get the error - "Query group can't be treated as query spec. Use JpaSelectCriteria#getQueryPart to access query group details"

Reasons:
  • RegEx Blacklisted phrase (2.5): have you found a solution for this issue
  • RegEx Blacklisted phrase (1): I get the error
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Lightmoor

79801848

Date: 2025-10-27 13:14:57
Score: 0.5
Natty:
Report link

Ionic doesn’t natively support smartwatch development since it’s focused on mobile and web apps. The Cordova plugin you found (cordova-plugin-watch) only works for iOS and isn’t actively maintained.For Apple Watch, you’d need a native WatchKit extension that communicates with your Ionic app via a custom Cordova or Capacitor plugin. For Wear OS, there’s no direct plugin; the common approach is to build a small native watch app (in Kotlin/Java) that syncs data with your Ionic app through an API or Bluetooth. In short, there’s no single cross-platform plugin for both watches; you’ll need native bridges for each platform.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mudita Singh

79801844

Date: 2025-10-27 13:08:56
Score: 1
Natty:
Report link

So you need to intercept a login flow, block it, do some stuff, then let it resumes, without doing the authentication yourself.

You can try implementing a subauthentication package, which is basically a simplified authentication package.

You will need to implement the different callbacks described here.

You can find a basic example in the microsoft classic samples

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

79801843

Date: 2025-10-27 13:07:55
Score: 2
Natty:
Report link

onPressed: () { runApp(MyApp()); }

I tried to run this code. and got succeed

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

79801828

Date: 2025-10-27 12:49:51
Score: 2.5
Natty:
Report link

Use M-x org-copy-visible is the modern solution

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

79801806

Date: 2025-10-27 12:25:46
Score: 3.5
Natty:
Report link

Finlay we found where the problem was and it was WAF. I've found this when once the problem occurs on my working laptop and noticed that problem occurs only if I'm not connected to company VPN. Otherwise firewall was editing served files.

Thank you @Andrei for your replies.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Andrei
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: wujekkiryl

79801804

Date: 2025-10-27 12:23:45
Score: 1.5
Natty:
Report link

Looking at the docs for pylint 4.0.1 there is no message and no check for unnecessary assignments like in your example.

I'd advise you to message a feature request to the creators of pylint.

Reasons:
  • Low length (1):
  • No code block (0.5):
Posted by: Bending Rodriguez

79801803

Date: 2025-10-27 12:23:45
Score: 2
Natty:
Report link

Removing all the cookies (e.g. via Firefox / inspect / storage) solved the problem for me.

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

79801800

Date: 2025-10-27 12:19:44
Score: 1
Natty:
Report link

I doubt that it is ever really needed to have empty default shared preferences. Maybe you should explain what you really want to achieve.

If you only want to know if preferences don't contain any of your settings you could write your own isEmpty() where you check for bg_startup_tracing if sharedPreferencesInstance.getAll().size() is 1.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: The incredible Jan

79801786

Date: 2025-10-27 11:56:39
Score: 2.5
Natty:
Report link

QSplitter.setSizes in the code worked well. But expect setting large values, for example, for me [350, 1] worked as scale 5 to 1.

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

79801785

Date: 2025-10-27 11:55:39
Score: 1.5
Natty:
Report link

I think your best bet (if you are set on this pattern) is to wrap your wrapper, providing the type hint again:

from typing import Annotated, Any

from pydantic import (
    BaseModel, ValidationError, ValidationInfo,
    ValidatorFunctionWrapHandler, WrapValidator
)


def wrap_with_type(type_):
    def wrapper(value: Any,
                handler: ValidatorFunctionWrapHandler,
                info: ValidationInfo) -> Any:
        try:
            return handler(value)
        except ValidationError as e:
            # Custom error handling where I want to know the expected type.
            # I'm looking for something like this:
            if type_ == str:
                # Do something
            elif type_ == int | bool:
                # Do something else
            else:
                raise

    return WrapValidator(wrapper)


class MyModel(BaseModel):
    foo: Annotated[str, wrap_with_type(str)]


class AnotherModel(BaseModel):
    bar: Annotated[int | bool, wrap_with_type(int | bool)]

That will allow you to do what you want, but it comes with costs: your code is less readable, and there's now redundant information in your class definition. It might be worth rethinking your design to separate your validator into one for each of the expected types. Without a RME, it is hard to offer another solution. I'd be happy to help work something out though.

If it's any consolation, I am surprised this isn't something you could grab during validation. Consider delving into the project's source code to see if there's a contribution to be made!

Reasons:
  • Blacklisted phrase (1): I want to know
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Henry Wilde

79801772

Date: 2025-10-27 11:45:36
Score: 1
Natty:
Report link

It will only work if you have a named volume

correct. but you can specify where that named volume is stored on the host:

volumes:
  appconfig:
    name: myapp_config
    driver: local
    driver_opts:
        type: none
        device: "/some/path/on/host"  # location on host IF driver:local & type:none
        o: bind
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: shlomo