79691114

Date: 2025-07-05 14:54:13
Score: 0.5
Natty:
Report link

Well, the two more or less independent components will be the GUI on one hand and the "engine" on the other hand. You could combine both in a single prorgram/code base, but maybe it would be a good idea to split them up into independent components that could communicate through the standard CECP = chess engine communication protocol: see here for the description on the chessprogramming wiki and here for the GNU specification. Among other advantages, you could then use a preexistent version of the other part to test, while you are developing one of the two components.

You might probably use python-chess in both parts, since it allows graphical output as well as move generation. However, I think an engine relying on the move generation of python-chess might be slow, I don't think that library is optimized in any way for fast move generation.

Also, you'd need another component as for example pygame or more specicically Tkinter or Kivy, Pygame, Pyglet, PyGObject, PyQt, PySide, wxPython, ... for adding interactivity, i.e., mainly, dealing with mouse and/or touchscreen and possibly keyboard input events.

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

79691101

Date: 2025-07-05 14:29:07
Score: 0.5
Natty:
Report link

If you do it in B's ViewModel, you can also add loading + retry if failed views to B.

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

79691099

Date: 2025-07-05 14:20:05
Score: 0.5
Natty:
Report link

I had a similar problem, in my case I exported useParams from react-router instead of react-router-dom. I got no errors, just empty object for params. Took me some time to figure out where the problem was.

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

79691097

Date: 2025-07-05 14:17:05
Score: 2.5
Natty:
Report link

Interesting, the dates of the posts here.
According to the Embarcadero quality portal, https://quality.embarcadero.com/browse/RSP-30073

the issue was fixed with "10.4 Sydney Release 1" on 3rd Sep 2020.

