79082278

Date: 2024-10-13 02:14:37
Score: 1.5
Natty:
Report link

Hmm, I don't think asyncio is an attribute of websockets so maybe that's the reason? Have you tried using like an IDE just to verify websockets will import? I would think that would probably be a way to verify if there's an issue with the code versus if you're actually having an issue with package since it's clearly showing it's a package you have through PIP

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: freasible

79082273

Date: 2024-10-13 02:07:36
Score: 0.5
Natty:
Report link

From my perspective Blazor Server and Wasm are both considered SPA technologies. However, I find Blazor Server to be more akin to the "Islands" buzzword that is floating around the JS/SPA world now - aka - Island Architecture, you can find more about it here: https://rachsmith.com/wtf-is-an-island/ .

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

79082271

Date: 2024-10-13 02:05:35
Score: 1.5
Natty:
Report link

Please use actx_web::Result and Responder in your code.

Like this.

async fn auth(form: web::Json<Auth>) -> actix_web::Result<impl Responder>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kevin Cheng

79082266

Date: 2024-10-13 02:01:34
Score: 2
Natty:
Report link

I've just created this library Here, that solves this non-nullable issue you're seeing on this post. It was based on the source code of .NET MAUI it also has full support for Windows, Android, iOS and MacOS.

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

79082264

Date: 2024-10-13 01:58:34
Score: 1
Natty:
Report link

This may not be revelant, but for debian I have to install the following packages:

sudo apt install libxcb-cursor0 libxcb-icccm4 libxcb-keysyms1

I think for NixOS you need to find missing dependencies by:

ldd venv/lib/python3.11/site-packages/PySide6/Qt/plugins/platforms/libqxcb.so | grep -i "not found"

references: "qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found."

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

79082257

Date: 2024-10-13 01:48:32
Score: 5
Natty: 5
Report link

What is all this crap! All I want is to get back to the classic outlook for windows 10!

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What is
  • Low reputation (1):
Posted by: Nancy Walker

79082250

Date: 2024-10-13 01:38:30
Score: 2.5
Natty:
Report link

Nowadays, you could use

EF.Functions.DataLength

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

79082234

Date: 2024-10-13 01:16:26
Score: 1.5
Natty:
Report link

I also didn't realize that doing the one argument solution prohibits

std::vector<int> f()
{
    return {};
}

from compiling

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

79082232

Date: 2024-10-13 01:15:26
Score: 2
Natty:
Report link

If you're looking for a native DatePicker that supports nullable, check my package https://www.nuget.org/packages/NPicker here. It was created based on the source code of .NET MAUI and solves this non-nullable issue you're seeing here. It also has full support for Windows, Android, iOS and MacOS.

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

79082231

Date: 2024-10-13 01:13:25
Score: 6.5
Natty: 7.5
Report link

How can i assign bot to send out this message to channel?

Reasons:
  • Blacklisted phrase (0.5): How can i
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How can i as
  • Low reputation (1):
Posted by: Mann

79082229

Date: 2024-10-13 01:10:24
Score: 1.5
Natty:
Report link

In Symfony's Request::create method, headers should be specified using the correct server parameter keys. Specifically, the Content-Type header should be set as CONTENT_TYPE in the server parameters array, not Content-Type.

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

79082218

Date: 2024-10-13 01:00:22
Score: 3
Natty:
Report link

I am pretty sure you can more easily achieve this with data quality rules under the application section.

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

79082207

Date: 2024-10-13 00:51:20
Score: 0.5
Natty:
Report link

Is there a way to install it like any other python package, e.g. pip install graphviz.

Yes, graphviz is available on PyPi and can be installed by running:

pip install graphviz

It currently supports Python 3.8 - 3.12 and is OS Independent. See https://pypi.org/project/graphviz/#data

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): Is there a
  • High reputation (-1):
Posted by: 16171413

79082203

Date: 2024-10-13 00:46:19
Score: 2
Natty:
Report link

It's incredibly frustrating that I'm also encountering the same 429 Resource Exhausted error. I created a paid key in AI Studio, linked a credit card, and even pre-paid, yet I'm still experiencing frequency limitations. I reported this issue through AI Studio, but haven't received any response. I'm considering switching to OpenAI; this is completely baffling.

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

79082194

Date: 2024-10-13 00:39:18
Score: 6 🚩
Natty: 5.5
Report link

How many screenshots you take on average in a day?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: Rakesh Raj

79082186

Date: 2024-10-13 00:35:17
Score: 2.5
Natty:
Report link

I had a similar problem when I started using history.pushstate and discovered that it deletes the post data transferred for the page and refreshing gives the result of a get request without parameters.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Антон Сергиенко

79082173

Date: 2024-10-13 00:16:13
Score: 3
Natty:
Report link

Although the given answer did help fix the issue, I did encounter other problems down the line, and to avoid future issues, I ended up using the map controller with the provider, so it always initializes first, not to say this may not have its own issues as I currently only use it for map state.

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

79082164

