79827636

Date: 2025-11-23 01:18:11
Score: 0.5
Natty:
Report link

I think the cloud indicates the remote head, but I'm not sure.

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

79827614

Date: 2025-11-22 23:45:54
Score: 2
Natty:
Report link

The id is supposed to be unique (reference)

In your example, all container IDs are equal to "expandedimg". If you change each container id to something unique, maybe pass it as a parameter, it should work just fine.

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

79827601

Date: 2025-11-22 22:51:43
Score: 1.5
Natty:
Report link

As per OP's answer: add something like

view{
    viewName{
        "type": "webview"
    }
}

to your package.json.

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

79827585

Date: 2025-11-22 22:11:34
Score: 4
Natty: 4
Report link

--environment [profile] will use the vars set in eas.json

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

79827584

Date: 2025-11-22 22:03:32
Score: 2
Natty:
Report link

The loop turns your 3 into a 4 so you accidentally pass an 8 into the function, but then the function rudely forces the number back down to a 3, and since 8 plus 3 is 11, the computer just keeps shouting 11 at you forever.

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

79827583

Date: 2025-11-22 22:01:32
Score: 3.5
Natty:
Report link

My answer is a censored question by an unethical admin

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

79827575

Date: 2025-11-22 21:45:28
Score: 1
Natty:
Report link

First of all, this is by no means a perfect example, but rather an idea of how it can be implemented. For example, to make it easier to show, I am using @AppStorage and the ID to save it here.

I had the same Issue today, … in tvOS, the SignInWithAppleButton does not trigger its closures. It only renders the required visual appearance of the button and haptics/animations.

How to fix this?

I used the official SignInWithAppleButton and attached an .onTapGesture that launches a custom ASAuthorizationController with my own ASAuthorizationControllerDelegate, as the button does not trigger its built-in request or completion handlers under tvOS.

Example (the Button)

SignInWithAppleButton { _ in } onCompletion: { _ in }
.onTapGesture {
    Task { await viewModel.signInWithApple() }
}

Example ViewModel

import Combine
import SwiftUI

@MainActor
class ViewModel: ObservableObject {
    
    @AppStorage("signInWithAppleUserIdString") var signInWithAppleUserIdString: String = ""
    var appleSignInManager = AppleSignInManager()
   
    func signInWithApple() async {
        let appleIdString = await appleSignInManager.signIn()
        
        if let appleIdString {
            signInWithAppleUserIdString = appleIdString
        } else {
            print("ERROR: USER NOT SIGNED IN WITH APPLE")
        }
    }
    
    func signOutFromApple() {
        signInWithAppleUserIdString = ""
    } 
}

Example Class
I called it AppleSignInManager because it's simple, but that's roughly how you could create it.

import AuthenticationServices
import Combine
import SwiftUI

@MainActor
final class AppleSignInManager: NSObject, ObservableObject,
                                ASAuthorizationControllerDelegate,
                                ASAuthorizationControllerPresentationContextProviding {

    private var continuation: CheckedContinuation<String?, Never>?

    override init() {
        super.init()
    }

    func signIn() async -> String? {
        return await withCheckedContinuation { continuation in
            self.continuation = continuation
            startAuthorization()
        }
    }

    private func startAuthorization() {
        let provider = ASAuthorizationAppleIDProvider()
        let request = provider.createRequest()
        request.requestedScopes = []

        let controller = ASAuthorizationController(authorizationRequests: [request])
        controller.delegate = self
        controller.presentationContextProvider = self
        controller.performRequests()
    }

    func presentationAnchor(for controller: ASAuthorizationController) -> ASPresentationAnchor {

        if let keyWindow = UIApplication.shared.connectedScenes
            .compactMap({ $0 as? UIWindowScene })
            .flatMap({ $0.windows })
            .first(where: { $0.isKeyWindow }) {
            return keyWindow
        }

        if let windowScene = UIApplication.shared.connectedScenes
            .compactMap({ $0 as? UIWindowScene })
            .first {
            return ASPresentationAnchor(windowScene: windowScene)
        }

        fatalError("NO WINDOW SCENE FOUND")
    }

    func authorizationController(controller: ASAuthorizationController,
                                 didCompleteWithAuthorization authorization: ASAuthorization)  {

        if let credential = authorization.credential as? ASAuthorizationAppleIDCredential {
            let userId = credential.user
            continuation?.resume(returning: userId)
            continuation = nil
        } else {
            continuation?.resume(returning: nil)
            continuation = nil
        }
    }

    func authorizationController(controller: ASAuthorizationController,
                                 didCompleteWithError error: Error) {

        print("ERROR:", error.localizedDescription)
        continuation?.resume(returning: nil)
        continuation = nil
    }
}

Explanation

My ViewModel stores the user ID returned by the “Sign in with Apple” authorization process and is directly linked to the custom ASAuthorizationControllerDelegate, which provides the result.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • RegEx Blacklisted phrase (1.5): How to fix this?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @AppStorage
  • Low reputation (0.5):
Posted by: SomeUser

79827567

Date: 2025-11-22 21:26:24
Score: 2.5
Natty:
Report link

If you take any DAG, and draw it in such a way that the leaves (the nodes without outgoing edges) are placed all at the bottom of the diagram, with their parent(s) above them, ... then how could it differ from the diagram you have shown? Is there any DAG that would not represent what you expect?

Reasons:
  • Blacklisted phrase (1): Is there any
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: trincot

79827559

Date: 2025-11-22 21:12:20
Score: 0.5
Natty:
Report link

Just stop the project & re run. as Its using Method Channels under the hood & they are written in kotlin/swift based on platform, they do not have hot reload/hot restart feature as flutter.

so you have to just stop & re-run the project also do flutter clean and flutter pub get.

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

79827556