(And btw also broken with 12.3, fixed in April 2025 patch https://blogs.embarcadero.com/rad-studio-12-3-april-patch-available/ )

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

79691092

Date: 2025-07-05 14:08:03
Score: 2
Natty:
Report link

I made an algorythm that uses the probability distribution. And while technically O(n), it is simply always slower than quick sort. That is because at low amounts of n it simply has a bigger constant multiplier and at higher n's it has the same issue as counting sort since it can't use the cache like quick sort, so each memory access becomes slower the higher a cache level it uses. That and the fact that it realistically never gets better than O(nlog(log(n))) is why it is simply not good.

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

79691083

Date: 2025-07-05 13:48:59
Score: 3.5
Natty:
Report link

No if you do so whatapp buisiness may ban you

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

79691082

Date: 2025-07-05 13:47:58
Score: 0.5
Natty:
Report link

Additional for build error on ~51

I was having a build error on ~51, just like @dchhetri. What solved it for me was:

1 - first following the instructions from @Daniel, e.g.:

edit "expo-build-properties" on app.json as he stated
also added withTargetSdk35
changed compileSdkVersion: 34

2 - After that, I was still encountering a build error, which was resolved by adding an additional custom plugin:

# Create this file at the root of your project
# metaSpace4GB.js 

const { withGradleProperties } = require('expo/config-plugins');

function setGradlePropertiesValue(config, key, value) {
  return withGradleProperties(config, exportedConfig => {
    const keyIdx = exportedConfig.modResults.findIndex(
      item => item.type === 'property' && item.key === key,
    );
    if (keyIdx >= 0) {
      exportedConfig.modResults.splice(keyIdx, 1, {
        type: 'property',
        key,
        value,
      });
    } else {
      exportedConfig.modResults.push({
        type: 'property',
        key,
        value,
      });
    }

    return exportedConfig;
  });
}

module.exports = function withCustomPlugin(config) {
    config = setGradlePropertiesValue(
      config,
      'org.gradle.jvmargs',
      '-Xmx4096m -XX:MaxMetaspaceSize=1024m',
    );
    return config;
};

Add the plugin to the app json:

...
    "plugins": [
      "./metaSpace4GB",
     ...
...

3 - Done

And that allowed me to build, my app is already on review by google with target SDK 35

enter image description here

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @dchhetri
  • User mentioned (0): @Daniel
  • Low reputation (1):
Posted by: Vasily Crespo

79691078

Date: 2025-07-05 13:33:55
Score: 3
Natty:
Report link

arguments.callee was previously used for recursive function calls, but is now completely banned in ES5 and ES6+ hard mode for security and improved coding.

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

79691073

Date: 2025-07-05 13:28:53
Score: 3.5
Natty:
Report link

vuchev and l they are pizza and for that and they zoop xoop/

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

79691066

Date: 2025-07-05 13:09:49
Score: 1
Natty:
Report link

The X Plugin introduces another connection protocol (listening on port 33060) as an alternative to the mysql connections typical of port 3306. Having first discovered the existence of mysql's port 33060 using network monitoring tools, that much seemed practically self evident. So, it can be slightly frustrating to start reading documents that explain port 33060, per se, because they explain "X Plugin" as if you knew you wanted it, already. These don't explain what features would require the second protocol (i.e. "why?"). Fortunately, that is elsewhere in Mysql docs, on the page for "Document Store."

Excerpts from that page:

To use MySQL as a document store, you use the following server features:

X Plugin enables MySQL Server to communicate with clients using X Protocol, which is a prerequisite for using MySQL as a document store. X Plugin is enabled by default in MySQL Server as of MySQL 9.3. [...]

X Protocol supports both CRUD and SQL operations, authentication via SASL, allows streaming (pipelining) of commands and is extensible on the protocol and the message layer. [...]

Clients [...] using X Protocol can use X DevAPI to develop applications. X DevAPI offers a modern programming interface [...]

Reasons:
  • Blacklisted phrase (0.5): why?
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: jejese

79691058

Date: 2025-07-05 12:56:45
Score: 0.5
Natty:
Report link

The issue is likely with how your frontend .war file is structured — from your jar tf output, it lacks a WEB-INF/ directory, which is required for Open Liberty to recognize it as a valid web application. Without it, Liberty defaults to its welcome page, which is why you're only seeing the logo or a 404. To fix it, create a WEB-INF/ folder, add a minimal web.xml (even empty), and repackage the WAR like this: mkdir -p webapp/WEB-INF && cp -r dist/* webapp/ && touch webapp/WEB-INF/web.xml && cd webapp && jar -cvf ../web-app.war *. Then, make sure your server.xml in Liberty sets the correct contextRoot (e.g., / or /WebApp) and that your OpenShift route points to the right service and port (usually 9080). Your backend .war looks fine, so once the frontend is structured properly, it should start displaying correctly.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gourav Kumar Pandey

79691055

Date: 2025-07-05 12:52:44
Score: 1.5
Natty:
Report link

Your architecture looks solid.

I would make sure to have small validations such as file size and type. Perhaps some optimisation on the server side for images deserves sone attention. Other than that make sure you use short live urls.

That’s about all I can think of, though I’m sure there are some more things to think about here

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

79691043

Date: 2025-07-05 12:36:40
Score: 3
Natty:
Report link

I just want to confirm my undetstanding about what you said, does it mean usually we don't need to use sequelize migration in the beginning of development ?? like we only use it when we want to change a column name or something in the database.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sondos Deeb

79691039

Date: 2025-07-05 12:31:38
Score: 2.5
Natty:
Report link

I believe I've exhausted this and the only solution I can find is to use the .alertURL property to open a Safari browser and display the full alert text along with the required source attribution. Not an elegant solution but it does provide complete coverage of the weather alert(s).

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

79691036

Date: 2025-07-05 12:23:36
Score: 1.5
Natty:
Report link
if fileURL.startAccessingSecurityScopedResource() {
 // put your code here
}
fileURL.stopAccessingSecurityScopedResource()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: abdelmajid rajad

79691034

Date: 2025-07-05 12:23:36
Score: 0.5
Natty:
Report link

That's a bit particular question: short answer is no, but you can mitigate the problem.

There is no strict way to identify a "temp" mail from a "regular" one because, in a tecnical way, both types are valid email adresses. The same apply to phone numbers.

You can, though, resort to the answer for almost every scurity related question, i.e. validate and whitelist. This approach would mitigate the problem by creating a new one: which domain do you want to be able to register in your application?

By doing so you could only accept certain domains that you trust or, you could do the opposite by denying domains that you know to be part of a disposable mail domain. Either way it's not a definitive answer, simply because there will always be domains that you haven't whitelisted (or blacklisted) and those will occur only when a random user using that domain will approach your application (realistically speaking, you cannot manually check every domain in the internet).

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

79691030

Date: 2025-07-05 12:15:34
Score: 1
Natty:
Report link

On the Atlas home page, go to Network access settings, then add your IP address. If it is already there and not working, then change it to 0.0.0.0/0

It will allow you to connect to the database from anywhere. Now go to Database Access and change your password.

I tried many steps, but in the end, the above-given steps worked.

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

79691029

Date: 2025-07-05 12:14:33
Score: 4
Natty: 5.5
Report link

i am facing this same problem and my terminal says its on 8000 as i said at env but not working

Reasons:
  • Blacklisted phrase (1): but not working
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nikhil Singh

79691018

Date: 2025-07-05 11:59:29
Score: 1
Natty:
Report link
#installed games
games = [
  'Soccer', 'Tic Tac Toe', 'Snake',
  'Puzzle', 'Rally']

#taking player's choice as a number input
choice = int(input())

if choice <= len(games) - 1 and choice >= 0:
  print(games[choice])
else:
  print('Index Error')
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alex Shevchuk

79691017

Date: 2025-07-05 11:59:29
Score: 4
Natty: 4
Report link

Checkout:

  1. https://github.com/software-mansion/react-native-reanimated/issues/6872

  2. https://docs.swmansion.com/react-native-reanimated/docs/guides/building-on-windows/

Specifically, bumping the ninja version helped me, as specified by https://github.com/software-mansion/react-native-reanimated/issues/6872#issuecomment-2612775221

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

79690993

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

You can upgrade selenium to the newest version and use BiDi as this comment did.

however the line

chrome_options.add_argument("--remote-debugging-pipe") 

disables CDP. but luckily i dont need the CDP

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

79690991

Date: 2025-07-05 11:06:17
Score: 1.5
Natty:
Report link

To upload files larger than 5 GB to an Amazon S3 bucket using presigned URLs, the standard presigned POST method won’t work because it only supports uploads up to 5 GB. But you can multipart upload here. For each part you have generate a generate url. After uploading all parts, send a request to complete the multipart upload with the ETags of each uploaded part.

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

79690990

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

on dotnet core 8

in program.cs file add below code

builder.Services.AddSingleton<ILogger>(svc => svc.GetRequiredService<ILogger<ProductService>>());
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: safeena rasak

79690989

Date: 2025-07-05 11:06:17
Score: 4.5
Natty:
Report link

Help -> Edit custom VM options

enter image description here

enter image description here

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

79690988

Date: 2025-07-05 11:02:15
Score: 4.5
Natty:
Report link

Too sad this isn't addressed yet. I also have the same issue and it's not only for SSR but also browser builds. There is this debug_node.mjs module included which from what I understand is not supposed to be on a production build. I'll probably end up creating an issue on their GitHub repo

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I also have the same issue
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Stefan Nedelchev

79690980

Date: 2025-07-05 10:53:13
Score: 1.5
Natty:
Report link

If you are using;

implementation 'com.google.firebase:firebase-crashlytics-buildtools:3.0.4'

Remove this dependency. The issue will be resolved.

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

79690978

Date: 2025-07-05 10:49:08
Score: 6
Natty:
Report link

Please delete all of these i have access to and there is many i use behind my wife's back pls help

Reasons:
  • RegEx Blacklisted phrase (3): pls help
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Joe Rutter

79690970

Date: 2025-07-05 10:38:04
Score: 10
Natty: 6.5
Report link

Thanks for posting this.
Have you managed to solve the issue?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (3): Have you managed
  • RegEx Blacklisted phrase (1.5): solve the issue?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Mahmoud K

79690962

Date: 2025-07-05 10:31:01
Score: 0.5
Natty:
Report link

I would do pretty much what @phd suggested in the comments.

Instead of trying to install directly on your production machine, you can download and build everything on your build machine, then move the ready files over. Here’s how:

  1. On your build machine, use pip to download the package and all its dependencies:

    python -m pip download example-package -d ./wheels
    

    That grabs wheels and source archives into ./wheels.

  2. If you see any .tar.gz files, build them into wheels so you have everything precompiled:

    python -m pip wheel --no-deps --wheel-dir=./wheels ./wheels/*.tar.gz
    
  3. Copy the entire wheels folder to your production machine.

  4. On your production machine, install from those local files without touching PyPI:

    python -m pip install --no-index --find-links=./wheels example-package
    

This way, your production machine unpacks prebuilt wheels—no compilation needed.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @phd
  • Low reputation (0.5):
Posted by: Viktor Sbruev

79690943

Date: 2025-07-05 09:54:53
Score: 1
Natty:
Report link

I had the same issues. I am using VS Code and when I put my cursor over the kivy word and selected quick fix, all I need to do was select the latest interpreted, which was 3.12.0.

Hope this helps.

PM

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): Hope this helps
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Peter Mullan

79690937

Date: 2025-07-05 09:43:50
Score: 0.5
Natty:
Report link

You have done nothing wrong here.
The example you used as source is meant to be run directly in the console, not in a script (and it would be better if it mentioned that).
The issue is this:

I have this code at the start of a long script

When you check the actual description of the $Transcript variable, you'll find the following:

$Transcript
[...] If you don't specify a value for the Path parameter, Start-Transcript uses the path in the value of the $Transcript global variable. [...]

The $Transcript variable in your script is (by default) defined in the Script scope, not the Global scope, so Start-Transcript won't use it and fall back to the default path.

Defining $Transcript as global variable will work:

$Global:Transcript = (Join-Path -Path $Path -ChildPath $filename).ToString()

You should also then always include the scope if you're using it later in the script.

Or, as @iron usggested, just use the Path or LiteralPath parameters.

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

79690934

Date: 2025-07-05 09:36:48
Score: 4
Natty:
Report link

Here is a step by step guide on how to Upgrade Windows 10 to Windows 11: Windows 10 to Windows 11 Upgrade with Logging

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

79690932

Date: 2025-07-05 09:32:47
Score: 3
Natty:
Report link

You can also click 'add context' (in the dialog text box) -> tools -> relevant mcp server

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

79690931

Date: 2025-07-05 09:30:46
Score: 2.5
Natty:
Report link
  1. HTTP POST
    https://community.thingpark.io/users-auth/protocol/openid-connect/token
    x-www-form-urlencoded
Key Valuve
grant_type client_credentials
client_id sub-xxxxxxxx/client-app-name
client_secret XXXXXXXXXXXXXXXX
  1. HTTP POST
    https://community.thingpark.io/thingpark/dx/core/latest/api/devices/{{devEUI}}/downlinkMessages
    Authorization : Bearer {{token}}
    Body :
{
    "payloadHex": "YOUR DOWNLINK MSG",
    "targetPorts": "1"
}
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Filler text (0.5): xxxxxxxx
  • Filler text (0): XXXXXXXXXXXXXXXX
  • Low reputation (1):
Posted by: Tan Ming Hui

79690920

Date: 2025-07-05 09:11:41
Score: 1.5
Natty:
Report link

Cause you haven't printed the vatable you passed which is $user

<?php

function greet_user($name) {
    return "Hello, " . $name . "!";
}

echo greet_user("Alice");

?>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ishan Gayantha

79690912

Date: 2025-07-05 08:54:37
Score: 0.5
Natty:
Report link

Each of my tasks may have different return values, so I wrote this method, but it looks a bit strange.

func withThrowingTask2<T1, T2>(t1: @escaping () async throws -> T1, t2: @escaping () async throws -> T2) async throws -> (T1, T2) {
    try await withThrowingTaskGroup(of: [Int: Any?].self) { group in
        group.addTask { try await [0: t1()] }
        group.addTask { try await [1: t2()] }
        let result = try await group.reduce([Int: Any?]()) { partialResult, result in
            partialResult.merging(result, uniquingKeysWith: { $1 })
        }
        return (result[0] as! T1, result[1] as! T2)
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: huangqc

79690906

Date: 2025-07-05 08:42:35
Score: 1
Natty:
Report link

Make sure the developer console is closed.

React actually handles controlled inputs with states pretty well, it does not need to have any workarounds usually. Only if the state forces the whole component to re-render somehow, then you would need a workaround.

The developer console is actually the reason why controlled inputs lag, close it and see if that helps.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: M.Imran Mamda

79690904

Date: 2025-07-05 08:40:34
Score: 1
Natty:
Report link

Make sure the developer console is closed.

React actually handles controlled inputs with states pretty well, it does not need to have any workarounds usually. Only if the state forces the whole component to re-render somehow, then you would need a workaround.

The developer console is actually the reason why controlled inputs lag, close it and see if that helps.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: M.Imran Mamda

79690902

Date: 2025-07-05 08:38:33
Score: 1
Natty:
Report link

Make sure the developer console is closed.

React actually handles controlled inputs with states pretty well, it does not need to have any workarounds usually. Only if the state forces the whole component to re-render somehow, then you would need a workaround.

The developer console is actually the reason why controlled inputs lag, close it and see if that helps.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: M.Imran Mamda

79690896

Date: 2025-07-05 08:34:32
Score: 1.5
Natty:
Report link

Make sure the developer console is closed.

React actually handles controlled inputs and with states pretty well, it does not need to have those workarounds mentioned in the answers most of the time.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: M.Imran Mamda

79690886

Date: 2025-07-05 08:19:28
Score: 1
Natty:
Report link

Thanks for all answers, but I decided to use `from numpy.lib.recfunctions import structured_to_unstructured as str2unstr` since it might be a more direct and clear way of getting the same result.

pos = str2unstr(atoms [["x", "y", "z"]], dtype=np.float64, copy=False)
pos = transform.apply(pos)  # atoms[["x", "y", "z"]] @ transform.T
atoms ["x"] = pos[:, 0]
atoms ["y"] = pos[:, 1]
atoms ["z"] = pos[:, 2]
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Abel Gutiérrez

79690884

Date: 2025-07-05 08:18:27
Score: 1.5
Natty:
Report link

I had the same issue. I think its a bug with latest build of vue-i18n lib. I uninstalled and then install version 11.1.9 which worked.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: craig

79690882

Date: 2025-07-05 08:17:27
Score: 1.5
Natty:
Report link

When using launch_persistent_context some flags may be ignored. Try a regular launch:

browser = await p.chromium.launch(
headless=False,
args=[
"--start-maximized",
# other flags
]
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Zalmandrag

79690876

Date: 2025-07-05 07:59:22
Score: 5
Natty: 5.5
Report link

I note latest version of exdxf is 1.4.2 from May 2025 and i still have problems with the mesh having no vertices. When might there be a version that contains the mesh entities? Many thanks, N.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user24637682

79690874

Date: 2025-07-05 07:53:21
Score: 1
Natty:
Report link

After running into this issue multiple times, the best workflow to circumvent the actual problem is just using my text editor of choice and opening the crontabs' full path:

micro /var/spool/cron/foo

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

79690861

Date: 2025-07-05 07:30:16
Score: 2.5
Natty:
Report link

I suggest to you to try this one plugin that is better for YouTube player: Plugin YouTube Player

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

79690860

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

Will this work? Using flexboxes are a responsive yet centered solution. I've adjusted both the CSS for both the <fieldset> and the <div> inside it.

Full code I'd use:

<!DOCTYPE HTML>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <style>
        h1 {
            text-align: center;
        }
        
        fieldset {
            width: 85%;
            margin: 5px auto;
            border: 2px solid #b0b0b0;
            border-radius: 15px;
        }

        fieldset#submit-reset {
            display: flex; 
            justify-content: center;
            align-items: center;
            padding: 7px; /* adjust this to fit your needs */
            border: 2px solid #b0b0b0;
            border-radius: 15px;
        }
        
        label {
            float: left;
            width: 20%;
        }
        
        #personalDetailsSet{
            background-color: #c4d7f5; 
        }
        
        #personalDetails, #bookingDetails {
            background-color: #f0f0ff;
        }
        
        #bookingDetailsSet {
            background-color: #f5dfc4;
        }
        
        #password {
            width: 55ch;
        }
        
        .form-set {
            padding: 2px 0;
        }   

        #single-room-div {
            margin-top: 15px;
        }
        
        #submit-reset-div {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            justify-content: center; 
        }
        
        .radio-set {
            margin-bottom: 15px;
        }
    </style>
