79796238

Date: 2025-10-21 21:16:29
Score: 2.5
Natty:
Report link

Could you try if upgrading to v3.4.2 or above fixes this issue. This seems similar to what was reported here.
PS: I'm a MongoDB Employee

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

79796224

Date: 2025-10-21 20:54:25
Score: 1.5
Natty:
Report link

If you want a simple & fast answer: t_hash=tensor.sum() is pretty likely to work in most situations. It might be that not all your asks are required.

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

79796219

Date: 2025-10-21 20:48:23
Score: 2
Natty:
Report link

For example ,you can use python to create your dashboard and add time condition (datetime library) or !

https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-python-scripts

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

79796214

Date: 2025-10-21 20:38:21
Score: 4
Natty:
Report link

thank you very much, I spet 1 hour thinking my localhost is somehow blocked

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Danijel Brecelj

79796200

Date: 2025-10-21 20:19:16
Score: 0.5
Natty:
Report link

Fix:


const heightModel = computed({
  get: () => props.height ?? "",
  set: (val: string | number) =>
    emits("update:height", val !== "" && val !== undefined ? Number(val) : undefined),
});

const weightModel = computed({
  get: () => props.weight ?? "",
  set: (val: string | number) =>
    emits("update:weight", val !== "" && val !== undefined ? Number(val) : undefined),
});
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: codenathan

79796199

Date: 2025-10-21 20:15:14
Score: 6 🚩
Natty:
Report link

What are the permissions on your perl script ?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): What are the
  • Low reputation (1):
Posted by: HadrienV

79796189

Date: 2025-10-21 19:56:10
Score: 1.5
Natty:
Report link

You can write a simple validator, that compares a string to its upper case equivalent

bool isUppercase(String str) {
  return str == str.toUpperCase();
}

implementation

void main(){
 String str = "Hello World!";
 bool startsWithUppercase = isUppercase(str[0]);
 print("Starts with upper case: $startsWithUppercase");
}

The docs https://pub.dev/documentation/string_validator/latest/string_validator/isUppercase.html shows how to check if a string is uppercase in dart

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

79796188

Date: 2025-10-21 19:56:10
Score: 2
Natty:
Report link

The 249 limitation is connected to this bug: Headless conversion silently stops after reaching ~250 files

A workaround is to invoke /usr/lib/libreoffice/program/soffice.bin directly instead of soffice / lowriter, e.g.:

/usr/lib/libreoffice/program/soffice.bin --headless --convert-to html *.rtf

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

79796183

Date: 2025-10-21 19:51:09
Score: 0.5
Natty:
Report link

Summarizing previous replies (for python 3.*):

...
try:
    result_str = bytes(fullDataRead).decode()
except Exception as e:
    print('TODO: add handling of exception: ' + str(e)) # add here your exception-handling if needed
    result_str = 'Exception by retrieving the string!'
print(result_str)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dr.CKYHC

79796175

Date: 2025-10-21 19:36:05
Score: 0.5
Natty:
Report link
use feature state;

