79498363

Date: 2025-03-10 14:58:43
Score: 3.5
Natty:
Report link

We're having the same issue. Code that worked on Windows 10 is now not working in Windows 11. In addition, I see that MS sample code for implementing custom dictionaries in GitHub isn't working: https://github.com/microsoft/WPF-Samples/archive/refs/heads/main.zip with the project in Documents/Spell Checking/CustomDictionaries.

In the past in Windows 10 we saw problems where new words in a custom dictionary weren't being recognized due to temporary .dic files building up in the %TEMP%\wpf folder. But clearing these files is no longer fixing the problem. We've also tried clearing Registry entries in Computer\HKEY_CURRENT_USER\Software\Microsoft\Spelling\Dictionaries to no avail.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Low reputation (1):
Posted by: garzooma

79498362

Date: 2025-03-10 14:58:43
Score: 1
Natty:
Report link

As much as I have seen, if you tamper with the files of a .pkpass, Apple Wallet will refuse to open you pass since it "sees" that the checksum of files are different. Although the manifest should do this for you, the signature file also includes the original manifest of the .pkpass. Thus, even if you update the checksums of your files in the manifest file, Apple should still see that the pass has been modified.

I saw that when you adapt the checksums files, Google Wallet will open the altered .pkpass but Apple Wallet won't.

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

79498359

Date: 2025-03-10 14:57:43
Score: 1
Natty:
Report link

Circular Reference:

Solutions:

  1. Override equals() and hashCode() Carefully:

    • Avoid including relationships (especially bidirectional ones) that can cause cyclic calls in equals() and hashCode(). Use only immutable and unique fields (like the ID).
  2. Fix in News and NewsReactions:

    • Modify both classes to override equals() and hashCode() using only the id field
Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: cjia

79498350

Date: 2025-03-10 14:52:42
Score: 1
Natty:
Report link

Looking at pandas.read_sql official documentation it says:

ADBC provides high performance I/O with native type support, where available. Using SQLAlchemy makes it possible to use any DB supported by that library. If a DBAPI2 object, only sqlite3 is supported. The user is responsible for engine disposal and connection closure for the ADBC connection and SQLAlchemy connectable; str connections are closed automatically. See here.

Since you are using SQLAlchemy it handles the closure automatically.

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

79498340

Date: 2025-03-10 14:49:41
Score: 1.5
Natty:
Report link

Empty columns and rows can be removed via the suppress option on the crosstab container. If the entire row and or column is empty, missing or zero the supress will remove them from all outputs without the need of JS.

https://www.ibm.com/docs/en/cognos-analytics/11.1.0?topic=cells-use-cognos-analytics-suppression

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

79498336

Date: 2025-03-10 14:48:41
Score: 1.5
Natty:
Report link

To use an array in the WHERE clause, IN (), you need to create as many "?" as there are items in the array. A simple foreach or for loop before the SELECT clause will do. In the loop, for each item in the array, you will add "?" to a string $numberOfItems. So, if there are 4 items in the array, the string will look like this: ?, ?, ?, ?

In place of WHERE code IN (?), it will be WHERE code IN ($numberOfItems), which is equivalent to WHERE code IN (?, ?, ?, ?).

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: yellow_melro

79498324

Date: 2025-03-10 14:43:40
Score: 2.5
Natty:
Report link

For me, the problem was the "includes" array in the tsconfig.json file. The file (in my case a playwright config file) that was throwing the import.meta error was not being picked up. This may seem obvious, but when the error itself points out a module resolution issue, you may forget to check here.

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

79498306

Date: 2025-03-10 14:35:38
Score: 1
Natty:
Report link

The option server_round_robin in pgbouncer controls this behavior. Set it to 1 to make it balance the backend connections instead of LIFO them.

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

79498295

Date: 2025-03-10 14:31:37
Score: 3.5
Natty:
Report link

This github Link on the issue works for me:

[link](github.com/cph-cachet/flutter-plugins/issues/908)

Reasons:
  • Whitelisted phrase (-1): works for me
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Clover99

79498294

Date: 2025-03-10 14:31:37
Score: 0.5
Natty:
Report link

I tried to resolve it "natively" too, but it seems that dropPreviewParametersForRowAt is not called when you are doing drag&drop in the same table view.

Btw, dragPreviewParametersForRowAt is working fine I set something like:

func tableView(_ tableView: UITableView, dragPreviewParametersForRowAt indexPath: IndexPath) ->
UIDragPreviewParameters? {
    let parameters = UIDragPreviewParameters()
    parameters.backgroundColor = .appClear
    
    if let cell = tableView.cellForRow(at: indexPath) {
        parameters.visiblePath = UIBezierPath(roundedRect: cell.bounds, cornerRadius: 10)
    }
    return parameters
}

and dragged cell was nicely rounded.

For the dropping preview, I went with custom view, like so:

Custom Highlight View
final class DragDropHighlightView: UIView {
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        setupView()
    }
    
    required init?(coder: NSCoder) {
        super.init(coder: coder)
        setupView()
    }
    
    private func setupView() {
        isHidden = true
        layer.cornerRadius = 10
        layer.borderColor = UIColor.appSystemBlue.cgColor
        layer.borderWidth = 2
        backgroundColor = .appSystemBlue.withAlphaComponent(0.1)
    }
    
    func setHighlighted(_ highlighted: Bool) {
        isHidden = !highlighted
    }
}

Laying out Highlight View in Table Cell
class AppTableViewCell: UITableViewCell {
    
    // Your other UI and business logic properties...
    //
    //

    private let dragDropHighlightView = DragDropHighlightView()
    
    override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: .subtitle, reuseIdentifier: reuseIdentifier)
        setupLayout()
        // Your other setup methods
    }
    
    required init?(coder: NSCoder) {
        super.init(coder: coder)
        setupLayout()
    }
    
    // Public method for showing/hiding the highlight view
    func setDragDropHighlighted(_ highlighted: Bool) {
        dragDropHighlightView.setHighlighted(highlighted)
        backgroundColor = highlighted ? .clear : .appSecondarySystemGroupedBackground
    }

    private func setupLayout() {
       // Your other layout setup here
        
       // Using TinyConstraints SDK for Auto Layout
       // Pinning to the edges of the cell our highlight view 
       contentView.addSubview(dragDropHighlightView)
       dragDropHighlightView.edgesToSuperview()
    }
}

My Logic when to show/hide DragDropHighlightView

In the file where I have the Table View I have this property

private var highlightedCell: AppTableViewCell? {
    didSet {
        oldValue?.setDragDropHighlighted(false)
        highlightedCell?.setDragDropHighlighted(true)
    }
}

And at occasions where I need to deselect the cell, I set the property to nil and where I want to actually highlight the cell I set the property with the table cell type. For some more insights see below:

☝️ UITableViewDragDelegate

Hide at (highlightedCell = nil)

func tableView(_ tableView: UITableView, dragSessionDidEnd session: any UIDragSession)

🎯 UITableViewDropDelegate