</head>
<body>
    <h1>Hotel Reservation</h1>
<form>
    <fieldset id="personalDetailsSet">
        <legend id="personalDetails">Personal Details</legend>
        
        <div class="form-set">
            <label for="fname">First name:</label>
            <input type="text" id="fname" name="firstName" placeholder="Enter your first name">
        </div>
        <div class="form-set">
            <label for="sname">Surname:</label>
            <input type="text" id="sname" name="surname" placeholder="Enter your surname">
        </div>
        <div class="form-set">
            <label for="email">Email Address:</label>
            <input type="email" id="email" name="email">
        </div>
        <div class="form-set">
            <label for="password">Setup a password:</label>
            <input type="password" id="password" name="password" placeholder="Min 8 characters, use at least 2 caps, no special characters">
        </div>
    </fieldset>
    <fieldset id="bookingDetailsSet">
        <legend id="bookingDetails">Booking Details</legend>
        
        <div class="form-set">
            <label for="checkin">Checkin day:</label>
            <input type="date" id="checkin" name="checkInDay" value="2023-02-14">
        </div>
        <div class="form-set">
            <label for="numOfDays">Number of days:</label>
            <input type="number" id="numOfDays" name="numOfDays">
        </div>
        <div class="radio-set" id="single-room-div">
            <label for="singleRoom">Single Room</label>
            <input type="radio" name="roomType" id="singleRoom" value="SR">
        </div>
        <div class="radio-set">
            <label for="doubleRoom">Double Room</label>
            <input type="radio" name="roomType" id="doubleRoom" value="DR">
        </div>      
        <div class="radio-set">
            <label for="kingRoom">King Room</label>
            <input type="radio" name="roomType" id="kingRoom" value="KR">
        </div>
        <div class="form-set">
            <label for="breakfast">Breakfast:</label>
            <select name="breakfast" id="breakfast">
                <option value="include" selected>Include</option>
                <option value="dontInclude">Don't Include</option>
            </select>
        </div>
        <div class="form-set">
            <label for="specialReqs">Special Requirements:</label>
            <textarea name="specialRequirements" id="specialReqs" rows="5" cols="20">Please provide any special requirements</textarea> 
        </div>      
    </fieldset>
    <fieldset id="submit-reset">
        <div id="submit-reset-div">
            <input type="reset" value="Reset">
            <input type="submit" value="Send">
        </div>
    </fieldset>     