Date: 2024-10-13 00:03:10
Score: 2
Natty:
Report link
steps:
- pwsh: Write-Output "##vso[build.updatebuildnumber]$($env:RESOURCES_PIPELINE_$(resources.triggeringAlias)_RUNNAME)"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Nelson Gibbons

79082160

Date: 2024-10-12 23:57:09
Score: 2
Natty:
Report link

If you're using Bitnami Wordpress Run this CLI command to move the file for apple pay domain verification to the correct location:

sudo mv /opt/bitnami/wordpress/.well-known/apple-developer-merchantid-domain-association /opt/bitnami/apps/letsencrypt/.well-known/apple-developer-merchantid-domain-association

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: J. Stuart Hill

79082159

Date: 2024-10-12 23:57:09
Score: 1
Natty:
Report link

Added to registrations_controller

  def new
    build_resource({})
    resource.build_profile # This ensures a Profile object is created for the user
    respond_with resource
  end

I needed to build the profile

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Ricky Mason

79082154

Date: 2024-10-12 23:54:08
Score: 1.5
Natty:
Report link

Here the task is to transfer unique form data in the current tab, which are not transferred by the get method, so that the same address in another tab does not receive them when the page is refreshed. Cookies are obviously not suitable here, since they work on this address in all tabs. I had a similar problem when I started using history.pushstate and discovered that it deletes the post data transferred for the page and refreshing gives the result of a get request without parameters.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Антон Сергиенко

79082151

Date: 2024-10-12 23:52:08
Score: 3.5
Natty:
Report link

Rebase key commands drove me nuts forever. I would type something, and all of a sudden it would be jumping around. The keys did not do what I wanted them to do. I would select a line and press a button and the keyboard just did not work right. It was an absolute nightmare learning how to type it. After a while, I got used to it, but with no one to show me and explain, it really was the worst thing in my history of programming. I was trying to rewrite a line, and it took me 7 hours to figure it out without any help. Then one guy comes over and looks and says. Oh, you need to press that button to do that, and if you touch that button, it will do this instead, so do not touch that. Nuts. They could have just made it a normal interface where you clicked an area and then you wrote in that area. It really needs a makeover; even today it still remains unchanged.

Reasons:
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1): any help
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: plasma toid

79082148

Date: 2024-10-12 23:42:07
Score: 1
Natty:
Report link

I am also experiencing difficulties accessing my Power Automate flows. While I can access OneDrive with my Hotmail account , I am unable to load my flows within the Power Automate environment. I have attempted logging out and back in with my Outlook account, and i don't have that issue.

I suspect there may be an ongoing issue with the Microsoft server or maybe something relate with Hotmail maybe..

In the meantime, to run the flow, you can recover it from your local files. This involves navigating to the following directory:

C:\Users{user}\AppData\Local\Microsoft\Power Automate Desktop\Console\Workspace

Please note that loading the recovered flow may take some time.

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

79082138

Date: 2024-10-12 23:35:05
Score: 2
Natty:
Report link

When diagnosing RDS instance connectivity issues there's a few layers to peel back.

  1. Is the instance using the correct subnets (public for public access, private for almost all other situations)
  2. Is the DB configured to be publically accessible if you're using public subnets
  3. Does your security group allow the connection you're trying
  4. Do you have the correct credentials

The first two are pretty easy to check in the AWS console, but the easiest possible way to test external connectivity is to test with telnet:

telnet my-db-hostname 3306

If you make a successful connection then you've established the following:

So if all that works, then the only possibility is you've got the wrong credentials. In your situation I think you're using the wrong username root, which should be admin if you're using aurora

p.s: You might want to modify your question and remove the hostname

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have the
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: AshleyJ

79082122

Date: 2024-10-12 23:21:03
Score: 3
Natty:
Report link

Use the DisplayMemberBinding and SelectedValueBinding properties instead. As these are bindings, you need to use {Binding somepath} in the xaml

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

79082120

Date: 2024-10-12 23:20:02
Score: 2.5
Natty:
Report link

If using concatenation remember to protect the ?? with brackets, otherwise the concatenation will happen first and then test the concatenated string for null

print "Hello " . null ?? "Anonymous";

-- "Hello"

print "Hello " . (null ?? "Anonymous");

-- "Hello Anonymous"

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

79082115

Date: 2024-10-12 23:17:02
Score: 0.5
Natty:
Report link

To really understand why you cannot change the value of tapCount, you'll need to do a bit of reading and gain a solid grasp on a number of Swift fundamentals, like value vs reference types, structs vs classes or this article on the same topic.

But, if you want to learn how it is done, rather than why it is done so, just know that in your code tapCount should be a @State and the increment function non-mutating. For some reading: Managing user interface state

Like this:

struct IncrementButton: View {
    
    @State private var tapCount = 0
        
        var body: some View {
            Button("Tap Count: \(tapCount)") {
                self.incrementCount()
            }
        }
        
        private func incrementCount() {
            self.tapCount += 1
        }
}
#Preview {
    IncrementButton()
}
Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrei G.

