79537969

Date: 2025-03-27 06:13:23
Score: 0.5
Natty:
Report link

Firstly, do NOT directly use types.CodeType and use pyobject.Code instead, as constructing types.CodeType is too complex and not compatible across multiple Python versions.
The pyobject library, which can be installed via pip install pyobject, provides a high-level wrapper for code objects.

According to devguide.python.org, Python 3.11 introduced _co_code_adaptive attribute for code objects: devguide.python.org/internals/interpreter

E:\>py311
Python 3.11.8 (tags/v3.11.8:db85d51, Feb  6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyobject import Code
>>> import random
>>> def f(a):return a+1
...
>>> c=Code(f.__code__)
>>> new_co_code = bytes([random.randint(0, 255) for _ in range(24)])
>>> new_c=c.copy()
>>> new_c.co_code=new_co_code
>>> new_c._code.co_code
b'2R\xaf\x19X\xd1\x00\xa1}P\x00M2\xf5z\xed\x00\x00\xab\xbf\x00\x00\x00\x00'
>>> new_c._code._co_code_adaptive
b'2R\xaf\x19X\xd1\xdb\xa1}P\xc3M2\xf5\x06\xed%\xeb\xab\xbf\x18\x0f*\xff'
>>>

The inputted co_code attribute is stored in _co_code_adaptive, while the decoded bytecode is stored in co_code.

Note: I'm the original developer of pyobject.

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

79537968

Date: 2025-03-27 06:13:23
Score: 3
Natty:
Report link

Thank you it worked! Had to use the iff statement but didn't create new tables.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): it worked
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: user3822558

79537961

Date: 2025-03-27 06:10:23
Score: 1.5
Natty:
Report link

createVisual is a Report authoring API which is not present in "powerbi-client" package. You need to install powerbi-report-authoring package to use that API.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is a
Posted by: Kotana Sai

79537955

Date: 2025-03-27 06:08:22
Score: 3
Natty:
Report link

thanks for sharing with us some snippets of code. To let us help you faster, could you present a minimum reproducible code? We aren't sure how the views were created and arranged so it's hard to answer right away. I'll edit my answer once I test it out.

In the meantime, you can follow @workingdog's suggestion on using @Binding instead of @State:

/// Binding vars getting from the View Calling this View
    @Binding var methods: [TapasAsana]
    @Binding var type: timerType
    @Binding var recoupExecutions: Int

After a lot of research it seemed that the Device gets overwhelmed trying to initialise all these State Variables. As the MacBook has more resources it won't freeze.

Also, you should use the debugging tools XCode has, such as Instruments or the debug navigator on the left panel to identify other objects that may be eating resources during runtime.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (2): thanks for sharing
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: UnstoppableWil

79537951

Date: 2025-03-27 06:06:22
Score: 2.5
Natty:
Report link

for the
1. make sure that your scripts have the same py version as your venv, or make sure that there's compatibility between the interpreters used for the scripts and the interpreter in the venv.

2. github codesapces?? although ive never extensively tried them myself, but it might work.

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

79537945

Date: 2025-03-27 06:05:21
Score: 2.5
Natty:
Report link

Remove "justify-content: start" from the "form-field" class Add "margin-left: auto" to "btn-primary" it will fixed this alignment

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

79537930

Date: 2025-03-27 05:59:20
Score: 1.5
Natty:
Report link

Developing Windows/desktop applications is still important for many businesses. Here are some key reasons:

  1. Better Performance – Desktop applications work faster than web apps because they run directly on the system.

  2. Offline Access – No internet? No problem! Desktop apps can work without an internet connection.

  3. Security & Privacy – Data is stored on the local system, making it more secure than cloud-based solutions.

  4. Customization – Businesses can customize desktop applications as per their needs.

  5. Hardware Integration – Some applications need direct access to hardware like printers, scanners, or biometric devices, which is easier with desktop apps.

  6. Long-Term Stability – Unlike web apps, desktop applications do not crash due to browser updates or internet issues.

At DQOT Solutions, we specialize in developing powerful desktop applications for businesses. Whether it's ERP, CRM, or custom software, we provide the best solutions tailored to your needs.

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

79537927

Date: 2025-03-27 05:58:19
Score: 4.5
Natty: 4
Report link

Bro have u solved it?
I changed my contrained property to false and it somehow solved the issue.

Reasons:
  • RegEx Blacklisted phrase (1.5): solved it?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: dartmyass

79537926

Date: 2025-03-27 05:57:19
Score: 1
Natty:
Report link

SOLVED

I've use the PUBLIC_ACCESS to make the login and register page accesable without login. This in working now

    access_control:
        - { path: ^/login, roles: PUBLIC_ACCESS }
        - { path: ^/logout, roles: PUBLIC_ACCESS }
        - { path: ^/register, roles: PUBLIC_ACCESS }

        - { path: ^/, roles: IS_AUTHENTICATED_FULLY }
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Csaba Vörös

79537921

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

You Can do this but you need to convert your instructions into geographic coordinates. For example purposes, let’s assume you have these coordinates (you would normally obtain these by geocoding your milepost or known points)

Start - Iowa border at US-61 (e.g., LatLng(42.0, -91.0))

North Point - 16.3 miles north (e.g., LatLng(42.15, -91.0))

Turn Point - Intersection with WI-133 (e.g., LatLng(42.15, -91.02))

End of Outbound - Potosi (e.g., LatLng(42.16, -91.02))

Return Trip - You can reverse these coordinates or define them as needed.

Insted of the instructions you need to send pints from where to where the google map build the map for you according to those points is this help

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

79537908

Date: 2025-03-27 05:48:16
Score: 7 🚩
Natty: 4
Report link

Did you ever end up solving this problem? I'm running into the same issue extracting zip files in ios using expo and JSZIP. The UI locks up while loading the zip.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: ayebearbear

79537906

Date: 2025-03-27 05:46:16
Score: 2.5
Natty:
Report link

Yes it supports, navigate to realtime data collection interface on web, you have manual capture there.

Inspect element and see the POST it does

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

79537905

Date: 2025-03-27 05:46:16
Score: 3.5
Natty:
Report link

you can check this here full details with the version compatibility
https://github.com/dotnet/runtime/issues/24897

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

79537895

Date: 2025-03-27 05:39:15
Score: 1
Natty:
Report link

I would strongly recommend moving the authentication state away from client-side storage like localStorage.

Client-side storage like localStorage and sessionStorage can be manipulated easily by users, which is why relying on them for sensitive information like authentication status is not secure.

My opinion, if you're starting, try implementing cookies for 2FA AuthManagement.

After successful completion of first layer authentication, set a flag like 'is2FAPending' and set it to true in initialState. This should be set in the backend cookies. Then redirect to the 2FA Page.

I don't know the backend technology you're using, but if you are using Express.js, you can set the cookie inside session().

You can refer this guide to setup:
https://www.geeksforgeeks.org/how-to-manage-sessions-and-cookies-in-express-js/

After successful completion of 2FA set the flag to false and redirect to a Protected Layout which sends a request and check the cookie/session for the state of is2FAPending == false/true

Hope this answers your question!

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mohammed Khalid S

79537886

Date: 2025-03-27 05:31:13
Score: 3.5
Natty:
Report link

Its scary just how bad this advice is

Its scary that there are people out their purporting to be experts with zero clue

THIS WILL NOT WORK IF YOU HAVE DIMENSIONS JOINED TO YOUR FACT - IT ONLY WORKS IF EVERYTHING IS IN THE SAME TABLE

IT WILL NOT WORK IF YOU USE SLICERS

HOW DO YOU PEOPLE EVEN GET WORK

Reasons:
  • Blacklisted phrase (1): HOW DO YOU
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: No one

79537884

Date: 2025-03-27 05:28:13
Score: 3.5
Natty:
Report link

First of all, I have a question, why are you using pointers to store iterators instead of vector?

Now about your question, in c++ sometimes you can dereference an iterator like .end(), but it can cause undefined behavior, so it is not recommended, in your situation, the variable referencing to your .end() could've been initialized before, that's why you can dereference it

Reasons:
  • Blacklisted phrase (1.5): I have a question
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: NeKon

79537879

Date: 2025-03-27 05:23:12
Score: 3.5
Natty:
Report link

Answer was to apply below attribute:
[EnableQuery(EnsureStableOrdering = false)]

https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnet.odata.enablequeryattribute.ensurestableordering?view=odata-aspnetcore-7.0

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

79537876

Date: 2025-03-27 05:21:12
Score: 1.5
Natty:
Report link

1. Wipe Data for the device

2. Invalidate Caches and Restart

If that doesn't help, then delete these folders: .idea, .gradle and make steps 1 and 2 again...

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

79537870

Date: 2025-03-27 05:16:11
Score: 1
Natty:
Report link

The OrderedMap open source repository may meet your needs. It supports JSON Serialization of ordered maps.

Code example:

package main

import (
    "encoding/json"
    "fmt"

    xmap "github.com/danielhookx/xcontainer/map"
)

func main() {
    srcJson := `{"name": "John", "age": 30, "city": "New York"}`

    var fields xmap.OrderedMap[string, interface{}]
    err := json.Unmarshal([]byte(srcJson), &fields)
    if err != nil {
        fmt.Println(err)
    }

    for key, value := range fields.Iter() {
        fmt.Println(key, value)
    }
}

Execution Results:

$ go run main.go        
name John
age 30
city New York
Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Daniel

79537858

Date: 2025-03-27 05:08:09
Score: 1.5
Natty:
Report link

Thanks for the answer of the OP. Even after following the steps I was getting the same error. Explicitly mentioning openssl path resolved the issue.

Following is the command:

./configure --enable-optimizations --with-openssl=/usr/local/openssl-1.1.1t
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pramu

79537852

Date: 2025-03-27 05:04:08
Score: 0.5
Natty:
Report link

does this work for you?

im assuming what u want to achieve was to flatten error result as normal emit, while still able to specify it to retry on error by the consumer

function getFoo$(retry = false) {
    const foo$ = source$.pipe(
        catchError((error) => {
            const optionalPipes = []
            if(retry) optionalPipes.push(mergeMap(() => source$))

            return of({ data: null, error}).pipe(...optionalPipes)
        }),
    )

    return foo$
}
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: aii-yin

79537850

Date: 2025-03-27 05:03:08
Score: 3
Natty:
Report link
try this add "/" in front of manifest
Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jay_Kang

79537849

Date: 2025-03-27 05:02:08
Score: 3
Natty:
Report link

Along with token encryption, add signature to token. this is standard way to save token/data from request forging.

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

79537844

Date: 2025-03-27 05:00:08
Score: 0.5
Natty:
Report link

query that worked for me.

DROP DATABASE <DB_NAME> WITH (FORCE);
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hiren Timbadiya

79537841

Date: 2025-03-27 04:56:07
Score: 3.5
Natty:
Report link

For those who used :

brew install poppler

If still not working just reboot your system. Thank me later

Reasons:
  • Blacklisted phrase (2): still not working
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sourabh Kumar

79537830

Date: 2025-03-27 04:45:05
Score: 3
Natty:
Report link

In My case I was using jakarta.mail-api jar without any version. So it was picking the latest version which was 2.1.13

Once I downgraded that to 2.0.1. It was working

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

79537828

Date: 2025-03-27 04:44:04
Score: 3
Natty:
Report link

I had the same issue, everything working fine locally with a local StoreKit Testing config file, but not working in TestFlight. I also thought I had to submit my IAP with with a version of the app for App Store review, and the team also gave me this answer (presumably having the same issue as my testers):

"""

When validating receipts on your server, your server needs to be able to handle a production-signed app getting its receipts from Apple’s test environment. The recommended approach is for your production server to always validate receipts against the production App Store first. If validation fails with the error code "Sandbox receipt used in production," you should validate against the test environment instead.

"""

I don't think this is a meaningful answer, I think they give it to everyone whose app has IAP that fails.

I had the same issue, everything working fine locally with a local StoreKit Testing config file, but not working in TestFlight. First, you should add good error catching to your IAP management code, then, when you are running your app in TestFlight from your own device, you can plug it into your computer, go to "Devices" in Xcode, open your device's console, and start listening. Next, go through the IAP logic on your device running app via TestFlight and see what errors are thrown. I checked my logs and saw it was not finding any products, even though I had properly added the IAP to App Store Connect. Then, after way too much digging, somehow I managed to stumble on this post:
Unity IAP not working in Apple Testflight

And this is what did it! I just had to fill in my tax info and add a payment account. A couple hours after my account said Active for the paid apps agreement, the IAP flow just started working, and checking the logs again it was now returning one product as expected.

What I did not do:

No sandboxing account

No receipt validation

Reasons:
  • Blacklisted phrase (1): but not working
  • Whitelisted phrase (-1): I had the same
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Low reputation (1):
Posted by: Iggy

79537825

Date: 2025-03-27 04:39:04
Score: 1.5
Natty:
Report link

PyTorch does not yet offer official support for CUDA 12.8 in its stable releases. You may need to wait for native support or consider installing WSL.

Reference: https://discuss.pytorch.org/t/how-to-install-torch-version-that-supports-rtx-5090-on-windows-cuda-kernel-errors-might-be-asynchronously-reported-at-some-other-api-call/216644

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

79537809

Date: 2025-03-27 04:18:00
Score: 0.5
Natty:
Report link

I have edited the codes as follows.
There is also a sample code for this on the autohotkey help page.
https://www.autohotkey.com/docs/v2/lib/Gui.htm#ExEditor

#Requires AutoHotkey 2.0

TextBoxGUI := Gui("+Resize", "TextBox GUI")
TextBoxGUI.OnEvent("Size", ResizeWindow)
TextBoxGUI.SetFont("s15 Norm", "Lexend")
EditBox := TextBoxGUI.Add("Edit", "x0 y0 w500 h600")

TextBoxGUI.Show("w500 h600")

ResizeWindow(GuiObj, MinMax, Width, Height) {
    if MinMax = -1  ; The window has been minimized. No action needed.
        return    
    EditBox.Move(,,Width,Height)
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mesut Akcan

79537807

Date: 2025-03-27 04:16:00
Score: 2.5
Natty:
Report link

@rn

Column A Column B
Cell 1 Cell 2
Cell 3 Cell 4
odes
buildthethingright.com
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Renee

79537806

Date: 2025-03-27 04:14:00
Score: 2.5
Natty:
Report link

I faced the same problem, just restart your jupyter notebook and run again. it should solve the problem.

For context, my machine is an M2 Pro

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

79537798

Date: 2025-03-27 04:05:58
Score: 0.5
Natty:
Report link

I had a similar issue before when using ReCaptchaV2Classification with CapSolver. The API kept returning hasObject: False even when the images clearly had objects. In my case, I found that making sure the base64 image was correctly encoded helped, and sometimes the object name in the challenge didn’t match what CapSolver expected. Also, trying a different set of images made a difference. If you’re still stuck, I’d suggest reaching out to CapSolver’s support team—they were super helpful when I had my issue

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bob Lee

79537796

Date: 2025-03-27 04:01:58
Score: 1
Natty:
Report link

The only difference I can see from your code to what I'm using (which was the basis of my blog post) is that I have my TypeDescriptor calls before my builder.Build() call, not before my app.Run()

I hope that helps.

Reasons:
  • Whitelisted phrase (-1): hope that helps
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Simon Holman

79537795

Date: 2025-03-27 04:01:58
Score: 0.5
Natty:
Report link

There is a simpler solution to install pip locally in your system without the need for root(sudo) permissions.

  1. First download the standalone pip using link: https://bootstrap.pypa.io/pip/pip.pyz
  2. chmod +x pip.pyz
  3. Run python3 -m pip.pyz --upgrade pip

That is all, It will work and you will now have pip installed locally on your system.

If Externally-managed-environment error occurs: just add --break-system-packages in the end of command.
Example: python3 -m pip.pyz --upgrade pip --break-system-packages

Note: Upvote this answers if this worked for you! Personally tested solution!

Reasons:
  • Blacklisted phrase (0.5): Upvote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mohammed Khalid S

79537793

Date: 2025-03-27 04:01:58
Score: 0.5
Natty:
Report link

I have run into this problem too, i solved it by using older nightly rust compiler

nightly-2025-03-13-x86_64-unknown-linux-gnu works fine for me

Reasons:
  • Whitelisted phrase (-2): i solved
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: hengist wang

79537791

Date: 2025-03-27 03:58:57
Score: 1.5
Natty:
Report link

Yep, if max_slot_wal_keep_size = -1 and the CDC tool is stuck, WAL will keep growing until it fills up disk—can totally bring down the primary. Using a read replica doesn’t help; WAL still piles up on the primary. Always monitor replication slots or set a limit to avoid surprises.

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

79537783

Date: 2025-03-27 03:52:55
Score: 2.5
Natty:
Report link

npx @react-native-community/cli initProjectName --version react-native-version

example

npx @react-native-community/cli init AwsomeProject --version 0.73.8

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

79537776

Date: 2025-03-27 03:43:54
Score: 3.5
Natty:
Report link

do this instead loginForm !: FormGroup;

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: nat go

79537770

Date: 2025-03-27 03:41:53
Score: 2
Natty:
Report link

Warning: Unknown: Failed to open stream: No such file or directory in Unknown on line 0

Fatal error: Failed opening required 'C:\xampp2\htdocs\mamit\mamit\mamit\vendor\laravel\framework\src\Illuminate\Foundation\Console/../resources/server.php' (include_path='C:\xampp\php\PEAR') in Unknown on line 0

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

79537766

Date: 2025-03-27 03:38:53
Score: 2
Natty:
Report link

You are experiencing slow page reloads in development especially after making style changes. I think you can try either method below:

1.Vite-specific Optimizations

Run Vite in development mode separately: npm run dev in a dedicated terminal

Ensure you're not importing all Tailwind styles in development (use @import selectively)

Check your vite.config.js for unnecessary plugins or heavy processing

  1. Laravel Optimizations

Disable Telescope if installed: comment out Telescope service provider

Use APP_DEBUG=false in your .env (even in development)

Clear routes cache: php artisan route:clear

Disable unused service providers in config/app.php

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @import
  • Low reputation (1):
Posted by: Techliberty_Mission

79537761

Date: 2025-03-27 03:33:51
Score: 0.5
Natty:
Report link

It worked now, I changed the chromedriver.exe path. The updated path is as below

System.setProperty("webdriver.chrome.driver", "C:\\Users\\<user>\\Desktop\\webdrivers\\chromedriver.exe");
        WebDriver driver = new ChromeDriver();
Reasons:
  • Whitelisted phrase (-1): It worked
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dheeraj kurugod

79537754

Date: 2025-03-27 03:30:51
Score: 2
Natty:
Report link

You must call the togglePopup function just after declaring it so that it will trigger the popup at page load.

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

79537744

Date: 2025-03-27 03:19:49
Score: 1
Natty:
Report link

I resolved mine by making a commit and reloading the editor. But I think just reloading the editor is enough. So you can do both if just reloading editor is not enough

Reasons:
  • Whitelisted phrase (-2): I resolved
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ulrich Arthur

79537739

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

No sure if it's still useful to you, but would like to share how I solve the same problem here.

So the problem is that you set two ports for the remote machine, which is PORT and IO_PORT, but render only accepts one port binding when it comes to public traffic, such as Websocket etc. Once you set the PORT as your main process, the request from your Websocket client will only be directed to the PORT instead of the IO_PORT that your wss server is listening to due to Render restriction.

More info can be found here: https://render.com/docs/web-services#port-binding

To solve the problem, I found a repo that helps establish a websocket server on the main port (If you are using next.js and don't want to set custom server).

You can check out here: https://github.com/apteryxxyz/next-ws

But if you are using node.js or other backend stack, you can also achieve it simply by handling the upgrade process in a specific route. Not sure if socket.io supports this feature but you can also search that out.

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

79537728

Date: 2025-03-27 03:11:47
Score: 1.5
Natty:
Report link

You can tryparseExpr to leverage the feature of passing a dictionary for assignment:

each(def(mutable d)->parseExpr(d.v, d.erase!(`v)).eval(), t)

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

79537726

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

NEW!!!

This article is from Februarly 2025, and apparently there's an option to do so, and I was quite pleased with the results! Please note, this is so new that SSMS puts a squigly red line under the commands. I'm using Azure Sql databases, so I have all the newest features.

The article: https://learn.microsoft.com/en-us/sql/relational-databases/fuzzy-string-match/overview?view=azuresqldb-current

The commands are: <CODE> EDIT_DISTANCE, EDIT_DISTANCE_SIMILARITY</CODE>

And

<CODE>

JARO_WINKLER_DISTANCE

JARO_WINKLER_SIMILARITY

</CODE>

Example: works like a charm BTW:

SELECT *, 
  EDIT_DISTANCE (AC.[Sold To Party Name], CC.[Name 1]) AS ED_DISTNACE
  , JARO_WINKLER_DISTANCE (AC.[Sold To Party Name], CC.[Name 1]) AS JW_DISTANCE
  , EDIT_DISTANCE_SIMILARITY (AC.[Sold To Party Name], CC.[Name 1]) AS ED_SIMILARITY
  FROM dbo.[CustomerSource1]  AC INNER JOIN dbo.CustomerSource2 CC 
    ON AC.[Address Of Customer] = CC.[Street name] AND AC.[Post Code Of Customer] = CC.[Postal code]
Reasons:
  • Blacklisted phrase (1): This article
  • RegEx Blacklisted phrase (1): I was quite please
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hila DG

79537718

Date: 2025-03-27 03:04:44
Score: 13.5 🚩
Natty: 6
Report link

did you solve this problem yet? I am facing some problem related to how PWA open external browser in standalone mode, I would like to know how do you fix your problem.

Reasons:
  • Blacklisted phrase (1.5): I would like to know
  • Blacklisted phrase (1): how do you
  • RegEx Blacklisted phrase (3): did you solve this problem
  • RegEx Blacklisted phrase (1.5): solve this problem yet?
  • RegEx Blacklisted phrase (2.5): do you fix your
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you solve this
  • Low reputation (1):
Posted by: KPB98115

79537717

Date: 2025-03-27 03:03:44
Score: 5
Natty:
Report link

#shadow-root (user-agent) can not be accessed as per this video.

Reasons:
  • Blacklisted phrase (1): this video
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user6315807

79537715

Date: 2025-03-27 03:01:43
Score: 3.5
Natty:
Report link

You should uninstall vetur and install volar

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

79537712

Date: 2025-03-27 02:55:42
Score: 0.5
Natty:
Report link

Please try to install IIS URL Rewrite , it can help us fix the issue.

Open the page and scroll down to the bottom, we can find the source links.

enter image description here

Reasons:
  • RegEx Blacklisted phrase (1): help us
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: Jason Pan

79537706

Date: 2025-03-27 02:52:42
Score: 0.5
Natty:
Report link

The issue comes from the double scroll conflict between the FlashList and the ScrollView. One possible solution is to handle the book pages (in portrait mode) as components within a full-screen carousel — for example, using react-native-reanimated-carousel with horizontal pagination. Then, reserve the vertical scroll gesture only for landscape mode within each page. This way, you can avoid conflicts between horizontal and vertical scroll gestures and ensure a smoother experience.

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mario E. C. S.

79537702

Date: 2025-03-27 02:44:40
Score: 2
Natty:
Report link

Kindly start docker desktop.

For me I was getting same issue, I started docker Desktop, Now Things working fine for me.

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

79537698

Date: 2025-03-27 02:40:40
Score: 3.5
Natty:
Report link

You should check if the CUDA Toolkit and cuDNN are installed and if the environment variables are configured to enable GPU acceleration.

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

79537697

Date: 2025-03-27 02:40:40
Score: 1
Natty:
Report link
    dd = ft.Dropdown(
        editable=True,
        enable_search=True,
        enable_filter=True,
        width=200,
        options=[
            ft.dropdown.Option("Red"),
            ft.dropdown.Option("Green"),
            ft.dropdown.Option("Blue"),
        ]
    )
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Maxim

79537690

Date: 2025-03-27 02:32:38
Score: 2
Natty:
Report link

In my case, I had to set up jfrog token in my local development environment, as I was not authenticating with jfrog. And since my package is trying to retrieve from jfrog, it failed and showed this warning. Setting up the token and performing the login resolved this for me.

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

79537688

Date: 2025-03-27 02:31:38
Score: 1.5
Natty:
Report link

I ran in to this issue recently and I found that using a CStr wrapper around the expression resolves the issue:

? Int(0.5 + 0.00024575 * 10000000)

2457

? Int(CStr(0.5 + 0.00024575 * 10000000))

2458

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Adrian Mehlig

79537686

Date: 2025-03-27 02:30:37
Score: 1
Natty:
Report link

Try using joblib -

import joblib

joblib.dump(your_model, "filteredDF.pkl")

Save your model in your Github repository and use it via url -

import urllib.request

url = "'https://github.com/user/project/raw/master/filteredDF.pkl'"
model_load = joblib.load(urllib.request.urlopen(url))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: working-tom

79537665

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

The issue was resolved by using ESAPI from org.owasp like so:

import org.owasp.esapi.Validator;

import org.owasp.esapi.reference.DefaultValidator;

Validator validator = DefaultValidator.getInstance();
// Before converting to bytes
msg = validator.getValidInput("SocketMessage", msg, "SafeString", 100, false);

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

79537660

Date: 2025-03-27 02:02:32
Score: 1
Natty:
Report link

Unfortunately there's no way to really create temp tables or to set user-defined variables in this platform there is a way however where you could mimic this logic by let's say creating a faux CTE. How so? Easy...

With t1 as(
select 1+1) 
select 235 as threshold from t1

This could also be a subquery depending on where you want to go but this way you can join it you can cross join it and then filter on it but it gives you a couple of options as opposed to the non-existent ones

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Amir Semsarzadeh

79537659

Date: 2025-03-27 01:58:32
Score: 3.5
Natty:
Report link

I answered a similar question on another post, you can find the solution here .

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

79537653

Date: 2025-03-27 01:53:30
Score: 6 🚩
Natty:
Report link

Are you sure you're Postgres is running on port 5432? Try 5433.

https://github.com/psycopg/psycopg2/issues/1634#issuecomment-1837451754

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: bigjoe52

79537638

Date: 2025-03-27 01:43:28
Score: 2.5
Natty:
Report link

FYI This code by Mr.soderlind worked in a WordPress block theme by using a script addition plugin such as WP-CODE.

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

79537635

Date: 2025-03-27 01:41:28
Score: 3.5
Natty:
Report link

First, you need show Changes section by clicking on ... on your source control

enter image description here

after that, in Changes section click on ... you can find may options

enter image description here

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

79537634

Date: 2025-03-27 01:41:28
Score: 0.5
Natty:
Report link

Storing state on the server is an antipattern. AsyncLocalStorage has its uses but can bloat your server pretty quick. Use after if you're doing post processing. Using a local global variable, ie a singleton, won't work either since nextjs runs multiple context at once.

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

79537633

Date: 2025-03-27 01:39:27
Score: 1.5
Natty:
Report link

Infix notation is human readable ,prefix and postfix notation is for the machine to parse. Prefix and postfix are unambiguous as it doesn’t required precedence rules.

Idea behind to use prefix,infix and postfix by compiler is to provide advantages of different parsing option for machine and evaluate the expression.

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

79537632

Date: 2025-03-27 01:38:27
Score: 0.5
Natty:
Report link

It really depends on the context. If you are looking for something kind of serverless, you might want to check out the Spin SDK. Another option is using CPython with WASI. It is probably the easiest way to get your script running without any changes, though it is not the best when it comes to size or performance.

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

79537608

Date: 2025-03-27 01:14:22
Score: 1.5
Natty:
Report link

This occurs when the url passed as part of --header-html or --footer-html is unreachable. E.g. --header-html http://0.0.0.0/ will always crash with this error.

In my case, I found out the hard way that the C# helper method controller.Url.Action is not thread safe and the urls I was passing to rotativa sometimes looked like this:

https://localhost:44387/https://localhost:44387/ReportHeaders/Header?key=123

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

79537597

Date: 2025-03-27 01:04:20
Score: 3.5
Natty:
Report link

installing html2text pip solved the issue for me as suggested here: https://github.com/odoo/odoo/issues/63802#issuecomment-922673351

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

79537596

Date: 2025-03-27 01:03:20
Score: 1
Natty:
Report link

f(10) passes an int but the formal-argument is a reference to const. So the compiler has to bind the reference to 10. How does it do that? What assignment statement does it create to bind it?

It can't bind to 10 directly. It can only bind to an A object.

would it create a temporary object (say tmp) and insert a statement like A tmp(10); f(tmp); instead of call to f(10)?

Essentially, yes. A const reference can bind to a temporary, so that is exactly what the compiler does - it implicitly creates an unnamed temporary A object, constructed using 10 as input to its constructor, and then destroys that object after the end of the full statement (ie the ;) is reached.

When running g(5) call I get the error error: cannot bind non-const lvalue reference of type ‘A&’ to an rvalue of type ‘A’. Can someone explain the reasoning behind this?

It is because a non-const reference is not allowed to bind to a temporary, so you will have to create a non-temporary A object yourself.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can someone explain
  • RegEx Blacklisted phrase (1): I get the error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: Remy Lebeau

79537593

Date: 2025-03-27 01:03:20
Score: 0.5
Natty:
Report link

You can try using the operator "OR" to concatenate keywords in your search query, like this:


query = '"maritime heritage" OR "shipwreck" OR "shipwrecks" OR "coastal archeaology" OR "maritime archaeology" OR "maritime ecologies" OR "marine archeaology" OR "marine heritage" OR "cultural marine heritage" OR "marine culutral haritage" OR "maritime history"'

# Searching in all subreddits  
all = reddit.subreddit("all")
df = pd.DataFrame() # creating dataframe for displaying scraped data

# creating lists for storing scraped data
titles=[]
scores=[]
ids=[]

# looping over posts and scraping it
for submission in all.search(query, limit=None):
    titles.append(submission.title)
    scores.append(submission.score) #upvotes
    ids.append(submission.id)


df['Title'] = titles
df['Id'] = ids
df['Upvotes'] = scores #upvotes

print(df.shape)
df.head(10)
Reasons:
  • Blacklisted phrase (0.5): upvote
  • Blacklisted phrase (0.5): Upvote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Galo Castillo

79537587

Date: 2025-03-27 00:57:19
Score: 4
Natty:
Report link

Same error, can't figure it out - tried downgrading versions and it didnt help. Tried all platforms (macOS, ubuntu and Windows), multiple SDKs.

Reasons:
  • RegEx Blacklisted phrase (1): Same error
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Patryk Rucinski

79537586

Date: 2025-03-27 00:57:19
Score: 1
Natty:
Report link

You could try writing the data to a temporary file with a fixed name, having the spreadsheet open and automatically read the file, calculate and write the result to another temporary file, then rename the output file to another fixed name and finally close.

The starting application could wait for the output file to appear and read the result.

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

79537579

Date: 2025-03-27 00:50:18
Score: 3
Natty:
Report link

For Cloudflare Pages, do not manually create DNS records for custom domains. Instead, add your domain (including the www subdomain) as a Custom Domain in the Pages project settings. Cloudflare will automatically generate the necessary DNS records.

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

79537557

Date: 2025-03-27 00:24:14
Score: 2
Natty:
Report link

It works perfectly. You don’t need to apply the modifier to every individual component—applying it to a higher-level container view is often enough for a consistent and elegant shimmering effect.

https://github.com/alisefaalparslan/ReductedShimmer

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ali Sefa Alparslan

79537547

Date: 2025-03-27 00:14:12
Score: 1.5
Natty:
Report link

Just Add Below two properties.

springdoc:
    swagger-ui:
        config-url : /test/v3/api-docs/swagger-config
        url : /test/v3/api-docs


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

79537546

Date: 2025-03-27 00:13:11
Score: 3
Natty:
Report link

This answer by @Zach the Dev did it for me, thank you.

id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Zach
  • Low reputation (1):
Posted by: Blessed Hombarume

79537545

Date: 2025-03-27 00:10:11
Score: 3
Natty:
Report link

I also have that problem, I use local controlled storage so I directly empty it manually, whether it's a db or SharedPreference

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

79537544

Date: 2025-03-27 00:10:11
Score: 1
Natty:
Report link

Unfortunately, it turns out the question I asked does not provide sufficient context to solve this issue!

It turns out the error was not caused solely by my ISR handler, but also by my IRQ handler. Specifically, due to a bug in my bootloader code, the .bss section was not properly initialized to all 0s:

void irq_handler(registers_t *r) {
    if (r->int_no >= 40) set_port_byte(0xA0, 0x20);
    set_port_byte(0x20, 0x20);

    if (interrupt_handlers[r->int_no] != 0) { // This line would fail!
        isr_t handler = interrupt_handlers[r->int_no];
        handler(r);
    }
}

Hence, my code kept trying to call some random addresses in memory with obviously no luck, leading to infinite, weird, exceptions. In QEMU, the bss section is initially set to all 0s, hence there was no sign of failure before booting on real hardware

Reasons:
  • Blacklisted phrase (1): no luck
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: MichaelT572

79537534

Date: 2025-03-27 00:06:10
Score: 3.5
Natty:
Report link

you should have one column with booth identity and a primary key

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

79537530

Date: 2025-03-27 00:00:08
Score: 1
Natty:
Report link

Import subprocess

34%

D

1

2 data subprocess.check_output(['netsh', 'wlan', 'show',

3

profiles [i.split(":")[1][1:1] for i in data if "All U

4 for i in profiles:

5

6

67

7

subprocess.check_output(['netsh', 'wlan results

[b.split(":") [1] [1:-1] for b in results results

print("{:<38)| (:<)".format(i, results[0]))

except IndexError:

try:

8

try:

9

10

11

12

13

14

15

input("")

print ("(:<38)| (:<)".format(i, ""))

except subprocess.Called ProcessError:

print ("(<30)] [:<)".format(i, "ENCODING ERROR"

PROBLEMS

OUTPUT

DEBUG CONSOLE

TERMINAL

JUPYTER

Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\DELL> & C:/Users/DELL/AppData/Local/Programs/Pyth on/Python310/python.exe "c:/Users/DELL/Desktop/python/hack wi f1 bug coders.py"

PS C:\Users\DELL> & C:/Users/DELL/AppData/Local/Programs/Pyth

on/Python310/python.exe "c:/Users/DELL/Desktop/python/hack wd

fi bug coders.py"

PS C:\Users\DELL>

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

79537524

Date: 2025-03-26 23:56:07
Score: 1.5
Natty:
Report link

I was not able to do a serial console install (virt-install) of ubuntu 24.04 server, but I was able to install it via virt-manager after installing a gui to my kvm host. Afterwards I ran the two commands on the ubuntu vm shown by KoncWW, and then I was at least able to virsh console into the vm.

I also couldn't get debian to install with the "DVD" iso using virt-install. BUT, it did work with the "netinst" debian iso.

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

79537521

Date: 2025-03-26 23:54:07
Score: 1.5
Natty:
Report link

you could just do this

import numpy as np

a = np.linspace(-2.5, 2.5, 6, endpoint=True)
c = np.array([2, 1])
result = (a[:, np.newaxis] * c)
print(result)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ayman belqadi

79537512

Date: 2025-03-26 23:46:05
Score: 5
Natty: 6.5
Report link

What worked for you after? I am having this same issue

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Lisa

79537507

Date: 2025-03-26 23:44:04
Score: 2
Natty:
Report link

This was a saving issue... I assumed my script file was being autosaved it was not. I opened the actual script file and updated it and it works as intended. Hope this helps someone else thats new to python!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Erick Chico

79537495

Date: 2025-03-26 23:38:03
Score: 3
Natty:
Report link

install hnswlib
once that is installed try other dependencies like sentence-transformers
then install chromadb
it works

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

79537494

Date: 2025-03-26 23:38:03
Score: 1.5
Natty:
Report link

Your understanding of session attributes are wrong.

There's 2 attributes.

  1. Session attributes : To pass data to lambda function ( when using actionGroups)

  2. promptSessionAttributes : To pass data directly to the prompt for the agent to consume

In your scenario , you should use promptsessionattributes instead to achieve your goal.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: ROHIT KOCHIKKAT FRANCIS

79537490

Date: 2025-03-26 23:36:03
Score: 2.5
Natty:
Report link

You can use scarb-execute and cairo-stwo

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: regor

79537489

Date: 2025-03-26 23:35:02
Score: 3
Natty:
Report link

I can embed the timeline for other organisations (e.g. @Reuters and @XDevelopers) using the code provided on https://publish.twitter.com/, but if I embed my own feed, I get the "Nothing to see here - yet" message (whether I'm logged in to X or not).

Is X perhaps only displaying feeds for "verified organisation", i.e. are paying for the subscription? (https://x.com/i/organizations)

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Reuters
  • User mentioned (0): @XDevelopers
  • Low reputation (1):
Posted by: Costanza Maffi

79537479

Date: 2025-03-26 23:27:01
Score: 0.5
Natty:
Report link

If I understand correctly, you want to perform matrix multiplication between a transpose and c. You was on the right track when trying to change the dimensions of c, however we also need a to be bidimensional. To do this, you should use np.matmul, and have both a and c be 2D arrays.

Hence your code translates to:

import numpy as np

a = np.array([np.linspace(-2.5, 2.5, 6, endpoint=True)])
c = np.array([[2, 1]])
print(np.matmul(a.T, c)

which gives again:

[[-5.  -2.5]
 [-3.  -1.5]
 [-1.  -0.5]
 [ 1.   0.5]
 [ 3.   1.5]
 [ 5.   2.5]]

Can it be produced directly with from a and c?

However I don't know if this answer counts as a 'yes' or a 'no', since you are actually creating a third array, but simply not declaring an explicit reference to it.

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

79537458

Date: 2025-03-26 23:05:56
Score: 3.5
Natty:
Report link

After looking at the swift-syntax repo it seems like very recently they have added the ability to add to function closures in BodyMacro
https://github.com/swiftlang/swift-syntax/blob/main/Sources/SwiftSyntaxMacros/MacroProtocols/BodyMacro.swift

Doesn't seem to be in a release yet.

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

79537437

Date: 2025-03-26 22:53:54
Score: 0.5
Natty:
Report link

Try

REGEXP_EXTRACT(url, r'.*/([^/?]+?)')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Barmar

79537431

Date: 2025-03-26 22:49:53
Score: 1.5
Natty:
Report link

Your X-Forwarded-For and X-Real-IP headers are showing internal IP addresses instead of the client's real IP since the Kubernetes Service for your Istio Ingress Gateway is not configured with externalTrafficPolicy: Local. Ensure to set this properly to preserve the real client IP in the X-Forwarded-For header. You can also check this discussion for more information.

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

79537424

Date: 2025-03-26 22:46:52
Score: 0.5
Natty:
Report link

"Is there any way of converting individual tabs to pdf, ideally without using API access?"

Yes. Choose File > Download > PDF > Current sheet.

"export an entire multi-tab Google Docs as a pdf. My document includes 15-20 tabs"

Try my saveSheetsAsPdf script.

Reasons:
  • Blacklisted phrase (1): Is there any
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: doubleunary

79537420

Date: 2025-03-26 22:46:52
Score: 0.5
Natty:
Report link

I solved a similar problem by allowing Read/Write for User Selected File in the App Sandbox capability.

enter image description here

Reasons:
  • Whitelisted phrase (-2): I solved
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: J Kasparian

79537419

Date: 2025-03-26 22:46:52
Score: 5.5
Natty: 6
Report link

Why is when I run this calculation and sum 2 4 digits numbers, I got an answer

number 1 = 1250.4

number 2 = 300.2

Result = 1550.6000000000001

How is that I get the .6000000000001?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Why is
  • Filler text (0.5): 00000000000
  • Filler text (0): 00000000000
  • Low reputation (1):
Posted by: Gaston Tudury

79537417

Date: 2025-03-26 22:43:51
Score: 4.5
Natty: 4
Report link

it seems removing the type attribute from the source tag works.

https://stackoverflow.com/a/18994322/13359236

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: whatistruth

79537401

Date: 2025-03-26 22:35:50
Score: 3.5
Natty:
Report link

as an option for generating random color:

https://pub.dev/packages/flutter_randomcolor

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

79537399

Date: 2025-03-26 22:32:49
Score: 1
Natty:
Report link

I had the same problem where the model named with typo Experiement instead Experiment

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ali Ammaar

79537396

Date: 2025-03-26 22:31:48
Score: 13.5 🚩
Natty:
Report link

Were you able to fix it?

thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (3): Were you able to fix it
  • RegEx Blacklisted phrase (1.5): fix it?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Santiago

79537395

Date: 2025-03-26 22:30:48
Score: 2.5
Natty:
Report link

see: Is there a safer way to get the activity in Jetpack Compose?

Compose now has a composition local LocalActivity

val activity = LocalActivity.current

Android Activity Release Note

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