Hide at highlightedCell = nil:

func tableView(_ tableView: UITableView, dropSessionDidExit session: any UIDropSession)

func tableView(_ tableView: UITableView, performDropWith coordinator: any UITableViewDropCoordinator)

Show at & Hide at:

func tableView(_ tableView: UITableView, dropSessionDidUpdate session: any UIDropSession, withDestinationIndexPath destinationIndexPath: IndexPath?)

guard let indexPath = destinationIndexPathelse {
    // Here I do some extra checks whether I am out of my model's array bounds
    highlightedCell = nil
    return UITableViewDropProposal(operation: .cancel)
}
// Highlight the destination cell
if let cell = tableView.cellForRow(at: indexPath) as? AppTableViewCell {
    highlightedCell = cell
}

So the drop session update can look like this:

func tableView(_ tableView: UITableView, dropSessionDidUpdate session: any UIDropSession, withDestinationIndexPath
destinationIndexPath: IndexPath?) -> UITableViewDropProposal {
  
    guard let indexPath = destinationIndexPath,
          indexPath.section < tableSections.count, // Do the additional check in order to NOT move out of array and crash the app.
          indexPath.row < tableSections[indexPath.section].cells.count else {
        return cancelDropOperation()
    }
    
    let destinationCell = tableSections[indexPath.section].cells[indexPath.row]
 
    // Check if source and destination are the same BUT
    // ⚠️ WARNING Not working though. 🤷
    if let dragItems = session.items.first,
       let sourceFileCell = dragItems.localObject as? FilesCell,
       sourceFileCell.fileURL == destinationFileCell.fileURL {
        highlightedCell = nil
        return UITableViewDropProposal(operation: .cancel)
    }
    
    // Highlight the destination cell
    if let cell = tableView.cellForRow(at: indexPath) as? AppTableViewCell {
        highlightedCell = cell
    }
    return UITableViewDropProposal(operation: .move, intent: .insertIntoDestinationIndexPath)
}

⚠️ WARNING

What I was not able to figure out yet is that when you hover with dragged cell above itself, the highlight view will not disappear and will remain at the last "valid" indexPath, so it's not the best UX. I haven't came up with working logic yet how to compare indexPath of dragged cell with indexPath of "destination" cell.

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: peetadelic

79498281

Date: 2025-03-10 14:27:36
Score: 1
Natty:
Report link

As usual, I needed to post the question on StackOverflow to find the issue myself one minute later.

The issue was in the linker script: when I removed these two lines I've got the correct first-level handler in place, and my hardware jumped to it upon an IRQ:

_vector_table = ORIGIN(REGION_TEXT) + 0x12340;
_start_trap = ORIGIN(REGION_TEXT) + 0x12340;

Obviously, the drawback is that now I have to rely on linker to locate the handlers, but at least it works somehow. Initially I wanted it to be always at location 0x12340, so that I could put a breakpoint there without doing any math.

It turned out that if I do not define these symbols explicitly in the linker script, I can still define them as extern in my code and it works fine. Below is an example of my overloaded _setup_interrupts :

use riscv::register;

#[unsafe(no_mangle)]
pub extern "Rust" fn _setup_interrupts() {
    unsafe {
        let vectored = false;
        let mtvec = if vectored {
            unsafe extern "C" {
                fn _vector_table();
            }
            let mut mtvec = register::mtvec::Mtvec::from_bits(_vector_table as usize);
            mtvec.set_trap_mode(register::stvec::TrapMode::Vectored);
            mtvec
        } else {
            unsafe extern "C" {
                fn _start_trap();
            }
            let mut mtvec = register::mtvec::Mtvec::from_bits(_start_trap as usize);
            mtvec.set_trap_mode(register::stvec::TrapMode::Direct);
            mtvec
        };

        register::mtvec::write(mtvec);
        ...
    }
}
Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Valeriy Kazantsev

79498279

Date: 2025-03-10 14:26:35
Score: 6.5 🚩
Natty: 5
Report link

Is it possible to define different primary color set for dark and light mode in app.config.ts ? How it is done?

Reasons:
  • Blacklisted phrase (1): Is it possible to
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is it
  • Low reputation (1):
Posted by: Rator99

79498266

Date: 2025-03-10 14:20:34
Score: 2
Natty:
Report link

These lines are based on the device's vsync period (desired framerate), usually 16ms (60fps)
And represent a percentage of this period:
Green - 80%
Yellow - 100%
Red - 150%

so for 60fps they are
Green - ~13ms (~78fps)
Yellow - 16ms (60fps)
Red - 24ms (~41fps)

Source:
https://android.googlesource.com/platform/frameworks/base/+/refs/heads/main/libs/hwui/FrameInfoVisualizer.cpp?pli=1#41

so the official documentation is outdated

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

79498257

Date: 2025-03-10 14:16:33
Score: 1.5
Natty:
Report link

The scene renders fine as long as there is no tag being rendered at all.

This is a little bit unclear...

Generally, is there any specific reason for importing Mesh, BoxGeometry, and MeshLambertMaterial from Three.js and trying to use them directly, instead using primitives provided by R3F (i.e.<mesh>, <boxGeometry>, <meshLambertMaterial>)?

Pay attention to the capitalization of the letters in the components...

https://r3f.docs.pmnd.rs/getting-started/your-first-scene#the-result

This template should works fine, if you still get issues, please provide sandbox.

import React, {Suspense} from 'react';     
// import Button from '../components/Button';
import { Canvas } from '@react-three/fiber';
// import CanvasLoader from '../components/CanvasLoader';
// import { Model } from '../components/Model';
import { OrbitControls } from '@react-three/drei';

const HeroSec = () => { 
  return (
    <Canvas>
      <ambientLight args={[2, 2, 5]} intensity={1} color="#ffffff" />
      <directionalLight args={[0, 0, 10]} intensity={1} color="#ffffff" />
      <OrbitControls /> 
      
      <mesh>
        <boxGeometry args={[2, 2, 2]} />
        <meshLambertMaterial color="#ff0357" />
      </mesh>
    </Canvas>
  );
}
export default HeroSec
Reasons:
  • Blacklisted phrase (1): is there any
  • RegEx Blacklisted phrase (2.5): please provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Łukasz Daniel Mastalerz

79498254

Date: 2025-03-10 14:15:33
Score: 1.5
Natty:
Report link