Date: 2025-11-22 21:08:19
Score: 2
Natty:
Report link

https://www.ccleaner.com/recuva/download

This is a free tool I have used for many of my USB Drives. It's free & works well so give it a try!.

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

79827552

Date: 2025-11-22 20:53:16
Score: 2.5
Natty:
Report link

Yeah its happened to me my app successfully completed 12 testers for 14 days but i got an email exactly like this . its happening because the 12 testers are not testing the app daily thats why its happening . then i have uploaded my app in a app called closed test pro . i got 12 testers from this app free and the 12 testers are tested my app everyday . this app has daily reminders which helps users test the installed apps once per day for 14 days .

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

79827548

Date: 2025-11-22 20:39:13
Score: 0.5
Natty:
Report link

Your observation is wrong. There is no such thing. The behavior is not expected and not unexpected, it is what you choose.

This is not about buttons. And it is not related to your Web page/application.

This is just the Download option you have to set up for each profile on a browser. You set it the way you want for your Chrome profile and haven't done that in Firefox, that's all.

Please adjust the Download option to your liking where you need it. Then you will see the proper browser behavior.

Reasons:
  • No code block (0.5):
Posted by: Sergey A Kryukov

79827544

Date: 2025-11-22 20:29:11
Score: 1
Natty:
Report link

This is a classic limitation of the GIF format—unlike PNG, GIF only supports a single color as transparent and does not have an alpha channel with varying opacity. This means smooth transparent edges and anti-aliased shadows are basically impossible in GIFs, which can cause jagged edges when placed on different backgrounds.

A modern approach is to use WebP instead of GIF. WebP supports full alpha transparency with variable opacity and animation, plus better compression. It’s now widely supported across browsers and platforms, making it a great alternative to GIF for animated images with smooth transparency.

If you need to convert between these formats or make stickers, check out my app WebPeek which offers efficient GIF-to-WebP and WebP-to-GIF conversions, maintaining transparency and animation as much as possible.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Claudio Dall'Ara

79827530

Date: 2025-11-22 20:08:06
Score: 1.5
Natty:
Report link

I was told by a developer that yes, AS clauses can be used to change the name of the table as it is stored locally, but no, PowerSync can not sync from a view. In the future views will hopefully be unnecessary thanks to Sync Streams which allow more complex queries.

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

79827525

Date: 2025-11-22 19:52:02
Score: 0.5
Natty:
Report link

What is the point of the pixelColor variable in this code? You never use it.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What is the
  • High reputation (-2):
Posted by: ADyson

79827522

Date: 2025-11-22 19:47:00
Score: 2
Natty:
Report link

Do you mean that you want to automatically generate the form code on demand based on which fields are in your database, without having to write the form code directly?

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

79827519

Date: 2025-11-22 19:44:59
Score: 6.5 🚩
Natty: 6
Report link

I cannot access to this dataset through the link, could you please tell me hw to access the dataset? I also need this dataset for my research and I will also check this issue

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (2.5): could you please tell me
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: wenxuan liu

79827511

Date: 2025-11-22 19:33:56
Score: 1.5
Natty:
Report link

IMHO I believe it’s more safe and clear to set work variables with initial values (by calling an specific paragraph/section) and this way assure the desired behaviour. This avoid unexpected results caused by external factors like changing parameters or settings in the target environment. Of course, you need to be aware about reentrant programs that must retain values between executions, but I think that is not the scenario you have described.

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

79827503

Date: 2025-11-22 19:04:50
Score: 4
Natty: 5
Report link

thanks for this perticular discussion on it!

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

79827502

Date: 2025-11-22 19:04:50
Score: 2.5
Natty:
Report link

There is a flutter package. I am the author of it. Idle logout, it does this.

https://pub.dev/packages/idle_logout

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

79827501

Date: 2025-11-22 19:03:49
Score: 1.5
Natty:
Report link

Thanks for the replies! A few of the linked threads have solutions to this for the question of which cpu architecture we're in. In this situation, all of the nodes are x86_64. Actually, the sysadmin didn't realize that they were heterogeneous until we hit this issue.

I haven't actually used a ton of cpu optimizations, just -O3. But that does turn on a ton of other things, and probably dialing it back to -O2 or -O1 would partly solve this. The code I'm running takes weeks, though, so I'm relucantant to do that.

The workaround I've been using is to have a shell script attempt to run the code. If it fails, recompile a local copy and use that. This is partly in-line with some suggestions above, although in some cases I know for sure that it's running at sub-optimal speed.

Pepijn Kramer's idea to use a shell script to query for the exact cpu might be an improvement --- and then trigger the recompile if it doesn't match.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user3195869

79827499

Date: 2025-11-22 18:49:45
Score: 6.5
Natty:
Report link

If you find any other alternatives, please update us with the details. Thank you in advance!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (3): Thank you in advance
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Adil

79827495

Date: 2025-11-22 18:37:42
Score: 3
Natty:
Report link

Thanks for the reply.
The steps of the process I understand I am having difficulty though figuring out:
a. automatically setup metrics for a new prompt. Every version release cannot automatically add a new prompt metric to the db as there could be other changes in the code unrelated to the prompt - or even changes to a different prompt. Even if each prompt change is separated into a different module so that it has it's own version still if the prompts are all in the same repository when the code is released all the module versions will be updated. So my question is really is there a way to automate releases to update versions and therefore metrics only for prompts that have been changed.
b. how to easily retrieve and rerun previous versions of the prompt quickly and efficiently when other commits and changes to the code might have been made since the version being rolled back to.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): is there a way
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ssp

79827489

Date: 2025-11-22 18:27:40
Score: 1.5
Natty:
Report link

it working for me

You can resolve by running the install_tools.bat in the directory of your nodejs.

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

79827478