</form>
</body>
</html>
Reasons:
  • RegEx Blacklisted phrase (2.5): Please provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Albair

79690859

Date: 2025-07-05 07:26:15
Score: 2
Natty:
Report link

For me, it was caused by the newest version of React Router DOM i.e v7 (7.6.3), spent >2 hour figuring it out. For now i have just downgraded to the latest version of 6 (6.30.1) and my website is back to normal.

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

79690836

Date: 2025-07-05 06:34:03
Score: 0.5
Natty:
Report link

From what I can tell, the <varname>:<classname> syntax is a purely cosmetic syntax used to give type hints for future programmers and for your linter/code editor so that it can give you useful type information. Note that since python is dynamically typed, putting type hint after a variable does not guarantee that the variable is of that type, just that you expect it do be. It is generally good practice for production code to include these type hints if the type of a variable is not obvious or implied by some other part of the code. Essentially, it is a fancy comment. Hope this helps!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ty Brennan

79690833

Date: 2025-07-05 06:26:01
Score: 2
Natty:
Report link

Count":2,"cellularRadioTech":null,"currentMode":1,"currentlyConnected":false,"deviceOrientationState":"FaceUp","previousMode":1,"previouslyConnected":false,"primaryNetworkInterface":"<unknown>","signalEnvironmentClassification":null,"sum_of_duration":0,"wiFiRadioTech":"OFF"},"name":"OffTheGridMode","numDaysAggregated":1,"sampling":100.0,"uuid":"19393271-fe8e-46a6-a3f6-04fc7619feb7_12"}