sub alternatecase {
    my $str = shift;

    sub alternate {
        state $c = 1;
        return ($c = !$c);
    }

    $str =~ s/(\w)/alternate() ? uc($1) : lc($1)/ge;
    return $str;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: HeliumHydride

79796170

Date: 2025-10-21 19:29:04
Score: 3.5
Natty:
Report link

If a helper column work, you can add a helper column to calculate the difference of the % for each row, and then do their averages in the pivot table.enter image description here

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

79796159

Date: 2025-10-21 19:16:01
Score: 0.5
Natty:
Report link
output = ''.join(string.rsplit(fragment, string.count(fragment) - 1))
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Konstantin Makarov

79796156

Date: 2025-10-21 19:13:00
Score: 1
Natty:
Report link

Partition the string by the fragment and replace it only in the tail:

a, b, c = string.partition(fragment)
output = a + b + c.replace(fragment, '')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Robert

79796154

Date: 2025-10-21 19:08:59
Score: 1
Natty:
Report link

Possible solution using list comprehension:

alpha = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
''.join(alpha[i % 26] for i in range(18,18+13))
Out[104]: 'STUVWXYZABCDE'

Or per the original post:

a = [1, 2, 3, 4, 5, 6]
[a[i % len(a)] for i in range(4, 4 + 5)]
Out[106]: [5, 6, 1, 2, 3]

Thanks to Andy Richter for the expanded versions that led to this idea.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: jfl

79796146

Date: 2025-10-21 19:02:57
Score: 0.5
Natty:
Report link

The reason the formula doesn't work is because the lack of FALSE the values of 'Grade' column are not sorted. A comes before A* when it comes to sorting the values in an ascending order, so when the VLOOKUP is lookup up the value with the exact match (FALSE) argument is missing, it will not be able to 'find' the value A, since its already overtaken by A*

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Nitesh Halai

79796145

Date: 2025-10-21 19:01:57
Score: 2
Natty:
Report link

Thank you to those who suggested setting the range lookup to FALSE. This has fixed it.

=VLOOKUP(F74, (INDIRECT($K$3)),2,FALSE)
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user2463758

79796143

Date: 2025-10-21 18:56:55
Score: 4
Natty:
Report link

In the top part of most pages you can switch what is currently the Focused (global) Selection. If you try changing to another page after changing it, you'll notice that the selection will follow you to another page. You can always switch to <No Selection> to start over (but yes, previous selections will still be available in the combo box).

I take it that you're looking for a way to clear out all previous selections, and not just selecting the "<No Selection>"? If so, how would you want to access that functionality? A context menu with "Clear All Selections"? Something else? Please let me know what you'd prefer, and I'll open an issue and add it. :)

Reasons:
  • Blacklisted phrase (1): how would you
  • RegEx Blacklisted phrase (2.5): Please let me know what you
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: Hirt

79796140

Date: 2025-10-21 18:51:54
Score: 1
Natty:
Report link

for a DataTable, it works to wrap the widget in SelectionArea

SelectionArea(
  child: DataTable(
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: rodeomacon

79796139

Date: 2025-10-21 18:45:53
Score: 2.5
Natty:
Report link

In the top part of most pages you can switch what is currently the Focused (global) Selection. If you try changing to another page after changing it, you'll notice that the selection will follow you to another page. You can always switch to <No Selection> to start over (but yes, previous selections will still be available in the combo box).

I take it that you're looking for a way to clear out all previous selections, and not just selecting the "<no selection>"? If so, how would you want to access that functionality? A context menu with "Clear All Selections"? Something else? Let me know what you'd prefer, and I'll open an issue and add it. :)

Reasons:
  • Blacklisted phrase (1): how would you
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Marcus Hirt

79796130

Date: 2025-10-21 18:29:49
Score: 2.5
Natty:
Report link

I think you're frustrated with not getting auto-suggestions when we create a controller. The auto suggestion won't work cause we didn't import the Express thing into that. So I solved this issue by using the async-handler module. I don't know if this is the correct way or not

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

79796122

Date: 2025-10-21 18:15:47
Score: 2.5
Natty:
Report link

Flutter’s framework layer (the Dart side) doesn’t expose the active rendering backend. It only interacts with the engine(C++) through a platform channel boundary and the engine handles whether it’s Skia or Impeller internally.

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

79796090

Date: 2025-10-21 17:35:37
Score: 1.5
Natty:
Report link

{

"roles": [

{"name": "πŸ‘‘γ€Šππ‘π„π’πˆπƒπ„ππ“π„γ€‹", "color": "#ffcc00", "hoist": true},

{"name": "πŸ§ γ€Šπƒπˆπ‘π„π“πŽπ‘ 𝐆𝐄𝐑𝐀𝐋》", "color": "#ffd966", "hoist": true},

{"name": "βš™οΈγ€Šπ€πƒπŒπˆππˆπ’π“π‘π€πƒπŽπ‘γ€‹", "color": "#ff9900", "hoist": true},

{"name": "πŸ›‘οΈγ€ŠπŒπŽπƒπ„π‘π€πƒπŽπ‘γ€‹", "color": "#33cccc", "hoist": true},

{"name": "πŸŽ―γ€Šπ’π”ππŽπ‘π“π„γ€‹", "color": "#99ccff", "hoist": true},

{"name": "πŸ—£οΈγ€Šπ’π“π€π…π… πŽπ…πˆπ‚πˆπ€π‹γ€‹", "color": "#66ffff", "hoist": true},

{"name": "πŸ§€γ€Šπ†πŽπ‹π„πˆπ‘πŽγ€‹", "color": "#3399ff"},

{"name": "πŸ›‘οΈγ€Šπ™π€π†π”π„πˆπ‘πŽγ€‹", "color": "#0066cc"},

{"name": "πŸͺ„γ€ŠπŒπ„πˆπ€γ€‹", "color": "#0033cc"},

{"name": "βš‘γ€Šπ€π“π€π‚π€ππ“π„γ€‹", "color": "#0000ff"},

{"name": "πŸ”₯γ€Šπ‘π„π’π„π‘π•π€γ€‹", "color": "#6600cc"},

{"name": "πŸ…γ€Šπ‚π€ππˆπ“π€ΜƒπŽγ€‹", "color": "#ffcc33"},

{"name": "πŸ”΅

γ€Šπ“πŽπ‘π‚π„πƒπŽ

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: Joelma Barbosa

79796087

Date: 2025-10-21 17:32:37
Score: 3.5
Natty:
Report link

I think I found the answer. I added headers to the http client in MAUI, simulating the browser, and the Windows application started working.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Коля Бибиряк

79796084

Date: 2025-10-21 17:25:35
Score: 1
Natty:
Report link

My first suspicion is the multiprocessing capability while using numpy library may be redundant and can cause slow down. If that makes sense to you, you can restrict the multiprocessing for each Numpy instance. However, if you think the bottleneck is at numpy file reading operation, then you may like to see if a scanner is slowing the operation down or perhaps the lcoation of the production is not conducive for fast operations. You can isolate the read operation and time it in production to rule it out.

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

79796080

Date: 2025-10-21 17:23:35
Score: 2
Natty:
Report link

There’s no solid fully offline Bengali transliteration solution for React Native right now. Everything decent either relies on Node.js or is too simplistic. If you want natural looking results go cloud (Google Translate or your own backend). If you really need offline, you can bundle a small ONNX/TFLite model, but that’s extra setup and smth like 15 MB in size.

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

79796077

Date: 2025-10-21 17:18:33
Score: 0.5
Natty:
Report link

import React, { useState, useEffect, useRef } from 'react';

export default function PlatformerGame() {

const canvasRef = useRef(null);

const [player, setPlayer] = useState({ x: 50, y: 200, width: 30, height: 30, dy: 0, onGround: false });

const [keys, setKeys] = useState({});

const gravity = 0.5;

const jumpForce = -10;

const groundY = 300;

const platforms = [

{ x: 0, y: groundY, width: 500, height: 20 },

{ x: 150, y: 250, width: 100, height: 10 },

{ x: 300, y: 200, width: 100, height: 10 }

];

useEffect(() => {

const handleKeyDown = (e) => setKeys((prev) => ({ ...prev, [e.code]: true }));

const handleKeyUp = (e) => setKeys((prev) => ({ ...prev, [e.code]: false }));

window.addEventListener('keydown', handleKeyDown);

window.addEventListener('keyup', handleKeyUp);

return () => {

window.removeEventListener('keydown', handleKeyDown);

window.removeEventListener('keyup', handleKeyUp);

};

}, []);

useEffect(() => {

const ctx = canvasRef.current.getContext('2d');

const gameLoop = () => {

let newPlayer = { ...player };

// Apply horizontal movement

if (keys['ArrowRight']) newPlayer.x += 3;

if (keys['ArrowLeft']) newPlayer.x -= 3;

// Apply gravity

newPlayer.dy += gravity;

newPlayer.y += newPlayer.dy;

newPlayer.onGround = false;

// Platform collision

for (let p of platforms) {

if (

newPlayer.x < p.x + p.width &&

newPlayer.x + newPlayer.width > p.x &&

newPlayer.y + newPlayer.height < p.y + 20 &&

newPlayer.y + newPlayer.height > p.y

) {

newPlayer.y = p.y - newPlayer.height;

newPlayer.dy = 0;

newPlayer.onGround = true;

}

}

// Jump

if (keys['Space'] && newPlayer.onGround) {

newPlayer.dy = jumpForce;

}

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

79796067

Date: 2025-10-21 17:07:31
Score: 2.5
Natty:
Report link

The underlying mechanism is a trap preventing the execution of code, DEP. In my case, I used a function pointer before initializing it.

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

79796060

Date: 2025-10-21 16:56:28
Score: 0.5
Natty:
Report link

oc exec is now deprecated and you shall use:

kubectl exec

instead in latest OpenShift anyway https://kubernetes.io/docs/reference/kubectl/generated/kubectl_exec/

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

79796059

Date: 2025-10-21 16:56:28
Score: 4
Natty: 4.5
Report link

PostgreSQL in Astra Linux have breaking changes and not compatible with TimescaleDB.

https://wiki.astralinux.ru/kb/postgresql-rasshirenie-timescaledb-371817563.html

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

79796056

Date: 2025-10-21 16:53:27
Score: 2
Natty:
Report link
header 1 header 2
cell 1 cell 2
cell 3 cell 4
Indonesia 

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

79796040

Date: 2025-10-21 16:37:24
Score: 1.5
Natty:
Report link

I've been able to get JAGs models to knit properly without running the model in console by saving it as a file instead of using sink . Like so:

cat(file = "model.txt"," 
model {
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Theo Black

79796038

Date: 2025-10-21 16:35:23
Score: 1.5
Natty:
Report link

Function is contained in Microsoft Visual Basic for Applications - [Module4 (Code)]

What I have in the Macro is the action

RunCode

 Function Name Opening()

The message I get when running the macro is

The expression you entered has a function name that Well Pattern Data Test can't find

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

79796033

Date: 2025-10-21 16:31:22
Score: 3
Natty:
Report link

I recently encountered the same problem and I discovered a fix to it.
If you tried other tips and it didn't help just remove the line from css stylesheet and put it only in the html header like this

  1. Remove this from css; @import url('https://fonts.googleapis.com/css?family=Poppins');

2. and Put only this in the html header; (<link ref='https://fonts.googleapis.com/css?family=Poppins' rel='stylesheet'>)

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @import
  • Low reputation (1):
Posted by: David Nwaeke

79796024

Date: 2025-10-21 16:24:20
Score: 0.5
Natty:
Report link

from fpdf import FPDF

# Buat objek PDF

pdf = FPDF()

pdf.add_page()

pdf.set_auto_page_break(auto=True, margin=15)

# Header

pdf.set_font("Arial", "B", 16)

pdf.cell(0, 10, "Curriculum Vitae", ln=True, align="C")

# Data Diri

pdf.set_font("Arial", "B", 12)

pdf.cell(0, 10, "Data Diri", ln=True)

pdf.set_font("Arial", "", 12)

pdf.cell(0, 10, "Nama Lengkap: Regi Akmal", ln=True)

pdf.cell(0, 10, "Tempat, Tanggal Lahir: Karawang, 08 Juni 2004", ln=True)

pdf.multi_cell(0, 10, "Alamat: Dusun: Karajan, RT/RW: 002/007, Desa: Medang Asem, Kecamatan: Jayakerta, Kabupaten: Karawang")

pdf.cell(0, 10, "No. Telepon: 085545164091", ln=True)

pdf.cell(0, 10, "Email: [email protected]", ln=True)

pdf.cell(0, 10, "LinkedIn / Portofolio: -", ln=True)

# Pendidikan

pdf.set_font("Arial", "B", 12)

pdf.cell(0, 10, "Pendidikan", ln=True)

pdf.set_font("Arial", "", 12)

pdf.cell(0, 10, "SMK Al-Hurriyyah", ln=True)

pdf.cell(0, 10, "Jurusan: Teknik Komputer Jaringan", ln=True)

pdf.cell(0, 10, "Tahun: 2018 - 2021", ln=True)

pdf.cell(0, 10, "Nilai Rata-rata: 80", ln=True)

# Pengalaman Kerja

pdf.set_font("Arial", "B", 12)

pdf.cell(0, 10, "Pengalaman Kerja", ln=True)

pdf.set_font("Arial", "", 12)

pdf.cell(0, 10, "PT: Iretek", ln=True)

pdf.cell(0, 10, "Posisi: Produksi", ln=True)

pdf.cell(0, 10, "Periode: 6 bulan", ln=True)

pdf.cell(0, 10, "Deskripsi Tugas/Pencapaian: -", ln=True)

# Keahlian

pdf.set_font("Arial", "B", 12)

pdf.cell(0, 10, "Keahlian", ln=True)

pdf.set_font("Arial", "", 12)

pdf.cell(0, 10, "- Mampu mengoperasikan alat kerja", ln=True)

pdf.cell(0, 10, "- Mengoperasikan Microsoft Office", ln=True)

# Simpan file

pdf.output("CV_Regi_Akmal.pdf")

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

79796022

Date: 2025-10-21 16:23:19
Score: 1.5
Natty:
Report link
df.columns = pd.MultiIndex.from_tuples(
    [("", "") for col in df.columns], 
    names=pivotdf.columns.names
)

merged_df = pd.concat([df, pivotdf], axis=1)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mk_

79796020

Date: 2025-10-21 16:23:19
Score: 1
Natty:
Report link

I've had success adding this line to the bottom of my project's AssemblyInfo file in which I would like to expose internal methods/items. Also using .NET Framework 4.8

[assembly: InternalsVisibleTo("myProject.tests")]

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

79796013

Date: 2025-10-21 16:12:17
Score: 3
Natty:
Report link

from command line: p4 reopen -t edit [filename]

edit: i'm totally wrong. I could swear this used to work but it doesn't. apologies.

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

79796011

Date: 2025-10-21 16:10:16
Score: 2.5
Natty:
Report link

Own owio qoqn own ow wo moq own own pw Wmk qo Wmk won kow kalo qml amyo kw wow Owo soil eko now own koam kqm nka qmn qlq iu aql own koqm iqno own naos qp own nao e ow own reo own u're wro kelly now noa own ola owns asel pqm isown now in wow j own own pw wok own own jow wo Owo Colacok now wow ore

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

79796007

Date: 2025-10-21 16:07:15
Score: 0.5
Natty:
Report link

Claude gave me this answer... it was longer but I can't post it all..

Looking at your code, I can see the issue. The delete_transient() function is being called inside the pl_clear_db() function, which only runs when you manually call it. However, the deactivation hook is registered to call pl_clear_db, but this function definition needs to be available when the plugin is deactivated.

The problem is likely one of these:

  1. The function isn't being executed during deactivation - Plugin deactivation hooks sometimes don't execute the way you expect

  2. The transients have already been deleted before this runs - WordPress might be clearing some data first

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

79795998

Date: 2025-10-21 15:55:12
Score: 4
Natty:
Report link

Open this link: https://nodejs.org/en/download/archive/v0.12.18 and scroll down to Installer Packages. Then download the package foe windows.

Note that 0.12.18 is the last version that was supported by win xp.

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Simplmon

79795992

Date: 2025-10-21 15:43:09
Score: 0.5
Natty:
Report link

After reading comments from @dewaffled I've realized that I was missing something. And after reading the implementation again, I found that the wait itself was inside the loop.

libcxx:atomic_sync.h
libcxx:poll_with_backoff.h

template <class _AtomicWaitable, class _Poll>
_LIBCPP_HIDE_FROM_ABI void __atomic_wait_unless(const _AtomicWaitable& __a, memory_order __order, _Poll&& __poll) {
  std::__libcpp_thread_poll_with_backoff(
      /* poll */
      [&]() {
        auto __current_val = __atomic_waitable_traits<__decay_t<_AtomicWaitable> >::__atomic_load(__a, __order);
        return __poll(__current_val);
      },
      /* backoff */ __spinning_backoff_policy());
}
template <class _Poll, class _Backoff>
_LIBCPP_HIDE_FROM_ABI bool __libcpp_thread_poll_with_backoff(_Poll&& __poll, _Backoff&& __backoff, chrono::nanoseconds __max_elapsed) {
  auto const __start = chrono::high_resolution_clock::now();
  for (int __count = 0;;) {
    if (__poll())
      return true; // __poll completion means success

  // code that checks if the time has excceded the max_elapsed ...
}

__atomic_wait calls the __libcpp_thread_poll_with_backoff with polling and backoff policy, which does the spinning work.

And as mentioned by @dewaffled, same thing goes for libstdc++.

libstdc++:atomic_wait.h

template<typename _Tp, typename _Pred, typename _ValFn>
    void
    __atomic_wait_address(const _Tp* __addr, _Pred&& __pred, _ValFn&& __vfn,
              bool __bare_wait = false) noexcept
    {
      __detail::__wait_args __args{ __addr, __bare_wait };
      _Tp __val = __args._M_setup_wait(__addr, __vfn);
      while (!__pred(__val))
    {
      auto __res = __detail::__wait_impl(__addr, __args);
      __val = __args._M_setup_wait(__addr, __vfn, __res);
    }
      // C++26 will return __val
    }

So just looking at the implementation, atomic<T>::wait can spuriously wakeup by the implementation (as @Jarod42 mentioned), but does not return from a function until the value has actually changed.

To answer my question,

  1. It's a educated guess (as @Homer512 mentioned), which can minimize the spurious wakeup with a reasonable space.
  2. Since value itself is compared on each wakeup, sharing state across multiple addresses is fine.
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @dewaffled
  • User mentioned (0): @dewaffled
  • User mentioned (0): @Jarod42
  • User mentioned (0): @Homer512
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ross1573

79795981

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

Best quick fix - keeps only your specified radial grid lines

scale_y_continuous(
  breaks = c(0:5) + exp_lim,
  limits = range(c(0:5) + exp_lim)
)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bashir Abubakar

79795977

Date: 2025-10-21 15:22:04
Score: 5.5
Natty:
Report link

Hello please use our official npm package at https://www.npmjs.com/package/@bugrecorder/sdk

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

79795971

Date: 2025-10-21 15:13:02
Score: 0.5
Natty:
Report link

I will answer my question I am using wrong npm package I should use https://www.npmjs.com/package/@bugrecorder/sdk

client.init({
    apiKey: "1234567890",
    domain: "test.bugrecorder.com"
});

Track CPU, MEMORY, FILE (read/write), Network metrics

This will send the metric to the dashboard automatickly

client.monitor({
    serverName: "server_dev_1",
    onData: (data) => {
        console.log("data from monitor", data);
    },
    onError: (error) => {
        console.log("error from monitor", error);
    }
});

Send Server Side Errors

client.sendError({
    domain: "test.bugrecorder.com",
    message: "test",
    stack: "test",
    context: "test"
});
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Smart Spark Ai

79795964

Date: 2025-10-21 14:59:58
Score: 3
Natty:
Report link
LOCAL_SRC_FILES := $(call all-cpp-files-under,$(LOCAL_PATH))
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Eberty Alves

79795961

Date: 2025-10-21 14:57:57
Score: 1.5
Natty:
Report link

You mention that to run, you used this command - ./filename.c. This command is creating issue. You should run the object file not the source code file. The proper command is ./filename

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

79795958

Date: 2025-10-21 14:56:57
Score: 1
Natty:
Report link

filename.c is your source code file, not the compiled program.

To run your program,
./filename

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

79795955

Date: 2025-10-21 14:55:57
Score: 1.5
Natty:
Report link

In case anyone is looking for an answer to this in 2025, go to the XML side of the designer. Find the image you are trying to increase the size of. Set the constraints according to the size you want and then include:

android:scaleType="fitCenter"

There are other values available, but this will increase the size of the image to the maximum possible without cropping while keeping it centered in the view.

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

79795943

Date: 2025-10-21 14:43:54
Score: 2.5
Natty:
Report link

if you want to make the mobile side app , Yes you can make it , with this you can cast photos videos, etc to the roku device

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

79795938

Date: 2025-10-21 14:40:53
Score: 0.5
Natty:
Report link

The main problem here is that, you are using custom migration in wrong way.

0. If your old database was not VersionedSchema already, then migration will not work.
1. Custom migration still migrate data in automatic way, so you don't need to remove or add models by yourself.
2. willMigrate give you access to new context with model V1
3. didMigrate give you access to new context with model V2
4. Doing migrationFromV1ToV2Data = v1Data is nothing else like copying references. After removing it from context with context.delete you are left with empty references.

So you have 2 options:
A)
You should make migrationFromV1ToV2Data: [PersistentIdentifier: Bool] and in willMigrate copy current property1 with modelID.

  
    private static var migrationFromV1ToV2Data: [PersistentIdentifier: Bool] = [:]
    
    static let migrateFromV1ToV2 = MigrationStage.custom(
        fromVersion:    MyDataSchemaV1.self,
        toVersion:      MyDataSchemaV2.self,
        willMigrate:
        {
            modelContext in
            
            let descriptor  : FetchDescriptor<MyDataV1>    = FetchDescriptor<MyDataV1>()
            let v1Data      : [MyDataV1]                   = try modelContext.fetch(descriptor)
            
            v1Data.forEach {
                migrationFromV1ToV2Data[$0.persistentModelID] = $0.property1
            }
        },
        didMigrate:
        {
            modelContext in

            for (id, data) in migrationFromV1ToV2Data{
                if let model: MyDataV2 = modelContext.registeredModel(for: id) {
                    model.property1 = [data]
                }
            }

            try? modelContext.save()
        }
    )
}

B)
Create V2 model from V1 in willMigrate, and populate into new context in didMigrate.

  
    private static var migrationFromV1ToV2Data: [MyDataV2] = []
    
    static let migrateFromV1ToV2 = MigrationStage.custom(
        fromVersion:    MyDataSchemaV1.self,
        toVersion:      MyDataSchemaV2.self,
        willMigrate:
        {
            modelContext in
            
            let descriptor  : FetchDescriptor<MyDataV1>    = FetchDescriptor<MyDataV1>()
            let v1Data      : [MyDataV1]                   = try modelContext.fetch(descriptor)
            
            migrationFromV1ToV2Data = v1Data.map{ MyDataV2(myDataV1: $0) }
            
            try modelContext.delete(model: MyDataV1.self)
            try modelContext.save()
        },
        didMigrate:
        {
            modelContext in

            migrationFromV1ToV2Data.forEach
            {
                modelContext.insert($0)
            }
            
            try modelContext.save()
        }
    )
}

I had problem with relationships in one of my migration where i need to use option B, but in most cases opt A is enough.

Reasons:
  • Blacklisted phrase (0.5): i need
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Chris

79795935

Date: 2025-10-21 14:37:52
Score: 1
Natty:
Report link
def Q1(numerator, denominator):
    # Check if both are numbers (int or float), but not complex
    if not (isinstance(numerator, (int, float)) and isinstance(denominator, (int, float))):
        return None

    # Avoid division by zero
    if denominator == 0:
        return None

    # Check divisibility using modulus (%)
    return numerator % denominator == 0
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: LightningFz

79795929

Date: 2025-10-21 14:34:51
Score: 1.5
Natty:
Report link

The problem seems to be solved with

import io
pd.read_csv(io.BytesIO(file.read()), encoding="cp1257")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Aidas

79795925

Date: 2025-10-21 14:30:50
Score: 2.5
Natty:
Report link

The default admin password for the MQ console when using the cr.io/ibm-messaging/mq image is 'passw0rd'.

I found that the MQ_ADMIN_PASSWORD env variable does work if specified.

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

79795923

Date: 2025-10-21 14:26:49
Score: 2.5
Natty:
Report link

If your OptionButtons are in ControlFormat this where you manipulate state, I do believe

This of course would depend if depending on whether you want the OptionButton selected ? Can be set either x1on or x10ff

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

79795918

Date: 2025-10-21 14:22:48
Score: 3
Natty:
Report link

Just ensure you have the deployment target at 15.1 for iOS.

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

79795912

Date: 2025-10-21 14:10:45
Score: 1
Natty:
Report link

2025 Vuetify 3.10+

"vite.config.js":

vuetify({
  styles: {
    configFile: 'src/styles/settings.scss',
  },
})

"src/styles/settings.scss":

@use 'vuetify/settings' with (
    $body-font-family: ('Arial', sans-serif),
);

Source: https://vuetifyjs.com/en/features/sass-variables/

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

79795910

Date: 2025-10-21 14:08:45
Score: 3
Natty:
Report link

Change the size of: Tools – Options – Environment - Fonts and Colors - Statement Completion/Editor Tooltip

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

79795891

Date: 2025-10-21 13:49:40
Score: 3.5
Natty:
Report link

Would OpenTelemetry collector aggregation help (https://last9.io/blog/opentelemetry-metrics-aggregation/)? There should be no app change, and it is handled in the collector pipeline.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Michau B

79795887

Date: 2025-10-21 13:44:39
Score: 4
Natty:
Report link

Are you using ControlFormat ?

Is your approach to work with shapes? Perhaps manipulate the OptionBotton sate, 'if' button inserted as a Form Control.

New here .. Curious did you modify the .value property of the OptionBotton object?

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

79795882

Date: 2025-10-21 13:39:37
Score: 1
Natty:
Report link

Here is the official documentation for the Remedy Rest APIs

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is the of
  • High reputation (-2):
Posted by: Saikat

79795873

Date: 2025-10-21 13:28:35
Score: 1.5
Natty:
Report link

The issue was caused by invalid dependencies in package.json that created conflicts during the Docker build process.
Fix:

  1. Remove the invalid dependency from package.json

  2. Clean all cache and node_modules

  3. Rebuild Docker containers without cache

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

79795868

Date: 2025-10-21 13:25:34
Score: 2.5
Natty:
Report link

In my case, it was just an @ symbol I accidentally put in a localisation file πŸ˜†

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

79795860

Date: 2025-10-21 13:20:33
Score: 4
Natty:
Report link

the trick is to use env variable

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

79795842

Date: 2025-10-21 13:03:29
Score: 3
Natty:
Report link

I used this image with wordart and convert it perfectly.

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

79795835

Date: 2025-10-21 12:53:26
Score: 5.5
Natty:
Report link

New here .. Curious did you modify the .value property of the OptionBotton object?

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

79795834

Date: 2025-10-21 12:52:25
Score: 2
Natty:
Report link

For anyone stumbling upon this years later, you can now use:

word-break: keep-all;
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rice

79795832

Date: 2025-10-21 12:51:25
Score: 1
Natty:
Report link

I'm using VS 17.14.7 and Resharper version
you can share your clean up profile! But you should firstly switch to editing that team-shared layer. (By default if you go to editing code clean it creates/edits) profile on your personal level:
1. Go to Extension => Resharper => Manage Options and select Solution...team shared, click on edit for this layer
2. Then go to Code Editing => Code Cleanup => Profiles, create your profile
3. Save
Thus it will write this profile into .DotSettings file in your solution. Then you can commit and push this file as any other solution files

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

79795831

Date: 2025-10-21 12:51:25
Score: 1
Natty:
Report link

You could use the String_split table function:

SELECT TRIM(value) AS pid
FROM STRING_SPLIT('U388279963, U388631403, U389925814', ... ',')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ben Ketteridge

79795826

Date: 2025-10-21 12:47:24
Score: 1.5
Natty:
Report link

It probably due to the

Current:

//button[contains(@class, 'btn-primary') and text()='Confirm']

Change it to

//button[contains(@class, 'btn-primary') and text()='Confirm Booking']
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user23976511

79795822

Date: 2025-10-21 12:42:23
Score: 3
Natty:
Report link

I could fix the issue by deleting all .dcu files from my DCU folder ; after this, the compiler worked without issues. I'm not sure why but i'm posting here to help someone that face the same issue.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): face the same issue
  • Single line (0.5):
  • High reputation (-1):
Posted by: delphirules

79795820

Date: 2025-10-21 12:41:22
Score: 4
Natty: 5
Report link

you must change getMaxCores function, roll it back to 0.25, then install package by tar.gz file . Detail in this article by me https://www.bilibili.com/opus/1126187884464832514 .

Reasons:
  • Blacklisted phrase (1): this article
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ddl

79795803

Date: 2025-10-21 12:21:17
Score: 2.5
Natty:
Report link

You can read from serial port with php and windows with library for windows
https://github.com/m0x3/php_comport

This is only one real working read on windows with php.

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

79795802

Date: 2025-10-21 12:20:17
Score: 2
Natty:
Report link

we have to use px at the end

#list_label {
font-size:20px;}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kurmapu Hymavathi

79795801

Date: 2025-10-21 12:20:17
Score: 0.5
Natty:
Report link

In my case which I have a cpanel shared host:

1- Go to MultiPHP INI Editor
2- Under Configure PHP INI basic settings select the location you want to change the limit
3- Find post_max_size and set your desired value for ex: 100M
4- Click on apply

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

79795795

Date: 2025-10-21 12:14:16
Score: 1
Natty:
Report link

Resolved the issue, if anyone comes across the same issue, ensure that your mocks are properly mocked:

Failing:

jest.mock('@mui/x-date-pickers/LocalizationProvider', () => ({
  __esModule: true,
  default: (p: { children?: any }) => p.children,
}));

Passing:

jest.mock('@mui/x-date-pickers/LocalizationProvider', () => ({
  __esModule: true,
  LocalizationProvider: (p: { children?: any }) => p.children,
}));
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: DHZA

79795794

Date: 2025-10-21 12:13:15
Score: 3
Natty:
Report link

Snakemake version 9.0.0 and newer supports this via the --report-after-run parameter.

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

79795790

Date: 2025-10-21 12:08:14
Score: 1
Natty:
Report link

Make sure you used the correct function to register it.

function my_message_shortcode() {
    return "Hello, this is my custom message!";
}
add_shortcode('my_message', 'my_message_shortcode');

If you miss the return statement and use echo instead, it may not render properly.

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

79795788

Date: 2025-10-21 12:07:13
Score: 1.5
Natty:
Report link

Necro-answer:

I believe you have to query the ics file directly:

http://localhost:51756/iCalendar/userUniqueIdiCalendar/userUniqueId/calendar.ics

I answer as this is still a relevant issue.

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

79795783

Date: 2025-10-21 12:03:12
Score: 4
Natty:
Report link

I was able to resolve this by using the "Reload Project" option from VS 2022 menu (not sure how I missed that). Thanks for the responses

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

79795782

Date: 2025-10-21 12:02:11
Score: 4
Natty:
Report link

fixed: turns out you cant do that in textual

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

79795779

Date: 2025-10-21 11:56:10
Score: 1.5
Natty:
Report link

add list then open it as design vew than add example code to apply filter from cmb_ml combo box to list

IIf([Forms]![qc_moldsF9_partsListSelect]![cmb_ml] Is Not Null,[Forms]![qc_moldsF9_partsListSelect]![cmb_ml],[id_part])

enter image description here

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

79795768

Date: 2025-10-21 11:41:06
Score: 2.5
Natty:
Report link

You can read from serial port with php and windows with library for windows
https://github.com/m0x3/php_comport

This is only one real working read on windows with php.

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

79795750

Date: 2025-10-21 11:25:02
Score: 2.5
Natty:
Report link

You can’t simply use a ELM327 to fully emulate an ECU β€” you need to decide which layer to emulate (CAN‑bus vs the ELM327 AT‑command layer) and build the interface so your tool reads from the emulated bus instead of the real one

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

79795747

Date: 2025-10-21 11:22:01
Score: 1
Natty:
Report link

The php command

php artisan migrate

succeeds provided I do 2 things:

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

79795739

Date: 2025-10-21 11:11:59
Score: 2.5
Natty:
Report link

Assuming you got your [goal weight day] set up, would this work?

If((\[weight\]\<160) and (\[goal weight day\] is not null),First(\[day\]) over (\[person\],\[weight\]))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: Gaia Paolini

79795728

Date: 2025-10-21 10:50:54
Score: 3
Natty:
Report link

I was experiencing this issue as well, found out that there are some required parameters I was not sending from the Backend hence causing the error to be raised

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

79795720

Date: 2025-10-21 10:44:53
Score: 2
Natty:
Report link

I had a similar problem. What helped was removing the custom domain from my username.github.io repository (the user/organization site)

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

79795719

Date: 2025-10-21 10:44:53
Score: 2.5
Natty:
Report link

Suppose your number is on cell A2 then use the formula IF(A2=0,0,MOD(A2-1,9)+1)

This will return the sum of all digits into a single digit between 0 to 9

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

79795718

Date: 2025-10-21 10:44:52
Score: 5.5
Natty: 5
Report link

rightclick -> format document ?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Maximilian KΓΆhler

79795711

Date: 2025-10-21 10:34:50
Score: 2
Natty:
Report link

Check if the server is overriding

Try building the project by runing commands

npm run build serve -s build

Later check by opening the build URL in Safari browser

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

79795709

Date: 2025-10-21 10:31:49
Score: 1
Natty:
Report link

I know this is an old thread, but there is still no "create_post" capability (I wonder why?) and I needed this functionality as well.

What I want: I create a single post for specific users with a custom role and then only let them edit that post.

This is what works for me:

'edit_posts' => false : will remove the ability to create posts, but also the ability to edit/update/delete

'edit_published_posts' => true : this will give back the ability to edit and update, but no to create new posts (so there will be no "Add post" button)

The whole function & hook:

function user_custom_roles() {

remove_role('custom_role'); //needed to "reset" the role

add_role(
        'custom_role',
        'Custom Role',
        array(
            'read' => true,
            'delete_posts' => false,
            'delete_published_posts' => false,
            'edit_posts' => false, //IMPORTANT
            'edit_published_posts' => true, //IMPORTANT
            'edit_others_pages' => false,
            'edit_others_posts' => false,
            'publish_pages' => false,
            'publish_posts' => false,
            'upload_files' => true,
            'unfiltered_html' => false
        )
    );
    
}
add_action('admin_init', 'user_custom_roles');  
Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (0.5): why?
  • Whitelisted phrase (-1): works for me
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: marioline

79795693

Date: 2025-10-21 10:17:46
Score: 0.5
Natty:
Report link

I see this question is 12 (!!!) years old, but I’ll add an answer anyway. I ran into the same confusion while reading Evans and Vernon and thought this might help others.

Like you, I was puzzled by:

  1. Why do we need to distinguish bounded contexts from subdomains?
  2. How do they relate to each other?
  3. How do we apply these ideas in practice?

1️⃣ Subdomains vs. Bounded Contexts

Subdomains are business-oriented concepts, bounded contexts are software-oriented. A subdomain represents an area of the business, for example, Sales in an e-commerce company (the classic example). Within that subdomain, you might have several bounded contexts: Product Catalog, Order Management, Pricing, etc. Each bounded context has its own model and ubiquitous language, consistent only within that context. As a matter of fact, model and ubiquitous language are the concepts that, at the implementation level, define the boundary of a context (terms mean something different and/or are implemented in different ways depending on context)

2️⃣ How they relate

In short: you can have multiple bounded contexts within one subdomain. To use a different analogy than the existing ones: subdomains are like thematic areas in an amusement park, while bounded contexts are the attractions within each area, each with its own design and mechanisms, but all expressing the same general theme.

3️⃣ In practice

In implementation, you mostly work within bounded contexts, since that’s where your code and model live. For example, in Python you might structure your project with one package per bounded context, each encapsulating its domain logic and data model.

Another reason to keep the two concepts separated is that you may have a business rule spanning across different bounded contexts and be implemented differently in each of those. For example (again sale, I hate this domain, but here we are): "A customer cannot receive more than a 20% discount" is a rule of the "Sale" sub-domain that, language-wise and model-wise, will be implemented differently in different bounded contexts (pricing, order management, etc).

Also...

When planning development, discussions start at the subdomain level, aligning business capabilities and assigning teams. Those teams then define the bounded contexts and their corresponding ubiquitous languages.

The distinction between the two matters most at this strategic design stage, it helps large projects stay organised and prevents overlapping models and terminology from creating chaos.

If you mainly work on smaller or personal projects by your own (as I do), all this taxonomy may not seem that important at first, but (I guess) the advantage is clear for people that witnesses project collapsing because of bad planning.

TLDR:

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

79795692

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

thank you

sudo restorecon -rv /opt/tomcat

worked for me

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mihai Profir

79795689

Date: 2025-10-21 10:15:45
Score: 1
Natty:
Report link

The problem with missing options came from config/packages/doctrine.yaml

There, the standard config sets options that were removed in doctrine-orm v3, namely:

doctrine.dbal.use_savepoints
doctrine.orm.auto_generate_proxy_classes
doctrine.orm.enable_lazy_ghost_objects
doctrine.orm.report_fields_where_declared

Commenting out / removing those options resolved the issue.
Hopefully the package supplying those config options fixes this. In the meantime, manually editing the file seems to work.

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

79795688

Date: 2025-10-21 10:14:45
Score: 2.5
Natty:
Report link

You can read from serial port with php and windows with library for windows
https://github.com/m0x3/php_comport

This is only one real working read on windows with php.

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

79795676

Date: 2025-10-21 10:03:43
Score: 0.5
Natty:
Report link

Now it has changed, use following in your source project:
Window -> Layouts -> Save Current Layout As New ...

And this in you destination project:
Window -> Layouts -> {Name you've given} -> Apply

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

79795664

Date: 2025-10-21 09:41:39
Score: 1
Natty:
Report link

Without quotes and for a file in directory ./files, launch the following command from the root directory where .git is placed:

git diff :!./files/file.txt

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

79795656

Date: 2025-10-21 09:34:37
Score: 3.5
Natty:
Report link

You can choose to disable the extension from the extensions tab

enter image description here

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

79795648

Date: 2025-10-21 09:25:34
Score: 0.5
Natty:
Report link

Once the bitmap preview is open, you can copy it (via cmd or [right click -> copy]) and then paste it to Preview app [Preview -> File -> New from clipboard] (if you use a Mac) or any image viewer of your choice. Then save it.

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

79795634

Date: 2025-10-21 09:05:30
Score: 0.5
Natty:
Report link

This issue is solved by running the published executable as Admin. My visual studio always runs as admin, turns out it makes a difference.
I am not sure why it matters, maybe windows defender by default scanning the executable while running that makes it slower, or like Guru Stron said that it has anything to do with DOTNET_TC_QuickJitForLoops, but I haven't got time to test it any further.
Maybe when I have enough time to test, I will update my answer.
For now, I will close this issue.

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