79082107

Date: 2024-10-12 23:12:00
Score: 3
Natty:
Report link

It might be because XSlate calls method in scalar context and would want an arrayref. Seems errors is returned as an array https://metacpan.org/release/GSHANK/HTML-FormHandler-0.40068/source/lib/HTML/FormHandler.pm#L506

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

79082105

Date: 2024-10-12 23:11:00
Score: 3
Natty:
Report link

If you need to choose an image without editing, just set the "allowsEditing" to false. It will skip the editin/crop step.

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

79082103

Date: 2024-10-12 23:11:00
Score: 2.5
Natty:
Report link

For anyone having this issue, mine was due to case sensitivity of the file name even after all permission issues were resolved. I got this error when I specified the filename for the Load XML command different from how it was uploaded to S3. Copying the filename as is from S3 to the command, fixed the error.

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

79082100

Date: 2024-10-12 23:06:59
Score: 3.5
Natty:
Report link

I also have a problem extracting the date/time part of a uuidv7 or generating it based on a hard coded date.

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

79082097

Date: 2024-10-12 23:05:59
Score: 2.5
Natty:
Report link

If you are using windows SQL Shell(psql) then use the following command to clear the window!!

! cls

This will clear the window !

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

79082094

Date: 2024-10-12 23:03:58
Score: 2.5
Natty:
Report link

Thanks.

I generated the POJO files by moving all the XSD files to the main/xsd directory and including it as the location in the plugin configuration.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Donald F. Coffin

79082089

Date: 2024-10-12 22:58:57
Score: 1
Natty:
Report link

you need to delete .git\index.lock (check by git update-index --really-refresh), and it's as easy as running rm .\.git\index.lock on Windows or the correct command for your OS. Then use git commands as normal.

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

79082085

Date: 2024-10-12 22:56:57
Score: 1
Natty:
Report link

Exactly the same error happened to me after installing the jupyter-markdown extension. It also produced another error when trying to run Jupyter Desktop application on the same environment. Was able to fix it by simply unninstalling the extension with

pip uninstall jupyter-markdown