you need define a variable "location" { //whatever goes here, check documentation} somewhere in your terraform so that the tfvars can reference it

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

79498248

Date: 2025-03-10 14:12:32
Score: 0.5
Natty:
Report link

cause: mqtt_browser_client was using dart:js_interop which can't be run on a android platform
It was due to mqtt_browser_client my app runs on web and app as well so I implemented mqtt_browser_client for web before clean and upgrade everything was working fine but after that libraries got updated and I was stuck with this bug, I removed all the occurrences of mqtt_browser_client from my app and it starts work again

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

79498244

Date: 2025-03-10 14:10:31
Score: 2
Natty:
Report link

You seem to be using some v3 configs with some v4 configs at the same time.

Considering you want to use latest tailwindcss v4 with vite, you do not need to handle PostCSS manually.

Uninstall PostCSS, delete the PostCSS file and follow the steps here.

Your vite file seems to be correct.

Your index.css can lose the old v3 @tailwind directives in favour of the new @import "tailwindcss";

Reasons:
  • No code block (0.5):
  • User mentioned (1): @tailwind
  • User mentioned (0): @import
  • Low reputation (0.5):
Posted by: Frox

79498243

Date: 2025-03-10 14:10:31
Score: 3.5
Natty:
Report link

How does @AppStorage store values on a Mac platform?

Well, if you look up "AppStorage" in Apple's documentation the very first thing it says is:

A property wrapper type that reflects a value from UserDefaults and invalidates a view on a change in value in that user default.

So @AppStorage saves any values so tagged in UserDefaults.

However, after much reading I am given to believe that SwiftUI recreates (redraws?) views frequently.

Yes, but a "view" in SwiftUI isn't the same as a view in AppKit or UIKit -- it's a tiny structure that can be created with very little work.

Does this mean that @AppStorage is reading the preference values from my hard drive frequently?

Probably not. UserDefaults works like a persistent dictionary, but that doesn't mean that it either reads or writes from/to disk every time you access it. You shouldn't assume anything more than what the documentation for that class tells you, but in the past you could call the synchronize() to ensure that any updates were written out, which suggests that UserDefaults does some smart caching of data to reduce disk access. (The docs now say not to call synchronize(), so don't.)

If this is the case, it seems that I should store a copy of the preferences locally, maybe in the app environment as well. Does @AppStorage keep any sort of local copy while the app is running or is it strictly reading form disk?

You are vastly overthinking this. Does your app have a performance problem that you can trace to UserDefaults or AppStorage? If no, stop worrying about it. And if you think you have such a performance problem, be sure to verify that via Instruments or other profiling.

As these values are user options, I don't anticipate that they will be changed all that often.

Then what are you worrying about?

Does anyone have any idea if @AppStorage is disk only storage & retrieval or if there is some local copy lurking around as I run the app?

I have an idea that it's not "disk only" in the sense that even a small amount of profiling will show you that UserDefaults is fast and efficient. Also, it's a class that practically every application on any of Apple's several platforms uses, and one that has been around since the late 1980's (as part of NextStep), so it's something that you can rely on.

Is this even really an issue?

No. Stop worrying.

Reasons:
  • RegEx Blacklisted phrase (3): Does anyone have any idea
  • RegEx Blacklisted phrase (0.5): any updates
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @AppStorage
  • User mentioned (0): @AppStorage
  • User mentioned (0): @AppStorage
  • User mentioned (0): @AppStorage
  • Starts with a question (0.5): How do
  • High reputation (-2):
Posted by: Caleb

79498238

Date: 2025-03-10 14:09:31
Score: 3
Natty:
Report link

Yes, I've encountered the same problem. The purchase of telegram premium helped. This is the only way to get around this 2GB limit.

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

79498237

Date: 2025-03-10 14:07:31
Score: 1
Natty:
Report link

I had a different, but possibly the same root cause. To sort the INDEX issue the only thing that worked was adding a new Date column which was something like [DateSmall] = CAST(DATETIME2 AS Date) So removing TIME. Of course this creates new issues, such as UTC vs local dates, but it did solve teh performance issue.

PS I did try tackling it as an ASCENDING KEY problem, which helped somewhat but only if I updated Stats with Full scan, which on a table with over 3 million inserts per day that wasn't really viable.

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

79498236

Date: 2025-03-10 14:07:31
Score: 1.5
Natty:
Report link

It is clear to me that, as sarvesheri says, it is a bug.  However, it didn´t seem quite right that the bug is not consistent: The two givens are defined in the same block. But when the main argument is an A everything goes well; when it is a LocalDate it gives an error.

Nevertheless, I have found out that the situation is not the same because class A is defined within object Ex13 and LocalDate is not.  If I modify the first code example and put class A outside object Ex13 I also get an error.  That is, if the class is defined outside the object, as LocalDate is in the first place, the given FromString is not detected.

Reasons:
  • RegEx Blacklisted phrase (1): I also get an error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: flafora

79498228

Date: 2025-03-10 14:06:31
Score: 0.5
Natty:
Report link

Old post, but still...
Java 21 has a new interface SequencedCollection which is extended by List and many other types. It has getLast() method.

As well as other useful methods:

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

79498220

Date: 2025-03-10 14:03:30
Score: 5.5
Natty: 5.5
Report link

i don't know if u could resolve this issue. If so, how did u do it?

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

79498219

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

Find this simpler one for ALL emojis

  const removeEmojisFromText = (text: string) => text.replace(/\p{Extended_Pictographic}/gu, "")

source: https://stackoverflow.com/a/64007175

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nicolas Sturm

79498218

Date: 2025-03-10 14:02:29
Score: 3
Natty:
Report link

For me, I had inadvertently set URL Rewrite rules within the application, and I had only to remove the rules, even if they don't appear on the web.config file.

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

79498203

Date: 2025-03-10 13:57:28
Score: 0.5
Natty:
Report link

I don't know if you are still confused about this, but the CSAPP official errata has corrected this error:

p. 153, Solution to Problem 2.32. The sentence starting on third line should state “In fact, the opposite is true: tsub_ok(x, TMin) should yield 1 when x is negative and 0 when it is nonnegative.”

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

79498199

Date: 2025-03-10 13:55:27
Score: 1.5
Natty:
Report link

Was able to confirm with an MS PowerBI support engineer that with a premium per user license you are limited to 1 request every 5 minutes for exporting paginated reports. This information can also be found here (I missed it - other articles alluded to a 120 request / minute limit)

https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report#concurrent-requests

The engineer said there are requests in to have this changed. I'm not sure how the expect people to adopt power BI, forcing them to by at least a P1 capacity at $60k/year to export some reports. I can do all of that basically for free with SSRS right now.

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

79498191

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

As mentioned by other answers, you should add this to your settings.json:

"python.languageServer": "Pylance"

Pylance is not supported on unnofficial builds, so you can install it manually by going to extensions > click on the 3 dots > click on Install from VSIX, and select the downloaded file.

https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-python/vsextensions/vscode-pylance/2023.6.40/vspackage

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

79498175

Date: 2025-03-10 13:49:26
Score: 1
Natty:
Report link

The problem is using .cuda() to move the model to the GPU when loading the model using the BitsAndBytesConfig. I was able to get the error to go away by using the device_map argument when loading the model, e.g.,

model = AutoModelForCausalLM.from_pretrained(
    "ThetaCursed/Ovis1.6-Gemma2-9B-bnb-4bit",
    trust_remote_code=True,
    device_map='auto',
    **kwargs
)
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Tom

79498170

Date: 2025-03-10 13:48:26
Score: 0.5
Natty:
Report link

Algo que podrías hacer es utilizar un color transparentoso en lugar de darle opacidad al body, así evitas lo que te está pasando y llegas al resultado que deseas.

body { 
  background-image: url('https://images.unsplash.com/photo-1739538475083-43bbf5c47646?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE3NDE2MDkzMDB8&ixlib=rb-4.0.3&q=80&w=400');
  background-repeat : no-repeat ;
  background-position : center;
  background-size: contain;
  /* Elimina la opacidad del body, ya que es heredada */
}

.outer { 
  width:60%;
  height: 400px;
  margin:auto;
  padding-top: 2rem;
  /* Establece para los contenedores que son translúcidos, su color de fondo con su nivel de transparencia, para evitar afectar sus hijos */
  background-color: rgb(255, 255, 255, 0.8)
}

.inner {
  width:30%;
  height:50%;
  margin:auto;
  text-align:center;
  display:flex;
}

.top { 
  position:sticky;
  top:0;
  z-index:1;
  height: 3rem;
  width:40%;
  margin: auto;
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
  font-size:200%;
  background : white;
  text-align: center;
}

.left {
  float:left ;
  padding-left:1rem;
  padding-right:1rem;
}
  <body>
  <div class='top'>
    This is the top
  </div>
  <div class='outer'>
    <div class='inner'>
      <div class='left'>
        Inner
      </div>
      <div class='left'>
        <img height=200px; width=200px;
           src='https://images.unsplash.com/photo-1739961097716-064cb40a941e?rop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE3NDE2MTEzNzh8&ixlib=rb-4.0.3&q=80&w=400' alt=''>
      </div>
    </div>
  </div>
</body>

Reasons:
  • Blacklisted phrase (1): está
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Estiven Montoya Torres

79498166

Date: 2025-03-10 13:46:25
Score: 4
Natty: 5
Report link

The answer with most vote just works like charm. Thanks for the help

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: StackOverSlow

79498163

Date: 2025-03-10 13:45:25
Score: 3.5
Natty:
Report link

As predicted by  cristian-vargas in the comments, upgrading to R version 4.4.3 fixed the issue!

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

79498154

Date: 2025-03-10 13:42:24
Score: 3
Natty:
Report link

for html simply <del> latinized </del> works.

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

79498148

Date: 2025-03-10 13:38:23
Score: 0.5
Natty:
Report link

One more reason for this crash is described here:

// Check to see if the service had been started as foreground, but being
// brought down before actually showing a notification.  That is not allowed.

So make sure that you don't stop your foreground service immediately right after starting it.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrei K.

79498146

Date: 2025-03-10 13:37:22
Score: 14 🚩
Natty: 6
Report link

I'm having the same issue. Did you find any solution?

Bump

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you find any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: HelpNeeder

79498120

Date: 2025-03-10 13:26:20
Score: 1
Natty:
Report link

The solution you currently have would assume the day's half is at 12:00.

With that assumption in mind you could also take the diff in hours and apply modulo 24 over them (120%24 -> 12).

If the value resulted is exactly 12 than you can consider it half day, but by using this you will only allow splitting the day in to halves.

I'd recommend using a different mechanism for the hours off.

Calculate the full days + compute the working hours that you want to take off afterwards.

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

79498119

Date: 2025-03-10 13:26:20
Score: 3
Natty:
Report link

I already get this problem to do real time soft robotics simulation on SOFA framework.

I've made some git repository to store and share the code to do so (both contain the same code) :

https://github.com/pchaillo/MeshPipeline/tree/main

https://framagit.org/pchaillo/stl2vtk

Feel free to give a look if it may help you for your conversions !

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

79498118

Date: 2025-03-10 13:26:20
Score: 1.5
Natty:
Report link

Thanks to Stephen Quan answer I managed this, but my label should looks like:

<Label Text="{extension:Translate BindingContext={Binding Path=BindingContext, Source={x:Reference MyContainerName}, x:DataType=myViewModel:MyViewModel}, 
        Name={Binding MyName}}"/>
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: infinitesimal

79498113

Date: 2025-03-10 13:24:20
Score: 0.5
Natty:
Report link

The action you’re using expects that MS WebDeploy V3 is installed at C:\Program Files (x86)\IIS\Microsoft Web Deploy V3

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

79498104

Date: 2025-03-10 13:21:19
Score: 10.5
Natty: 8.5
Report link

I have the same problem, how you resolved it??

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (1.5): resolved it??
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: antonio romano

79498103

Date: 2025-03-10 13:21:17
Score: 9 🚩
Natty:
Report link

Did you manage to find a solution? Am I experiencing the same problem?

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: user19161117

79498098

Date: 2025-03-10 13:19:17
Score: 3.5
Natty:
Report link

I bought an iPhone 16 on https://www.foxtrot.com.ua/ and I had no problems with GPS

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

79498088

Date: 2025-03-10 13:16:17
Score: 1
Natty:
Report link

meswhere.myshopify.com

This happens often. You can get through by


Increase Message Size Limits

Optimize Message Size: If possible, split large messages into smaller chunks or compress the data.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mercy Jacobs

79498086

Date: 2025-03-10 13:14:16
Score: 4
Natty:
Report link

Well i used curl and included my session cookie, that worked for now :)

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