{"aggregationPeriod":"Daily","deviceId":"55fde767843b2f4b7b9566f57e2

Reasons:
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Kat

79690832

Date: 2025-07-05 06:22:00
Score: 1.5
Natty:
Report link

I think the problem is in your flutter path, you installed flutter in the system root. try installing flutter in C:\Users\{username}, I think this will solve the problem.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Vinícius Bruno

79690831

Date: 2025-07-05 06:19:00
Score: 2.5
Natty:
Report link

Does this problem still exits? , because in the recent update or transformation of idx to firebase studio they have rectified this issue, if it still exists there is hard restart the device option on top left corner on the emulator tab so you could do that for a total restart device that restarts it and shows the debug mode app preview, There is other not common work around you could setup flutter project in Android Studio cloud Hope you got the solution for your problem.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: shaiksahilrizwan

79690824

Date: 2025-07-05 06:05:57
Score: 0.5
Natty:
Report link

The best place to trigger the API call to fetch full train details would be Screen B's ViewModel. You can have a common repository class for defining the calls and all, then you can inject the same into both the ViewModels (of Screen A and Screen B). Thereafter, just let the ViewModel change its own state (by relying on the concerned functions from the repository) and you will be good to go. The navigation flow will surely not be the right place to do the API call because that way you are violating the Single Responsibility Principle.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Sujal Kumar

79690815

Date: 2025-07-05 05:37:51
Score: 1
Natty:
Report link

I think a combination of create_map from pyspark.sql.functions, chain from itertools and mapping might get you a more performant way.

This requires you are able to map your algorithm to a dict as per this SO answer: ttps://stackoverflow.com/a/42983199/2186184

Since you have multiple conditions you might need nested dicts, not sure if that is allowed in create_map though.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jonathan

79690812

Date: 2025-07-05 05:26:48
Score: 3
Natty:
Report link

I think you need to start with getnotebookfromweburl and then from the body retrieved use id and web url to construct the deeplink.

This page might contain more information: https://learn.microsoft.com/en-us/graph/onenote-get-content#notebook-entity

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

79690811

Date: 2025-07-05 05:21:47
Score: 0.5
Natty:
Report link

You're likely running into issues because the forum's search page uses dynamic content loading or server-side protections that make scraping more complex.

A few things to try:

  1. Check if the content is loaded via JavaScript – If so, Scrapy alone won’t see it. You might need to use Splash (for rendering JS in Scrapy) or tools like Playwright/Selenium instead.

  2. Session or headers required – The server may require specific headers (like Referer, User-Agent, Cookies, etc.) to return results. Use browser dev tools (F12) > Network tab to inspect what's being sent during a normal search and replicate those headers in your Scrapy request.

  3. Rate-limiting or bot detection – Frequent or unauthenticated requests can trigger temporary bans or timeouts. Try slowing down your crawl (using DOWNLOAD_DELAY, AUTOTHROTTLE_ENABLED) and setting realistic headers.

  4. Try using a real browser to inspect redirects or session IDs – It’s possible your first search loads a temporary session or token you need to persist.

Let us know what you find in the response headers or logs — happy to dig deeper!

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

79690810

Date: 2025-07-05 05:20:47
Score: 2.5
Natty:
Report link

I have encounter the same problem and spent 2 days solving this error. For me the problem was the environment setup, I have work on other projects and I have installed jdk 24 which react native does not support.. I followed the docs, downgrade jdk to v17 and its working fine now. Click here - https://reactnative.dev/docs/set-up-your-environment

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

79690807

Date: 2025-07-05 05:08:44
Score: 4
Natty:
Report link

Which Flutter version are you using?
Run "flutter doctor -v" and show your full response.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Which
  • Low reputation (1):
Posted by: Harshil Vaghasiya

79690805

Date: 2025-07-05 05:01:42
Score: 4
Natty:
Report link

I couldn't find any documentation on az afd waf-policy. Do you mean using az network front-door waf-policy?

Reference: https://learn.microsoft.com/en-us/cli/azure/network/front-door/waf-policy?view=azure-cli-latest

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: hrmck

79690800

Date: 2025-07-05 04:54:39
Score: 1
Natty:
Report link

Its seems the backgroundTint was the issue try setting it transparent

android:backgroundTint="@android:color/transparent"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kshitiz Mishra

79690799

Date: 2025-07-05 04:50:38
Score: 3.5
Natty:
Report link

#include<stdio.h>

int main()

{

printf("Hello World");

return 0;

}

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

79690798

Date: 2025-07-05 04:48:38
Score: 3
Natty:
Report link

You could use an range input. Then you could simply add an event listener on the video for "timeupdate" and an event listener of the range for "input" to sync them.

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

79690788

Date: 2025-07-05 04:16:31
Score: 2
Natty:
Report link

Hi after reviewing the source code I found an implementation of the request method as follows:

    @abstractmethod
    def request(self, method, url, headers=None, raise_exception=True, **kwargs):
        """Main method for routing HTTP requests to the configured Vault base_uri. Intended to be implement by subclasses.

        :param method: HTTP method to use with the request. E.g., GET, POST, etc.
        :type method: str
        :param url: Partial URL path to send the request to. This will be joined to the end of the instance's base_uri
            attribute.
        :type url: str | unicode
        :param headers: Additional headers to include with the request.
        :type headers: dict
        :param kwargs: Additional keyword arguments to include in the requests call.
        :type kwargs: dict
        :param raise_exception: If True, raise an exception via utils.raise_for_error(). Set this parameter to False to
            bypass this functionality.
        :type raise_exception: bool
        :return: The response of the request.
        :rtype: requests.Response
        """
        raise NotImplementedError

I am new at python but it seems like the class isn't already implemented, instead it is just raising an error, then this is why the call is working by curl but not by py

Thanks all for your help, I really appreciate your time.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1.5): I am new
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ana

79690783

Date: 2025-07-05 04:07:29
Score: 4
Natty:
Report link

It does take such a long time...After about 7 hours, it finished.

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

79690774

Date: 2025-07-05 03:14:18
Score: 0.5
Natty:
Report link

This error still happen in 2025.

Workaround:

Specify a Python version while create a new env:

conda create --name your_env_name python=3.12

Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Mai Hai

79690771

Date: 2025-07-05 03:08:17
Score: 1
Natty:
Report link

If you are using windows

1. Look for a file called .bashrc, usually in the Users folder

2. Edit that file and at the very bottom add the script

exec zsh

3. Save and try opening gitbash again

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

79690770

Date: 2025-07-05 03:07:17
Score: 2
Natty:
Report link

IsSoftDeleted is a provisioning engine virtual attribute, evaluated only at runtime during provisioning operations.

The Expression Builder test tools only evaluate actual user object attributes pulled from Entra (or AD, if hybrid).