Date: 2025-11-22 18:01:35
Score: 2
Natty:
Report link

There are several tools for this.
Besides manual pgloader or ora2pg approaches, there are also online converters such as mysqltopostgre.com, which can convert the dump and generate a PostgreSQL-ready script.
Depending on the complexity of your schema, it might help.

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

79827476

Date: 2025-11-22 17:50:32
Score: 0.5
Natty:
Report link

You should specify whether you want your env variable to be server side or client side in nextjs the way you wrote it's server side if you want your env variable to be accessable in browser you should add
NEXT_PUBLIC_ prefix to your variable name this way it's accessable both in client and server if not it's server only for protecting sensitive info
so in your case your variable should be:

NEXT_PUBLIC_GOOGLE_CLIENT_ID
Nextjs Docs About env variables

Reasons:
  • Whitelisted phrase (-1): in your case
  • No code block (0.5):
  • Low reputation (1):
Posted by: Eric Khosrafian

79827453

Date: 2025-11-22 17:14:24
Score: 3
Natty:
Report link

Writing after the ret address slot is causing the segfault because you are writing the address of touch2 in the caller's frame. The address of touch2 should be pushed to the stack from inside the buffer so that it ends up at where address of buff[0] was i.e the ret address slot.

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

79827449

Date: 2025-11-22 17:07:22
Score: 1
Natty:
Report link

Modern mongodb drivers use unified topology which automatically detects if a replica set is in use. Try using the 'diectConnection' option: https://www.mongodb.com/docs/manual/reference/connection-string-options/#mongodb-urioption-urioption.directConnection

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

79827440

Date: 2025-11-22 16:48:18
Score: 0.5
Natty:
Report link

You can configure Intellisense to use a specific C Standard (e.g. "cStandard": "gnu23" -> C23 + GNU extensions). As a hint: use the same standard for Intellisense and the compiler (e.g. -std=gnu23). Also take a look at: C++ extension settings reference.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Erdal Küçük

79827430

Date: 2025-11-22 16:37:15
Score: 2.5
Natty:
Report link

It sounds like you'd need to copy the activities & code from app2 into app1 and update the app1 code to call the activities & code from app2..

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

79827429

Date: 2025-11-22 16:35:15
Score: 1
Natty:
Report link
function get2cols (rng,x,y){
// Returns two particular columns of a two dimensional array or range

  var rtn = [];
  rng.forEach((item) => {
    rtn.push([item[x],item[y]]);
  });
  return rtn;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Matt Colebourne

79827416

Date: 2025-11-22 15:55:07
Score: 5
Natty:
Report link

I cannot delete it. But now I have asked the question again as "normal". See Calling static function from inline function in C

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Rasmus

79827414

Date: 2025-11-22 15:54:06
Score: 2
Natty:
Report link

in folder "C:\Users\XXXX\AppData\Local\Android\Sdk", there are two subfolders

--- .downloadIntermediates

--- .temp

you need to delete the temporary contents inside before you are able to re-download "NDK (Side by side) 27.0.12077973" package", make sure that the network is in good state.

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

79827413

Date: 2025-11-22 15:54:06
Score: 2
Natty:
Report link

I don't think the question is related to C++ itself, I only added the tag because I'm using C++. Also, the code I posted works, but, as I explained, I don't know if it is guaranteed to work in all cases. It's SQLite's documentation what says you can't put WITHs inside TRIGGERs, but it does not specify any languages, so I suppose that it happens in all languages.

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

79827407

Date: 2025-11-22 15:41:03
Score: 2
Natty:
Report link

So it turns out the code runs fine and VS Code's pylance extension wrongly showed a hint underline saying the module would not be imported, and I trusted it. Sorry for wasting everyone's time.

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

79827403

Date: 2025-11-22 15:39:03
Score: 0.5
Natty:
Report link

I'm trying to append some divs in a main div using jquery. I take some input values and loop for certain values. My code is that. I take 4 values form a form. "name" and "type" are text, while "first" and "last" are two numbers, let's say: 1 and 10. I would to loop for i=first and i<last this thing that I append on a div named "result". But at the moment nothing happens. Neither errors in the console.


$(document).ready(function(){
  $("#btn").click(function(){
    var name = $("#name").val();
    var type = $("#type").val();
    var first = $("#first").val();
    var last = $("#last").val();
    for(i=first; i<last; i++){
        $("#result").append("<div class='myClass'><h3>" + name + "</h3><h3>" + type + "</h3><h3>" + i + "</h3></div>");
    }

    });

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

79827401

Date: 2025-11-22 15:34:01
Score: 4
Natty:
Report link

I will delete this one and ask again

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

79827398

Date: 2025-11-22 15:27:59
Score: 0.5
Natty:
Report link

Vargula offers a markup-style syntax to customize terminal texts. If you want the text to appear blue:

import vargula as vg
vg.write("<blue>Here's a blue text!</blue>")

At the same time, you can replace <blue>...</blue> with <#ffffff>...</#ffffff> or any hexadecimal code if you want a specific color shade.

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

79827393

Date: 2025-11-22 15:26:59
Score: 6.5
Natty:
Report link

sir, i understand and will be careful in framing the question next time. but, do you have my answer ?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: KANISHK KHANDELWAL

79827390

Date: 2025-11-22 15:20:57
Score: 1.5
Natty:
Report link

For handling multiple clients in a C server, threads, forks, and non-blocking I/O (select/poll/epoll) each have trade-offs: forking is simple and robust but heavy due to process overhead; threading is lighter and easier to share state but requires careful synchronization; non-blocking I/O with select/poll/epoll scales best, avoids per-client stacks, and is the common choice for high-performance servers, though it’s more complex to implement. For a small HTTP library, the usual recommendation is non-blocking sockets with select/poll (or epoll on Linux) because it’s efficient, avoids threading complexity, and works well for many simultaneous clients while keeping the code relatively simple.

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

79827386

Date: 2025-11-22 15:13:56
Score: 1.5
Natty:
Report link
  1. _cache.Remove(cacheKeyForDeviceStatus);
    
    

    IMemoryCache is not like cookies so we can just remove the cache because cache saved in server side not client side
    after deleting cache if the was no cache the func will hit the db

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

79827380

Date: 2025-11-22 14:57:52
Score: 0.5
Natty:
Report link

i just figured out a way around this and i thought id share this with yall. even tho when searching for a track itself the preview url will return null, if you use the https://api.spotify.com/v1/search endpoint and find your song there it will have a preview url cause thats what spotify actually uses to serve the preview url in the app and web. hope that helps.

Reasons:
  • Whitelisted phrase (-1): hope that helps
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: dimitris.terzz

79827377

Date: 2025-11-22 14:56:51
Score: 1.5
Natty:
Report link

I just checked Apple's documentation and found this note:

"If you upload a build and it remains in the Processing state for more than 24 hours, there may be an issue. To resolve the issue, submit a Feedback Assistant ticket or contact us."

Document URL: https://developer.apple.com/help/app-store-connect/manage-builds/view-builds-and-metadata#view-build-upload-status

I've already submitted a Feedback Assistant ticket myself.

However, since the US is celebrating Thanksgiving right now, I don't expect anyone to look at it until after the holiday.

I suspect this is a common issue that Apple needs to address for specific apps. So, if you run into this problem, don't just wait for it to resolve itself—be proactive and report it to Apple immediately.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Woody

79827373

Date: 2025-11-22 14:48:50
Score: 1
Natty:
Report link

For what it is worth: I have created an easy way to implement (semi) class assessors, see: https://github.com/iRon7/Use-ClassAccessors

Reasons:
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: iRon

79827358

Date: 2025-11-22 14:05:41
Score: 1.5
Natty:
Report link

First ensure that the problem is with the Visual studio and not the dotnet sdk by trying other IDEs such as Rider.
If the issue persists remove dotnet folder and reinstall the sdk and try again. In the end you can attempt repairing the visual studio as well.

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

79827353

Date: 2025-11-22 13:56:39
Score: 1.5
Natty:
Report link

POSIX shell menu

Here is how I will do this:

No, clear won't affect your input!

#!/bin/sh

number=-1
while true; do
    clear
    echo "------ M E N U ------"
    echo "1 - Primeira opção"
    echo "2 - Segunda opção"
    echo "3 - Terceira opção"
    echo "0 - Sair"

    while true; do
        printf 'Opção: '
        read -r number
        case $number in
                ''|*[!0-9]* )
                        echo "Input '$number' is not a number."
                        ;;
                * )
                        break
                        ;;
        esac
    done
    case $number in
            0 | 1 | 2 | 3 ) break ;;
    esac
    echo "Input $number is not in menu!"
    sleep 1.5 # time to read previous message before next `clear`.