79498083

Date: 2025-03-10 13:13:16
Score: 0.5
Natty:
Report link

unnest with ORDINALITY and ORDER BY, will still NOT preserve order. If any elements are null, they will get pushed to the bottom.

This method however WILL preserver order

ARRAY(
    SELECT v_users_basic[i].user_id
    FROM generate_subscripts(v_users_basic, 1) AS i
    ORDER BY i
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sachin

79498080

Date: 2025-03-10 13:11:15
Score: 1.5
Natty:
Report link

In the authentication library, when a 401 error occurs, certain default flows (e.g., automatic redirects or error handling) might trigger, which can disrupt your application’s process. To resolve this, I recommend writing a custom authentication middleware to handle 401 errors explicitly. This allows you to control the logic (e.g., token refresh, redirects, or API calls) without relying on the library’s default behavior, ensuring the process remains stable

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

79498079

Date: 2025-03-10 13:11:15
Score: 3.5
Natty:
Report link

avete risolto io non riesco eliminare la vpc con blackhole...grazie

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

79498070

Date: 2025-03-10 13:07:15
Score: 1.5
Natty:
Report link

As the error suggests llm is not declared correctly.
Use something like this to first make a proper llm object.

llm = ChatOpenAI(temperature=1, model_name=use_model)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Filmic

79498061

Date: 2025-03-10 13:05:14
Score: 2.5
Natty:
Report link

The problem was this line:

builder.Port(587, true)

Is should be:

builder.Port(587, false)

Setting this to true means the endpoint is secure by default and in which case it will try to update the connection to SSL when the client connects rather than waiting for the client to issue a STARTTLS command.

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

79498057

Date: 2025-03-10 13:01:13
Score: 2
Natty:
Report link

I faced the same situation. Here's what will help:
Check the app dashboard for any steps missing.
Check the images attached. In my case the image size was incorrect.

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

79498047

Date: 2025-03-10 12:53:11
Score: 0.5
Natty:
Report link

Vaadin 24.6.6 does not work with Spring Boot 3.2, you need to use at least Spring Boot 3.4.

https://github.com/vaadin/platform/releases/tag/24.6.0

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

79498046

Date: 2025-03-10 12:53:11
Score: 2
Natty:
Report link

I think the implementation is close to the expected behavior, but needs some improvements:

ellipsis handling: The text-overflow: ellipsis; replace with white-space: nowrap; and overflow: hidden;.

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

79498038

Date: 2025-03-10 12:49:11
Score: 3.5
Natty:
Report link

There is an extension does this: Text Search Pro, it's on firefox as well.

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

79498032

Date: 2025-03-10 12:46:10
Score: 2
Natty:
Report link

Simple answer:

use alignSelf: 'stretch' on the container View.

Worked for me.

Reasons:
  • Whitelisted phrase (-1): Worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ashish Gautam

79498023

Date: 2025-03-10 12:44:09
Score: 2
Natty:
Report link

First of all , if your app is getting crashed : Please use Logcat to check find the exact source of crash (select crash in package)
Secondly , based on how you described the whole scenario , can you please check your manifest file. Have you mentioned the home page or the screen which comes next after your splash screen? If yes , please check if your second screen also has the intent filter like splash screen. Remove the intent filter if it is present in the second screen too.

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

79498021

Date: 2025-03-10 12:43:09
Score: 1
Natty:
Report link

The answer in my case was a different name of tsconfig.json.
If name of config is not tsconfig.json exactly it should be specified in File - Settings - Languages and Frameworks - Typescript - Options
Then add -p yourTsConfig.json in the Options field as pointed here

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

79498010

Date: 2025-03-10 12:40:08
Score: 1
Natty:
Report link

Possibly this is broken again in 1.98.0, which I suspect it might be since I'm seeing the issue again on this version. However, disabling the setting described above does seem to clear it up until it's sorted out again.

Disable this setting: `Terminal › Integrated: Gpu Acceleration`
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Idleness

79498001

Date: 2025-03-10 12:37:08
Score: 1
Natty:
Report link

The easiest way how to retrieve the localized name is to create a new Security Identifier with corresponding Sid and then retrieve the name.

(New-Object System.Security.Principal.SecurityIdentifier "S-1-5-18").Translate([System.Security.Principal.NTAccount]).Value
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: lijevosmetalo

79497998

Date: 2025-03-10 12:35:08
Score: 0.5
Natty:
Report link

After going through a lot of forums, I found out that there is no direct SAML ToolKit provided by Microsoft.

The Facebook, Google Authentication you are talking about uses a different protocol called OAuth/OpenID connect.

Most of the Identity providers have now moved to this standards but still people do choose SAML for conveniency. So in this cases you might need to write a solution on your own (which I won't recommend as it gets too complex and is a security concern).

You may opt for existing library solutions, You can choose any open-source or commercial solution like miniOrange, Sustainsys

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

79497994

Date: 2025-03-10 12:34:07
Score: 1.5
Natty:
Report link
<Grid ColumnSpacing="10" RowSpacing="10">

https://learn.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.grid.columnspacing?view=winrt-26100

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • High reputation (-1):
Posted by: Austin France

79497980

Date: 2025-03-10 12:29:06
Score: 0.5
Natty:
Report link

You either have to pass the timeslice argument (mediaRecorder.start(1000);) to make it fire the event periodically;
or to explicitly call mediaRecorder.requestData(). to trigger the event.

Calling mediaRecorder.stop() will also fire the dataavailable event.

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

79497978

Date: 2025-03-10 12:27:06
Score: 0.5
Natty:
Report link
select empid, lastname
from HR.Employees
where lastname COLLATE Latin1_General_Cs_AS = LOWER(lastname);

In this problem I wanna to find last names in which starts with lower case letter so,

I use from COLLATE that is Case sensitive(Cs) and Accent sensitive (As).

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

79497977

Date: 2025-03-10 12:26:06
Score: 0.5
Natty:
Report link

As a user of Snakemake on SLURM, I found for myself that the job grouping feature is not really designed for, or useful for, what you are trying to do. In a standard SLURM setup, if you have a cluster with, say, 4 nodes where each node has 16 cores, then you can submit 100 single-core jobs and SLURM will run 64 jobs immediately (sending 16 to each node) and then start each of the remaining 36 as soon as a core is free. This is how Snakemake expects to interact with SLURM, letting SLURM allocate the individual CPU cores.

It seems like your SLURM setup is locked into --exclusive mode such that each job assigns a full node, even if the job only needs a single core. Is this correct? Is there any way you can alter the SLURM configuration or add a new partition that allows 1-core jobs? Or is that not a possibility?

My own reason for grouping the jobs was to reduce the number of individual short tasks sent to SLURM to reduce load on the SLURMD controller. In the end I re-wrote my Snakefile to explicitly process the inputs in batches. To do this, I made a Python script that runs before the Snakemake workflow and determines the number of batches and what inputs are in what batch, and saves the result as JSON. Then I use this information within a Snakemake input function to assign multiple inputs files to each batch job. It's effective, but complex, and not workable as a general solution.

Reasons:
  • Blacklisted phrase (1): Is there any
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Tim Booth

79497974

Date: 2025-03-10 12:25:05
Score: 0.5
Natty:
Report link

Unfortunately, single consumer + multithreaded workers is a good exercise but only.

Under real conditions, this is not a reliable model because :

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

79497968

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

I fixed this issue.

Apparently you need to add the scope media.write. to your login and use a user token… then re-log in to get a new token. that should fix that part. the endpoint is /2/media/upload.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mridula vats

79497966

Date: 2025-03-10 12:20:04
Score: 1.5
Natty:
Report link

I've just seen this many years later and to me it doesn't make sense and should be simple. Those IDs are just a surrogate key in let's say dbo.transactions.

The system absolutely <HAS> to have a way those amounts and IDs belong to certain clients otherwise how can you determine who made them? The amounts <MUST> belong to different people because sequential IDs can only be for surrogate [internal] use.

Therefore you must be able to join back, and find the client for each amount.

Therefore you join to the table that shows the client, SELECT INTO #WorkTable, and once you have the clients it's a simple SUM(), GROUP BY.

If those IDs are not unique, then they already represent a client and the same thing applies.

My gut feeling is there should always be a GROUP BY possible here? Otherwise you couldn't know which client the amounts belong to?

You have to know what client the amounts belong to - hence you can group them in a temp table.

My £0.2 pence. Peace

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

79497965

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

Give me crush report screenshot

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

79497962

Date: 2025-03-10 12:19:03
Score: 2
Natty:
Report link

Yes You can Use by using third party API like Screen Capture API

Reasons:
  • Whitelisted phrase (-1.5): You can Use
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nabi bux

79497957

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

Try parental control app from Parent Geenee. They provide the best feature by stopping the kids from uninstalling the parental control app.

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

79497955

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

Based on your description, the issue could be related to missing permissions or incorrect handling of app lifecycle events.

Can you check the error logs (Logcat for Android, Console for iOS) and send me the crash message? Also, which framework and programming language are you using?

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

79497951

Date: 2025-03-10 12:14:02
Score: 1.5
Natty:
Report link

Aspose.CAD has the support for writing DWG 2013/2018 versions (other versions are written as lines), but we need more details about possible types of marks as they should be converted to DWG entities and written properly. Please consider posting more information on our forum.

Disclosure: I work as Aspose.CAD developer at Aspose.

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

79497948

Date: 2025-03-10 12:13:01
Score: 4.5
Natty:
Report link

No mention of this method in Telethon docs, but here is it:

https://tl.telethon.dev/methods/account/update_personal_channel.html

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

79497943

Date: 2025-03-10 12:12:01
Score: 0.5
Natty:
Report link

I had similar issue. I debugged the problem down to the setPersistance call. According to this discussion the proper way of calling setting persistence is calling it via Auth instance method:

 this.auth.setPersistence(browserLocalPersistence).then(e=>{ ...... .... })

After I changed it, the issue was gone.

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

79497934

Date: 2025-03-10 12:09:00
Score: 1
Natty:
Report link

Removing all the iOS emulator devices can solve this problem.

I found this solution from here:

https://medium.com/digital-products-tech-tales/matts-tidbits-106-resolving-missing-ios-devices-in-kmp-projects-630015fdfb55

Reasons:
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (0.5): medium.com
  • No code block (0.5):
  • High reputation (-1):
Posted by: Stanley Ko

79497928

Date: 2025-03-10 12:07:00
Score: 3.5
Natty:
Report link

According to the latest BlueZ documentation, only [AVRCP v1.5](https://github.com/bluez/bluez/blob/4d3c721ee037bcc9553bc2e6a8b7fe0bebb3b50c/doc/supported-features.txt#L36) is supported.

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

79497924

Date: 2025-03-10 12:04:59
Score: 5.5
Natty: 4
Report link
Why is this not working?

${if_match ${$battery_percent} > "20"}${color 774477}${battery_bar}$endif${if_match ${$battery_percent} <= "20"}${color FFA700}${battery_bar}$endif${if_match ${$battery_percent} < "6"}${color aa0000}${battery_bar}$endif

I put the if statements in series instead of nesting them, because nesting did not work.

Reasons:
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1): Why is this not working
  • RegEx Blacklisted phrase (0.5): Why is this
  • RegEx Blacklisted phrase (2): working?
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: colonel panic

79497911

Date: 2025-03-10 11:58:58
Score: 0.5
Natty:
Report link

So, I think I found the cause of my problem.
Everything is in the ApiPlatform\JsonLd\Serializer\ItemNormalizer.
Indeed, since v2.7 (or 3.0) the @id parameter is generated thanks to the iriConverter with the context operation passed to the method.
The operation is a Patch operation and the iriConverter take the input iri as @id.

To fix this, I made a custom normalizer which decorates the JsonLd one. Like this :

<?php

namespace App\Normalizer;

use ApiPlatform\Api\IriConverterInterface;
use ApiPlatform\Metadata\Operation;
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;

class CustomNormalizer implements NormalizerInterface
{
    private NormalizerInterface $decorated;

    public function __construct(private IriConverterInterface $iriConverter, private NormalizerInterface $decorated)
    {
    }

    public function normalize($object, ?string $format = null, array $context = []): null|array|\ArrayObject|bool|float|int|string
    {
        $normalizedData = $this->decorated->normalize($object, $format, $context);

        if (self::isCustomOperation($normalizedData, $context)) {
            $normalizedData = $this->regenerateIdWithIriFromGetOperation($object, $context, $normalizedData);
        }

        return $normalizedData;
    }

    public function supportsNormalization($data, ?string $format = null): bool
    {
        return $this->decorated->supportsNormalization($data, $format);
    }

    private function regenerateIdWithIriFromGetOperation($object, array $context, array $normalizedData): array
    {
        // We force the converter to use the GET operation instead of the called operation to generate the iri
        $iri = $this->iriConverter->getIriFromResource($object, context: $context);
        $normalizedData['@id'] = $iri;

        return $normalizedData;
    }

    private static function isCustomOperation($normalizedData, array $context): bool
    {
        if (!is_array($normalizedData) || !array_key_exists('@id', $normalizedData)) {
            return false;
        }
        if (!($context['operation'] ?? null) instanceof Operation) {
            return false;
        }
        $extraProps = $context['operation']->getExtraProperties();

        return $extraProps['custom_operation'] ?? false;
    }
}

Then, I added the custom normalizer in the YAML configuration (config/services.yaml) :

  App\Normalizer\CustomNormalizer:
    decorates: "api_platform.jsonld.normalizer.item"

And for the given operations, I added an extra property to only activate the custom normalizer on specific operations:

#[Patch(
    uriTemplate: '/o_ts/{id}/reactivated',
    uriVariables: ['id' => new Link(fromClass: self::class, identifiers: ['id'])],
    controller: OTReactivated::class,
    openapiContext: ['summary' => 'Work Order reactivated'],
    securityPostDenormalize: 'is_granted("OT", object)',
    securityPostDenormalizeMessage: "Vous n'avez pas l'accès à cette ressource.",
    name: 'api_o_ts_reactivated',
    extraProperties: ['custom_operation' => true],
)]