Since IsSoftDeleted isn’t stored on the user , it's calculated in the context of:

Whether the user is in scope

Whether the provisioning engine considers them active

The Expression Builder can’t simulate provisioning scope logic, so it can’t test IsSoftDeleted.

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

79690763

Date: 2025-07-05 02:46:12
Score: 0.5
Natty:
Report link

Just discard time, no need to calculate timestamp:

let now = new Date();
let startOfToday = new Date(now.getFullYear(), now.getMonth(), now.getDate());
let startOfYesterday = new Date(now.getFullYear(), now.getMonth(), now.getDate()-1);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: SE12938683

79690756

Date: 2025-07-05 02:26:08
Score: 6
Natty:
Report link

Seems like your app is not able to connect to Supabase. I think the issue is similar to the one asked here: How to configure Supabase as a database for a Spring Boot application?

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abdul Wasey Khan

79690754

Date: 2025-07-05 02:19:06
Score: 0.5
Natty:
Report link

I’ve been through the same solo-dev slump while working on a long-term project. What helped me wasn’t motivation tricks, but having a structured vault to organize my thinking — feature ideas, scope changes, “half-baked” experiments, and even commit prep all in markdown.

I shared my setup + markdown templates in this post:
📄 How I Stay Productive (and Sane) as a Solo Developer

Might be useful if you’re looking for lightweight practices that still give you a sense of control and progress, even without a team around.

Reasons:
  • No code block (0.5):
Posted by: Santhosh Dhaipule Chandrakanth

79690751

Date: 2025-07-05 02:07:03
Score: 4
Natty: 4
Report link

Yes, sqlldr 23 does support automatic parallelism.

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

79690744

Date: 2025-07-05 01:30:55
Score: 3.5
Natty:
Report link

Same as my cause, wordpress multisite sub directory show The page returned 302 Found status code. I have tried many way still can't make it work

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

79690739

Date: 2025-07-05 01:05:51
Score: 2.5
Natty:
Report link

I tested many ways to fix this problem. But finally I realized that the date format type must be Gregorian. This post has a complete explanation.

See the solution

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

79690734

Date: 2025-07-05 00:46:47
Score: 1
Natty:
Report link
fastcgi_hide_header X-Powered-By;

This works with php 8.4 +

Adding the header in the nginx config file for Laravel/php app, under the location ~ \.php$ {} block

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mahmoud Abd Al-Aziz

79690732

Date: 2025-07-05 00:38:45
Score: 1.5
Natty:
Report link

The Root Cause:

NS-3 uses the SSID string as part of its internal hashing mechanism to seed random number generators for various network operations. When you change the SSID from "ns3-80211n" to "abc", you're inadvertently changing the seed values for:

Solutions:

Explicit Random Seed Control:

RngSeedManager::SetSeed(12345);

RngSeedManager::SetRun(1);

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

79690726

Date: 2025-07-05 00:01:37
Score: 1
Natty:
Report link

For me, the issue was that the AI auto-completed the necessary version number for me. It put version 1.6.2 for the rules and runner APIs. Version 1.6.2 doesn't exist.

There's links provided in the feedback generated that say where it tried to go to download the versions. One of them is on Google and the other from Maven. If you search for the information on Maven's website, you can see valid version numbers (including some experimental versions).

I switched to 1.6.1 (a valid version), resynced the build.gradle file, and then tried again. That fixed my issue.

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

79690704

Date: 2025-07-04 22:52:23
Score: 3
Natty:
Report link

Update the plist file by adding “Privacy — Location When In Use Usage Description” and setting it to "Yes".

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

79690702

Date: 2025-07-04 22:49:22
Score: 3
Natty:
Report link

You shouldn't set storeType if you use mysql or mysql2.

Here is the link to the storeType option in docs.

Reasons:
  • Blacklisted phrase (1): Here is the link
  • Contains signature (1):
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Animir

79690698

Date: 2025-07-04 22:43:21
Score: 0.5
Natty:
Report link

Fwiw I was able to both simplify the approach, improve the performance and refine the behaviour (thanks to Matt for getting me on the right track). Here's the full code in case it helps anybody else.

import SwiftUI
import UIKit
import AVFoundation

class VideoLayerView: UIView {
    private var playerLayer: AVPlayerLayer?
    private var player: AVPlayer?
    private var videoSize: CGSize = .zero
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        setupVideo()
    }
    
    required init?(coder: NSCoder) {
        super.init(coder: coder)
        setupVideo()
    }
    
    private func setupVideo() {
        guard let videoURL = Bundle.main.url(forResource: "example", withExtension: "MP4") else {
            print("Could not find example.MP4 in bundle")
            return
        }
        
        let asset = AVURLAsset(url: videoURL)
        player = AVPlayer(playerItem: AVPlayerItem(asset: asset))
        playerLayer = AVPlayerLayer(player: player)
        
        Task {
            do {
                let tracks = try await asset.loadTracks(withMediaType: .video)
                if let videoTrack = tracks.first {
                    let size = try await videoTrack.load(.naturalSize)
                    await MainActor.run {
                        self.videoSize = size
                        self.updateVideoLayout()
                    }
                }
            } catch {
                print("Error loading video dimensions: \(error)")
            }
        }
        
        playerLayer?.videoGravity = .resizeAspect
        layer.addSublayer(playerLayer!)
        
        NotificationCenter.default.addObserver(
            self,
            selector: #selector(playerDidFinishPlaying),
            name: .AVPlayerItemDidPlayToEndTime,
            object: player?.currentItem
        )
        
        player?.play()
    }
    
    @objc private func playerDidFinishPlaying() {
        print("Video finished playing")
    }
    
    override func layoutSubviews() {
        super.layoutSubviews()
        updateVideoLayout()
    }
    
    private func updateVideoLayout() {
        guard let playerLayer = playerLayer, videoSize.width > 0, videoSize.height > 0 else { return }
        
        let viewWidth = bounds.width
        let viewHeight = bounds.height
        let videoAspectRatio = videoSize.width / videoSize.height
        let viewAspectRatio = viewWidth / viewHeight
        
        var videoWidth: CGFloat
        var videoHeight: CGFloat
        
        if videoAspectRatio > viewAspectRatio {
            videoHeight = viewHeight
            videoWidth = viewHeight * videoAspectRatio
        } else {
            videoWidth = viewWidth
            videoHeight = viewWidth / videoAspectRatio
        }
        
        playerLayer.frame = CGRect(
            x: 0,
            y: 0,
            width: videoWidth,
            height: videoHeight
        )
    }
    
    func restartVideo() {
        player?.seek(to: .zero)
        player?.play()
    }
    
    deinit {
        NotificationCenter.default.removeObserver(self)
    }
}

