79769016

Date: 2025-09-19 00:43:30
Score: 3.5
Natty:
Report link

Just spotted this question although it has been for 6 years.

LAST() -> LAST_VALUE(). Also you should provide the complete error log.

https://www.postgresql.org/docs/17/functions-window.html#FUNCTIONS-WINDOW

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

79769005

Date: 2025-09-19 00:05:23
Score: 1.5
Natty:
Report link

Try this:

wxTheApp->GetEventHandler()->QueueEvent(evt.Clone());

Reasons:
  • Whitelisted phrase (-2): Try this:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: User8472

79769003

Date: 2025-09-19 00:03:23
Score: 1
Natty:
Report link

WhatsApp +2347063372861 join illuminati in New York, Join Illuminati Brotherhood in New Jersey, Join Illuminati in Atlanta, Join Illuminati in Paris,

Join Illuminati in Berlin , New World Order of Wealth , be at the top of your career, Become A Member , Illuminati Official Online, How or where to join the real illuminati in Pamela Court in uk, join 666 brotherhood - Become a member of Illuminati in Australia, HOW TO JOIN ILLUMINATI 666 CULT FOR FREE in Canada, NO Human Sacrifice

Welcome to the secret zone of the Illuminati, a perfect organization with full of world leaders, business role models, inventors, artists and group of talented people all around the world. Everyone present in the Illuminati group to change the way of life and want to unite all humanity as the one here with no differences. Get In Touch With Us via WhatsApp : +2347063372861

Become A Member, Easy Sign Up Available, Joining Form Fill Details, Get In Touch With Us. Looking To Join The Illuminati, Sign Up Form Available, Connect With Us, Talk To Us. Joining Form Available. Know More. Illuminati Officials. Get In Touch With Us via WhatsApp : +2347063372861

Visit: https://mercurious-confraternity.jimdosite.com

The Illuminati is an elite organization of world leaders, business authorities, innovators, artists, and other influential members of this planet. To apply for membership, complete the form on this page. Get In Touch With Us via WhatsApp : +2347063372861

All people, in all places, are eligible to apply for Illuminati membership. Initiates are not required to take any vows of loyalty, and may remove themselves from our membership at any time with no repercussions. Visit: https://mercurious-confraternity.jimdosite.com

WhatsApp : +2347063372861 Dear Influential Individual,We are enchanted that your life’s excursion has driven you to find our association. Perhaps you have met one of our individuals in person Or on the other hand maybe not; we esteem obscurity. We see and realize all similarly as a shepherd sees and knows the entirety of the herd, our eyes peering over the majority to recognize any risk to the endurance of the human species. We are the bearers of new sunrises, the gatekeepers of the human species. We are the Pyramid, the Eye, the Light, the Eternal Circle. We are the Illuminati. Get In Touch With Us via WhatsApp : +2347063372861

Since our origination, Illuminati members have dedicated themselves to the advancement of the human species by taking oaths of commitment. Get In Touch With Us via WhatsApp : +2347063372861

These pledges are a core tradition of the Illuminati, formed as written contracts between a single person and all members of humanity. The first pledge of the Illuminati is called the Eternal Oath. Visit: https://mercurious-confraternity.jimdosite.com

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

79768997

Date: 2025-09-18 23:30:17
Score: 0.5
Natty:
Report link

I had this issue today myself, and realized that a solution might be possible using Reflection and then instantiating a new BaseClass object and then copying the values from the properties of the SubClass object onto the BaseClass object (in this so called extension method).

I can't fully remembered what I googled in order to get this code (thanks to our very special friend Google Gemini) :) But I think it was something like 'how do I convert an object from one type to another that have the same properties using reflection".

Anyways, this is the code it gave me :) Its quite useful. Hopefully you will find it useful too :)

Essentially the idea is the 'object source' is your SubClass, and then you convert it to a T = Baseclass.

public static T ConvertTo<T>(this object source) where T : new()
{
    if (source == null)
    {
        return default(T);
    }

    T target = new T();
    Type sourceType = source.GetType();
    Type targetType = typeof(T);

    foreach (PropertyInfo sourceProperty in sourceType.GetProperties())
    {
        PropertyInfo targetProperty = targetType.GetProperty(sourceProperty.Name);

        if (targetProperty != null && targetProperty.CanWrite && sourceProperty.CanRead)
        {
            // Ensure the types are compatible or convertible
            if (targetProperty.PropertyType.IsAssignableFrom(sourceProperty.PropertyType) ||
                (sourceProperty.PropertyType != targetProperty.PropertyType &&
                 CanConvert(sourceProperty.PropertyType, targetProperty.PropertyType)))
            {
                try
                {
                    object value = sourceProperty.GetValue(source);
                    object convertedValue = Convert.ChangeType(value, targetProperty.PropertyType);
                    targetProperty.SetValue(target, convertedValue);
                }
                catch (InvalidCastException)
                {
                    // Handle cases where direct conversion might fail, e.g., custom types
                    // You might add more sophisticated mapping here or log the error.
                }
            }
        }
    }
    return target;
}

private static bool CanConvert(Type sourceType, Type targetType)
{
    // Simple check for common convertible types, can be extended for more complex scenarios
    return (sourceType == typeof(string) && (targetType == typeof(int) || targetType == typeof(double))) ||
           (sourceType == typeof(int) && (targetType == typeof(string) || targetType == typeof(double))) ||
           (sourceType == typeof(double) && (targetType == typeof(string) || targetType == typeof(int)));
}
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): how do I
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jeff Moretti

79768996

Date: 2025-09-18 23:23:15
Score: 0.5
Natty:
Report link

After looking at the command line graph it's more clear that there was a branch created off of master and then another branch created off of that branch. Because there were no commits while those branches were being created they essentially share a common point which is represented in ADOS as that perpendicular line in addition to the other two lines.

If anyone is having trouble seeing how they relate, imagine that the perpendicular line is the farthest left yellow line and the lowest node that is on the left in image 1 is on the right in image 2.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: AmishDave

79768991

Date: 2025-09-18 23:13:13
Score: 3
Natty:
Report link

Sorry to the people who responded for not writing my post correctly. But despite working on it for 2 days, I seem to have finally found a fix just now. I recreated the flutter project, popped the lib file back in, and during the process of adding the firebase packages, I just re ran the flutterfire configure after each one and followed instructions there. Thank You to those who responded

Reasons:
  • Blacklisted phrase (0.5): Thank You
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Marko Mario

79768966

Date: 2025-09-18 22:17:00
Score: 2
Natty:
Report link

I recently found that any open recordset will cause "select last_insert_id()" to be 0, since upgrading from MySQL 5.1 to MySQL 8.0.

Server side script ASP (Yeah, I know)

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

79768944

Date: 2025-09-18 21:41:52
Score: 5.5
Natty: 6
Report link

I know this is old and wcf is dead...blah, blah, blah...but was anyone able to make this work?

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

79768941

Date: 2025-09-18 21:35:50
Score: 0.5
Natty:
Report link

There are a few these days:

Reasons:
  • Low length (2):
  • No code block (0.5):
  • High reputation (-2):
Posted by: A. K.

79768939

Date: 2025-09-18 21:29:49
Score: 0.5
Natty:
Report link

Found the solution here (2014 year...)

https://intellij-support.jetbrains.com/hc/en-us/community/posts/206345169-Scrolling-with-keys-on-numeric-keypad-with-num-lock-off

it is very old bug. and solution is weird but working for me.

I just copy it here:

Go to File | Settings search for Keymap. Then at the right panel in the Editor Actions reassign Up, Right, Down, Left actions. Search for Up, right click and select Add Keyboard Shortcut. Then press any button and again press numpad Up button. Do the same thing for Right, Down and Left actions.

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Low reputation (1):
Posted by: Дмитрий Нижаде