With that, the @id returned is the correct one!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bruno Desprez

79497906

Date: 2025-03-10 11:56:57
Score: 2
Natty:
Report link

When you grant privileges to a user with the "WITH GRANT OPTION", that user can pass those privileges to other users.

The "GRANT OPTION" is a privilege itself. I means that the user can grant privileges that they possess to others.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Deepak Saini

79497904

Date: 2025-03-10 11:55:57
Score: 3
Natty:
Report link

if you have loop with XLSX format or Using any Control Statement ,use Return Statement then error will clear automatically

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

79497902

Date: 2025-03-10 11:55:57
Score: 1
Natty:
Report link

Start by reading https://scotthelme.co.uk/can-you-get-pwned-with-css/. Then consider if hashes or rewrites/replacements for all you inline styles are worth the effort as your CSP is already blocking most exfiltration.

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

79497881

Date: 2025-03-10 11:45:54
Score: 4
Natty:
Report link

Using neovim extension not vim one

Check this link: https://github.com/vscode-neovim/vscode-neovim/pull/1917

TLDR: Put this in settings.json

"vscode-neovim.compositeKeys": {
        "jj": {
            "command": "vscode-neovim.escape"
        }
    },

Enjoy!!

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): Check this link
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: AntonioMMartel

79497872

Date: 2025-03-10 11:42:53
Score: 6 🚩
Natty: 5
Report link