class SequenceView: UIView {
    private var videoLayerView: VideoLayerView!
    private var currentOrientation: UIDeviceOrientation = .unknown
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        setupView()
    }
    
    required init?(coder: NSCoder) {
        super.init(coder: coder)
        setupView()
    }
    
    private func setupView() {
        backgroundColor = .white
        
        videoLayerView = VideoLayerView()
        videoLayerView.translatesAutoresizingMaskIntoConstraints = false
        addSubview(videoLayerView)
        
        NSLayoutConstraint.activate([
            videoLayerView.topAnchor.constraint(equalTo: topAnchor),
            videoLayerView.leadingAnchor.constraint(equalTo: leadingAnchor),
            videoLayerView.trailingAnchor.constraint(equalTo: trailingAnchor),
            videoLayerView.bottomAnchor.constraint(equalTo: bottomAnchor)
        ])
        
        NotificationCenter.default.addObserver(
            self,
            selector: #selector(orientationDidChange),
            name: UIDevice.orientationDidChangeNotification,
            object: nil
        )
        
        currentOrientation = UIDevice.current.orientation
    }
    
    @objc private func orientationDidChange() {
        let newOrientation = UIDevice.current.orientation
        
        if newOrientation != currentOrientation && newOrientation != .unknown {
            currentOrientation = newOrientation
            
            DispatchQueue.main.async { [weak self] in
                self?.videoLayerView.restartVideo()
            }
        }
    }
    
    deinit {
        NotificationCenter.default.removeObserver(self)
    }
}

struct SequenceViewWrapper: UIViewRepresentable {
    func makeUIView(context: Context) -> SequenceView {
        return SequenceView()
    }
    
    func updateUIView(_ uiView: SequenceView, context: Context) {
    }
}

struct ContentView: View {
    var body: some View {
        SequenceViewWrapper()
            .ignoresSafeArea()
    }
}
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: gjh

79690693

Date: 2025-07-04 22:33:19
Score: 2.5
Natty:
Report link

I had this same issue. I was loading the bootstrap.bundle.js file in the body element as the last item, but moving it to the head element solved it for me.

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

79690691

Date: 2025-07-04 22:31:18
Score: 3.5
Natty:
Report link

After finding an issue on their GitHub with the same problem I was able to solve the problem by depending on the `okhttp-jvm` dependency instead, as Maven doesn't seem to have the same "awareness" for module metadata as Gradle does.

So, if you're using Maven and get the same issue, try changing the okhttp artifact ID to okhttp-jvm.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): get the same issue
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Andre_601

79690690

Date: 2025-07-04 22:30:18
Score: 0.5
Natty:
Report link

The way this problem was solved was using the following structure in a side code which load the sampler:

if type(samples)==list:
            samples = samples[1].to(device, non_blocking=True)
        else:
            samples = samples.to(device, non_blocking=True)

This works either using a local stored dataset in Sagemaker or using S3torchconnector. By doing this the code was able to read and train a list.

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

79690687

Date: 2025-07-04 22:25:17
Score: 0.5
Natty:
Report link

Running CodeBuild inside a private subnet within a vpc, and giving it outbound internet access:

We have to attach NAT gateways to private subnets we wish to give outbound internet access.

In a vpc configuration, a subnet is public if it is attached to an internet gateway (igw for short). And we do this using a subnet association in a route table: we can use the default route table that comes with the vpc; we add the route [destination: 0.0.0.0/0, target: igw-XXXX where igw-XXXX is an igw], we then move to the route table subnet association and attach the subnet we wish to make public. Of course, you can create the igw if you haven't.

Once this subnet is made public, we have to create the NAT gateway we wish to attach to private subnets, within this public subnet. So, when creating the NAT, in the form for creating the NAT, we must select this public subnet as its subnet.

Now let's move over to the private subnets. We must ensure these private subnets are not associated with our default route table since we're using this route table to route traffic to the igw. If they are, they are automatically public subnets.

We must create a new route table to manage routing for our private subnets. Now create the new route table, and select our vpc while doing that. After that, add a route to this table [destination: 0.0.0.0/0, target: nat-XXXX where nat-XXXX is the NAT you created]. Next, we move to the route table subnet association and attach all the subnets we wish to make private.

Now since this NAT's subnet (the subnet selected while creating the NAT) is a public subnet and attached to an igw, all the private subnets associated with this NAT, would have outbound internet traffic.

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

79690685

Date: 2025-07-04 22:23:16
Score: 0.5
Natty:
Report link

I was able to archive getting Mutual friends for request.user friends that are friends to other users who is not friend to request.user.... Using ManyToManyField (Following)

in Views.py/Template

# Mutual Friends
all_following = request.user.profile.following.values_list('pk', flat=True)
mutual_followers = Profile.objects.filter(pk__in=all_following)


# Template
{% for users in profile_users %}

# List of users
<p>{% users.user %}</p>

# Get mutual friend for each users that is friend to request.user
{% for mutual_friend in mutual_followers %}
{% if mutual_friend in users.following.all %}
<p>{{ mutual_friend.user.username }}</p>
{% endif %}
{% endfor %}

{% endfor %}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user30880337

79690682

Date: 2025-07-04 22:11:14
Score: 1
Natty:
Report link
# Re-generate the PDF and save it to a downloadable path for the user
pdf = PDF()
pdf.add_page()

# Add sections again
for title_ar, title_fr, items in sections:
    pdf.chapter_title(title_ar, title_fr)
    pdf.chapter_body(items)
    pdf.ln(4)

# Save PDF to a shareable location
pdf_path = "/mnt/data/قائمة_تقني_الصوت_مهرجان_خارجي.pdf"
pdf.output(pdf_path)
pdf_path
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30967934

79690677

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

After many years it seems that both sheets have now the same behavior. I consider this issue resolved.

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

79690664

Date: 2025-07-04 21:33:04
Score: 2
Natty:
Report link