done
echo "Você escolheu a opção $number"        

POSIX shell menu, using dialog or equivalents

From How do I prompt for Yes/No/Cancel input in a Linux shell script?

#!/bin/sh

number="$(
     dialog --menu 'Menu' 20 60 6 1 "Primeira opção" 2 "Segunda opção" \
         3 "Terceira opção" 0 "Sair" 2>&1 >/dev/tty
)"
echo "Você escolheu a opção $number"

dialog menu

POSIX shell menu, using fzf

Or using recent fzf utility:

#!/bin/sh

number="$(
  printf '0 - Sair\n3 - Terceira opção\n2 - Segunda opção\n1 - Primeira opção'|
      fzf)"

echo "Você escolheu a opção ${number%% *}"

enter image description here

Reasons:
  • Blacklisted phrase (1): How do I
  • Blacklisted phrase (3): Você
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: F. Hauri - Give Up GitHub

79827352

Date: 2025-11-22 13:50:37
Score: 1.5
Natty:
Report link

Turns out this is a confirmed bug in GCC. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122712

The attached patch contains a justification with a quite from the standard:

[module.global.frag] p3.3 says "A declaration D is decl-reachable from a declaration S in the same translation unit if ... S contains a dependent call E ([temp.dep]) and D is found by any name lookup performed for an expression synthesized from E by replacing each type-dependent argument or operand with a value of a placeholder type with no associated namespaces or entities".

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

79827351

Date: 2025-11-22 13:50:37
Score: 2.5
Natty:
Report link
boolean checkCollision(rect, circle)
{
    closest.x = circle.x;
    closest.y = circle.y;
 
    if (circle.x < rect.x)
        closest.x = rect.x;
    else if (circle.x > rect.x + rect.width)
        closest.x = rect.x + rect.width;
 
    if (circle.y < rect.y)
         closest.y = rect.y;
    else if (circle.y > rect.y + rect.height)
        closest.y = rect.y + rect.height;

    delta.x = circle.x - closest.x;
    delta.x = circle.y - closest.y;

    distanceSquared = delta.x * delta.x + delta.y * delta.y;
    radiusSquared = circle.radius * circle.radius;
    

    return distanceSquared <= radiusSquared;
}

For me this is much more clearer. Can anyone explain the other method, posted here? Sadly it did unformat my pseudo-code in the comment.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can anyone explain
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Stuepfnick

79827349

Date: 2025-11-22 13:48:37
Score: 0.5
Natty:
Report link

I’ve seen this issue before, and it wasn’t caused by a Redis write failure or data loss. The real problem was that Redis had run out of memory.
You can check this using the INFO command.
Follow is the example code.

If used_memory_human and maxmemory_human show the same value, it means Redis has reached its memory limit and can’t store any additional data.