One of the best solution man! Is there any other way to do this in .NET 9 with less number of lines of code?

Reasons:
  • Blacklisted phrase (1): Is there any
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: S M De Savic

79497865

Date: 2025-03-10 11:40:52
Score: 2
Natty:
Report link

The message occurs because it can't find your breakpoint, which might mean the code line where the breakpoint was set has changed, so the debugger can't find it now. You may need to reset the breakpoint or refresh the debugging session or restart the IDE

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

79497864

Date: 2025-03-10 11:39:51
Score: 4.5
Natty:
Report link

Problem: Fetch Not Sending Cookies After Deployment

Ahh, I’ve been down this rabbit hole before, and I know how annoying this can be. It works fine on localhost, but the moment you deploy, your cookies just vanish into thin air. 😤

This is almost always a CORS + cookie attribute issue. Let’s break it down and fix it step by step.


1. CORS Setup (Server-Side - Node.js/Express)

First, your API needs to explicitly allow credentials (cookies). Without this, your browser refuses to send them. Make sure your cors settings look something like this:

const corsOptions = {
    origin: "https://yourwebsite.com", // Your frontend domain (NO wildcards '*' if using credentials)
    credentials: true,
};

app.use(cors(corsOptions));

🚨 Important:


2. Your Fetch Request (Client-Side - React)