This visualization, made with invocation_tree, shows how mergesort([3,2,7,1,4,6,5]) repeatedly splits the problem into sub-problems until a sub-problem is sorted, and then recombines the result of two sorted sub-problems using merge() before it returns:

call tree

This is the final result as a static image for your viewing pleasure:

final image

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

79690659

Date: 2025-07-04 21:20:02
Score: 1.5
Natty:
Report link

I had this same problem. I was using axis inside a tikzpicture which was inside a node from a tikzpicture (so my axis was in a 'nested' tikzpicture). The node had [anchor = north] . Removing this anchor fixed the issue.

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

79690655

Date: 2025-07-04 21:05:58
Score: 1
Natty:
Report link

What were you using OpenTSDB for? Bigtable now supports a lot of time series capabilities out of the box e.g. there are

These are most common operations in time series databases and doing directly in the database would simplify your stack instead of running an additional service on top of it in GKE.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What were you
  • Low reputation (0.5):
Posted by: Bora

79690651

Date: 2025-07-04 21:01:57
Score: 1
Natty:
Report link

If a Service declared in your app's manifest is running then your app is running. One of the purposes of Services is to be alive independent of any Activity that can be visible on the screen.

Regarding "binding" Services... this term usually stands for using a ServiceConnection to bind a Service to an Activity, so I'm unclear what you mean by "My app has a bound service". Bound to what? Have you done any binding?

It seems that you're trying to access a Service defined in App1 from App2. I don't believe this is possible. Perhaps if you described to us your goal we could point you towards a path to implementation.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Matt from vision.app

79690649

Date: 2025-07-04 20:54:56
Score: 2
Natty:
Report link

My plan is to create an Accounting System for small charities using the python language, tkinter and sqlite. I have used gnucash in my own charity: beesanctuarymovement.org and wish to create my own program with features not present in gnucash such as creating a receipts and payments account report, and a statement of assets and liabilities as described in the charity treasurer's handbook. Small charities do not buy or sell on credit; so there is no need for a sales and purchase ledger. They do however need bank/cash transactions to be subdivided by fund.

If you are familiar with gnucash split entry transactions, that is the feature I wish to copy. There is a one to many relationship between journal table which contains information specific to every transaction; and the ledger which has a foreign key Tran_id which refers to the journal.

I wish to create a form which joins the Journal and Ledger tables. The sum of all amounts in the ledger table for all lines which share tran_id should add up to zero ( or equivalently in accounting jargon all credits equal all debits.

My plan is this form (or grid) should display all ledger rows (joined with journal info) for a specific account_id. Clicking on any row in this table should allow you to edit the full transaction in situ.

Sorry if you don't understand the gist of this. It is very hard to explain bookkeeping in an understandable way given the current constraints. The form (grid) should display a running balance of the specified account, and this is not stored in the sql tables, instead it will be calculated by panda and displayed in the sheet.

I have done a lot of research, and I believe combining panda and tksheet is the best way to do what I want.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Brian McGill

79690638

Date: 2025-07-04 20:33:50
Score: 4
Natty: 4
Report link

accelGravity = (G * M) / (distCenter * distCenter);

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

79690632

Date: 2025-07-04 20:19:47
Score: 3.5
Natty:
Report link

TensorFlow Framefwork API mirrors the overall structure of Python Keras.

Please check

https://github.com/tensorflow/java/blob/master/tensorflow-framework/README.md

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

79690623

Date: 2025-07-04 19:59:43
Score: 1
Natty:
Report link

Try "Go to Source Definition" - VSCode

Must be in a TS file, I think the shortcut key for that is alt f12 or cmd f12, if you can't find it search in command pallet

command:typescript.goToSourceDefinition

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

79690618

Date: 2025-07-04 19:51:41
Score: 1
Natty:
Report link

I think it would be better to compare LISP to the Peano Postulates than to Euclidean Geometry.
I have constructed a complete Peano Natural Number Arithmetic in LISP, and can see a clear path to creating the Rational Arithmetic. A Natural corresponds to a List of Units, i.e. Unary Numerals. Cons corresponds to the Successor operation; An Integer is a pair of Naturals, the Difference between the two; a Rational is a pair of Integers, the Ratio of the Two. Rational arithmetic is closed under addition, subtraction, multiplication, and division, except division by zero. Addition and Multiplication are recursively defined as in Peano. The sums and products of Rationals are the standard definitions. Subtraction: change sign (reverse order of the pair of naturals) and Add; Division: invert (reverse order as in add) and Multiply.

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

79690616

Date: 2025-07-04 19:46:40
Score: 2
Natty:
Report link

Content type states it's a video file, but the file is named audio.mp4.

If you are uploading audio, mime type should be: audio/mp4

Refer to https://www.iana.org/assignments/media-types/media-types.xhtml

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

79690612

Date: 2025-07-04 19:41:39
Score: 3
Natty:
Report link

In my case I got this error due to a missing quotation mark after a new variable, a path to a database, was added to .env file.

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

79690611

Date: 2025-07-04 19:39:38
Score: 2.5
Natty:
Report link

this works ok!


::ng-deep.mat-mdc-menu-submenu-icon{
  visibility: hidden !important;
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: tony

79690608

Date: 2025-07-04 19:33:36
Score: 1
Natty:
Report link

Here is a minimal example :-

import tkinter as tk
from tksheet import Sheet

root = tk.Tk()
data = [["Row1-Col1", "Row1-Col2"], ["Row2-Col1", "Row2-Col2"]]
sheet = Sheet(root, data=data, editable=True)
sheet.enable_bindings(("single_select", "edit_cell"))
sheet.pack(expand=True, fill="both")
root.mainloop()

This sheet is editable, unlike the main program

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

79690607

Date: 2025-07-04 19:30:36
Score: 3.5
Natty:
Report link

That code is totally bizarre.

Why would anyone write it that way?

Most of the variables are defined outside your posted snippet.

Please tell us what this code does.

This statement is always false by definition:

d > d

Try changing this code:

} else if (j == false) { // <---------------------------- error
          if (((d < 1.0D || d > d) ? false : true) == false)
            c = 7; 
        }

to this:

} else if ((j == 0) && (d < 1d)) c = 7;
Reasons:
  • RegEx Blacklisted phrase (2.5): Please tell us what
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Langdon