79768926

Date: 2025-09-18 21:20:46
Score: 1.5
Natty:
Report link

But it pre-prends data I don't need to the lines:

There's the :hide-fields command that will replace fields with a vertical ellipsis. Maybe try something like :hide-fields __REALTIME_TIMESTAMP __MONOTONIC_TIMESTAMP.

But, I would also suggest maybe modifying the logback config to not include the timestamp since it's redundant with the journald one.

But sometimes it breaks and I get a yellow log where most lines show " └ Invalid log message: line at offset 123 is not a JSON-line"

What version of lnav is this?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Timothy Stack

79768924

Date: 2025-09-18 21:12:44
Score: 2
Natty:
Report link

I went through this today. I found that I had to download the Narwal 4 Feature Drop | 2025.1.4 preview and enable Gemini before I the New > Test menu showed up. I restarted AS via invalidating caches after enabling Gemini.

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

79768915

Date: 2025-09-18 21:05:42
Score: 2.5
Natty:
Report link

There can be delays with shared contacts but also you need to enable the correct sharing. We did a full blog post about this here https://contactzilla.com/google-shared-contacts-guide/

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

79768913

Date: 2025-09-18 21:04:42
Score: 3
Natty:
Report link

no reason to 2 UserDetails implementations,just use your email to find your username of user,but your email must be unique.then use username password way to login

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

79768884

Date: 2025-09-18 20:17:31
Score: 3
Natty:
Report link

no reason to 2 UserDetails implementations,just use your email to find your username of user,but your email must be unique.then use username password way to login

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

79768864

Date: 2025-09-18 19:48:24
Score: 0.5
Natty:
Report link

When having this issue in tests of a Spring Boot application using Feign one can solve it just by adding following property:

spring.cloud.openfeign.httpclient.time-to-live=0

This effectively turns off TCP connection pooling by Apache HttpClient used by Feign. See: https://github.com/wiremock/wiremock/issues/97#issuecomment-1251105611

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
Posted by: Krzysztof Tomaszewski

79768862

Date: 2025-09-18 19:46:23
Score: 0.5
Natty:
Report link

I tried multiple approaches but didn’t get them working reliably with Angular + Salesforce static resources. What did work is using a relative path from the SCSS file to the asset. For example:

content: url(../../../vx-grid-resources/assets/icons/checked-box.svg);

This works because:

So far, this has been the only reliable way I’ve found — you need to use the relative path instead of trying ./vx-grid-assets/... or absolute /vx-grid-assets/..., which either don’t compile or don’t resolve correctly at runtime in Salesforce.

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

79768854

Date: 2025-09-18 19:36:21
Score: 2.5
Natty:
Report link

For me (Unity 2022.3.15f1, Windows 11), this worked:

Window->Package Manager

Packages: In Project

Unity Version Control

Remove

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

79768847

Date: 2025-09-18 19:29:19
Score: 2.5
Natty:
Report link

A shim is code that adds a layer to make existing APIs work in different environments, while a polyfill specifically implements modern browser features in older browsers that don’t support them. In short: all polyfills are shims, but not all shims are polyfills.

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

79768846

Date: 2025-09-18 19:27:18
Score: 1
Natty:
Report link

In modern SharePoint, there is no supported SPFx API to hide the built-in command bar buttons (such as New, Edit, Share, Pin to Quick Access) directly through code. That is why attempts like:

const newCommand: Command = this.tryGetCommand("newComposite");
newCommand.visible = false;

return undefined. The tryGetCommand() method only works for commands defined within your own ListView Command Set, not the built-in buttons.

Recommended Approaches

  1. Custom ListView Command Set Extension

    • Define a Command Set extension that includes only the buttons you want users to see.

    • The built-in buttons remain in the DOM but are effectively hidden because your extension does not render them.

    • This is the safest, long-term solution and fully supported by SPFx.

  2. JSON Formatting (View Formatting)

    • You can hide certain buttons by applying JSON formatting to the list view.

    • This requires changes in the UI or via the SharePoint REST API.

    • Fully supported but not purely code-based.

  3. CSS / DOM Override (Not recommended for production)

    • Injecting CSS like display: none can hide buttons.

    • This is fragile and may break if Microsoft updates the DOM structure.

Key Points

import { BaseListViewCommandSet, Command } from '@microsoft/sp-listview-extensibility';

export interface ICustomCommandSetProperties {
  // Define any properties if needed
}

export default class CustomCommandSet extends BaseListViewCommandSet<ICustomCommandSetProperties> {

  public onInit(): Promise<void> {
    // Initialization logic if needed
    return Promise.resolve();
  }

  public onExecute(event: { itemId: string, commandId: string }): void {
    switch (event.commandId) {
      case 'COMMAND_1':
        // Handle your custom command
        break;
      case 'COMMAND_2':
        // Handle another command
        break;
      default:
        break;
    }
  }

  public onListViewUpdated(event): void {
    // Hide built-in buttons by only showing your custom commands
    const newCommand: Command = this.tryGetCommand('COMMAND_1');
    const editCommand: Command = this.tryGetCommand('COMMAND_2');

    // Show only your custom commands
    if (newCommand) newCommand.visible = true;
    if (editCommand) editCommand.visible = true;

    // All built-in commands are not included here, so effectively hidden
  }
}
Reasons:
  • Blacklisted phrase (1.5): Any solution
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Chase Elkins

79768824

Date: 2025-09-18 19:03:12
Score: 2.5
Natty:
Report link

Use rootView.layer.hitTest(point)?.name == nil ? rootView : nil

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

79768822

Date: 2025-09-18 19:02:11
Score: 0.5
Natty:
Report link

In the trigger, you need to specify the trigger type:

await Notifications.scheduleNotificationAsync({
        content: {
            title: "Daily Reminder",
            body: "It is a scheduled notification!",
            sound: "default",
            priority: Notifications.AndroidNotificationPriority.MAX,
        },
        trigger: {
            hour: 20, // ✅ 8:10 PM (24-hour format)
            minute: 10,
            repeats: true, // 🔄 Repeat every day
            useUTC: false,
            type: SchedulableTriggerInputTypes.DAILY, // ***NEED THIS HERE***
        },
    });

https://docs.expo.dev/versions/latest/sdk/notifications/#dailytriggerinput

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

79768815

Date: 2025-09-18 18:55:10
Score: 0.5
Natty:
Report link

In case someone lands here on getting this error on a self built executable - for me, using dotnet publish --self-contained true instead of simple dotnet build solved the problem.

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

79768799

Date: 2025-09-18 18:27:03
Score: 1
Natty:
Report link

The problemn you are facing is from the type of sensor you are using, the acelerometer will use the gravity to estimate the angle.
For example, lets say Z+ is equivalent to UP, Y+ is to Front and X+ is to Right.
The pitch angle 0º would be 10g at the axel Z+.
The pitch angle 90º would be 10g at Y+.
The pitch angle -90º would be 10g at Y-.

The problemn is when derivate the math behind you eventually will come across a tangent. the equation would be something like (arctan( Ay/Az)), that is, you can only get angles beetween -90 to +90.

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

79768797

Date: 2025-09-18 18:21:02
Score: 1
Natty:
Report link

This worked to find all records where a metadata string (docID) existed:

results = collection.get(where={"docID": {"$nin": [""]}},include=["metadatas", "documents"], limit=10000)

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

79768788

Date: 2025-09-18 18:00:57
Score: 1.5
Natty:
Report link

Change preferredStyle to .actionSheet. That will fix it.

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

79768785