Your request looks mostly correct, but double-check that the api variable actually holds the correct URL. Sometimes, localhost is hardcoded in development but doesn't match in production.

const send = async () => {
    try {
        const res = await fetch(`${api}/api/v1/user/profile`, {
            method: "POST",
            credentials: "include", // 👈 This is needed for cookies!
            headers: {
                "Content-Type": "application/json",
            },
        });

        const data = await res.json();

        if (res.ok) {
            console.log("OK", data);
        } else {
            console.log("Error:", data);
        }
    } catch (error) {
        console.error("Fetch error:", error);
    }
};

3. Cookie Attributes Matter (Server-Side - When Setting Cookies)

Even if CORS is perfect, your cookies might still not work due to missing flags. When setting cookies, make sure your backend sends them like this:

res.cookie("authToken", token, {
    domain: ".yourwebsite.com", // 👈 Needed for subdomains
    path: "/",
    secure: true, // 👈 Must be true for cross-site cookies
    sameSite: "none", // 👈 Required for cross-origin requests
    httpOnly: true, // 👈 Security measure
});

🚨 If you don’t use secure: true, cookies won’t work over HTTPS!


4. Double-Check HTTPS (Must Be Enabled!)

Browsers block cookies with SameSite: 'None' unless you are on HTTPS. So make sure:
✅ Your API is served over HTTPS
✅ Your frontend is served over HTTPS

If your API is http://api.yourwebsite.com but your frontend is https://yourwebsite.com, cookies won’t be sent.


5. Debugging Steps (If It’s Still Not Working)

Alright, if it’s still not working, here’s what I’d do next:

1️⃣ Open DevTools (F12) → Network Tab → Click the Request

2️⃣ Look at the Response Headers

3️⃣ Try Manually Sending a Cookie from the Backend
Run this in your API response to see if cookies even get set:

res.setHeader("Set-Cookie", "testCookie=value; Path=/; Secure; HttpOnly; SameSite=None");

4️⃣ Try Sending a Request Using Postman

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (2): Still Not Working
  • Blacklisted phrase (2): still not working
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Naimish Dhorajiya

79497863

Date: 2025-03-10 11:39:51
Score: 4.5
Natty:
Report link

Вибір рідини для вейпу залежить від міцності нікотину та вподобань у смаках. Якщо ти новачок, краще почати з сольового нікотину 20-30 мг або звичайного 3-6 мг. Сольовий нікотин діє м’якше на горло, тому його частіше використовують у под-системах. Також звертай увагу на співвідношення PG/VG – для под-систем краще 50/50, а для більш потужних пристроїв – 70/30. Великий вибір рідин можна знайти в онлайн вейп шоп Milky Vape, де є популярні фруктові, десертні та тютюнові смаки.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: Havana Vape

79497857

Date: 2025-03-10 11:38:51
Score: 2
Natty:
Report link

I've had exactly same problem. For me the solution was not to download setup.exe from Chrome web browser and run it from downloads, instead visit the page with Edge web browser and run it from it. Surprisingly it starts working from chrome after that.

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

79497852

Date: 2025-03-10 11:37:50
Score: 1
Natty:
Report link

Do a Calendar.get

The response will tell you what the allowed conference types are for that calendar.

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Linda Lawton - DaImTo

79497851

Date: 2025-03-10 11:37:50
Score: 3
Natty:
Report link
optimal_rounds = model.best_iteration
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Brndn

79497848

Date: 2025-03-10 11:35:50
Score: 0.5
Natty:
Report link

The relationship between model size and training data size isn't always direct. In my language detection neural network, for example, the model size is primarily determined by the network's architecture, not the amount of training data.

Specifically:

Therefore, whether I train with 10 sentences or 1 million sentences, the model size remains the same, provided the length of the longest sentence and the number of languages remain unchanged.

You can see this implementation in action here: https://github.com/cikay/language-detection

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

79497846

Date: 2025-03-10 11:35:49
Score: 6 🚩
Natty: 6
Report link

Thanks for this, I just want to know if it is possible to capture the screen along with the scrollable content also using WebRtc method. I fyes could you please share an example or some code snippets.

Thanks, Raja Ar

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): could you please share
  • RegEx Blacklisted phrase (1): I fyes could you please
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user3369915

79497842

Date: 2025-03-10 11:34:49
Score: 2.5
Natty:
Report link

More details about this situation can be found here and here.

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

79497830

Date: 2025-03-10 11:30:48
Score: 0.5
Natty:
Report link

Answering my own question. There were several issues with the previous code. This works:

#!/bin/bash
STAMP=$(date '+%0d-%0m-%0y-%0kH%0M')
rsync  -aAXv --prune-empty-dirs  --dry-run \
 --include='*/' \
 --include='/scripts/***' \
 --exclude='/Documents/sueMagic/***' \
 --include='/Documents/***' \
 --exclude='*' \
 --log-file="/run/media/maurice/TO2-LIN-1TB/backup/logs/linuxHomeBackupSlim-$STAMP.log" \
 /home/maurice/ /run/media/maurice/TO2-LIN-1TB/backup/linuxHomeBackupSlim 

I suppressed the R (relative) option. Patterns are anchored at the root of the transfer with a leading / and the source directory is also ending with a slash. The initial include will traverse the whole tree and the final exclude '*' eliminates everything in the currently examined directory that has not be included previously. Empty directories are pruned.

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

79497828

Date: 2025-03-10 11:30:48
Score: 2
Natty:
Report link

it seems everyone is facing this issue this week due to new updates in gluestack, I just added in package.json file the following:

"overrides": { "@react-aria/utils": "3.27.0" },
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Abdulrahman

79497816

Date: 2025-03-10 11:25:47
Score: 0.5
Natty:
Report link