import redis

# Connect to Redis
r = redis.Redis(
    host="your-redis-host",
    port=port_num,
    db=db_num
)


# Fetch memory usage
memory_info = r.info("memory")
usage = {
    "used_memory_human": memory_info.get("used_memory_human"),
    "maxmemory_human": memory_info.get("maxmemory_human")
}

print(usage)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: gianfranco de siena

79827342

Date: 2025-11-22 13:29:32
Score: 3.5
Natty:
Report link

Thank you so much, that REALLY helped and I know how to move forward now.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: iOSProgrammingIsFun

79827336

Date: 2025-11-22 13:25:31
Score: 1
Natty:
Report link

Navigate Identifier Occurrence

Just use the Navigate Identifier Occurrence plugin

I had some problems with "Identifier Highlighter Reloaded" because it uses Find Text to navigate

But the Navigate Identifier Occurrence is what it should be

You can change the keyboard shortcut as you wish in Settings>Keymap>Plugins>Navigate Identifier Occurrence

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

79827335

Date: 2025-11-22 13:22:30
Score: 1.5
Natty:
Report link

Is role() a function defined in the auth schema? As far as I know the auth schema on Supabase will only have auth.uid() defined by default. You could try auth.uid() is not null as your indicator that the user is authenticated. Or instead of defining it as a policy for 'public' define it for 'authenticated'

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: TY Mathers

79827332

Date: 2025-11-22 13:15:29
Score: 0.5
Natty:
Report link

The simplest version I can think of, works on bash and sh:

n=2
while [ $n -le 1000 ]; do
  d=2
  flag=1
  while [ $flag -eq 1 -a $((d*d)) -le $n ]; do
    if [ $((n % d)) -eq 0 ]; then
      flag=0
    else
      d=$((d+1))
    fi
  done
  if [ $flag -eq 1 ]; then
    echo $n
  fi
  n=$(( n + 1 ))
done
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: dariox

79827321

Date: 2025-11-22 12:54:24
Score: 3
Natty:
Report link

[tag:

--- command | Column A | Column B | | -------- | -------- | | Cell 1 | Cell 2

| Cell 3 | Cell 4 |

]

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Filler text (0.5): --------
  • Filler text (0): --------
  • Low reputation (1):
Posted by: prl.gtr. karempudi1

79827318

Date: 2025-11-22 12:40:22
Score: 1
Natty:
Report link

If you want to apply css styling in a .css file that is linked to a .razor page, then I have found the best way to do this is to use the psuedo css selector ::deep:

::deep .test {
    color: red;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abbie

79827314

Date: 2025-11-22 12:32:20
Score: 3.5
Natty:
Report link

The most accurate way to calculate is to store the NTP value in the RTCP reports that clients send to the server every few seconds.

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

79827310

Date: 2025-11-22 12:21:18
Score: 2.5
Natty:
Report link

mine was in monorepo setting, so I added AMPLIFY_MONOREPO_APP_ROOT env var to fix the issue.

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

79827302

Date: 2025-11-22 11:59:12
Score: 1
Natty:
Report link

It's actually much simpler with vargula. It is a python library that supports terminal text formatting with markup-like syntaxing. Here's what you need:

import vargula as vg
vg.write("<red>ONE</red> <blue>TWO</blue>")

Outputs like:

demo1

While the same, if you want them to be bold, you can do the following:

demo2

It also supports nested tags and defining your own styles. But for your current scenario, this should be sufficient.

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

79827294

Date: 2025-11-22 11:35:07
Score: 1
Natty:
Report link

Just leaving this here for anyone else experiencing the same issue.

Check your account’s EIP limit. Redshift automatically allocates EIPs, and if your account has reached its limit(in my case It's 5), the operation will silently fail both in the console and via CLI. Really frustrating issue.

I honestly don’t understand how such a serious issue has persisted for over three years.

https://repost.aws/knowledge-center/redshift-serverless-publicly-accessible

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

79827291

Date: 2025-11-22 11:29:05
Score: 2
Natty:
Report link

Thank you for pointing at Google decision deprecating XSLT 1.0. Proposed migration options have not already been tested for XSLTForms.

Applying the XSLT 1.0 stylesheet at server side is, of course, still possible depending on server capabilities.

Latest XSLTForms releases allow authors to directly insert XForms-like custom elements in HTML pages without needing XSLT 1.0 support at browser side.

Because XPath parsing has already been rewritten in Javascript in latest XSLTForms releases, the resulting lighter XSLT 1.0 stylesheet might also be rewritten in Javascript. For example, it might, then, be possible to mimic the IFRAME HTML element with a custom element to load XHTML+XForms as HTML+Javascript.

What would be your own use cases for migration?

Kind regards,

--Alain

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): regards
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: Alain Couthures

79827290

Date: 2025-11-22 11:26:04
Score: 3
Natty:
Report link

If your vba code has any big loops in it, try to add DoEvents command anywhere inside the loop. It will allow you to pause the code without crashing the excel or getting stuck

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

79827284

Date: 2025-11-22 11:21:03
Score: 11 🚩
Natty: 6.5
Report link

I was also stuck in the same Situation!, Called to PhonePe team also Raised an ticket too, waiting for the response.
Meanwhile Did you find any solution for this issue?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you find any solution
  • RegEx Blacklisted phrase (2): any solution for this issue?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Karthick dev

79827283

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

To match the reference screenshot, you need to use the Picker's label (title):

Picker("Sort direction", selection: $sortDirection) {
    Text("Oldest first").tag("asc")
    Text("Newest first").tag("desc")
}
.pickerStyle(.inline)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Firdavs Khaydar

79827275

Date: 2025-11-22 11:11:00
Score: 0.5
Natty:
Report link

This isn't exactly a fad, but I'm the creator of https://github.com/skinnyjames/hokusai-pocket, which can produce standalone GUI binaries with MRuby.

The Hokusai Pocket binary has commands for both running apps and publishing them. In order to publish you'll need docker installed. The app will be cross-compiled for x86 linux, windows, and osx. More architectures and platforms could be supported, but the build scripts will need to be updated.

Note: This is a ton of ground to cover, so there will be some weirdness, but since it's Ruby, generally everything can be patched anyway. Doing stuff with text can be a bit fickle at times, so I'm open to suggestions, but the good news is that you can roll all of your own components instead of just using built-ins.

Attached a demo of a paint program that I'm working on.

screenshot

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

79827273

Date: 2025-11-22 11:09:59
Score: 3.5
Natty:
Report link

You can do it using proxy and larvel server,,, intercepted larvel request in spa ,,,

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

79827271

Date: 2025-11-22 11:02:57
Score: 2.5
Natty:
Report link

It is very very unlikely but, you may try to use a phone that different that you've plugged in, which was my case

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

79827267

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

You can also just do it like this:

<input type="time" id="timepicker" onchange="timePassed(this.value)">
function timePassed(time) {
  console.log(`${time}`);
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nabeel Mansour

79827265

Date: 2025-11-22 10:47:54
Score: 1.5
Natty:
Report link

Why not simply?

{{(var1+', '+var2+', '+...+varN)
              .replace(', , ',', ')}}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Why not
  • High reputation (-2):
Posted by: Eliseo

79827252

Date: 2025-11-22 10:26:49
Score: 0.5
Natty:
Report link

The following code fixes the issue, however when one wants to make it nice maybe use pointers like the comments suggest.

use crossbeam::thread;
use std::cell::Cell;
use std::sync::Arc;
pub struct ThreadCell<T>(pub Cell<T>);
unsafe impl<T> Send for ThreadCell<T> {}
unsafe impl<T> Sync for ThreadCell<T> {}

struct Ship {
    hull: ThreadCell<f32>,
    info: Arc<ShipInfo>,
}
fn shoot(slicea: &[Ship],sliceb: &[Ship]){
// Shooting logic here
}

fn multishoot(slicea: &[Ship],sliceb: &[Ship]){
thread::scope(|s| {
    s.spawn(|_| {
        shoot(slicea, sliceb);
    });
    s.spawn(|_| {
        shoot(sliceb, slicea);
    });
})
.unwrap();
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: basicn00b

79827251

Date: 2025-11-22 10:26:49
Score: 2.5
Natty:
Report link

NeuroSama was made using the PyTorch python library, which is efficient because you have to implement this custom behavior and using elevenlabs will burn your monthly tokens blazingly fast, so i recommend you just learn Pytorch and how LLMs work this will make it easier

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

79827237

Date: 2025-11-22 10:05:45
Score: 2.5
Natty:
Report link

curl -X GET "https://graph.instagram.com/me?fields=id,username,account_type,user_id&access_token=YOUR_ACCESS_TOKEN_HERE"

this will work and you will get the user_id what you recieved from webhook

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

79827229

Date: 2025-11-22 09:35:38
Score: 3.5
Natty:
Report link

Same thing happened to me today. Eventually you can download VSC https://code.visualstudio.com/Download. You will not lose settings and extentions.

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

79827226

Date: 2025-11-22 09:25:36
Score: 4
Natty:
Report link

I did find a solution in the end - buy another board. The first one was faulty.

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

79827219

Date: 2025-11-22 09:09:33
Score: 2.5
Natty:
Report link

You can integrate a trained model into a React Native app by exporting it in a format suitable for mobile inference, like TensorFlow Lite (.tflite) or ONNX. Then, use libraries such as tfjs-react-native for TensorFlow models or appropriate ONNX runtimes for React Native to load and run the model on the device. Make sure to optimize the model for mobile performance to keep inference fast and efficient.

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

79827215

Date: 2025-11-22 09:02:31
Score: 2.5
Natty:
Report link

sir, you are not getting my point! I am working on a project , we are a team of 10 people! i am the part of the nav-alg team and i thought to test my algorithms in VARIOUS CONDITIONS i need a simulator. the questions you asked are not relevant to what i am asking! you have been talking about the physical structure and the challenges we can face, but that's the point of using a simulator, also you are giving me the harsh and adverse conditions, i was thinking of starting with gentle ones first and iterate the algorithms.Also, we have a faculty mentor who is helping with these problems you told me, we are not naive ,we know what we are doing.the number of sails, gusts, etc etc is problems we would face but rn, it didn't matter because rn we are trying to make a functional one.i am just working on software side asking some tech question, suggest me that .

Reasons:
  • Blacklisted phrase (0.5): i need
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: KANISHK KHANDELWAL

79827211

Date: 2025-11-22 08:55:29
Score: 2
Natty:
Report link

You should do result.append(value) instead of result = value. "result.append(value)" will add the value to the end of the "result" list, where "result = value" will assign value to the result variable.

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

79827206

Date: 2025-11-22 08:41:26
Score: 3.5
Natty:
Report link

My solution was to remove the problematic module and then re-import it.

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

79827204

Date: 2025-11-22 08:38:25
Score: 5
Natty: 4.5
Report link

Try using this script written in python https://github.com/nktfh100/gool-downloader

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

79827202

Date: 2025-11-22 08:33:23
Score: 1.5
Natty:
Report link

This is a related question How do I identify x86 vs. x86_64 at compile time in gcc? and Detecting CPU architecture compile-time

In addition to compiler defined macros you can inject information during the build process via custom macros.

Reasons:
  • Blacklisted phrase (1): How do I
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-2):
Posted by: 463035818_is_not_an_ai

79827198

Date: 2025-11-22 08:18:20
Score: 0.5
Natty:
Report link

@Harun24hr I've edited my original response as requested (see above). Also, I reviewed your formula again and modified portions of it as follows:

=LAMBDA(number,
    LET(
        num, ABS(number),
        int, INT(num),
        dec, ROUND(num - int, 2) * 100,
        txt, TEXT(int, "000000000000000"),
        one, {"One","Two","Three","Four","Five","Six","Seven","Eight","Nine","Ten","Eleven","Twelve","Thirteen","Fourteen","Fifteen","Sixteen","Seventeen","Eighteen","Nineteen"},
        ten, {"Ten","Twenty","Thirty","Forty","Fifty","Sixty","Seventy","Eighty","Ninety","Hundred"},
        cc, CHOOSECOLS,
        fn, LAMBDA(me,val,abr,[tri],
            IF(
                tri,
                IF(val > 99, me(me, --LEFT(val, 1), "Hundred ") & LAMBDA(vl, IF(vl,  me(me, vl, abr), abr))(--RIGHT(val, 2)), me(me, val, abr)),
                IFERROR(IF(val < 20, cc(one, val), cc(ten, LEFT(val, 1)) & "-" & IFERROR(cc(one, RIGHT(val, 1)), "")) & " " & abr & " ", "")
            )
        ),
        SPELL, LAMBDA(v,a,[t], fn(fn,v,a,t)),
        doll, CONCAT(MAP(--MID(txt, {1,4,7,10,13,14}, {3,3,3,3,1,2}), {"Trillion","Billion","Million","Thousand","Hundred",""}, {1,1,1,1,0,0}, SPELL)),
        cent, SPELL(dec, "Cent Only."),
        TRIM(IF(AND(doll <> "", cent <> ""), doll & " Dollar And " & cent, IF(doll = "", cent, doll & " Dollar Only.")))
    )
)

The most notable change I made was to merge SPELL and SPELL3 into a single recursive function with an optional [tri] argument to toggle between the two routines. I also updated the doll variable accordingly and renamed a few other variables. Other than that, I tried to stay as true as possible to your original function. Hopefully it works as expected.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Harun24hr
  • Looks like a comment (1):
Posted by: DjC

79827165

Date: 2025-11-22 07:06:04
Score: 1.5
Natty:
Report link

I had a similar problem where I could not detect the "STMicroelectronics Virtual COM Port" USB device.

I found out that the "cdc_acm" module was not running with the following command

'lsmod | grep cdc'

So then I ran

'sudo modprobe cdc_acm'

After this, in dmesg the device was seen and assigned to 'ttyACM0'

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

79827164

Date: 2025-11-22 07:05:03
Score: 1
Natty:
Report link

Switch to your new branch by using command :
git checkout x
and then command to add build file to .gitignore to untrack them from git which are currently tracked by it.
echo "build/" >> .gitignore

git rm -r --cached build/

but add actual file path at build/ which you want to untrack from git.

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

79827158

Date: 2025-11-22 06:53:00
Score: 4.5
Natty:
Report link

I want to start working in dynamic forms, you can say that it is a way to handle column names at run time. From my pov it is used to handle flexible data

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Taimoor Ahmad

79827154

Date: 2025-11-22 06:47:59
Score: 0.5
Natty:
Report link

It's difficult to anser your question, as it's asking about two different things at the same time and you've not provided any code that shows HOW you are getting the Issues; using which Jira API endpoints, what parameter values used and which Authentication method etc.

Jira's rate limits are calculated as a 'cost', based on activity over time for a particular access method based on the authentication type, so its a quantitive measure, which has nothing to do with getting Issues in any particular hierarchy order or depth.

As long as you get all the Issues you want at a reasonable rate, over a reasonable time, you'll not hit the rate limit. Just watch the API responses for the rate limit approach warnings and then 'back off' your requests to stay within the limit.

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

79827145

Date: 2025-11-22 06:33:55
Score: 2.5
Natty:
Report link

just use below function

SELECT XMLTOJSON(XMLTYPE('<xml><firstName>John</firstName><lastName>Smith</lastName></xml>')) AS json_output FROM DUAL;

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sravan Kumar Yanamandra

79827122

Date: 2025-11-22 05:26:42
Score: 3.5
Natty:
Report link

// Source - https://stackoverflow.com/q

// Posted by user877342, modified by community. See post 'Timeline' for change history

// Retrieved 2025-11-22, License - CC BY-SA 3.0

at ...

at android.os.Handler.handleCallback(Handler.java:587)

at android.os.Handler.dispatchMessage(Handler.java:92)

at android.os.Looper.loop(Looper.java:143)

at android.app.ActivityThread.main(ActivityThread.java:4306)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:507)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)