Date: 2025-09-18 17:56:55
Score: 1.5
Natty:
Report link

I had a similar issue but I am not sure that it is related exactly.

I am not sure why but it appears that my issue had something to do with how the query parameters were being interpreted. The fix for me was to encode the params with encodeURIComponent().

This appears to resolve my issue but I am not sure that it will help with yours. I had one parameter set to a JSON string. Encoding it stopped me from getting this exception.

Cheers!

Reasons:
  • Blacklisted phrase (1): Cheers
  • No code block (0.5):
Posted by: Deathstalker

79768780

Date: 2025-09-18 17:51:54
Score: 1
Natty:
Report link

Each attempt to connect needs a new socket. So, your code:

      const socket = new SockJS('http://localhost:8080/ws');
      console.log("socket -> ", socket);
      const stompClient = new Client({
          webSocketFactory: () => socket,

Needs to change to

      const stompClient = new Client({
          webSocketFactory: () => new SockJS('http://localhost:8080/ws'),

Basically, the factory method must return a new socket when invoked.

See https://stomp-js.github.io/guide/stompjs/rx-stomp/using-stomp-with-sockjs.html

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

79768778

Date: 2025-09-18 17:48:53
Score: 1
Natty:
Report link

Keystore = your passport (proves who you are to someone else e.g., a server)

- Contains certificate(s) + your private key

Who uses it?

- Clients (only if mutual TLS is required)

Truststore (cacerts) = a list of trusted embassies (tells you whose passports you believe are valid)

- Contains Public root and intermediate CA certificates.

- Purpose is to validate other party's certificate.

General Example:
e.g. if Java app is calling https://google.com

- google presents it's certificate chain.

- The client Java app checks if the chain (passport) belongs to the truststore (list of embassies passports we trust)

- Yes? then connection succeeds. No -> you get an error.

Example: Mutual TLS

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

79768769

Date: 2025-09-18 17:37:50
Score: 2.5
Natty:
Report link

establish and use a loop invariant that the multiset of the array equals the disjoint multiset-sum of the prefix up to i and the suffix from i, and prove it by induction on i using Dafny's sequence-splitting lemmas

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

79768768

Date: 2025-09-18 17:34:50
Score: 0.5
Natty:
Report link

When you’re building any web application, URL encoding isn’t just about “making things work,” it’s about making them work reliably and securely across all environments.

The main reasons why you should use urlencode are:

  1. Reserved Characters – Certain characters have special meaning in URLs (e.g., &, =, ?, /). If you don’t encode them, the browser or server might misinterpret your link. For example, ?name=John&Doe could be parsed incorrectly without encoding &.

  2. Non-ASCII and Spaces – URLs were originally designed for a limited character set (ASCII). Characters like spaces, accented letters (é, à), or symbols need encoding to ensure they’re transmitted correctly. While modern browsers often handle unencoded characters, not all servers or proxies do. That’s why %20 for space is still the safe option.

  3. Security – Without proper encoding, you open doors for injection attacks. For example, if query parameters aren’t encoded, malicious users could inject scripts or unexpected input. Encoding helps prevent broken queries and reduces the risk of vulnerabilities like XSS.

  4. Interoperability – Maybe your dev environment “just works” without encoding, but deploy the same app behind a load balancer, proxy, or CDN, and suddenly things break. Encoded URLs ensure consistency across browsers, servers, and APIs.

👉 When should you use it?
Anytime you’re dealing with dynamic input (user input, query strings, form values, filenames, API calls). In short: if it didn’t come hard-coded from you, encode it.

If you want a deeper dive with examples in Python, JavaScript, and best practices, I put together a guide here: https://urlencoderdecoder.com. It explains not just the “how” but also the “why” behind URL encoding and decoding.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Pushkar

79768754

Date: 2025-09-18 17:15:45
Score: 1.5
Natty:
Report link

Yeah, I found a way to fix it. Sorry for not being here. I have replaced dynamic line counter increases with line counter and malloc in the beginning of this function. Now I just use int lines_amount = line_counter(workspace_file->filename); workspace_file->flc = malloc(sizeof(char*) * lines_amount);

Thanks for help!

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

79768749

Date: 2025-09-18 17:06:43
Score: 2
Natty:
Report link

in devOPs portal(or any),-->Libraries-->Variable group-->azure sub and Keyvalut name(we get error)

-->Project setting-->service connection-->visualstudio(click) -->manage id reg(small blue)--cpy the id

In keyvault -->iam access,give access(Get,List)-->error will be resolved-->in devops add the Variable groups

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

79768746

Date: 2025-09-18 17:01:41
Score: 7.5 🚩
Natty: 6
Report link

كيف اعرف ان واتساب مخترق وما هو أسلوب لاختراق

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: كيف اعرف ان واتس اب صار مخترق

79768745

Date: 2025-09-18 17:01:41
Score: 3
Natty:
Report link

Xcode 14 – Storyboard Preview/IBAgent-iOS shows black screen (iOS 16.2 Built-in)

I’m using Xcode 14.2 on macOS 12.7.6.

When I try to open the Storyboard Preview or run IBAgent-iOS, I only get a black screen.

The log shows an error like this:

Encountered an error communicating with IBAgent-iOS.Failed to spawn IBAgent-iOS on iPhone 14 (iOS 16.2, Booting)Process spawn via launchd failed because device is not booted.Bad or unknown session: com.apple.CoreSimulator.SimDevice...

I tried deleting and recreating simulators, but the issue persisted with the iOS 16.2 Built-in runtime.

How can I fix this?

Answer:

This happens because the iOS 16.2 Built-in runtime that ships with Xcode was corrupted/incomplete.
Even if you recreate the simulators, IBAgent-iOS cannot boot the device, which causes the black screen in Storyboard Preview.

The fix was to install a clean runtime.

Steps that worked:

  1. Open Xcode → Settings → Platforms.

  2. Click + and install another runtime, e.g. iOS 16.0 Simulator (or 16.4/17.0 if available).

  3. Restart Xcode and then start it again. Now be happy.

Explanation (why this happens)

  1. The iOS 16.2 Built-in runtime is bundled inside Xcode and cannot be removed.

  2. If it becomes corrupted (CoreSimulator data issue), IBAgent-iOS fails to boot and Storyboard Preview shows only black.

  3. Installing another runtime provides a fresh, working copy of the simulator, which fixes the issue.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): How can I fix this
  • RegEx Blacklisted phrase (1.5): How can I fix this?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Autentico

79768738

Date: 2025-09-18 16:52:38
Score: 1
Natty:
Report link

Rational

No matter what programming language is used, and no matter what framework is used, the underlying mechanism for controlling I/O interfaces as well as UI elements is done at a fundamental level though the operating system's kernel. Due to the fact that the chosen framework is WPF, which is a Windows only C# framework, the solution provided implements a kernel level API call that manipulates the mouse cursor position trough its related kernel API endpoint.

Solution

The solution provided in C# within this answer is framework independent, and it utilises the Window Kernel API, by importing the User32.dll, and referencing an API method called SetCursorPos, which is setting the cursor position as the name implies.

using System;
using System.Runtime.InteropServices;


namespace StackOverflow
{
    public class Program
    {
        // Import the 'User32.dll' Windows OS library to access OS API methods
        [DllImport("user32.dll")]
         
        // Reference the 'User32.dll' 'SetCursorPos' method within the 'DllImport' attribute
        public static extern bool SetCursorPos(int X, int Y);

        public static void Main(string[] args)
        {
            SetCursorPos(100, 100);
            Console.WriteLine("\n\n[ [!!!] Cursor moved to (100, 100) [!!!] ]\n\n");
            Console.ReadLine();
        }
    }
}

enter image description here

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): User32
  • Low reputation (0.5):
Posted by: Teodor Mihail

79768732

Date: 2025-09-18 16:47:36
Score: 1
Natty:
Report link

You can try running it in Python directly instead of using a process manager, also if it is graphical system logging in or out or lock screening may be sending accidental keystrokes. You could try testing it out without running anything else and using a more plain terminal emulator like Kitty or Alacritty.

This is because some programs which monitor or automate keystrokes can send keyboard interrupts. Another recommendation is trying to run it without a graphical interface if that is an option in a plain console without a desktop environment as this is more secure and less likely so be interrupted.

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

79768724

Date: 2025-09-18 16:36:34
Score: 1
Natty:
Report link

You could enter your number in a worksheet cell (for example, A1) and format it as desired. Next, select the shape, and type =A1 in the formula bar. The shape will reflect the value and formatting of A1, updating automatically when changes are made.

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

79768718

Date: 2025-09-18 16:31:33
Score: 2
Natty:
Report link

---
title: "Untitled"
format: dashboard
---

# Quarto

::: {.panel-tabset}

## tab1

```{r}
#|expandable: false
plot(mtcars)
##tab2
#|expandable: false
plot(mtcars)
:::

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

79768708

Date: 2025-09-18 16:25:31
Score: 1
Natty:
Report link

I know its so long since question is posted, still if anyone is looking for try my library @flixsrota/player here https://dub.sh/7SKzYvE

npm i @flixsrota/player

I built it just for this, just install and input the videoID enjoy.

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

79768705

Date: 2025-09-18 16:24:31
Score: 0.5
Natty:
Report link

To clarify, would you like the User-Provided Name to match exactly validFirstName & " " & validLastName or validLastName & ", " & validFirstName? If that’s the case, the conditional formatting rule could be written as shown below.

=OR(
    SUMPRODUCT(--(A1=(Checklist!$B$2:$B$9999&" "&Checklist!$A$2:$A$9999)))>0,
    SUMPRODUCT(--(A1=(Checklist!$A$2:$A$9999&", "&Checklist!$B$2:$B$9999)))>0
 )
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Lisa

79768697

Date: 2025-09-18 16:14:28
Score: 3
Natty:
Report link

I'm sorry to answer my own question. After contacting support and getting an answer, AnyLogic has a known bug in the Release block.

Hope they will solve it soon.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jaume Figueras i Jové

79768693

Date: 2025-09-18 16:10:27
Score: 3.5
Natty:
Report link

You should use pt, not px. Otherwise, Excel is forced to convert to pt on its own.

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

79768691

Date: 2025-09-18 16:09:26
Score: 1.5
Natty:
Report link

Take a look at this articule. This issue is related to metadata streaming, by default Nextjs is sending metadata after some chunks and adding them in the body.
htmlLimitedBots is a solution or using metadata objects.

https://neuralcovenant.com/2025/06/the-metadata-streaming-controversy-in-next.js-15.1-/

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Diego Díaz

79768690

Date: 2025-09-18 16:09:26
Score: 0.5
Natty:
Report link

Although not perfect, one alternative I found to work quite well was setting the accessibility label for the backgroundView of the collectionView/tableView. At least in my case, it always got focus before the first cell (I suspect due to empty-space paddings shifting it), and next it would always focus on the first cell.

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

79768688

Date: 2025-09-18 16:08:26
Score: 1
Natty:
Report link
.grid-element:empty {
    display: none;
}

Element without children will have display:none and gap will not be applied for this element

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

79768682

Date: 2025-09-18 16:05:25
Score: 1
Natty:
Report link

To prevent RStudio from hanging when GitHub copilot was in use, I switched off automated copilot completions by going here in RStudio:

Tools --> Global Options --> Copilot

Then, I left Enable GitHub copilot ticked, but switched Show Copilot code suggestions from Automatically to Manually (Ctrl + Backslash).

This means that whenever I want to use completions, I can just press Ctrl + Backslash after the comment/ instruction / piece of code.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Amy M

79768678

Date: 2025-09-18 16:03:25
Score: 1
Natty:
Report link

If you just need a quick conversion without installing Jupyter, try this online tool:

👉 https://code-format.com/tool/converter_ipynbtopy

Perfect if you’re lazy and on a different PC without Jupyter installed and just want to check a notebook quickly.

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

79768671

Date: 2025-09-18 15:59:23
Score: 0.5
Natty:
Report link

I'm adding an updated answer to this using tools from later versions of .Net (8 and 9). The previous solution from @enet served well, but the new approach is done completely in C# without needing to rely on JS or browser rendering at all. Much more streamlined.

It relies on HtmlRenderer, which takes Razor component (componentType in this example) and a dictionary of all parameters. It also needs access to both your service provider and logger factory.

This is the invoking method I use throughout my apps, usable both as a <T> generic and with Type as a parameter (with some simplifications for this example).

public static async Task<string> RenderTemplate<T>(Dictionary<string, object?> parameters, IServiceProvider serviceProvider) where T : IComponent, IEmailTemplateComponent
{

    return await RenderTemplate(typeof(T), parameters, serviceProvider);
}

public static async Task<string> RenderTemplate(Type componentType, Dictionary<string, object?> parameters, IServiceProvider serviceProvider)
{
    if (!typeof(IComponent).IsAssignableFrom(componentType))
    {
        throw new ArgumentException($"Type {componentType.Name} must implement IComponent.", nameof(componentType));
    }

    ILoggerFactory loggerFactory = serviceProvider.GetRequiredService<ILoggerFactory>();
    await using var htmlRenderer = new HtmlRenderer(serviceProvider, loggerFactory);

    return await htmlRenderer.Dispatcher.InvokeAsync(async () =>
    {
        var parameterView = ParameterView.FromDictionary(parameters);

        var output = await htmlRenderer.RenderComponentAsync(componentType, parameterView);
        string htmlString = output.ToHtmlString();
        return htmlString;
    });
}

Here is an example method call:

string renderedEmail = await ComponentRenderer.RenderTemplate<InspectionEmailTemplate>(
        new Dictionary<string, object?>() { { nameof(InspectionEmailTemplate.Project), project },
                { nameof(InspectionEmailTemplate.Inspection), inspection},
                { nameof(InspectionEmailTemplate.SubmittingUserFullName), args.SubmittingUser},
                { nameof(InspectionEmailTemplate.comment), args.comment} },
        _serviceProvider);

See docs for more details:

https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.components.web.htmlrenderer?view=aspnetcore-9.0

https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-components-outside-of-aspnetcore?view=aspnetcore-9.0

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

79768668

Date: 2025-09-18 15:58:22
Score: 2
Natty:
Report link

If you have a NavigationManager, you can do

var absoluteUri = navigationManager.ToAbsoluteUri(relativeUri)

Link to documentation

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

79768664

Date: 2025-09-18 15:55:21
Score: 0.5
Natty:
Report link

Consider performing a HitTest to accurately determine when the mouse enters your Canvas bounds

public partial class MainWindow : Window
{
    public MainWindow()
    {
        InitializeComponent();
        MouseMove += OnMouseMove;
    }

    private void OnMouseMove(object sender, MouseEventArgs e)
    {
        // Retrieve the coordinate of the mouse position.
        Point point = e.GetPosition((UIElement)sender);

        // Perform the hit test against a given portion of the visual object tree.
        HitTestResult hittestresult = VisualTreeHelper.HitTest(CanvasControl, point);

        if (hittestresult != null)
        {
            // Perform action on hit visual object.
        }
    }
}

Take the time and read this fantastic document which details how to HitTest the Visual layer

https://learn.microsoft.com/en-us/dotnet/desktop/wpf/graphics-multimedia/hit-testing-in-the-visual-layer

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

79768660

Date: 2025-09-18 15:52:20
Score: 1.5
Natty:
Report link

In my case I was setting the rows and columns with flex and somehow sticky didn't work. When I removed flex styling it worked.

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

79768657

Date: 2025-09-18 15:43:18
Score: 2.5
Natty:
Report link

I know its so long since question is posted, still if anyone is looking for try @flixsrota/player here https://dub.sh/7SKzYvE
I built it just for this, and its straight forward, install and use.

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

79768655

Date: 2025-09-18 15:39:17
Score: 3.5
Natty:
Report link

Seems like this was a bug in macOS. I cannot reproduce this anymore with macOS 26.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Yakuhzi

79768628

Date: 2025-09-18 15:23:12
Score: 0.5
Natty:
Report link

Linusb documentation says to use libusb_set_interface_alt_setting instead of formulating your own control transfer to do it:

https://libusb.sourceforge.io/api-1.0/group__libusb__dev.html#ga4858ad4f0f58fd1dc0afaead1fe6479a

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

79768624

Date: 2025-09-18 15:20:11
Score: 3
Natty:
Report link

I had the same issue during migration to SPFx 1.21.1

See here: https://github.com/sharepoint/sp-dev-docs/issues/10396

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: MarcSZ

79768600

Date: 2025-09-18 15:00:05
Score: 1.5
Natty:
Report link

Faced a similar issue with my C# code in VS2022. Fixed it by commenting out this line in Development Environment:

app.UseResponseCompression();

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

79768592

Date: 2025-09-18 14:49:03
Score: 1
Natty:
Report link

You can name your sprite and check for the position and then remove it from memory

    override func update(_ currentTime: TimeInterval) {
        
        for node in children {
            if node.name == "wbc" {
                if node.position.y < frame.minY - 50 {
                    node.removeFromParent()
                }
            }
        }
    }
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31519067

79768587

Date: 2025-09-18 14:46:02
Score: 2.5
Natty:
Report link

I am not aware of a better answer than the process I am about to suggest.

Inside every cy.get().should().then() set of commands where I need information to be used significantly further down the test, I use cy.writefile to store the data.

Then later where this data is then required I use cy.readfile. It's chunky but it works. Example Below:

describe('Test Group',{defaultCommandTimeout: 400000}, () => {
//describe('Facit Tibi - Collage Page Elements Process',{defaultCommandTimeout: 5000}, () => {
  it('TestName', () => {
    //GLOBAL Files Created - Standard Names
    var arrFoundPeriod = Cypress.spec.name.split(".");
    var strFileNamePrefix = arrFoundPeriod[0];
    //FILES TO WRITE TO AND READ TO
    const saveSpecialData = `cypress/results/data/${strFileNamePrefix}.SpecialData.txt`;
    var strSpecialData = "First Line of Special Data:This Works But May Not Be The Best Answer"
    cy.writeFile(saveSpecialData, strSpecialData);

    cy.get(`*`)
        .should(()=>{})
        .then(elm => {
        var arrFoundPeriod = Cypress.spec.name.split(".");
        var strFileNamePrefix = arrFoundPeriod[0];            
        const saveSpecialData = `cypress/results/data/${strFileNamePrefix}.SpecialData.txt`;          

        cy.readFile(saveSpecialData).then((strOrgText) => {
            var strMoreSpecialData = "When You Find A Better Answer Please Let Me Know";
            var strNewText = `${strOrgText} ${strMoreSpecialData}`;
            cy.writeFile(saveSpecialData, strNewText);
        })
    })
  })
})
Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2.5): Please Let Me Know
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Debugger Dunk

79768577

Date: 2025-09-18 14:35:59
Score: 1
Natty:
Report link

To run a spring boot application, you click the button when you have your main class (class with main method) in focus. However it is not so often I got this open, so you can set the IDE to run it automatically when you press run. Here is how.

  1. Click on the button in the top stating "current file" and select the option "Edit Configurations..."

    enter image description here

  2. Press the "+" button and select "Application", to make a new application configuration.

    enter image description here

  3. Give your run configuration a name and then click on the main class field, to select your main class.

    enter image description here

  4. Select you main class and press ok to all dialogs.

    enter image description here

You can now press the run button or use the shortcut keys to run your application.

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
Posted by: Martin Rohwedder

79768576

Date: 2025-09-18 14:34:59
Score: 3
Natty:
Report link

I'm trying to write a simple fuel consumption calculator with user inputs. I'm having trouble to make the calculation.

It should be:

100 x Fuel spent liters(L) ÷ Kilometers (km) driven

I've done inputs and tried different types of calculations, but nothing is working. Here is what I have so far on my index view:

<h1>Fuel Consumption Calculator</h1>
<div class="calculator">
    <div class="form-group">
        <label for="no1">Liters (l):</label>
        <input type="text" class="form-control" id="no1" />
    </div>
    <div class="form-group">
        <label for="no2">Kilometers driven: (km)</label>
        <input type="text" class="form-control" id="no2" />
    </div>
    <input type="submit" value="Laske" name="tot">
    <div class="form-group">
        <label for="tot">Total:</label>
        <input type="text" class="form-control" id="tot" name="tot" />
    </div>
 </div>

Do you guys have any tip?

For some ideas, you could look at kalkulatorpaliwa.com.pl to see how others approach fuel calculations!

Hey! Great start on the fuel calculator—it’s a fun project! The formula (100 x Fuel spent ÷ Kilometers) is right for liters per 100 km. The issue might be that your submit button isn’t tied to any calculation yet. Try adding this JavaScript in a <script> tag at the bottom of your view:

text

document.querySelector("input[name='tot']").onclick = function() {
    let liters = parseFloat(document.getElementById("no1").value) || 0;
    let km = parseFloat(document.getElementById("no2").value) || 0;
    if (km > 0) {
        let result = (100 * liters) / km;
        document.getElementById("tot").value = result.toFixed(2) + " l/100km";
    } else {
        alert("Enter a valid distance!");
    }
};

This should calculate the result when you click "Laske." For a more polished version, you could add a controller action with a POST method, but this should get you going. Let me know if it works or if you need more help!

Cheers!

Reasons:
  • Blacklisted phrase (1): Cheers
  • RegEx Blacklisted phrase (2): I'm having trouble
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Danuta

79768572

Date: 2025-09-18 14:32:58
Score: 1.5
Natty:
Report link

I did it!

Since it wasn’t finding qtmodern I checked the path to the venv with poetry env info --path I set a variable, $venvpath, in Powershell to the path to the venv and tried generating from the .py script again, with command

poetry run pyinstaller main.py --onefile --paths "$venvPath\Lib\site-packages" --hidden import=qtmodern --hidden-import=qtmodern.styles --hidden-import=qtmodern.windows

And now it’s getting past line 4 of main.py! Progress!

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

79768571

Date: 2025-09-18 14:31:58
Score: 3
Natty:
Report link

Xcode 14 – Storyboard Preview/IBAgent-iOS shows black screen (iOS 16.2 Built-in)

I’m using Xcode 14.2 on macOS 12.7.6.

When I try to open the Storyboard Preview or run IBAgent-iOS, I only get a black screen.

The log shows an error like this:

Encountered an error communicating with IBAgent-iOS.Failed to spawn IBAgent-iOS on iPhone 14 (iOS 16.2, Booting)Process spawn via launchd failed because device is not booted.Bad or unknown session: com.apple.CoreSimulator.SimDevice...

I tried deleting and recreating simulators, but the issue persisted with the iOS 16.2 Built-in runtime.

How can I fix this?

Answer:

This happens because the iOS 16.2 Built-in runtime that ships with Xcode was corrupted/incomplete.
Even if you recreate the simulators, IBAgent-iOS cannot boot the device, which causes the black screen in Storyboard Preview.

The fix was to install a clean runtime.

Steps that worked:

  1. Open Xcode → Settings → Platforms.

  2. Click + and install another runtime, e.g. iOS 16.0 Simulator (or 16.4/17.0 if available).

  3. Restart Xcode and then start it again. Now be happy.

Explanation (why this happens)

  1. The iOS 16.2 Built-in runtime is bundled inside Xcode and cannot be removed.

  2. If it becomes corrupted (CoreSimulator data issue), IBAgent-iOS fails to boot and Storyboard Preview shows only black.

  3. Installing another runtime provides a fresh, working copy of the simulator, which fixes the issue.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): How can I fix this
  • RegEx Blacklisted phrase (1.5): How can I fix this?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Autentico

79768566

Date: 2025-09-18 14:27:57
Score: 0.5
Natty:
Report link

I've made a simple BaseTopSheetDialog with overridable contentView, you can see a full solution here.

In comparison to the original BottomSheet the behaviour is limited but enough for most use cases, including nested recyclers and complex gesture handling.

Example usage:

class ExampleTopSheetFragment : BaseTopSheetDialogFragment() {

    override val contentLayoutId: Int = R.layout.layout_example_dialog_content
    private val binding by binding(R.id.content) { LayoutExampleDialogContentBinding::bind } // change according to how you handle viewBinding
    
    override fun isDraggable(): Boolean = true
    override fun isCancelableOnTouchOutside(): Boolean = true

    override fun onContentViewCreated(view: View, savedInstanceState: Bundle?) {
        binding.close.handleDoubleClick { hide() }
        binding.title.text = "Hello, World!"
    }
    
    /** Use as any other fragment dialog
    private fun showTopSheet() {
        ExampleTopSheetFragment().show(supportFragmentManager, ExampleTopSheetFragment::class.java.name)
    }
    */
}
Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: zzemlyanaya

79768562

Date: 2025-09-18 14:20:55
Score: 1.5
Natty:
Report link

Short answer is your test class isn’t a Spring managed bean, so @Value never runs. Try using @SpringBootTest as the class annotation.

@Component is a Spring annotation, it marks a class as a candidate for component scanning, so Spring could register it as a bean if the application context is actually started.

But in a plain JUnit test (without @SpringBootTest or @ExtendWith(SpringExtension.class) for instance), there is no Spring context at all, so no scanning, no bean creation, no injection.

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

79768552

Date: 2025-09-18 14:10:52
Score: 0.5
Natty:
Report link

ffmpeg -i input.mp3 -ss START_TIME -to END_TIME -c copy output.mp3

for example to cut the audio file from 7 seconds to 4 minute 45 seconds ( 285 seconds)
ffmpeg -i input.mp3 -ss 7 -to 285 -c copy output.mp3

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

79768550

Date: 2025-09-18 14:09:52
Score: 0.5
Natty:
Report link

If you only apply transition-colors to the body, then it will only work on the body. For it to work on every element, you need to add it to each element. But your CSS is too strong because it's unlayered.

TailwindCSS uses layers, which are ordered from weakest to strongest:

theme, base, components, utilities

!important doesn't work for you for several reasons. One is that starting from v4, the exclamation mark has to be placed after instead of before. Another is that if you make something important, it also can't be overridden later.

To ensure proper behavior, I would place your style in either the theme or the base layer. Since it's strongly tied to theme switching, I would put it in the theme layer:

@layer theme {
  * {
    @apply transition-colors duration-500;
  }
}

Avoiding @apply is recommended, and in light of that, I would put something like this in my code:

@layer theme {
  * {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
    transition-timing-function: ease;
    transition-duration: 500ms;
  }
}

Related:

document.querySelector('button').addEventListener('click', () => {
  document.documentElement.classList.toggle('dark');
});
<script src="https://unpkg.com/@tailwindcss/browser"></script>
<style type="text/tailwindcss">
/* changed the behavior of dark: (default: based on prefers-color-scheme) to work based on the presence of the .dark parent class */
@custom-variant dark (&:where(.dark, .dark *));

@theme {
  --color-pink: #eb6bd8;
}

@layer theme {
  * {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
    transition-timing-function: ease;
    transition-duration: 500ms;
  }
  
  :root, :host {    
    @variant dark {
      --color-pink: #8e0d7a;
    }
  }
}
</style>

<button class="size-20 bg-pink dark:text-white">Click Here</button>
<div class="w-50 h-12 bg-purple-200 dark:bg-purple-900 dark:text-white">
  Lorem Ipsum
</div>

Theme handling

For theme switching and handling, these questions are relevant:

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: rozsazoltan

79768548

Date: 2025-09-18 14:06:51
Score: 2
Natty:
Report link

Stackoverflow thank you for the dislikes - I don't get why but still.

Here is the answer:

The machine (in my case linux) has to use the DNS server of the MS AD. However since I only changed it in the /etc/resolf.conf on my linux machine this change was only termporary. When I restarted my linux machine, it changed it back to my router. This lead to the error message which in my mind is completely garbage since it doesn't really have anything to do with the actual problem...

A quick way to confirm if the machine uses the MS AD DNS: ping your domain - in my case ping schooliead.local

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

79768547

Date: 2025-09-18 14:06:51
Score: 1.5
Natty:
Report link

You don’t need setTimeout, cron, or Redis for delayed execution. Several event-driven and database-native options can handle this reliably:

RabbitMQ – delayed message exchange delivers events after a set delay.

Kafka – use a delay topic or connector pattern to forward messages after the delay.

AWS SQS – built-in per-message delay (up to 15 minutes) without extra server load.

Database scheduling – MySQL Event Scheduler, Postgres pg_cron, or MongoDB TTL indexes handle time-based triggers directly in the database.

Workflow engines – tools like Temporal or Durable Functions provide robust delayed workflows with retries and persistence.

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

79768542

Date: 2025-09-18 14:00:50
Score: 3
Natty:
Report link

If you do a new charge pattern that uses the One-time Charge Invoicing Approach and have your incoming charges use that pattern, that might get you what you want. In our setup, these charges do what you are describing and are not split across multiple invoices.

Example of the Charge Pattern.  Administration > Business Settings > Charge Patterns

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

79768541

Date: 2025-09-18 13:59:49
Score: 1
Natty:
Report link

Copilot suggested a result. Posting answer for anyone else looking for an answer. In short hyperlinks are not allowed but button with an action to open url are ok:

{ "type": "ActionSet", "actions": [ { "type": "Action.OpenUrl", "title": "View Results", "url": "@{triggerBody()?['linkToResults']}" } ] }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rob

79768531

Date: 2025-09-18 13:49:46
Score: 7.5 🚩
Natty:
Report link

Any updates on this? Seeing the same issue upgrading expo 52 -> 53

Reasons:
  • Blacklisted phrase (1): Any updates on
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Seeing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gian Pecile

79768527

Date: 2025-09-18 13:46:45
Score: 1.5
Natty:
Report link

With recent bluez versions (5.83 here), hciconfig is deprecated, and the approach to disable authentication is now: bluetoothctl agent NoInputNoOutput

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

79768517

Date: 2025-09-18 13:38:42
Score: 1
Natty:
Report link

When RefIn == True, then you need to reflect the data before proceeding with the CRC calculation, ie. poly division in XOR arithmetic. Now how do you reflect your original message (00010011)? For this it is important to know the data width:

And now you do poly division in XOR arithmetic.

If you append the CRC to the original message and repeat the calculation (poly division), you will get a so called residue. For certain CRC model parameters, the residue will always be the same for a valid message+CRC sequence.


There is a Python package (yacrc1) which outputs detailed CRC calculation steps. This can help you better understand what happens under the hood.

Here is an example for your parameters:

# Install as: pip3 install yacrc
from yacrc import CRC

# When refin == True, data width must be specified!
obj = CRC(
    width = 4,
    poly = 0b0011,
    init = 0b0000,
    refin = True,
    refout = True,
    xorout = 0b0000,
    data = 8,
    optimize = False
)

### CALCULATE CRC FOR ORIGINAL MESSAGE

msg_1 = '00010011'

crc_1, steps_1 = obj.crc_steps(msg_1, appended = False)

print(f'\nORIGINAL MESSAGE:\n{steps_1}')

### CALCULATE CRC FOR ORIGINAL MESSAGE WITH APPENDED CRC

msg_2 = msg_1 + f'{crc_1:0{obj.width}b}'

crc_2, steps_2 = obj.crc_steps(msg_2, appended = True)

print(f'\nAPPENDED MESSAGE:\n{steps_2}')

### VERIFY RESIDUE

# Undo final XOROUT
residue_2 = crc_2 ^ obj.xorout

print(f'\nRESIDUE CHECK: {residue_2 == obj.residue}')

And here is the output of the above code:

CRC-4/G-704 has the same set of parameters

ORIGINAL MESSAGE:
======================
MODEL: CRC-4/
======================
MESSAGE   00010011
----------------------
REFIN     11001000
AUGMENT   110010000000
POLY      10011.......
          -----.......
          0101000.....
POLY       10011......
           -----......
           00111000...
POLY         10011....
             -----....
             0111100..
POLY          10011...
              -----...
              0110100.
POLY           10011..
               -----..
               01001..
POLY            10011.
                -----.
                000010
                  ----
REFOUT            0100
----------------------
CRC = 0x4
======================

APPENDED MESSAGE:
==========================
MODEL: CRC-4/
==========================
MESSAGE   000100110100
--------------------------
REFIN     110010000010
AUGMENT   1100100000100000
POLY      10011.....,.....
          -----.....,.....
          0101000...,.....
POLY       10011....,.....
           -----....,.....
           00111000.,.....
POLY         10011..,.....
             -----..,.....
             0111100,.....
POLY          10011.,.....
              -----.,.....
              0110101.....
POLY           10011,.....
               -----,.....
               0100110....
POLY            10011.....
                -----.....
                0000000000
                      ----
REFOUT                0000
--------------------------
CRC = 0x0
==========================

RESIDUE CHECK: True

1 Disclosure: I am the author of the yacrc package.

Reasons:
  • Blacklisted phrase (1): how do you
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Marko Gulin

79768507

Date: 2025-09-18 13:34:41
Score: 1
Natty:
Report link

If, like me, you are a Luddite you may prefer in globalusing.cs:

global using Assert = NUnit.Framework.Legacy.ClassicAssert;

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

79768503

Date: 2025-09-18 13:30:40
Score: 1.5
Natty:
Report link

It's been a while, that this topic was due, but I am looking as well for a JAVA implementation of a Shapiro-Wilk-Test. This seems to give something to start with:

Shapiro-Wilk-Test exmaple implementation on Javatips.net

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

79768486

Date: 2025-09-18 13:17:36
Score: 3
Natty:
Report link

Disambiguating Initial State vs Junction Pseudostates in UML State Machines

In short:


If you want, I can also give you a quick diagram example showing both side by side.
Do you want me to do that?

Tools

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

79768482

Date: 2025-09-18 13:16:36
Score: 2
Natty:
Report link

In Android Studio got to the Files-> Settings-> Editor-> General -> Change font size with Ctrl+Mouse Wheel in tick this option and below this also another two buttons for select for only current active editror or for all editors you can choose according to you and then click Apply .thats it now you can zoom in and zoom out your editor using Ctrl+mouse click.

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

79768479

Date: 2025-09-18 13:15:36
Score: 3
Natty:
Report link

Xcode 14 – Storyboard Preview/IBAgent-iOS shows black screen (iOS 16.2 Built-in)

I’m using Xcode 14.2 on macOS 12.7.6.

When I try to open the Storyboard Preview or run IBAgent-iOS, I only get a black screen.

The log shows an error like this:

Encountered an error communicating with IBAgent-iOS.Failed to spawn IBAgent-iOS on iPhone 14 (iOS 16.2, Booting)Process spawn via launchd failed because device is not booted.Bad or unknown session: com.apple.CoreSimulator.SimDevice...

I tried deleting and recreating simulators, but the issue persisted with the iOS 16.2 Built-in runtime.

**How can I fix this?
**
Answer:

This happens because the iOS 16.2 Built-in runtime that ships with Xcode was corrupted/incomplete.
Even if you recreate the simulators, IBAgent-iOS cannot boot the device, which causes the black screen in Storyboard Preview.

The fix was to install a clean runtime.

Steps that worked:

  1. Open Xcode → Settings → Platforms.

  2. Click + and install another runtime, e.g. iOS 16.0 Simulator (or 16.4/17.0 if available).

  3. Restart Xcode and then start it again. Now be happy.

    Explanation (why this happens)

  4. The iOS 16.2 Built-in runtime is bundled inside Xcode and cannot be removed.

  5. If it becomes corrupted (CoreSimulator data issue), IBAgent-iOS fails to boot and Storyboard Preview shows only black.

  6. Installing another runtime provides a fresh, working copy of the simulator, which fixes the issue.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): How can I fix this
  • RegEx Blacklisted phrase (1.5): How can I fix this?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Autentico

79768474

Date: 2025-09-18 13:11:34
Score: 4
Natty: 5
Report link

https://www.first.org/global/education

The FIRST Education Program is operated

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

79768471

Date: 2025-09-18 13:08:33
Score: 1.5
Natty:
Report link

Following the response to another post, using AxisDivider fixes the colorbar placement.

contour = ax.contourf(x, y, val, cmap='gist_yarg', extend='max',
                      levels=np.linspace(0, 0.1, 200))

divider = make_axes_locatable(ax)
cax = divider.append_axes("right", size="6%", pad=0.06)
cbar = fig.colorbar(contour, cax=cax, format='%.2f')

colorbar with AxisDivider option

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: nish-ant

79768470

Date: 2025-09-18 13:07:32
Score: 5
Natty: 6.5
Report link

Just go to Nvidia control panel > system information > cuda core

enter image description here

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: srikantin

79768462

Date: 2025-09-18 13:00:30
Score: 0.5
Natty:
Report link

In PowerShell:

$varYes=cmd /c "choice <nul 2>nul"
$varYes=($varYes -replace '[^a-zA-Z]')[0]

Then your takeown command, with $varYes in the place of whichever confirmation letter you would normally use.

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

79768453

Date: 2025-09-18 12:55:28
Score: 1
Natty:
Report link

@BJovke gives a nice answer that points at the truncated polynomial expansion as the key idea. This is a very standard approach in physics and maths. But still, why the magic number? The specific reason is the typical value of x. Let me explain.

The specific expansion being used is the https://en.wikipedia.org/wiki/Binomial_approximation . This is great for linearising small non-linear deviations from a default value. If you visit that Wiki page you'll find that you first need to write your real function in the form (1 + x)^a. But the inverse (really reciprocal) square root is x^(-1/2) so doesn't obviously have a suitable form for this -- there's no room for a + 1 offset on x.

Ah, but we could always write it as (b + x)^a then take out the b by division: b^a (1 + x/b)^a. You can also think of this as writing x in "natural units" of b.

For the reciprocal sqrt, a = -0.5, and so the first terms in the approximation are b^(-0.5) (1 - 0.5 x/b) = 1/sqrt(b) - 0.5 b^(-3/2) x. Note that this doesn't work for exactly b = 0, but 1/sqrt(x) is infinity for x = 0 so it's pretty reasonable that we can't actually go all the way to zero.

But, if you want to be valid in the vicinity of x = 0 then you want b as small as possible... i.e. b = 2^(-127) in a bit representation. Then that first term is sqrt(2^127) = 2^63.5. This makes sense: the default-best-guess term for reciprocal sqrt of a small x near that function's divergence at x = 0 is the sqrt of the largest representable number. And the long integer approximation to that, interpreted as a float, is the famous "magic constant". I've not checked, but I strongly suspect that the threehalfs term that follows it is implementing that b^(-3/2) in the second term of the approximation.

A corollary to this is that if you know that your reciprocal sqrts will be applied to numbers far from zero, you can probably get a better approximation by setting b to their typical value instead. I guess in Quake's raytracing, the x's tended to be small for whatever reason.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @BJovke
  • Looks like a comment (1):
Posted by: andybuckley

79768451

Date: 2025-09-18 12:53:28
Score: 1.5
Natty:
Report link

Propagation begins as soon as the very first bit is put onto the wire.

Here’s why:

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

79768450

Date: 2025-09-18 12:51:27
Score: 1.5
Natty:
Report link

It should be in the under Sources/.. wherever you saved your UE project.

Make sure that when you are creating a project, you make it a C++ project, and not a blueprint project. Though you can add C++ to BP projects later on.

Assuming the project is set up to compile C++, you should also be able to open the solution from the UEd, Tools >> Open Visual Studio.

Opening VS from UEd

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

79768449

Date: 2025-09-18 12:50:27
Score: 2
Natty:
Report link

I was working on a Laravel microservice project where task 1 sends a series of data to task 2. Task 2 saves it and sends it to task 3 with a separate service. It is pushed to task 3 correctly and without errors, but task 3 does not receive it. I tested it with Redis-CLI. The service that connects task 2 and 3 sends the data, which means the problem is not with task 2. My result was that task 3 has a problem with its subscriber. Thank you for your help :)

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-0.5): Thank you for your help
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: stranger

79768442

Date: 2025-09-18 12:46:25
Score: 0.5
Natty:
Report link

The init command no longer exists in v4. Consider checking the installation documentation that is most relevant to your project to integrate Tailwind v4.

If you are trying to use v3, ensure the version qualifier is used:

$ npm install -D tailwindcss@3 postcss autoprefixer
$ npx tailwindcss init -p

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

79768441

Date: 2025-09-18 12:46:25
Score: 4
Natty:
Report link

Restarting the phone, fixed it for me.

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ashish Kumar Pal

79768428

Date: 2025-09-18 12:33:21
Score: 2
Natty:
Report link

goto setiings then compiler then toolchain excutables. Then make code blocks auto detect the compiler

for eg path C:\Users\noby\Documents\w64devkit . Then click auto-detect. Then add bin, include,lib

folders in the system enviroment variables. The make file in w64devkit is make.exe, so change file name

to "make.exe" . Restart the system if error. enter image description hereenter image description here

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

79768424

Date: 2025-09-18 12:29:20
Score: 1.5
Natty:
Report link

1. In what circumstances, do we have to use random seed? (for which purpose?)

Sometimes we want our hashes to be very evenly distributed and using a random mapping can help achieve this.

Say we want a fast lookup for some objects that have IDs between 1 and 100 (not necessarily 100 objects!). We can do this by putting them into some buckets, lets say we have 10 buckets. We can put IDs 1 to 10 in bucket 1, 11 to 20 in bucket 2, 21 to 30 in bucket 3 etc. Now if we want to retrieve ID 70 we know to look in bucket 7, a smaller search space.

We have used the IDs as our hash, but what if the IDs are not evenly distributed in this range? What if consecutive IDs are more common and only the IDs 31 to 50 appear? Then we will have 2 full buckets and 8 empty ones, it would be a quicker search if all ten buckets had 2 objects each. (Searching through a bucket of 2 objects is faster than searching a full bucket).

The solution to this is to shuffle the IDs around in a random way to avoid any bias towards any buckets.

We might have ID 1 becomes 34, ID 34 becomes 60, ID 60 becomes 14, and so on until every ID is mapped to a new ID uniquely. It means that whoever creates a hash only has to worry about uniqueness and not the even distribution of values.

2. Then how can we find the data that we put already when we cannot get the same hash code that was made when initially putting data into the hash table?

The hashing function should not change for the lifespan of the data structure that uses it.

It is allowed to be generated differently at the time of the data structure's creation, but not allowed to change while it contains data.

Reasons:
  • Blacklisted phrase (1): how can we
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Luke Sharkey

79768421

Date: 2025-09-18 12:28:19
Score: 0.5
Natty:
Report link

A hash function should have such properties:

  1. Identical key input should give us identical hash code output.

  2. Different key input mostly give us different hash code output.

If there exist two different key inputs mapping to a same hash code output, it's called "Hash Collision".

As for your description, "identical key input may result in different hash code output", obviously the function DO NOT conform to Prop1. It cannot be treated as a hash function.

With concepts above known, we can go back to the questions.

A1: Basically it's not necessary to use a random seed in hash function. The general purpose of introducing randomness into a hash function is to improve the function's uniformity and try to avoid hash collision. You could use a random seed in an arbitrary way, generate something useful, as long as it makes your hash function "healthier".

(Actually, hash collision is theoretically inevitable, but we could decrease the possibility of its happening down to an acceptably lower level)

A2: That's a confusing question. You've lost the key, of course you'll lost the access to the data as a consequence.

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

79768419

Date: 2025-09-18 12:25:18
Score: 2.5
Natty:
Report link
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Did you in
  • High reputation (-1):
Posted by: MilletSoftware

79768416

Date: 2025-09-18 12:24:18
Score: 3
Natty:
Report link

Buatkan simulasi smart village degan tema smart people, smart government , smart economic, smart mobility, smart environment, smart living

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

79768403

Date: 2025-09-18 12:11:14
Score: 2.5
Natty:
Report link

I think this issue as same as when ios 14.0 is released. It's took long time of Flutter team to fix this. The issue of notification in simulator in iOS is already have in years ago. Now just using real device and waiting 😁

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hưng Nguyễn

79768389

Date: 2025-09-18 11:59:11
Score: 2
Natty:
Report link

I ran into the same Issue, I removed :

using Microsoft.AspNetCore.Components;


it then worked perfectly...
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: WASP

79768379

Date: 2025-09-18 11:52:09
Score: 2.5
Natty:
Report link

Once you have merged these commits into your default branch (e.g., main, master) the issues will close automatically.

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

79768377

Date: 2025-09-18 11:51:08
Score: 4
Natty:
Report link

UPD: I have achieved it by switching to AG Grid

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

79768373

Date: 2025-09-18 11:48:07
Score: 4
Natty: 4.5
Report link

Is it a good practice to use markers for something like log ids which are different for each log and could be millions? I saw that using MarkerFactory.getMarker stores the markers in a map which would cause overhead, but there's MarkerFactory.getDetachedMarker which simply creates and returns the marker object.

Best regards,

Martin

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is it a
  • Low reputation (1):
Posted by: Martin Kurtev

79768372

Date: 2025-09-18 11:47:06
Score: 4
Natty: 4.5
Report link

may need to be used the XIAO_ESP32C3 firmware

see this https://github.com/nanoframework/Home/issues/1445#issuecomment-1999215765

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