Yes, it can affect performance since using any introduces runtime dynamic dispatch. If you want to avoid it, use generics for your ViewModel too:

public final class SplashViewModel<UseCase: CheckRemoteConfigUseCaseProtocol>: ViewModel {
    private let checkRemoteConfigUseCase: UseCase
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kiryl Famin

79497793

Date: 2025-03-10 11:15:45
Score: 4
Natty:
Report link

I'd like to offer an app for testing. The best test management system! I recommend it! https://testomat.io/

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

79497789

Date: 2025-03-10 11:10:44
Score: 3.5
Natty:
Report link

The same situation in 25 version. I think сhange the program version to the previous one.

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

79497786

Date: 2025-03-10 11:09:43
Score: 3
Natty:
Report link

This was apparently a known bug with Godot 4.3, fixed in Godot 4.4. Upgrading the code to Godot 4.4 fixed the issue.

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

79497783

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

You could try updating your webpack config to prevent it from getting bundled

const nextConfig = {
    webpack: (config) => {
        config.externals.push("@node-rs/argon2");
        return config;
    }
};
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ken

79497768

Date: 2025-03-10 11:00:42
Score: 0.5
Natty:
Report link

You can try below steps for your api testing using postman. it's worked of me.

Step 1: Check Session Status

  1. GET Request: http://localhost:3000/api/auth/session
    • Description: This API call checks if you are logged in. If not logged in, it returns an empty object.

Step 2: Obtain CSRF Token

  1. POST Request: http://localhost:3000/api/auth/signin
    • Pre-request Script:

      const jar = pm.cookies.jar();
      console.log("Pre request called...");
      
      pm.globals.set("csrfToken", "Hello World");
      pm.globals.unset("sessionToken");
      
      jar.clear(pm.request.url, function (error) {
        console.log(error);
      });
      
    • Description: This script sets the csrfToken in the global environment variable and clears the sessionToken you can check that in your postman console.

    • Post-response Script:

      console.log("Post response called...");
      pm.cookies.each(cookie => console.log(cookie));
      let csrfToken = pm.cookies.get("next-auth.csrf-token");
      let csrfTokenValue = csrfToken.split('|')[0];
      
      console.log('csrf token value: ', csrfTokenValue);
      pm.globals.set("csrfToken", csrfTokenValue);
      
    • Description: This script retrieves the csrfToken from the cookies and sets it in the global environment variable.

Step 3: Log In with Credentials

  1. POST Request: http://localhost:3000/api/auth/callback/credentials
    • Body Payload:
      {
        "email":"{{userEmail}}" ,
        "password": "{{userPassword}}",
        "redirect": "false",
        "csrfToken": "{{csrfToken}}",
        "callbackUrl": "http://localhost:3000/",
        "json": "true"
      }
      
      • take variable from global environment file from postman.
    • Pre-request Script:
      const jar = pm.cookies.jar();
      
      jar.unset(pm.request.url, 'next-auth.session-token', function (error) {
        // error - <Error>
      });
      
    • Post-response Script:
      pm.cookies.each(cookie => console.log(cookie));
      let sessionTokenValue = pm.cookies.get("next-auth.session-token");
      
      console.log('session token value: ', sessionTokenValue);
      pm.globals.set("sessionToken", sessionTokenValue);
      
    • Description: This step logs in the user and sets the sessionToken in the global environment variable.

Step 4: Verify Session

  1. GET Request: http://localhost:3000/api/auth/session
    • Description: This API call retrieves the user session details, confirming that the user is logged in.

Step 5: Log Out

  1. POST Request: http://localhost:3000/api/auth/signout
    • Body Payload:
      {
        "csrfToken": "{{csrfToken}}",
        "callbackUrl": "http://localhost:3000/dashboard",
        "json": "true"
      }
      
    • Description: This API call logs out the user from the current session.

Checkout this video for more clarify :

https://asset.cloudinary.com/dugkwrefy/6266f043c7092d1d3856bdad6448fa89

Reasons:
  • Blacklisted phrase (1): this video
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Harshal Kahar

79497764

Date: 2025-03-10 10:58:41
Score: 0.5
Natty:
Report link

How to Add the AppTrackingTransparency (ATT) Permission to Your iOS App?

Starting from iOS 14, Apple requires apps to request user permission before accessing the Identifier for Advertisers (IDFA) for tracking. This is done using AppTrackingTransparency (ATT). Below are the steps to implement ATT permission in your iOS app.

1️⃣ Add Usage Description in Info.plist

Before requesting permission, you must add a privacy description in your Info.plist file.

📌 Open Info.plist and add the following key-value pair:

<key>NSUserTrackingUsageDescription</key>
<string>We use tracking to provide personalized content and improve your experience.</string>

This message will be displayed in the ATT system prompt.

2️⃣ Request Tracking Permission in Swift

To request tracking permission, use the AppTrackingTransparency framework.

📌 Update AppDelegate.swift or call this in your ViewController:

import UIKit
import AppTrackingTransparency

@main
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    func application(
        _ application: UIApplication,
        didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
    ) -> Bool {

        requestTrackingPermission()
        return true
    }

    /// Requests App Tracking Transparency (ATT) permission
    func requestTrackingPermission() {
        if #available(iOS 14, *) {
            ATTrackingManager.requestTrackingAuthorization { status in
                switch status {
                case .authorized:
                    print("✅ Tracking Authorized")
                case .denied:
                    print("❌ Tracking Denied")
                case .restricted:
                    print("🔒 Tracking Restricted (e.g., parental controls)")
                case .notDetermined:
                    print("⏳ Tracking Not Determined")
                @unknown default:
                    print("❓ Unknown Tracking Status")
                }
            }
        } else {
            print("⚠️ ATT Not Supported (iOS version < 14)")
        }
    }
}

3️⃣ Run on a Real iOS Device (Not Simulator)

🚨 ATT does NOT work on the iOS Simulator.
You must test on a real iPhone running iOS 14 or later.

Run the app on a real device using:

xcodebuild -scheme YourApp -destination 'platform=iOS,name=Your Device Name' run

4️⃣ Verify ATT in iPhone Settings

Once you request tracking permission:

  1. Open Settings → Privacy & Security → Tracking.

  2. Check if your app appears in the list.

  3. If your app appears with a toggle, ATT is working correctly! ✅

5️⃣ Debug ATT in Xcode (Check Logs)

To ensure that ATT is working properly, open Xcode Console (Cmd + Shift + C) and check the logs:

✅ Tracking Authorized
❌ Tracking Denied
🔒 Tracking Restricted (e.g., parental controls)
⏳ Tracking Not Determined

6️⃣ Reset Tracking Permissions (If No Prompt Appears)

If the ATT popup does not appear, reset tracking permissions:

  1. Open Settings → Privacy & Security → Tracking.

  2. Toggle "Allow Apps to Request to Track" OFF and ON.

  3. Delete and reinstall the app.

  4. Restart your iPhone.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How to Add the
  • Low reputation (1):
Posted by: Mirza