at dalvik.system.NativeStart.main(Native Method)

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • User mentioned (1): user877342
  • Low reputation (1):
Posted by: Siokon

79827121

Date: 2025-11-22 05:25:41
Score: 2.5
Natty:
Report link

I asked in the VSCode team (I can find the link in my github issues history if anybody is interested) but basically they said "No; it's complicated and that part isn't open source and we don't accept patches"

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

79827117

Date: 2025-11-22 05:05:38
Score: 2
Natty:
Report link

I assume that you are applying Feature-based structure for your project as it is the default structure of NestJS. It is good for small project and for the starting. However, when your project grows too big, your concern becomes a real challenge. If I were you, I will think about moving to Clean Architecture and DDD.

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

79827115

Date: 2025-11-22 05:01:37
Score: 1
Natty:
Report link

Why didn't you post this as a normal question? It's a simple answerable question, and not really open for discussion like this type of question is supposed to be fore.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Why didn't you post this as a
  • High reputation (-2):
Posted by: Some programmer dude

79827113

Date: 2025-11-22 04:58:36
Score: 2
Natty:
Report link

I looked at GPX - my idea is to do the minimum of data processing when recording the data, and to use GPX the NMEA strings would have to be decoded first. In addition each message in a stream could refer to a different object (ship) so these would not be routes or tracks, but a stream of not necessarily connected points. Also not all AIS sentences contain position data, but they all contain the MMSI of the source object. I'm not sure if there is any way to replay data like that.

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