Will try jupyter-myst instead (this looks very nice https://mystmd.org/guide/quickstart)

Reasons:
  • Blacklisted phrase (0.5): Exactly the same error
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Curu

79082081

Date: 2024-10-12 22:53:56
Score: 3
Natty:
Report link

Check the build directory if classpath.index exists. if it does. delete it and rebuild the project.

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

79082071

Date: 2024-10-12 22:48:55
Score: 3
Natty:
Report link

Thank you KIKO Software! I rewrite the question in more details as you clearly indicated. Thank you again. But adding "chown" does not prevent deleting file.....

Thank you Shingo. Thank you Peter. My problem is making "chmod" work.. It is not working,,,, Thank you ADyson. using 777 just for testing now..

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: kskang

79082067

Date: 2024-10-12 22:46:54
Score: 1.5
Natty:
Report link

Was having this on Windows 10 and Next.js 14.2.15 and getting console errors that said There are multiple modules with names that only differ in casing as well as the import trace issue. VS code defaults to Powershell so I switched from using VSCode integrated terminal to cmd in another window and that fixed it.

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

79082066

Date: 2024-10-12 22:46:54
Score: 0.5
Natty:
Report link

You should be able to solve it by changing method's parameter type from List<String> to String[]:

@Query(nativeQuery = true, value = "SELECT column1 FROM table1 WHERE column1 LIKE ANY(ARRAY[?1])")
List<String> example(String[] valores);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bohdan

79082065

Date: 2024-10-12 22:45:54
Score: 1.5
Natty:
Report link

I did share a project at github ( https://github.com/klux21/limitless_times ) that provides a several times faster and much less restricted implementation of many time functions including a portable and fast wrapper of localtime_r(). It ensures my logging to be fast like hell on all common platforms. The usage is free of charge except for weapons or spyware.

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

79082063

Date: 2024-10-12 22:44:54
Score: 2
Natty:
Report link

Was having this on Windows 10 and Next.js 14.2.15 and getting console errors that said There are multiple modules with names that only differ in casing. VS code defaults to Powershell so I switched from using VSCode integrated terminal to cmd in another window and that fixed it.

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

79082051

Date: 2024-10-12 22:33:52
Score: 0.5
Natty:
Report link

I made snippt for your code. It seems to be working?

$(document).ready(function () {
    const canvas = document.getElementById('canvas');
    const ctx = canvas.getContext('2d');
    const points = [];
    const routes = [];
    const pointRadius = 10;
    const gridSize = 60; // Spacing between points
    const numRows = Math.floor(canvas.width / gridSize);
    const numCols = Math.floor(canvas.height / gridSize);
    const animationDuration = 2000; // Total animation time (adjustable)

    // Function to draw a point
    function drawPoint(x, y, color = 'black') {
        ctx.beginPath();
        ctx.arc(x, y, pointRadius, 0, 2 * Math.PI);
        ctx.fillStyle = color;
        ctx.fill();
        ctx.strokeStyle = color;
        ctx.stroke();
    }

    // Function to draw the full curve from A to B
    function drawFullCurve(pointA, pointB, colorStart, colorEnd) {
        const midX = (pointA.x + pointB.x) / 2;
        const midY = (pointA.y + pointB.y) / 2 - 50; // Curve elevation

        const gradient = ctx.createLinearGradient(pointA.x, pointA.y, pointB.x, pointB.y);
        gradient.addColorStop(0, colorStart);
        gradient.addColorStop(1, colorEnd);

        ctx.beginPath();
        ctx.moveTo(pointA.x, pointA.y);
        ctx.quadraticCurveTo(midX, midY, pointB.x, pointB.y);
        ctx.strokeStyle = gradient;
        ctx.lineWidth = 2;
        ctx.stroke();
    }

    // Function to animate the reveal of the curve from A to B
    function animateCurve(pointA, pointB, colorStart, colorEnd, duration) {
        let startTime = performance.now();

        function animateStep(timestamp) {
            const elapsedTime = timestamp - startTime;
            const progress = Math.min(elapsedTime / duration, 1); // Progress from 0 to 1

            // Do not clear the entire canvas! Keep previous routes
            ctx.save();
            ctx.beginPath();
            ctx.moveTo(pointA.x, pointA.y);

            // Calculate intermediate position using linear interpolation
            const t = progress;
            const midX = (pointA.x + pointB.x) / 2;
            const midY = (pointA.y + pointB.y) / 2 - 50;

            const revealX = (1 - t) * ((1 - t) * pointA.x + t * midX) + t * ((1 - t) * midX + t * pointB.x);
            const revealY = (1 - t) * ((1 - t) * pointA.y + t * midY) + t * ((1 - t) * midY + t * pointB.y);

            ctx.quadraticCurveTo(midX, midY, revealX, revealY);
            ctx.clip();

            drawFullCurve(pointA, pointB, colorStart, colorEnd);

            ctx.restore();

            drawPoint(pointA.x, pointA.y, colorStart);
            drawPoint(pointB.x, pointB.y, colorEnd);

            if (progress < 1) {
                requestAnimationFrame(animateStep);
            }
        }

        requestAnimationFrame(animateStep);
    }

    // Generate points
    for (let i = 0; i < numRows; i++) {
        for (let j = 0; j < numCols; j++) {
            const x = i * gridSize + gridSize / 2;
            const y = j * gridSize + gridSize / 2;
            points.push({ x, y });
            drawPoint(x, y);
        }
    }

    // Generate 20 random routes
    function generateRandomRoutes() {
        for (let i = 0; i < 20; i++) {
            const startPoint = points[Math.floor(Math.random() * points.length)];
            const endPoint = points[Math.floor(Math.random() * points.length)];
            routes.push({ startPoint, endPoint });
        }
    }

    generateRandomRoutes();

    // Function to animate routes simultaneously
    function animateRoutes() {
        routes.forEach(route => {
            const colorStart = 'blue';
            const colorEnd = 'red';
            const { startPoint, endPoint } = route;

            // Execute the animation for each route without clearing the canvas
            animateCurve(startPoint, endPoint, colorStart, colorEnd, animationDuration);
        });
    }

    // Execute the animation of the routes
    animateRoutes();
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>

<canvas id="canvas" width="400" height="200"></canvas>

Reasons:
  • RegEx Blacklisted phrase (2): working?
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: IT goldman

79082045

Date: 2024-10-12 22:23:51
Score: 4
Natty:
Report link

Refer to the following link for generating verilog hierarchy

https://youtu.be/v47HgBfoQGA

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: satish kadaba

79082044

Date: 2024-10-12 22:22:50
Score: 1.5
Natty:
Report link

I remember in the old days, we had a little thing we used to call the NCR Tower XP. I was brought in as a consultant to see if I could improve the performance of some of the customer's more important reports. The first hour I was there, I changed any variable used for loop counters from int to register int. Instant 40% performance boost. I continued to work the problem for another week or so, and presented the client with my results. They were suitably impressed. Those were the days, my friends. When data processing staff were considered just a half-level below Wizard.

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

79082037

Date: 2024-10-12 22:20:50
Score: 3
Natty:
Report link

try pylingual.io - it can decompile .pyc from Python ver.3.12 / not perfect, but mostly working. I am more fighting with PyArmor obfuscation...

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

79082036

Date: 2024-10-12 22:19:49
Score: 3
Natty:
Report link

that was very useful after, it works with my , upload.feilds() doesn't work properly, it was received the first file for specific field and ingoner the second field

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

79082029

Date: 2024-10-12 22:16:49
Score: 2
Natty:
Report link

I made a tutorial to get Java Swing with Graphics working for my students and other teachers. I hope this helps! https://apps.mvhs.io/resources/codespaces/

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ly Nguyen

79082018

Date: 2024-10-12 22:06:46
Score: 2
Natty:
Report link

If you're looking for a native DatePicker that supports nullable, check this package https://github.com/ederbond/NPicker It was created based on the source code of .NET MAUI and fixes the non-nullable issue of that built-in control still has. Full support for Windows, Android, iOS and MacOS

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

79082013

Date: 2024-10-12 22:00:45
Score: 5.5
Natty:
Report link

I'm in the same situation and still can't find a solution haha...

Reasons:
  • RegEx Blacklisted phrase (2): can't find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Leonardo Citton

79082009

Date: 2024-10-12 21:58:44
Score: 1.5
Natty:
Report link

In general, images aren't bundled with JavaScript. Depending on your configuration, Webpack will "copy" it to the build folder for you, so you just have to deploy 1 folder.

You can still use some plugins to make Webpack optimize your images during the build process.

Try to build your app and check the results to see if the images are there.

If not, you either have to install a webpack plugin, or add a command to copy the images to the build folder.

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

79081997

Date: 2024-10-12 21:49:43
Score: 0.5
Natty:
Report link

Puppeteer uses CSS selectors, which do not support regex.

You can try something like this, and it should work:

const selector = '#9538-0';

If the name always appears first in the DOM, you could also use a positional CSS selector.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Juanma Rodríguez

79081990

Date: 2024-10-12 21:45:41
Score: 5.5
Natty: 6
Report link

This guide will help you disable the Phantom Process Killer using adb over wireless debugging to prevent these processes from being killed.

https://github.com/emseh/rails-on-termux?tab=readme-ov-file#phantom-processes-killed-process-completed-signal-9---press-enter-in-android-12--13

Reasons:
  • Blacklisted phrase (1): This guide
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: emseh

79081989

Date: 2024-10-12 21:45:41
Score: 1
Natty:
Report link

While I have not dug too much into dealing with the Runspaces from C# (I have found the documentation pretty lacking), my best guess is that PowerShell remote sessions are not going to be able to execute your local code. When trying to perform a similar operation purely in PowerShell, it can only load modules that already reside on the remote computer. It will marshal data and script blocks across the network, but not code. This would be partly why when you receive a marshalled object, it is stripped of all methods (and is technically a wrapper type, not the original type). You are attempting to marshal a local type across the network to be used on the remote session and the PowerShell infrastructure is not meant to do that.

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

79081987

Date: 2024-10-12 21:42:41
Score: 1.5
Natty:
Report link

Taking into account the suggestions above I am going to guess it has something to do with file permissions. When trying to save this file directly to a root directory of my computer I get the same error. I suggest you investigate the following (as per suggestions above):

Reasons:
  • RegEx Blacklisted phrase (1): I get the same error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I get the same error
  • High reputation (-1):
Posted by: Michal

79081983

Date: 2024-10-12 21:40:40
Score: 1
Natty:
Report link

This page shows one way to accomplish this: https://www.projectpro.io/recipes/use-spacy-lemmatizer

Here is my modified function:

def to_lemma(text):
    tp = nlp(text)
    return " ".join([word.lemma_ for word in tp])
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Patrick

79081982

Date: 2024-10-12 21:40:40
Score: 1
Natty:
Report link

Your syntax might not be supported by VSCode, as the match-case syntax here is only supported by Python 3.10 and later. You should check your python version like this:

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

79081979

Date: 2024-10-12 21:38:40
Score: 0.5
Natty:
Report link

the MissingAbilityException is passed to the AccessDeniedHttpException, this one is inherits from some other Exception classes and more importantly from the RuntimeException class. The MissingAbilityException is passed up all the levels until it reaches the RuntimeException and you can (should, as i have not tested myself) access it with the getPrevious() method.

So you would still catch the AccessDeniedHttpException $e, but you can access the MissingAbilityException by doing $e->getPrevious();

Reasons:
  • No code block (0.5):
Posted by: suxgri

79081971

Date: 2024-10-12 21:34:39
Score: 2.5
Natty:
Report link

You can do echo "print('hello world')" | Rscript --slave -

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

79081965

Date: 2024-10-12 21:30:38
Score: 2
Natty:
Report link

1

2 <pathInterpolator

xmlns:android="http://schemas.android.com/apk /res/android" android:controlX1="0.4"

android:controlY1="0.0"

android:controlX2="1.0"

android:controlY2="1.0" />

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Md সবুজ

79081961

Date: 2024-10-12 21:27:37
Score: 1
Natty:
Report link

The solution of jfgiraud can be slightly modified when you have problem with the mapfile:
To set an array variable from any source that generates one file name per line use:
IFS=$'\n' avar=( $(ls -1) )
or
IFS=$'\n' avar =( $( < listOfFiles.txt) )
etc.
Then use the variable $avar in argument list as "${avar[@]}"
To see the proper argument parsing try: printf "%s\n" "${avar[@]}"
Particularly, for the given question it would be read as :
IFS=$'\n' files =( $( < listOfFiles.txt) ) ; grep 'regex' -- "${files[@]}"
Note:

  1. If the count of elements in $avar exceeds the argument count system limit use repeated bash "Substring Expansion" e.g. "${avar[@]:offset:length}"
  2. The last grep option -- is useful when the file list may contain a names with hyphen as the first letter.
  3. Windows line ending '\r\n' may be correctly processed by eliminating '\r' right in the generator, e.g.
    $( tr -d '\r' <listOfFiles.txt )
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: kazo

79081958

Date: 2024-10-12 21:25:36
Score: 0.5
Natty:
Report link

The syntax for variables is {{ myVar }}

The syntax for expressions such as if and for is {% if ... %}

Thus, instead of writing {{% %}}, you should go with {% %} which is the appropriate syntax.

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

79081957

Date: 2024-10-12 21:25:36
Score: 4
Natty: 4.5
Report link

Yeah, sadly, CollectionView is broken for Windows apps:

https://github.com/dotnet/maui/issues/23684

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

79081945

Date: 2024-10-12 21:17:34
Score: 2
Natty:
Report link

When you create a database, Access assigns a default project name. This name is the same in every database, hence the name conflict error. In the VBA Editor in either database, go into Tools -> Database Properties and change the Project Name to something else. You can now set a reference to the other database without experiencing that error.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: BobS

79081939

Date: 2024-10-12 21:14:34
Score: 2.5
Natty:
Report link

In my case the Python program will run one or more times, then stop running.

If I quit and restart vscode, the program runs. Not sure what problem is.

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

79081934

Date: 2024-10-12 21:11:33
Score: 1.5
Natty:
Report link

I have just solved the problem by adding the following code in build.gradle.kts

plugins {
    ...

}
buildscript {
    dependencies {
        classpath(libs.oss.licenses.plugin)
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Timo S.

79081926

Date: 2024-10-12 21:09:32
Score: 0.5
Natty:
Report link

This is the first time I've had this problem on my Mac,

brew install icu4c@75

brew link icu4c@75 --force

and then

`sudo ICU_VERSION=75 pip3 install pyicu`

Solved for me. macOS 14.6.1

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

79081913

Date: 2024-10-12 20:58:30
Score: 3
Natty:
Report link

Instead on using GridSearch, I suggest you to use Keras Tuner

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

79081911

Date: 2024-10-12 20:58:30
Score: 1
Natty:
Report link

Yes, it creates a connection to S3 and returns a reference to the object. The actual data transfer happens when you use await body.read().

Regarding your second question: once you call get_object and receive the response (which includes the object's Body), that response represents the version of the file that existed at the time the request was made. This means that subsequent read calls on the Body will continue to retrieve data from the version that existed when you made the initial get_object call.

Even if a new version of the object is uploaded to S3 while you're in the process of reading, your read operation will still continue from the original version of the object. In S3, the version you get is "locked in" at the time you request it.

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

79081905

Date: 2024-10-12 20:51:28
Score: 1
Natty:
Report link

In our setup we have a Network Load Balancer (NLB) that forwards traffic to the Application Load Balancer (ALB). In order for the ECS Service (private Subnet which contains an inbound rule for NAT Gateway) to perform the Health Check it needed to call an external endpoint (out), then get a response (in).

The solve was to add an inbound entry to the NLB > Security Group for HTTPS port on the NAT Gateway IP.

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

79081899

Date: 2024-10-12 20:49:28
Score: 1.5
Natty:
Report link

If you like to achieve that w/o writing specific scripts, for 1 time semi-manual (1 clicked for auto pagination deletion) and if you have permission to manage that from the was console.

you can use this Chrome Extension: https://chromewebstore.google.com/detail/dynamodb-auto-delete/oiicbadbamlhijkjildbhamionnbdaia?authuser=0&hl=en&pli=1

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

79081898

Date: 2024-10-12 20:49:28
Score: 2
Natty:
Report link

If you're looking for a native DatePicker that supports nullable, check this package https://www.nuget.org/packages/NPicker It was created based on the source code of .NET MAUI and fixes the non-nullable issue of that built-in control still has. Full support for Windows, Android, iOS and MacOS

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

79081880

Date: 2024-10-12 20:40:25
Score: 2
Natty:
Report link

I've been trying to send a push notification through Postman for two days, but for some reason, it hasn't worked. Then I came across the Google OAuth Playground which offers tools to send push notifications via HTTP requests. I wrote a guide on Medium to help others set up the playground and get it working for push notifications.

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

79081877

Date: 2024-10-12 20:40:25
Score: 2.5
Natty:
Report link

For cors to be included in your responses, you'll need to add it to your middlewares too. Considering you haven't added it, as it is not mentioned in the code snippets, You can follow the guide here: https://www.geeksforgeeks.org/how-to-enable-cors-headers-in-your-django-project/

For reading further info on how CORS middleware works in django, you can go through the resources mentioned in this answer: https://stackoverflow.com/a/35761088/11539362

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • No code block (0.5):
  • Low reputation (1):
Posted by: Da Scientist

79081870

Date: 2024-10-12 20:38:25
Score: 3
Natty:
Report link

As I don't have the needed 50 reputation I am just gonna leave a comment like this...

I have tried to use @EvanTrow code and it started to work after I made a small change (Oct. 2024):

// ❌ Does not work:
const {data, error} = await query();
    
// ✅ Works:
const {data, error} = await query;

I hope this small addition helps others in the future!

Reasons:
  • RegEx Blacklisted phrase (1.5): 50 reputation
  • Has code block (-0.5):
  • User mentioned (1): @EvanTrow
  • Low reputation (1):
Posted by: Jonathan

79081857

Date: 2024-10-12 20:31:24
Score: 0.5
Natty:
Report link

Via https://github.com/distribution/distribution/issues/1203 I found that the name should be library/postgres instead of postgres.

With such a token it is possible to do more requests like

curl --oauth2-bearer eyJhbGciO... \
  -X GET \
  https://registry-1.docker.io/v2/library/postgres/tags/list
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Erik van Velzen

79081855

Date: 2024-10-12 20:30:23
Score: 1.5
Natty:
Report link

sys/resource.h is a POSIX header file, so you will not find it on windows.

I recommend you to use cygwin. Make sure in the installation that you add the cygwin-devel package, as it is the one that contains sys/resource.h.

The default location is C:\cygwin64\usr\include\sys\resource.h.

An older but related question can be found here.

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

79081847

Date: 2024-10-12 20:26:22
Score: 2.5
Natty:
Report link

I was missing the comma before "exclude", very silly.

},
"exclude":[],
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: E F

79081843

Date: 2024-10-12 20:25:22
Score: 1
Natty:
Report link

This is still not right. The code:

CurrentValue <= 1e6, "#,0,.0K"

Displays K in cell when gou export the data to excel or use it in chart. K, M should only be shown as display texts not as part of value.

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

79081842

Date: 2024-10-12 20:25:22
Score: 1
Natty:
Report link

This is what worked for me:

  1. in file android/build.gradle, added inside ext block: soLoaderVersion = "0.10.4+"

  2. in file android/app/build.gradle, added inside dependencies block: implementation "com.facebook.soloader:soloader:$soLoaderVersion"

credit: https://medium.com/@enginergen/react-native-application-freezes-crashes-samsung-galaxy-s24-devices-7620ad42aa16

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Moshe Dolev

79081839

Date: 2024-10-12 20:24:22
Score: 0.5
Natty:
Report link

/bin/bash didn't work for me, used sh instead:

sudo docker exec -it containerid sh
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): did
  • High reputation (-1):
Posted by: parsecer

79081836

Date: 2024-10-12 20:22:22
Score: 2
Natty:
Report link

page.compress_content_streams uses zlib.compress and supports the level parameter: level=0 means no compression, level=9 refers to the highest compression.

Using this method, we have seen a reduction by 70% (from 11.8 MB to 3.5 MB) with a real PDF.

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

79081834

Date: 2024-10-12 20:22:22
Score: 1
Natty:
Report link

I finally caught it.

One can freely load the dynamic library as I described in my question. When it comes to the 0 __abort_with_payload point, the issue is solved by not having neither "App Sandbox" nor "Hardened Runtime" in the project settings (select .xcodeproj file) under "Signing and Capabilities". The same can be achieved by having a <projectname>.entitlements file.

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

79081827

Date: 2024-10-12 20:19:21
Score: 5.5
Natty:
Report link

When I did this with two local repos that I know to be almost identical, I still got a result file that was almost 400KB - basically impossible to interpret.

C:\Windows\System32>git diff --no-index -- C:\src\PrusaSlicer C:\draftshld\PrusaSlicer > C:\draftshld\PrusaSlicer\mydiff.txt

Any idea what I did wrong here?

TIA,

Frank

Reasons:
  • RegEx Blacklisted phrase (2): TIA
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): When I
  • Low reputation (0.5):
Posted by: user3765883

79081812

Date: 2024-10-12 20:10:19
Score: 3.5
Natty:
Report link

For Android security, it cannot be set automatically on some phones, it only redirects to the application screen.

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

79081811

Date: 2024-10-12 20:09:18
Score: 1.5
Natty:
Report link

If you like to achieve that w/o writing specific scripts, for 1 time semi-manual (1 clicked for auto pagination deletion) and if you have permission to manage that from the was console.

you can use this Chrome Extension: https://chromewebstore.google.com/detail/dynamodb-auto-delete/oiicbadbamlhijkjildbhamionnbdaia?authuser=0&hl=en&pli=1

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

79081801

Date: 2024-10-12 20:02:17
Score: 4
Natty:
Report link

Fixes are as described above in original post

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

79081797

Date: 2024-10-12 19:59:16
Score: 1
Natty:
Report link

[SOLVED]

I've resolved creating a Bean of type ObjectMapper instead of passing it to the JsonSerializer constructor during the DefaultKafkaProducerFactory Bean definition.

@Configuration
public class ObjectMapperConfig {
    @Bean
    @Primary
    public ObjectMapper objectMapper() {
        ObjectMapper mapper = new ObjectMapper();
        mapper.setVisibility(PropertyAccessor.FIELD, JsonAutoDetect.Visibility.ANY);
        return mapper;
    }
}

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

79081794

Date: 2024-10-12 19:58:16
Score: 1.5
Natty:
Report link

Just to add another potential answer for someone,

For me it ended up being that I had called my function lambdaHandler() instead of lambda_handler(), which it was looking for.

CloudWatch logs showed me that. (I was in Python, not Node)

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

79081791

Date: 2024-10-12 19:56:14
Score: 7.5 🚩
Natty: 5.5
Report link

How can i use the formio on react-native. please help

Reasons:
  • Blacklisted phrase (0.5): How can i
  • RegEx Blacklisted phrase (3): please help
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How can i use the for
  • Low reputation (1):
Posted by: Yonas

79081789

Date: 2024-10-12 19:56:14
Score: 2
Natty:
Report link

In the following article, you can see how to dynamically set the target db connection string and Logger (namespaces) to log. https://www.c-sharpcorner.com/article/learn-nlog-advanced-usage/

In the current version of NLog, it is a thread-safe or rather a per-request safe because each request will have its own instance of the Logger class.

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

79081774

Date: 2024-10-12 19:49:13
Score: 0.5
Natty:
Report link

everything worked for me when i used the ToasterContainer with self closing tag like this :

<ToasterContainer/>
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Matansaban

79081770

Date: 2024-10-12 19:48:12
Score: 9 🚩
Natty: 6.5
Report link

I also facing this error while using a holistic model of mediapipe. What should i do? How can i install the updated version?

Reasons:
  • Blacklisted phrase (0.5): How can i
  • Blacklisted phrase (1): also facing this
  • Blacklisted phrase (2): What should i do
  • RegEx Blacklisted phrase (1): I also facing this error
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Gitesh Pal

79081767

Date: 2024-10-12 19:47:11
Score: 2.5
Natty:
Report link

To add a comment to @netMage: It is possible. Not the way you describe but it is. And it's f...in fast! Imagine you can search through ZIP files in any depth you want: Filenames? Yes Content? Yes Recursive archive structure? Yes Without decompression for the search.

and if you found it a quick decompression of that little data set on the fly and shown to you like the original file. What would you be willing to pay for such a software? In the app store for example? You could compress everything lossless and hold it like this...

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @netMage
  • Low reputation (1):
Posted by: Gregory House

79081763

Date: 2024-10-12 19:46:11
Score: 0.5
Natty:
Report link

the accepted answer is outdated.

today, the correct answer would be to use the is pseudo-class which is now supported by all browsers:

support for is:

p {
  margin: 0;
}

:is(p, div) + :is(p, div) {
  margin-top: 24px;
}
<p>lorem ipsum</p>
<div>hello</div>
<p>consecetur loremis pestillis</p>
<div>world</div

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

79081756

Date: 2024-10-12 19:41:10
Score: 0.5
Natty:
Report link

You can inspect from the record metadata if a record is marked for deletion.

Example, when you have an employee record with empno '7902', which is the primary key:

let model = apex.region('ig_emp').call('getViews').grid.model;
let isDeleted = model.getRecordMetadata('7902').deleted || false;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Karel Ekema

79081753

Date: 2024-10-12 19:40:09
Score: 1
Natty:
Report link

I want to offer you to use time.parser option instead of modifying the data:

time: {
    unit: "hour",
    displayFormats: {
      hour: "HH:mm"
    }
  },
  parser: (value: Date) => {
    return new Date(
      value.getUTCFullYear(),
      value.getUTCMonth(),
      value.getUTCDate(),
      value.getUTCHours(),
      value.getUTCMinutes(),
      value.getUTCSeconds()
    );
  }
}```
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Boris

79081733

Date: 2024-10-12 19:25:06
Score: 5.5
Natty: 4.5
Report link

Open the Settings on the projects screen (click this link to see screenshot)

Change the Vm Options with K2=false (link for screenshot)

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Artem Samoshkin

79081727

Date: 2024-10-12 19:21:05
Score: 2
Natty:
Report link

"If you're looking for a premade horror mansion asset, there are a few great options on the Unity Asset Store, but sometimes it's tough to find exactly what you need. You could also explore sites like Sketchfab for 3D models. If you have the time, creating your own could give you more control over the atmosphere and design. For some spooky inspiration, you might want to check out some horror stories online to really capture the mood you're aiming for in your game!"

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

79081709

Date: 2024-10-12 19:10:03
Score: 1.5
Natty:
Report link

Install is install. You can invoke custom code during install with https://cmake.org/cmake/help/latest/command/install.html#script .

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

79081702

Date: 2024-10-12 19:07:02
Score: 0.5
Natty:
Report link

More recently, this has worked for me; however you need to watch for browser compatabilty.

document.addEventListener('visibilitychange', function() {
  if (document.hidden) {
    // Perform logout action here
    // window.location.href = 'logout.php'; 
  }
});

https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilitychange_event

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mike