79827108

Date: 2025-11-22 04:37:32
Score: 2.5
Natty:
Report link

🎛️🎛️🎛️💻1992 xyawhehdhdhshhshshdhqhsgegsgageggagsgqgdhahehdhsgdhshgshdhdhdhwhehwhshshshshshhwhdhshd hzhehhEhhshHss house ajzusydhshhahdhshehchshzhshahhshahahdhshwgdgshshsgshdhshshshsx

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

79827106

Date: 2025-11-22 04:31:31
Score: 3
Natty:
Report link

Have you tried GPX file format?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Stephen Quan

79827105

Date: 2025-11-22 04:29:30
Score: 3
Natty:
Report link

React supports sandbox backend. You need to classify the frequency in time. It's pure 3^6-1 on 24 hours sin(8) = 0.14

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

79827103

Date: 2025-11-22 04:23:28
Score: 1
Natty:
Report link

This is not safe according to rust aliasing rules. If mutable reference exists, then no other reference can exist. Here both mutable and immutable reference exists at same time. Although in different thread.

You can wrap every ship with arc mutex,then put arc in vector. Then clone the vector and send to thread.

Gamedev in pure rust generally uses some ecs library to manage resources due to these kind of problems.

I see that you are using unsafe keyword here. If you want to ignore rust safety and want to manually ensure safety in unsafe block, cast references to pointer and make shoot fn accept pointers. Then you can write c like code with pointers and everything that comes with it.

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

79827100

Date: 2025-11-22 04:16:27
Score: 2.5
Natty:
Report link

@Chris Maurer Yes, I do and improved few parts of the formula. I will test your formula also. Another good formula from @Djc.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Chris
  • User mentioned (0): @Djc
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: Harun24hr

79827090

Date: 2025-11-22 03:39:19
Score: 3
Natty:
Report link

Also, the VSCode extension itself should be compiler-agnostic. What problems do you specifically have with it? Perhaps ask a proper question about that instead?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: Some programmer dude

79827089

Date: 2025-11-22 03:39:18
Score: 5
Natty:
Report link

Are you trying to get the specific cpu model or just the cpu architecture?

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

79827079

Date: 2025-11-22 03:02:11
Score: 1
Natty:
Report link
import requests
from bs4 import BeautifulSoup

url = 'https://www.bbc.com/news'
response = requests.get(url)

soup = BeautifulSoup(response.text, 'html.parser')
headlines = soup.find('body').find_all('h3')
for x in headlines:
    print(x.text.strip())
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Masrat Khan

79827078

Date: 2025-11-22 02:49:08
Score: 1
Natty:
Report link

@Djc Nice! This is dlr,CONCAT(MAP(--MID(wd,{1,4,7,10,13,14},{3,3,3,3,1,2}),{"Trillion","Billion","Million","Thousand","Hundred",""},IF({1,1,1,1,0,0},SPELL3,SPELL),LAMBDA(v,a,fn,fn(v,a)))), definitely a improvement. Thanks for suggestions. I will tweak your formula to eliminate zero dollar and zero cent when there is no value. Or you can also do that for me.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @Djc
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: Harun24hr

79827077

Date: 2025-11-22 02:47:08
Score: 2.5
Natty:
Report link

Thank you for your respond NirajDota. here is my code to collecting the seatSections now.

private fun generateSeatsForTheater(
    theater: Theater,
    filledSeats: List<String>
): Map<String, Map<Int, List<Seat>>> {
    val seats = LinkedHashMap<String, Seat>(theater.columnCount * theater.rowCount)

    for (colIndex in 0 until theater.columnCount) {
        val rowLabel = ('A' + colIndex).toString()

        for (row in 1..theater.rowCount) {
            val seatId = "$rowLabel$row"

            val section = theater.sections.first {
                row - 1 in it.rowStart..it.rowEnd
            }

            seats[seatId] = Seat(
                id = seatId,
                row = rowLabel,
                column = row,
                sectionId = section.id,
                displayLabel = seatId,
                status = if (seatId in filledSeats) SeatStatus.UNAVAILABLE else SeatStatus.AVAILABLE
            )
        }
    }

    val seatSections = seats.values
        .groupBy { it.sectionId }
        .mapValues { (_, seatsInSection) ->
            seatsInSection
                .groupBy { it.column }
                .mapValues { (_, seatsInColumn) ->
                    seatsInColumn.sortedBy { it.row }
                }
                .toSortedMap()
        }

    return seatSections
}

I also use an items instead of item on my screen for now. I'll share my updated code below:

LazyRow(
    horizontalArrangement = Arrangement.spacedBy(16.dp),
    contentPadding = PaddingValues(horizontal = 24.dp)
) {
    items(uiState.seats.keys.toList(), key = { it }) { sectionId ->

        val columnMap = uiState.seats[sectionId]!!

        Row(horizontalArrangement = Arrangement.spacedBy(2.dp)) {

            columnMap.forEach { (_, seatsInColumn) ->
                Column(verticalArrangement = Arrangement.spacedBy(2.dp)) {
                    seatsInColumn.forEach { seat ->
                        SeatItem(
                            seat = seat,
                            status = seat.status,
                            onSeatSelected = onSelectSeat
                        )
                    }
                }
            }
        }
    }
}

After all this improvements, the laggy effect has been decreased but still have the laggy feel. How do u think about it?

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ahmad Zaqi