79808931

Date: 2025-11-04 13:03:39
Score: 2.5
Natty:
Report link

A better way is to run the printing loop in a background task and concurrently monitor input in Task.Run, using a shared CancellationToken. This avoids blocking console output while checking for key presses.

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

79808929

Date: 2025-11-04 13:01:38
Score: 2
Natty:
Report link

I'm not aware of any workarounds or plugins to fix this, but here is a ticket in PyCharm issue tracker for this problem - https://youtrack.jetbrains.com/issue/PY-85349/External-Documentation-shortcut-doesnt-work-in-Evaluate-Expression

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

79808926

Date: 2025-11-04 12:55:37
Score: 3.5
Natty:
Report link

Update "@inboxsdk/core" npm package to : "^2.2.8",

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

79808922

Date: 2025-11-04 12:51:36
Score: 1.5
Natty:
Report link

I built a framework where you create a database table and then you get online forms to go with it. Sort of a limited version of MS Access where the forms are on the web browser. Metadata about forms (titles, button and field names an locations, permissions, etc) are also stored in tables, so there is no hard coded UI elements. All UI is generated dynamically from data in tables for every request. There is generic code to search, display, edit, print, export, etc but when needed you can override the default code to do something more specific like a complicated report that joins tables. I currently generate the HTML to present to the user by just concatenating HTML tags into a string, and then returning the string. I also print the forms by generating similar HTML in a similar way and then use HTMLDOC to generate a PDF. HTML::Tiny should clean that both of those processes up.

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

79808917

Date: 2025-11-04 12:49:35
Score: 2
Natty:
Report link

Yeah, that’s pretty common with apps built using Flutter or other lesser-known frameworks. Windows/Avast just flags unsigned executables. The best fix is to code-sign your .exe with a valid certificate, that tells Windows/antivirus it’s safe. Also, make sure you build in release mode and maybe submit the file to Avast’s whitelist once it’s final.

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

79808916

Date: 2025-11-04 12:49:35
Score: 4.5
Natty:
Report link

con OpenSuse 15.6 se instalaron los siguientes paquetes:

zypper in libgthread-2_0-0

zypper install at-spi2-core

zypper in libgcrypt-devel

con esto pude ejecutar SpringTools, DBeaver y JasperStudio

Espero les sirva a los Javeros

Reasons:
  • Blacklisted phrase (2): Espero
  • Blacklisted phrase (1.5): sirva
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Isra MR

79808912

Date: 2025-11-04 12:45:34
Score: 1
Natty:
Report link

you are likely using a modern PyCharm version with a slightly different UI, to configure the interpreter try Setting | Python | Interpreter ...

enter image description here

... or bottom-left interpreter widget ...

enter image description here

given the interpreter is configured - you can install a package in View | Tool Windows | Python Packages

enter image description here

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

79808909

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

Yeah, that’s a known bug with the new Outlook rendering. Easiest workaround is to wrap the phone number in a regular <a> tag but make the href look like a normal URL, e.g. href="https://example.com/tel/0000000000", or just drop the tel: link and show the number as plain text. Outlook strips or rewrites tel: links right now, so not much you can do until they fix it.

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

79808908

Date: 2025-11-04 12:39:33
Score: 3.5
Natty:
Report link

Yeah I just faced a similar problem - and also found this issue on GH: https://github.com/anthropics/claude-code/issues/4365

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

79808906

Date: 2025-11-04 12:38:32
Score: 2.5
Natty:
Report link

Should be str.replaceAll instead of str.replace otherwise just the first occurrence will be processed.

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

79808900

Date: 2025-11-04 12:32:31
Score: 2
Natty:
Report link

You can obtain elevation values for given coordinates using the Elevation API provided by Haritaevi. It offers a simple interface and returns results in JSON format.

Documentation and interactive demo: https://elevation.haritaevi.com

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Selim ÇEKAL

79808883

Date: 2025-11-04 12:17:27
Score: 1
Natty:
Report link

For others who stumble across this post, the modern standardized way to do this beyond C++20 and C23 is by using __VA_OPT__(content).

When variadic arguments are passed and thus __VA_ARGS__ is defined __VA_OPT__(content) is replaced with content.

e.g.

#define custom_printf(format, ...) printf(format __VA_OPT__(,) __VA_ARGS__)

C23: https://en.cppreference.com/w/c/preprocessor/replace.html

C++20: https://en.cppreference.com/w/cpp/preprocessor/replace.html

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

79808878

Date: 2025-11-04 12:10:24
Score: 3
Natty:
Report link

I'm experiencing the same issue. The PDF is not printed fully fitted to the A4 size — it slightly exceeds the page borders. When I test the same PDF with version 9.23, it works correctly, but with the current version 10.05.1, it doesn't.
Thanks in advance to anyone who can help.

gswin64c.exe -q -dBATCH -dNOPAUSE -dPrinted -sDEVICE=mswinpr2 -sOutputFile="%printer%Brother" -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dFIXEDMEDIA -dPDFFitPage -sPageList=1 -c "<< /Duplex true >> setpagedevice" -f "C:\test.pdf"
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: S Arslan

79808872

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

I guess there is a bug in VS.
Somehow in my situation, I will require to restart my PC each time I want to do a publish.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yun

79808871

Date: 2025-11-04 11:59:21
Score: 0.5
Natty:
Report link

You can't style the scrollbar of a pseudo-element because pseudo-elements (like ::before and ::after) can't be independently scrollable. Scrollbars belong to 'real' DOM elements with overflow set to auto or scroll. If your pseudo-element overflows the parent, the scrollbar is actually on the parent. To style it you need to target the scrollable container (parent), not the pseudo-element.

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

79808870

Date: 2025-11-04 11:57:21
Score: 1.5
Natty:
Report link

ErrorBoundary is recommended to handle errors in blazor.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Barış Akkurt

79808866

Date: 2025-11-04 11:55:20
Score: 0.5
Natty:
Report link

I wanted a simple understandable short non-intrusive solution, and one that works for .nvmrc in the current directory as that's the use-case I have.

Add this line [ -f .nvmrc ] && nvm use --silent in your ~/.bashrc or ~/.zshrc file.

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

79808865

Date: 2025-11-04 11:55:20
Score: 3.5
Natty:
Report link

bro, do you find some solutions? l'm been trucking in this problem.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: baihaihui

79808864

Date: 2025-11-04 11:55:20
Score: 1
Natty:
Report link
mkdir folder_name && cd folder_name 

if want to create file also and text inside it

nano filename.extenction  

write your text then press ctr + x , then y , enter

if u want to learn about command lines then check http://thedevscourse.com/

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

79808857

Date: 2025-11-04 11:48:18
Score: 4.5
Natty:
Report link

Maybe some one will have the same problem in the future just do a -flutter upgrade on your terminal it worked with mine and installed the needed depedencies for support.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kolaka Joe

79808855

Date: 2025-11-04 11:45:17
Score: 3.5
Natty:
Report link

I checked this code on my machine. It works pretty well without infinite re-renders.

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

79808851

Date: 2025-11-04 11:39:15
Score: 2
Natty:
Report link

If your custom post type is working on the front-end but not showing in the WordPress admin menu, it usually means one or more arguments in the register_post_type() configuration are preventing it from appearing in the dashboard.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Syeda Aneesa

79808849

Date: 2025-11-04 11:37:15
Score: 2
Natty:
Report link

You're not alone.

Checkout QueryDSL https://www.baeldung.com/querydsl-with-jpa-tutorial. It allows you to specify more complex operations but can get real heavy real quick. If its more your style, use it. If not, let me know so I can edit this, giving a more detailed answer on how we can go about it.

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

79808848

Date: 2025-11-04 11:36:15
Score: 1.5
Natty:
Report link

The simple answer is that you have invalid configuration at .idea file. This problem may appear if you open the same project in different versions of jetbrains' IDEs, so you should regenerate the .idea file.

  1. Close the project

  2. Go to the folder of the project through file explorer

  3. Delete the current .idea file (don't worry about major problems appearing after that action).

  4. Open the project via pycharm again

  5. Check through explorer if the .idea file generated inside the project.

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

79808841

Date: 2025-11-04 11:30:12
Score: 0.5
Natty:
Report link

If you don't want to bother finding out which was the last entry's ID, here's a one-liner to remove it:

db.collection.findOneAndDelete({}, {sort: {_id: -1}})
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Michael

79808839

Date: 2025-11-04 11:29:12
Score: 0.5
Natty:
Report link

There's a simpler way to achieve this, by combining options_for_select and grouped_options_for_select together:

options_for_select(["Income"]) + grouped_options_for_select([["Auto", ["Fuel", "Maintenance"]], ["Home", ["Maintanance", "Mortgage"]]])
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rolandas Barysas

79808836

Date: 2025-11-04 11:26:11
Score: 1.5
Natty:
Report link

I don't feel that any of the above 'answers' adequately answer the OP's question. They simply state how to use the construct, which is not what the OP asked.

In plain English (and I appreciate that may not be everyone's first language), what you're saying is:

let <these expressions and evaluations>
be used in <the following expression>

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sound Of Mind

79808834

Date: 2025-11-04 11:22:10
Score: 4
Natty:
Report link

I wrote a script to show how it could be done: https://github.com/mrharel/facebook_ads_comments_analysis

Also wrote about it here: https://www.linkedin.com/pulse/meta-ads-comment-extraction-sentiment-analysis-amir-harel-fxsae/

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
Posted by: Amir

79808833

Date: 2025-11-04 11:22:09
Score: 13.5 🚩
Natty: 6.5
Report link

Did you solved it? I have the same issue, is driving me crazy.. I tried everything! :(

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Blacklisted phrase (1): :(
  • RegEx Blacklisted phrase (3): Did you solved it
  • RegEx Blacklisted phrase (1.5): solved it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you solve
  • Low reputation (1):
Posted by: Jose Emanuel Delgado

79808826

Date: 2025-11-04 11:18:08
Score: 2.5
Natty:
Report link

You can't take data from different MediaRecorder instances and just append blobs as if they were a single file. You have to treat each recording session as separate mp4 file, even if the MIME type is the same. If you don't want to go with wasm for repackaging the content, you might want to consider mp4box.js.

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

79808825

Date: 2025-11-04 11:17:08
Score: 1.5
Natty:
Report link

I ran into the same issue — React-Player just refused to stop playing, even when I set playing={false}.

I switched to a plain old <video> tag, and the problem is gone!

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

79808815

Date: 2025-11-04 11:03:04
Score: 0.5
Natty:
Report link

Change your query to below:

CREATE TRIGGER devolver_a_refugio2
AFTER DELETE ON adopciones
FOR EACH ROW
BEGIN
  UPDATE animal 
  SET situacion = 'refugio'
  WHERE id = OLD.id_animal;
END;

OLD.id_animal : It refers to the id_animal value from the deleted record in the adopciones table.

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

79808803

Date: 2025-11-04 10:46:00
Score: 2
Natty:
Report link

I simply created a new repo entirely and it worked fine....all the above solutions didn't work for me

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

79808795

Date: 2025-11-04 10:38:58
Score: 1.5
Natty:
Report link
!\ cls

worked for PostgreSQL on Windows 11.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Safak Yildiz

79808785

Date: 2025-11-04 10:26:56
Score: 5
Natty: 5
Report link

Running an internal regional app load balancer.
can i check if i can use service labels on my computeforwardingrule to connect to my cloudrun services? I have created an Network Endpoint Group and Backend Service.

Would anyone be able to advise me please?
Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Viknesh

79808766

Date: 2025-11-04 10:01:49
Score: 1
Natty:
Report link

It seems we've found the cause of this issue: One of our internal dependencies was still pulling Java 11 related code, using javax instead of jakarta and that was breaking the annotation processors and causing the Fields errors reported here.

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

79808753

Date: 2025-11-04 09:54:47
Score: 2.5
Natty:
Report link

Flutter Adsterra -https://pub.dev/packages/flutter_adsterra/versions

https://github.com/romangazi1/flutter_adsterra/blob/main/example.dart

Flutter web package to display Adsterra ads: Banner, Native, Popunder, SmartLink, and Social Bar widgets.

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

79808752

Date: 2025-11-04 09:53:47
Score: 1.5
Natty:
Report link

little late to the party, but reading from the FAQ, I think you might try :

minikube start --listen-address=0.0.0.0
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Clément Chanchevrier

79808751

Date: 2025-11-04 09:53:47
Score: 1.5
Natty:
Report link

What about this ?

/^(?:(?:\+|00)33[\s.-]{0,3}|0)[1-9](?:[\s.-]?\d{2}){4}$/

If you want to include French Overseas territory (Outre-mer), try this :

/^(?:(?:(?:\+|00)33[\s.-]{0,3}|0)[1-9]|(?:\+|0)(?:508|594|590|596|681|687|689))(?:[\s.-]?\d{2}){4}$/
Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: HukanloS

79808744

Date: 2025-11-04 09:47:45
Score: 1
Natty:
Report link

Two issues likely:
(1) you built with Podman but Ray is using Docker (RAY_RUNTIME_ENV_PODMAN_EXE=/usr/bin/docker). Docker can’t see images built by Podman, and “localhost/ray-image:latest” is parsed as a registry, so it won’t find it.

(2) runtime_env key should be {"container":{"image":"…"}}, not image_uri. Try: ray job submit --runtime-env-json '{"container":{"image":"ray-image:latest"}}' after building with docker build, or point Ray to /usr/bin/podman and push the image to a real registry (ECR/Docker Hub).

Docs: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#container-runtime-env.

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

79808740

Date: 2025-11-04 09:36:43
Score: 1.5
Natty:
Report link

When users install Postman using the Snap package manager, the configuration files, including the proxy certificate, may be located in a different directory compared to traditional installations.

~/snap/postman/current/.config/Postman/proxy/

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When use
  • Low reputation (1):
Posted by: mojtaba shojaei

79808732

Date: 2025-11-04 09:30:41
Score: 1.5
Natty:
Report link

First check your transformers version, and then ensure you’re using the correct kernel/environment and dependencies like torch (or tensorflow) installed / compatible and restart the kernel / clear caches. Try a minimal repro

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

79808728

Date: 2025-11-04 09:27:40
Score: 0.5
Natty:
Report link

Quicker solution ( where error.getErrors()) is String list:

String.join(",", error.getErrors())
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: cyril

79808722

Date: 2025-11-04 09:23:39
Score: 0.5
Natty:
Report link

this is the Customer entity :

@Entity
@Table(name = "customer")
public class Customer {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    private String name;
    
    ...
}

OrderCreateDto :

public class OrderCreateDto {

    private LocalDate orderDate;
    private BigDecimal totalAmount;
    private Long customerId;

    ...
}

and this is the create() method in the OrderService.java class :

public OrderDto create(OrderCreateDto dto) {
    Order entity = mapper.toEntity(dto);
    Order saved = repository.save(entity);
    return mapper.toDto(saved);
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ayoub

79808689

Date: 2025-11-04 08:56:32
Score: 2
Natty:
Report link
const [left, right] = [text.slice(0, n), text.slice(n)];
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: fardolieri

79808688

Date: 2025-11-04 08:56:32
Score: 2
Natty:
Report link

@WeijunZhou Thanks for the insights, and I think you are right regarding comments.

Your link offers the possibility for the community wiki, but I'm reluctant to do the conversion because of the uncertain result. (like your invisible comment) On the other hand, this format is already somewhat similar.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @WeijunZhou
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Brandlingo

79808687

Date: 2025-11-04 08:56:32
Score: 0.5
Natty:
Report link

Minify is not obsolete and is more helpful than gzip, especially when working with IoT devices or geographically remote systems. Yet, the question is about compression, which is something different.

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

79808682

Date: 2025-11-04 08:55:31
Score: 1
Natty:
Report link

You can't, with nidaqmx Task you can start generating multiple signals at once but not one after another while the first isn't done. If you do it will stop what you were doing in the first Task.

Secondly, you can't instanciate 2 Task (Task1 & Task2) for the same hardware at the same time, it's just not possible.

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

79808679

Date: 2025-11-04 08:51:30
Score: 0.5
Natty:
Report link

The ImportError occurred due to the nested file structure of the repository. One of the ways to fix it is by changing the import in run_train.py to target the specific files:

from model.generator.generator import Generator
from model.critic.critic import Critic
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sagar

79808674

Date: 2025-11-04 08:48:29
Score: 1.5
Natty:
Report link

Create a css.d.ts or global.d.ts and add this as it's content.

This tells typescript that any import ending with .css is a valid module.

declare module "*.css"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Elijah Agbedam

79808665

Date: 2025-11-04 08:28:25
Score: 2.5
Natty:
Report link

You must install these two extentions in vscode:

1: PostCSS Language Support
2: PostCSS Intellisense and Highlighting

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

79808661

Date: 2025-11-04 08:23:24
Score: 1
Natty:
Report link

In order for a component to take properties

As @natashap mentioned in the comment, you need to convert it to a component instead of a variable

//File A.jsx

export const V = ({text, prop1, prop2}) => {
    //use properties

    return <div>{text}</div>
}
//File B.jsx

import {V} from './A.jsx'

export const F = () => {
    return (
        <>
            <V text='text' prop1='prop1' prop2='prop2'/>
        <>
    )
}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @natashap
  • Low reputation (0.5):
Posted by: Mohammad Ali

79808644

Date: 2025-11-04 08:07:19
Score: 0.5
Natty:
Report link

If I understand correctly: No need for scripts.

If you can't find the actual origin: SHIFT S -> Cursor to Selection, then look for the cursor. You can also press N and check the object's location.

If you want to set the origin to the center: Rightclick (or press W) and select: Set Origin -> Origin to Geometry

If you want to find the median of all objects' locations in the FBX: select them all and again SHIFT S -> Cursor to Selection.
You can press . (period) and also choose a different center, like bounding box.
After doing this, you can also set the pivot of all objects by selecting them and Rightclick (w) Set Origin -> Origin to 3D cursor.

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

79808640

Date: 2025-11-04 08:03:18
Score: 1
Natty:
Report link

For anyone encountering this issue, I was able to get it to work using the following params:

$params = array(
            'filtering' => array(
                array(
                    'field' => 'created_time',
                    'operator' => 'GREATER_THAN',
                    'value' => strtotime($start_date)
                ),
            ),
            'limit' => 1000
        );

The Reason seems to be that time_range is only supported by the Insights API and not the Marketing API

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

79808627

Date: 2025-11-04 07:50:15
Score: 2
Natty:
Report link

Good find there! After wondering about IRQ performance on Arduino ESP32 for quite a while I luckily came across this. Yes, same in Arduino ESP32, my map file shows my IRQ in flash. I opened a ticket with the devs which was answered quickly: https://github.com/espressif/arduino-esp32/issues/11977

..they think that ISRs in Flash are safer. But there's also a suggestion at the bottom, I haven't looked into that one yet though.

Thank you again for your work, I might just switch to ESP-IDF from hereon.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Low reputation (1):
Posted by: HaJo Schatz

79808617

Date: 2025-11-04 07:42:13
Score: 1.5
Natty:
Report link

But there must be some ground for such "wondering"? I mean, it shouldn't be just out of the blue? Like, you always walked on your feet but suddenly start wondering whether if there was a benefit in walking on your hands. What benefits you can think of?

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

79808607

Date: 2025-11-04 07:20:08
Score: 3
Natty:
Report link

StackOverflow doesn't let me delete the question

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Walter Verhoeven

79808606

Date: 2025-11-04 07:18:07
Score: 7.5
Natty:
Report link

@your-common-sense: I studied several small PHP container projects. I noticed a lot of them had several public methods on how to add a service to the container. Usually it was set() and bind(). I was wondering if there was a benefit to a developer to break it out into each type?

Reasons:
  • Blacklisted phrase (2): was wondering
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @your-common-sense
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: germanshedder

79808588

Date: 2025-11-04 06:58:03
Score: 2
Natty:
Report link

Apply your code style settings.Format a real code sample (Ctrl+Alt+L / Cmd+Opt+L)and then verify the wrapping behaves as expected at your actual "Hard wrap at" setting

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

79808583

Date: 2025-11-04 06:49:00
Score: 3
Natty:
Report link

What I really like about this app is how balanced it feels — it’s not overloaded with unnecessary features, yet it offers everything you need. It’s lightweight, user-friendly, and stable. Get Snaptroid APK at snaptroid2.cc for full details.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What I
  • Low reputation (1):
Posted by: Brian Tyrion

79808574

Date: 2025-11-04 06:33:57
Score: 2
Natty:
Report link

I've only one question: why? What benefit do you get from that? Or a more specific question, wjy a calling party should know the details of the service implementation, being forced to call a specific method for different type?

Reasons:
  • Blacklisted phrase (0.5): why?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Your Common Sense

79808569

Date: 2025-11-04 06:25:54
Score: 0.5
Natty:
Report link

I found the solution.....My colleague suggested I run VS Code as “Run as administrator", and it worked. Just right click VsCode and choose Run as administrator......It's so weird.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-2): I found the solution
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kaine Ryder

79808559

Date: 2025-11-04 06:17:52
Score: 1
Natty:
Report link
Time = 
IF(
    NOT(ISBLANK(Sheet1[Start Date])) &&
    NOT(ISBLANK(Sheet1[End Date])),
    NETWORKDAYS(
        Sheet1[Start Date],
        Sheet1[End Date],
        IF(
            OR(
                Sheet1[Country Name] = "Saudi Arabia",
                Sheet1[Country Name] = "Egypt"
            ),
            7,
            1
        )
    ) - 1,
    BLANK()
)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: devrinc

79808545

Date: 2025-11-04 05:37:43
Score: 2
Natty:
Report link

(Reposting my comment as a "reply" since the comment is likely invisible/links not clickable even from the inbox)

You can check this link and see whether it contains a way to convert it to Community Wiki. Also note my answer here on Meta SO.

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): check this link
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Weijun Zhou

79808536

Date: 2025-11-04 05:23:40
Score: 2.5
Natty:
Report link

I have same issue and fixed it with code below:

struct LiquidGlassTabView: ViewModifier {
    @ObservedObject var viewModel: ViewModel
    
    func body(content: Content) -> some View {
        if #available(iOS 26.0, *) {
            if viewModel.showAudioMiniPlayer {
                content
                    .tabViewBottomAccessory {
                        MiniPlayerView()
                    }
            } else {
                content
            }
        } else {
            content
        }
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have same issue
  • Low reputation (1):
Posted by: Le Do

79808521

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

I had this issue on a Linux host and it turns out that the Linux fips=1 kernel entry will cause this error! So turn off fips in your Grub configuration!

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

79808514

Date: 2025-11-04 04:19:27
Score: 1.5
Natty:
Report link

I've fixed it by downgrading Node version from v24 to v22

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

79808507

Date: 2025-11-04 04:03:23
Score: 4.5
Natty: 6
Report link

do you got a script that grabs the information from a website using python or js? I would like to get that code if you do thank you

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: script kiddie

79808506

Date: 2025-11-04 04:03:23
Score: 2.5
Natty:
Report link

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:YourDB %>" SelectCommand="SELECT * FROM Claims" CancelSelectOnNullParameter="false"> </asp:SqlDataSource>

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

79808493

Date: 2025-11-04 03:33:17
Score: 1
Natty:
Report link

I think javascript minify is obsolete technic for reduce bandwidth since modern web server has feature HTTP compression.

For reduce JavaScript or text-like file (html, css, json) size. Setup HTTP compression at webserver and let browser decompress is better.

This way with have no overhead for un-minify Javascript.

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

79808478

Date: 2025-11-04 03:09:12
Score: 1.5
Natty:
Report link

This issue also happened to me a few days ago.

Adding referrerpolicy="strict-origin-when-cross-origin" fixed it for me

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

79808477

Date: 2025-11-04 03:00:10
Score: 2
Natty:
Report link

i had similar issue. the script Array was to large and when i open other apps it would eventually kill the PowerShell script. Removed the array and just wrote to a text file with in the loop\iteration. also had a recovery point by doing that.

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

79808474

Date: 2025-11-04 02:54:09
Score: 2
Natty:
Report link

I was just asking how I get a AI Security TECH that love the USA system that can recommend who u let in your home and I'm just starting out with my own company / Bisuness to transform people lifestyles and make them so much safer and the love the help Because of the love I have for my Family I m.very personally

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

79808471

Date: 2025-11-04 02:26:03
Score: 3
Natty:
Report link
 flags_str = packet.sprintf("%TCP.flags%")
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Santos

79808463

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

Thank you for this! Finally working for me too. i have been trying to connect to IdentityInfo table. I tried to use token, credentials etc and still nothing works.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Wani Nazeri

79808454

Date: 2025-11-04 01:33:52
Score: 1
Natty:
Report link

Uses UTC. Try

function daysSince2000() {
  return (Date.now() - Date.UTC(2000, 0, 1)) / 86400000;
}
console.log(daysSince2000());

use Luxon or Day.js lightweight and handle UTC offsets and time zones much better compare to Date object.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Muhd Ahsan Muammad Ayub Khan

79808453

Date: 2025-11-04 01:33:52
Score: 2.5
Natty:
Report link

Easiest way is to just download the SWF from the page (yes you can do that) and upload it into any SWF player. You can download one or just online services for that.

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

79808445

Date: 2025-11-04 01:21:49
Score: 3
Natty:
Report link

I would like to know if the service provider will provide us with the SDK containing the Proximity Reader API for integration into the project ... why are you not asking the service provider?

Reasons:
  • Blacklisted phrase (1.5): I would like to know
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-1):
Posted by: jsotola

79808443

Date: 2025-11-04 01:16:48
Score: 1.5
Natty:
Report link

1: Customer records are deleted but related entries in the product_alert_stock table remain.
2: GDPR or privacy modules (like PIP) may remove customers but leave orphaned product alert records.

So cleat the related entries from table product_alert_stock  and To catch these issues early (before they cause errors), configure error notifications for admin users: Store -> Configuration -> Catalog -> Catalog -> Product Alerts Run Settings -> Error Email Recipient

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

79808429

Date: 2025-11-04 00:41:41
Score: 2
Natty:
Report link

Unfortunately, in Tomcat, this value is set as a constant to support 8192 bytes. While you can override this value by setting it as a system property, it would have been preferable if it were configurable as a property, similar to how many other settings are supported in Spring or Tomcat.

https://github.com/apache/tomcat/blob/c4c733a4e2dd65fab42434b81339f6ba13ed7301/java/org/apache/tomcat/websocket/Constants.java#L43

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

79808428

Date: 2025-11-04 00:40:40
Score: 0.5
Natty:
Report link

You can simply add waitForExpression('5s') to your request.

$request = \Gotenberg\Gotenberg::chromium('http://gotenberg:3000')
    ->pdf()
    ->waitForExpression('5s')
    ->url('https://my.url');

It's not in the documentation, but if you have PHP Intelephense, then it will hint you the available methods.

I'm using phpstorm's idea plugin.

ide helper

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

79808427

Date: 2025-11-04 00:40:40
Score: 3
Natty:
Report link

The one way I can seen here is using Secure Service Account API (SSA). It's allow you able to generate 3legged access token without refresh token.

https://aps.autodesk.com/en/docs/ssa/v1/tutorials/getting-started-with-ssa/task3-generate-3-legged-access-token/

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

79808420

Date: 2025-11-04 00:28:37
Score: 1.5
Natty:
Report link

Rename the col first:

df = df.withColumnRenamed("Tilt(0.1degree)", "Tiltdegree")
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Frank

79808414

Date: 2025-11-04 00:12:34
Score: 2.5
Natty:
Report link

A lot of sources don't explain that there is more than one algorithm to partition the elements. Three common implementations are shown here: https://www.geeksforgeeks.org/dsa/quick-sort-algorithm/. CTCI uses Hoare's. You've likely seen the Naive and Lomuto implementations which keep track of the pivot location.

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

79808413

Date: 2025-11-04 00:11:34
Score: 1
Natty:
Report link

<!doctype html>

<html lang="en">

<head>

<meta charset="utf-8" />

<meta name="viewport" content="width=device-width, initial-scale=1" />

<title>All Galaxy — 3D Real Galaxy Showcase</title>

<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap" rel="stylesheet">

<style>

:root{

  --bg-1:#05030a; --bg-2:#0f1226; --glass: rgba(255,255,255,0.04);

  --accent:#9b8cff; --muted: rgba(255,255,255,0.65);

}

\*{box-sizing:border-box}

html,body{height:100%;margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial}

body{background:linear-gradient(180deg,var(--bg-1),var(--bg-2));color:#fff;overflow:hidden}

#app{position:relative;height:100vh;width:100vw;display:flex}canvas{display:block}

/* Top-left control panel */

.panel{

position:absolute;left:24px;top:24px;backdrop-filter: blur(8px);background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));

border-radius:14px;padding:14px;box-shadow:0 6px 30px rgba(0,0,0,0.6);min-width:280px;border:1px solid rgba(255,255,255,0.04)

}

.brand{display:flex;gap:12px;align-items:center}

.logo{height:44px;width:44px;border-radius:10px;background:linear-gradient(135deg,var(--accent),#44e1f8);display:flex;align-items:center;justify-content:center;font-weight:800}

.brand h1{font-size:16px;margin:0}

.brand p{margin:0;font-size:12px;color:var(--muted)}

.row{display:flex;gap:8px;align-items:center;margin-top:12px}

label{font-size:12px;color:var(--muted);width:110px}

input[type=range]{flex:1}

.small{font-size:12px;color:var(--muted);margin-top:8px}

/* Bottom-right info */

.footer{

position:absolute;right:24px;bottom:24px;background:var(--glass);padding:12px 14px;border-radius:10px;border:1px solid rgba(255,255,255,0.03);

box-shadow:0 6px 20px rgba(0,0,0,0.5);

}

.btn{background:linear-gradient(90deg,var(--accent),#44e1f8);padding:8px 12px;border-radius:8px;border:none;color:#051036;font-weight:700;cursor:pointer}

/* Responsive tweaks */

@media (max-width:520px){.panel{left:12px;top:12px;min-width:210px;padding:10px}.brand h1{font-size:14px}}

</style>

</head>

<body>

<div id="app">

\<div id="bg"\>\</div\>

\<div class="panel"\>

  \<div class="brand"\>

    \<div class="logo"\>G\</div\>

    \<div\>

      \<h1\>All Galaxy — 3D\</h1\>

      \<p\>Real-time 3D galaxy demo · Premium look\</p\>

    \</div\>

  \</div\>\<div class="row"\>

\<label\>Star count\</label\>

\<input id="stars" type="range" min="1000" max="200000" step="1000" value="50000"\>

</div>

<div class="row">

\<label\>Arms\</label\>

\<input id="arms" type="range" min="1" max="6" step="1" value="3"\>

</div>

<div class="row">

\<label\>Spin\</label\>

\<input id="spin" type="range" min="0" max="3" step="0.01" value="0.8"\>

</div>

<div class="row">

\<label\>Radius\</label\>

\<input id="radius" type="range" min="2" max="20" step="0.5" value="8"\>

</div>

<div class="row">

\<label\>Brightness\</label\>

\<input id="brightness" type="range" min="0.1" max="4" step="0.1" value="1.2"\>

</div>

<div class="small">Drag to tweak the galaxy. Use mouse/touch to orbit. Double-click to toggle fullscreen.</div>

</div>

<div class="footer">

<button id="regen" class="btn">Regenerate</button>

<span style="margin-left:10px;color:var(--muted);font-size:13px">FPS: <span id="fps">0</span></span>

</div>

</div> <script type="module">

import \* as THREE from 'https://unpkg.com/[email protected]/build/three.module.js';

import { OrbitControls } from 'https://unpkg.com/[email protected]/examples/jsm/controls/OrbitControls.js';

// Basic scene + renderer

const container = document.getElementById('app');

const scene = new THREE.Scene();

const renderer = new THREE.WebGLRenderer({ antialias: true, alpha: true });

renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));

renderer.setSize(window.innerWidth, window.innerHeight);

renderer.toneMapping = THREE.ACESFilmicToneMapping;

renderer.outputEncoding = THREE.sRGBEncoding;

container.appendChild(renderer.domElement);

const camera = new THREE.PerspectiveCamera(60, window.innerWidth / window.innerHeight, 0.1, 1000);

camera.position.set(0, 6, 18);

const controls = new OrbitControls(camera, renderer.domElement);

controls.enableDamping = true;

controls.dampingFactor = 0.06;

// subtle environment

const hemi = new THREE.HemisphereLight(0xffffff, 0x080820, 0.2);

scene.add(hemi);

// galaxy group

let galaxy, points;

// helpers

const params = {

  count: 50000,

  size: 0.04,

  radius: 8,

  branches: 3,

  spin: 0.8,

  randomness: 0.6,

  randomnessPower: 2,

  insideColor: '#ffb86b',

  outsideColor: '#6b8cff',

  brightness: 1.2

};

function generateGalaxy() {

  if (galaxy !== undefined) {

    points.geometry.dispose();

    points.material.dispose();

    scene.remove(galaxy);

  }

  galaxy = new THREE.Group();

  const positions = new Float32Array(params.count \* 3);

  const colors = new Float32Array(params.count \* 3);

  const scales = new Float32Array(params.count);

  const insideColor = new THREE.Color(params.insideColor);

  const outsideColor = new THREE.Color(params.outsideColor);

  for (let i = 0; i \< params.count; i++) {

    const i3 = i \* 3;

    const radius = Math.random() \* params.radius;

    const branchAngle = ((i % params.branches) / params.branches) \* Math.PI \* 2;

    const spinAngle = radius \* params.spin;

    const randomX = Math.pow(Math.random(), params.randomnessPower) \* (Math.random() \< 0.5 ? 1 : -1) \* params.randomness \* radius;

    const randomY = Math.pow(Math.random(), params.randomnessPower) \* (Math.random() \< 0.5 ? 1 : -1) \* params.randomness \* radius \* 0.2;

    const randomZ = Math.pow(Math.random(), params.randomnessPower) \* (Math.random() \< 0.5 ? 1 : -1) \* params.randomness \* radius;

    positions\[i3 + 0\] = Math.cos(branchAngle + spinAngle) \* radius + randomX;

    positions\[i3 + 1\] = randomY \* 0.3;

    positions\[i3 + 2\] = Math.sin(branchAngle + spinAngle) \* radius + randomZ;

    const mixedColor = insideColor.clone();

    mixedColor.lerp(outsideColor, radius / params.radius);

    colors\[i3 + 0\] = mixedColor.r;

    colors\[i3 + 1\] = mixedColor.g;

    colors\[i3 + 2\] = mixedColor.b;

    scales\[i\] = Math.random() \* 1.5 + 0.5;

  }

  const geometry = new THREE.BufferGeometry();

  geometry.setAttribute('position', new THREE.BufferAttribute(positions, 3));

  geometry.setAttribute('color', new THREE.BufferAttribute(colors, 3));

  geometry.setAttribute('aScale', new THREE.BufferAttribute(scales, 1));

  const material = new THREE.ShaderMaterial({

    depthWrite: false,

    blending: THREE.AdditiveBlending,

    vertexColors: true,

    transparent: true,

    uniforms: {

      uSize: { value: params.size \* 100.0 },

      uPixelRatio: { value: Math.min(window.devicePixelRatio, 2) },

      uTime: { value: 0 },

      uBrightness: { value: params.brightness }

    },

    vertexShader: \`

      attribute float aScale;

      varying vec3 vColor;

      uniform float uSize;

      uniform float uTime;

      void main(){

        vColor = color;

        vec4 modelPos = modelMatrix \* vec4(position, 1.0);

        // slight pulsation

        float scale = aScale \* (1.0 + 0.2 \* sin(uTime + position.x \* 0.1));

        vec4 viewPos = viewMatrix \* modelPos;

        gl_Position = projectionMatrix \* viewPos;

        gl_PointSize = uSize \* scale / - viewPos.z;

      }

    \`,

    fragmentShader: \`

      varying vec3 vColor;

      uniform float uBrightness;

      void main(){

        float dist = distance(gl_PointCoord, vec2(0.5));

        float alpha = 1.0 - smoothstep(0.35, 0.5, dist);

        vec3 col = vColor \* uBrightness;

        gl_FragColor = vec4(col, alpha);

      }

    \`

  });

  points = new THREE.Points(geometry, material);

  galaxy.add(points);

  // subtle core glow

  const coreGeo = new THREE.SphereGeometry(params.radius \* 0.12, 32, 32);

  const coreMat = new THREE.MeshBasicMaterial({ color: 0xffe9c0, transparent: true, opacity: 0.18 });

  const core = new THREE.Mesh(coreGeo, coreMat);

  galaxy.add(core);

  scene.add(galaxy);

}

// initial generate with UI values

function refreshFromUI(){

  params.count = Number(document.getElementById('stars').value);

  params.branches = Number(document.getElementById('arms').value);

  params.spin = Number(document.getElementById('spin').value);

  params.radius = Number(document.getElementById('radius').value);

  params.brightness = Number(document.getElementById('brightness').value);

  generateGalaxy();

}

document.getElementById('stars').addEventListener('input', ()=\>{document.getElementById('fps').textContent = '—';});

document.getElementById('regen').addEventListener('click', refreshFromUI);

// double click fullscreen

window.addEventListener('dblclick', ()=\>{

  const el = renderer.domElement;

  if (!document.fullscreenElement) el.requestFullscreen?.(); else document.exitFullscreen?.();

});

let lastTime = performance.now();

let frames = 0;

let fpsUpdate = 0;

// animate

function animate(time){

  const elapsed = time \* 0.001;

  requestAnimationFrame(animate);

  controls.update();

  if (points && points.material && points.material.uniforms) {

    points.material.uniforms.uTime.value = elapsed \* 1.2;

    points.material.uniforms.uBrightness.value = params.brightness;

  }

  // slow rotation

  if (galaxy) galaxy.rotation.y = elapsed \* 0.08 \* params.spin;

  renderer.render(scene, camera);

  // fps counter

  frames++;

  if (time - fpsUpdate \> 500) {

    const fps = Math.round((frames \* 1000) / (time - fpsUpdate));

    document.getElementById('fps').textContent = fps;

    frames = 0; fpsUpdate = time;

  }

}

// responsive

window.addEventListener('resize', ()=\>{

  camera.aspect = window.innerWidth / window.innerHeight;

  camera.updateProjectionMatrix();

  renderer.setSize(window.innerWidth, window.innerHeight);

  if (points && points.material && points.material.uniforms) points.material.uniforms.uPixelRatio.value = Math.min(window.devicePixelRatio, 2);

});

// initial kick
    refreshFromUI();
header 1 header 2
cell 1 cell 2
cell 3 cell 4
header 1 header 2
cell 1 cell 2
cell 3 cell 4

animate(performance.now());

// optional: keyboard shortcuts

window.addEventListener('keydown', (e)=\>{

  if (e.key === 'r') refreshFromUI();

});

// touch hint

renderer.domElement.style.touchAction = 'none';

</script></body>

</html>

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @media
  • Low reputation (1):
Posted by: Abdul Khan

79808410

Date: 2025-11-04 00:07:33
Score: 1.5
Natty:
Report link

Plot

[image](https://i.stack.imgur.com/abcd1.png)

Import Packages

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns  # just included to set plot style
sns.set_theme(style="darkgrid")

Generate Fake Data

days_of_week = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']
df = pd.DataFrame(
    dict(
        year=[2023]*7 + [2024]*7 + [2025]*7,
        day_of_week=days_of_week * 3,
        avg_cardio_minutes=[20, 15, 10, 25, 30, 5, 0,
                                    25, 20, 15, 30, 35, 10, 5,
                                    30, 25, 20, 35, 40, 15, 10],
        avg_lifting_minutes=[40, 35, 30, 45, 50, 25, 20,
                                     45, 40, 35, 50, 55, 30, 25,
                                     50, 45, 40, 55, 60, 35, 30]
    )
)

enter image description here

def plot_stacked_grouped_bar_chart(df, x_major_column, x_minor_column, stack_columns,
                                     stack_labels=None, y_label='', title='', legend_title=''):
    """
    Plots a stacked grouped bar chart with the specified data and labels.
    
    Parameters:
    -----------
    df : pd.DataFrame
        DataFrame containing the data to plot.
    x_major_column : str
        Column name for the major x-axis grouping.
    x_minor_column : str
        Column name for the minor x-axis grouping.
    stack_columns : list of str
        List of column names to stack.
    stack_labels : list of str, optional
        List of labels for the stacked columns. If None, uses stack_columns.
    y_label : str, optional
        Label for the y-axis.
    title : str, optional
        Title of the plot.
    legend_title : str, optional
        Title of the legend.
    """

    if stack_labels is None:
        stack_labels = stack_columns

    fig, ax = plt.subplots(figsize=(10, 5))

    x_major_values = df[x_major_column].unique().tolist()
    offset = 0
    xtick_labels = []
    # iterate over major x-axis groups
    for i, major_value in enumerate(x_major_values):
        df_major = df[df[x_major_column] == major_value]
        x_minor_values = df_major[x_minor_column].unique().tolist()
        x_positions = offset + np.arange(len(x_minor_values))  # the label locations
        bottoms = np.zeros(len(x_minor_values))
        # iterate over stack columns
        for j, stack_column in enumerate(stack_columns):
            heights = df_major[stack_column].values    
            ax.bar(x=x_positions, height=heights, color=f'C{j}', width=1, label=stack_labels[j], bottom=bottoms)
            bottoms += heights
        # add major x-axis label
        ax.text(offset + len(x_minor_values) / 2 - 0.5, -0.2, major_value, ha='center', va='top', transform=ax.get_xaxis_transform())
        # update offset and xtick labels
        offset += len(x_minor_values)
        xtick_labels.extend([x_minor_values])
        if i < len(x_major_values) - 1:
            offset += 1  # space between major groups
            xtick_labels.append('')  # empty label for space
    ax.set_xticks(range(offset))
    ax.set_xticklabels(days_of_week + [""] + days_of_week + [""] + days_of_week, rotation=45)

    ax.set_ylabel(y_label)
    ax.set_title(title)
    
    # reorder legend to match stack order
    handles, labels = ax.get_legend_handles_labels()
    handles = handles[::-1][:len(stack_labels)]
    labels = labels[::-1][:len(stack_labels)]
    ax.legend(title=legend_title, handles=handles, labels=labels)
    
    plt.show()

plot_stacked_grouped_bar_chart(df=df,
                               x_major_column = 'year',
                               x_minor_column = 'day_of_week',
                               stack_columns = ['avg_lifting_minutes', 'avg_cardio_minutes'],
                               stack_labels = ['Lifting', 'Cardio'],
                               y_label = 'minutes',
                               title = 'Average Time Working out per Day of Week',
                               legend_title = 'Workout Type')
Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: sthobbs

79808404

Date: 2025-11-03 23:48:28
Score: 1
Natty:
Report link

Long story short: I think it's highly likely to be a wise choice to use other methods for formatting a text file for styling, as @AD7six suggested in the comment section.

As @j6t stated in the comment section, I feel like this issue has to do with the metadata. I'm not sure whether this is relevant or not, I found that git uses stat values.

Anyway, I ended up thinking that it should be impossible to use this program as a clean filter. The reason is that if I made the program not to modify a file being processed, then the index would differ with the worktree, and if I had it to modify, then git would recognize the file modified. Double trouble! This is a dilemma; either way, I will be in trouble.

Nevertheless I just wanted to make use of it since I already had spent two weeks to make this "simple" program. Perhaps it's my mistake to write it in C. So I considered the following alternatives:

  1. write a script which wraps git add. In other words, the script executes my program first, lets it modify the worktree, and then runs git add -- <file>....
  2. write a pre-commit hook that executes my program to have it modify the worktree and runs git add to update the index.
  3. somehow make the program executed whenever I save a file.

However, #1 would require me to distinguish which is an option to git add and which is a file. I don't think argument parsing is an easy task. So I skipped #1. Meanwhile, #2 seemed promising but it has a flaw in that git add would occur twice: the first add by the user and the second by the hook. Also, actually another problem remains: how to handle the partial stages, i.e. git add -p? In this case I can't update the index with the fixed file in the worktree since doing so would nullify the partial stage. Maybe it would be possible to manage to fix and update the index only somehow without touching the worktree but doing so seems stressful. In the case of #3, I don't know how.

In the end I had no choice but to choose the #2 but I tried hard to avoid the handling of the partial-stage case by executing my program if and only if a file in the index has a modified state or newly added state, and the file does not have local changes, i.e. the index equals to the worktree.

In order to do so, I parsed the output of git status --short because its first and second columns represent the state of the index and the worktree, respectively.

fp = fopen("tempfile", "w+");
system("git status --short > tempfile");

while (readline(fp, &line)) {
   if (line[0] != 'A' && line[0] != 'M')
      continue;
   if (line[1] != ' ')
      continue;
   ...
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @AD7six
  • User mentioned (0): @j6t
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Doohyeon Won

79808402

Date: 2025-11-03 23:46:28
Score: 0.5
Natty:
Report link

A One liner to create a symlink from macOS's expected Java location to SDKMAN's installation:

curl -fsSL https://gist.githubusercontent.com/abd3lraouf/1db9bf863144802733bfd29bb5dada87/raw/install.sh | bash -s install

This creates /Library/Java/JavaVirtualMachines/sdkman-current/ pointing to ~/.sdkman/candidates/java/current, allowing /usr/libexec/java_home and Xcode to find your SDKMAN Java installation.

When you switch Java versions with sdk use java [version], the symlink automatically points to the new version. Full script and manual setup instructions.Retry

Gist: https://gist.github.com/abd3lraouf/1db9bf863144802733bfd29bb5dada87

Full script here:

#!/usr/bin/env bash

################################################################################
# Setup SDKMAN JDK Integration with /usr/libexec/java_home
################################################################################
# This script configures macOS to recognize SDKMAN-installed JDKs through
# /usr/libexec/java_home by creating a proper directory structure and symlink
# in /Library/Java/JavaVirtualMachines.
#
# Usage:
#   ./setup_sdkman_java_home.sh [install|uninstall|verify|help]
#
# Options:
#   install   - Set up the SDKMAN JDK integration (default)
#   uninstall - Remove the SDKMAN JDK integration
#   verify    - Check if the setup is working correctly
#   help      - Display this help message
#
# Requirements:
#   - macOS
#   - SDKMAN installed with at least one JDK
#   - sudo privileges
################################################################################

set -eo pipefail

# Constants (temporarily disable -u for BASH_SOURCE check)
readonly SCRIPT_NAME="$(basename "${BASH_SOURCE[0]:-install.sh}")"
readonly SCRIPT_VERSION="1.0.0"

# Re-enable unbound variable checking
set -u
readonly TARGET_DIR="/Library/Java/JavaVirtualMachines/sdkman-current"
readonly CONTENTS_DIR="${TARGET_DIR}/Contents"
readonly HOME_LINK="${CONTENTS_DIR}/Home"
readonly PLIST_FILE="${CONTENTS_DIR}/Info.plist"

# Colors for output
readonly RED='\033[0;31m'
readonly GREEN='\033[0;32m'
readonly YELLOW='\033[1;33m'
readonly BLUE='\033[0;34m'
readonly BOLD='\033[1m'
readonly NC='\033[0m' # No Color

# Cleanup on error - silently exit (specific errors are already shown)
cleanup() {
    local exit_code=$?
    # Exit silently - specific error messages are already displayed
    exit $exit_code
}

trap cleanup EXIT

################################################################################
# Utility Functions
################################################################################

# Print colored messages
print_header() {
    echo -e "\n${BOLD}${BLUE}===${NC} ${BOLD}$1${NC} ${BOLD}${BLUE}===${NC}\n"
}

success() {
    echo -e "${GREEN}✓${NC} $1"
}

info() {
    echo -e "${BLUE}ℹ${NC} $1"
}

warn() {
    echo -e "${YELLOW}⚠${NC} $1"
}

error() {
    echo -e "${RED}✗${NC} $1" >&2
}

# Check if running on macOS
check_macos() {
    if [[ "$(uname -s)" != "Darwin" ]]; then
        error "This script only works on macOS"
        exit 1
    fi
}

# Check if SDKMAN is installed
check_sdkman() {
    local sdkman_dir="${SDKMAN_DIR:-$HOME/.sdkman}"

    if [[ ! -d "$sdkman_dir" ]]; then
        error "SDKMAN not found at $sdkman_dir"
        info "Install SDKMAN from: https://sdkman.io/install"
        exit 1
    fi

    success "SDKMAN found at $sdkman_dir"
}

# Get SDKMAN current JDK path
get_sdkman_current_jdk() {
    local sdkman_dir="${SDKMAN_DIR:-$HOME/.sdkman}"
    local current_jdk="${sdkman_dir}/candidates/java/current"

    if [[ ! -e "$current_jdk" ]]; then
        error "No current JDK set in SDKMAN"
        info "Install a JDK with: sdk install java"
        info "Or set current with: sdk use java <version>"
        exit 1
    fi

    # Resolve symlink to get actual JDK path
    local actual_jdk
    actual_jdk="$(readlink "$current_jdk" 2>/dev/null || echo "$current_jdk")"

    echo "$current_jdk"
}

# Get JDK version from SDKMAN
get_jdk_version() {
    local jdk_path="$1"

    # Source SDKMAN and get current version
    local sdkman_init="${SDKMAN_DIR:-$HOME/.sdkman}/bin/sdkman-init.sh"
    if [[ -f "$sdkman_init" ]]; then
        # Temporarily disable -u for sourcing SDKMAN and calling sdk (they have undefined variables)
        set +u
        # shellcheck source=/dev/null
        source "$sdkman_init" 2>/dev/null || true

        local version
        version="$(sdk current java 2>/dev/null | grep -oE '[0-9]+\.[0-9]+\.[0-9]+[^[:space:]]*' || echo "unknown")"
        set -u
        echo "$version"
    else
        echo "unknown"
    fi
}

# Get JDK vendor from path
get_jdk_vendor() {
    local jdk_path="$1"
    local vendor="SDKMAN"

    # Extract vendor from path if possible (e.g., 21.0.9-amzn -> Amazon)
    if [[ "$jdk_path" =~ -([a-z]+)$ ]]; then
        local vendor_code="${BASH_REMATCH[1]}"
        case "$vendor_code" in
            amzn) vendor="Amazon Corretto" ;;
            tem) vendor="Eclipse Temurin" ;;
            zulu) vendor="Azul Zulu" ;;
            graal*) vendor="GraalVM" ;;
            liberica) vendor="BellSoft Liberica" ;;
            sapmchn) vendor="SAP Machine" ;;
            *) vendor="SDKMAN ($vendor_code)" ;;
        esac
    fi

    echo "$vendor"
}

# Check if setup already exists
check_existing_setup() {
    [[ -d "$TARGET_DIR" ]]
}

# Verify sudo access
verify_sudo() {
    # Try non-interactive sudo first
    if sudo -n true 2>/dev/null; then
        # Already authenticated
        # Keep sudo alive
        while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
        return 0
    fi

    # Check if running non-interactively
    if ! [ -t 0 ]; then
        error "This script requires sudo access"
        echo ""
        echo "When running via pipe, sudo cannot prompt for password."
        echo "Please authenticate sudo first, then re-run:"
        echo ""
        echo "  sudo -v"
        echo "  curl -fsSL https://gist.githubusercontent.com/abd3lraouf/1db9bf863144802733bfd29bb5dada87/raw/install.sh | bash -s install"
        echo ""
        echo "Or download and run directly:"
        echo ""
        echo "  curl -O https://gist.githubusercontent.com/abd3lraouf/1db9bf863144802733bfd29bb5dada87/raw/install.sh"
        echo "  chmod +x install.sh"
        echo "  ./install.sh install"
        exit 1
    fi

    # Interactive mode - can prompt
    if ! sudo -v; then
        error "Sudo privileges required"
        exit 1
    fi

    # Keep sudo alive
    while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
}

################################################################################
# Installation Functions
################################################################################

install_setup() {
    print_header "Installing SDKMAN JDK Integration"

    # Get SDKMAN JDK path
    local sdkman_jdk
    sdkman_jdk="$(get_sdkman_current_jdk)"
    local jdk_version
    jdk_version="$(get_jdk_version "$sdkman_jdk")"
    local jdk_vendor
    jdk_vendor="$(get_jdk_vendor "$sdkman_jdk")"

    info "SDKMAN Current JDK: $sdkman_jdk"
    info "Version: $jdk_version"
    info "Vendor: $jdk_vendor"

    # Check for existing setup
    if check_existing_setup; then
        warn "Existing setup found at $TARGET_DIR"

        # Check if running interactively (can prompt)
        if [ -t 0 ]; then
            read -rp "Remove and reinstall? (y/N): " response
            if [[ "$response" =~ ^[Yy]$ ]]; then
                uninstall_setup
            else
                info "Installation cancelled"
                exit 0
            fi
        else
            # Non-interactive: auto-reinstall
            info "Non-interactive mode: auto-reinstalling..."
            uninstall_setup
        fi
    fi

    # Request sudo access
    verify_sudo

    # Create directory structure
    info "Creating directory structure..."
    sudo mkdir -p "$CONTENTS_DIR"
    success "Created $CONTENTS_DIR"

    # Create symlink
    info "Creating symlink to SDKMAN JDK..."
    sudo ln -sf "$sdkman_jdk" "$HOME_LINK"
    success "Created symlink: $HOME_LINK -> $sdkman_jdk"

    # Create Info.plist
    info "Creating Info.plist..."
    sudo tee "$PLIST_FILE" > /dev/null << EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>CFBundleIdentifier</key>
    <string>sdkman.current</string>
    <key>CFBundleName</key>
    <string>SDKMAN Current JDK</string>
    <key>CFBundleVersion</key>
    <string>${jdk_version}</string>
    <key>JavaVM</key>
    <dict>
        <key>JVMPlatformVersion</key>
        <string>9999</string>
        <key>JVMVendor</key>
        <string>${jdk_vendor}</string>
        <key>JVMVersion</key>
        <string>9999</string>
    </dict>
</dict>
</plist>
EOF
    success "Created Info.plist"

    # Set proper permissions
    info "Setting permissions..."
    sudo chmod -R 755 "$TARGET_DIR"
    success "Permissions set"

    print_header "Installation Complete"
    success "SDKMAN JDK integration installed successfully"

    # Verify installation
    verify_setup
}

################################################################################
# Uninstallation Functions
################################################################################

uninstall_setup() {
    print_header "Uninstalling SDKMAN JDK Integration"

    if ! check_existing_setup; then
        warn "No existing setup found at $TARGET_DIR"
        info "Nothing to uninstall"
        return 0
    fi

    # Request sudo access if not already verified
    verify_sudo

    info "Removing $TARGET_DIR..."
    sudo rm -rf "$TARGET_DIR"
    success "Removed SDKMAN JDK integration"

    print_header "Uninstallation Complete"
}

################################################################################
# Verification Functions
################################################################################

verify_setup() {
    print_header "Verifying Setup"

    # Check if setup exists
    if ! check_existing_setup; then
        error "Setup not found at $TARGET_DIR"
        info "Run with 'install' to set up the integration"
        exit 1
    fi

    # Check symlink
    if [[ ! -L "$HOME_LINK" ]]; then
        error "Symlink not found at $HOME_LINK"
        exit 1
    fi
    success "Symlink exists: $HOME_LINK"

    # Check if symlink target exists
    if [[ ! -e "$HOME_LINK" ]]; then
        error "Symlink target does not exist"
        local target
        target="$(readlink "$HOME_LINK")"
        error "Broken symlink: $HOME_LINK -> $target"
        exit 1
    fi
    local symlink_target
    symlink_target="$(readlink "$HOME_LINK")"
    success "Symlink target valid: $symlink_target"

    # Check Info.plist
    if [[ ! -f "$PLIST_FILE" ]]; then
        error "Info.plist not found at $PLIST_FILE"
        exit 1
    fi
    success "Info.plist exists"

    # Test /usr/libexec/java_home
    info "Testing /usr/libexec/java_home..."
    local java_home_output
    if java_home_output=$(/usr/libexec/java_home 2>&1); then
        success "/usr/libexec/java_home works"
        echo -e "\n${BOLD}Output:${NC}"
        echo "$java_home_output"
    else
        error "/usr/libexec/java_home failed"
        echo "$java_home_output"
        exit 1
    fi

    # Show all available JVMs
    echo -e "\n${BOLD}Available Java Virtual Machines:${NC}"
    /usr/libexec/java_home -V 2>&1 || true

    print_header "Verification Complete"
    success "Setup is working correctly"

    echo
    info "Notes:"
    echo "  • When you change JDK with 'sdk use java <version>', the symlink"
    echo "    will automatically point to the new current version"
    echo "  • Xcode and other tools can now find Java using /usr/libexec/java_home"
    echo "  • The version is set to 9999 to ensure this JDK is always selected"
}

################################################################################
# Help Function
################################################################################

show_help() {
    cat << 'EOF'
install.sh - Version 1.0.0

DESCRIPTION
    Configure macOS to recognize SDKMAN-installed JDKs through /usr/libexec/java_home
    by creating a proper directory structure in /Library/Java/JavaVirtualMachines.

USAGE
    install.sh [COMMAND]

COMMANDS
    install     Set up the SDKMAN JDK integration (default)
    uninstall   Remove the SDKMAN JDK integration
    verify      Verify the setup is working correctly
    help        Display this help message

EXAMPLES
    # Install the integration
    install.sh install

    # Verify it's working
    install.sh verify

    # Remove the integration
    install.sh uninstall

HOW IT WORKS
    1. Creates /Library/Java/JavaVirtualMachines/sdkman-current/Contents/
    2. Symlinks Contents/Home to SDKMAN's current JDK
    3. Creates Info.plist with proper metadata
    4. Sets version to 9999 to ensure it's always selected

REQUIREMENTS
    - macOS
    - SDKMAN installed with at least one JDK
    - sudo privileges

FILES CREATED
    /Library/Java/JavaVirtualMachines/sdkman-current/
    /Library/Java/JavaVirtualMachines/sdkman-current/Contents/
    /Library/Java/JavaVirtualMachines/sdkman-current/Contents/Home (symlink)
    /Library/Java/JavaVirtualMachines/sdkman-current/Contents/Info.plist

MORE INFO
    - SDKMAN: https://sdkman.io/
    - Gist: https://gist.github.com/abd3lraouf/1db9bf863144802733bfd29bb5dada87

EOF
}

################################################################################
# Main Function
################################################################################

main() {
    # Check prerequisites
    check_macos

    # Parse command
    local command="${1:-install}"

    case "$command" in
        install)
            check_sdkman
            install_setup
            ;;
        uninstall)
            uninstall_setup
            ;;
        verify)
            check_sdkman
            verify_setup
            ;;
        help|--help|-h)
            show_help
            ;;
        *)
            error "Unknown command: $command"
            echo
            show_help
            exit 1
            ;;
    esac
}

# Run main function
main "$@"
Reasons:
  • Blacklisted phrase (1): help me
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: abd3lraouf

79808392

Date: 2025-11-03 23:20:21
Score: 1
Natty:
Report link
=LET(
lookBack, 12,
prevDay, E5:AG5,
prevDayOutput, E6:AG6,
currDay,E8:AG8,
output, DROP(REDUCE(prevDayOutput, SEQUENCE(,COLUMNS(currDay)), LAMBDA(x,y,
    HSTACK(x, IF(INDEX(currDay, y), INDEX(currDay, y),
    LET(
    v, TAKE(DROP(HSTACK(prevDay, TAKE(currDay,, y)),,-1),,-lookBack),
    out, IF(OR(AND(v>0), TAKE(x,,-1)=0, AND(v=0), AND(TAKE(x,,-lookBack)>0)), 0, 0.5),
    out
    )
    ))
)),,COLUMNS(prevDayOutput)),
output)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Isabelle Graham

79808390

Date: 2025-11-03 23:17:20
Score: 1.5
Natty:
Report link

I actually created this account just to share this, because I had been looking for a solution for days and couldn’t find anything that worked.

I was having this issue with PostgreSQL and tried several things without success. After installation, I noticed that the data folder inside the PostgreSQL directory was always empty, which seemed to be causing the problem.

I tried downloading the data folder (where the cluster files are stored) through the Command Prompt, and even created a new user account on Windows, but nothing worked.

What eventually solved it for me was installing pgAdmin 4 separately from the PostgreSQL installer. I went to the specific download page for pgAdmin 4, installed it first, ran it, and then restarted my PC as usual.

After that, I downloaded PostgreSQL using the official installer, but this time I unchecked the option to install pgAdmin 4, since I had already installed it. For some reason, that did the trick. I no longer got the “Problem running post-install step; installation may not complete correctly” error, and the data folder was finally created correctly.

Reasons:
  • Blacklisted phrase (1): but nothing work
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gustavo Souza

79808389

Date: 2025-11-03 23:13:19
Score: 2
Natty:
Report link

https://docs.expo.dev/router/advanced/stack/

I found a property called unstable_headerRightItems in the stack header options. I managed to use it, and while it’s not officially supported yet, it does get the job done. It actually didn’t work for me until I installed react-native-screens version 4.18.0. However, I’m still not entirely sure how it’s meant to be used if you have any documentation or know a better approach, please share it.

 unstable_headerRightItems: () => [
            {
              type: "button",
              label: "Notifications",
              onPress: () => router.push("/home/notifications"),
              render: () => (
                <HeaderButton
                  imageProps={{
                    systemName: "bell",
                  }}
                  buttonProps={{
                    variant: "plain",
                  }}
                />
              ),  
            },
            {
              type: "button",
              label: "Streak",
              onPress: () => router.push("/home/streak"),
            },
          ],
Reasons:
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hakim Mohamed

79808387

Date: 2025-11-03 23:10:18
Score: 1
Natty:
Report link

Just add `padding-top` to the container div.

<div class="grid w-80 grid-cols-2 gap-2 text-[1rem] leading-[1.5]">
  <div class="border border-blue-400">
    <div class="pt-2">
      <ruby>
        吾輩<rt>わがはい</rt>
      </ruby>
      は猫である。名前はまだ無い。どこで
      <ruby>
        生<rt>う</rt>
      </ruby>
      れたかとんと見当がつかぬ。
    </div>
  </div>
  <div class="border border-blue-400">
    <div class="pt-2">
      吾輩は猫である。名前はまだ無い。どこで
      <ruby>
        生<rt>う</rt>
      </ruby>
      れたかとんと見当がつかぬ。
    </div>
  </div>
</div>

enter image description here

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

79808384

Date: 2025-11-03 23:07:17
Score: 3.5
Natty:
Report link

Marking this as closed as using a different IDE provided a valid response object for me to dig deeper into. Thanks for your help everyone!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-0.5): Thanks for your help
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30909924

79808381

Date: 2025-11-03 22:57:14
Score: 4.5
Natty:
Report link

Read solution in the description above.

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

79808380

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

we can use this plug-in as well - JetBrains Mono. A typeface for developers​_

Link:- https://www.jetbrains.com/lp/mono/

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

79808368

Date: 2025-11-03 22:36:09
Score: 1
Natty:
Report link
  1. Did you really want to know best practices? Or do you want a concrete answer to your problem? 2. You really need to provide a [mre] with sample data and desired results.
Reasons:
  • 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
  • High reputation (-2):
Posted by: Dale K

79808355

Date: 2025-11-03 22:20:05
Score: 0.5
Natty:
Report link

I'd say that yes, you should probably switch to a:

Ticket Number Location Start Date End Date

(or Start Location + End Location if they differ)

Thus:

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Guillaume Outters

79808344

Date: 2025-11-03 21:53:59
Score: 1.5
Natty:
Report link

This is not the same as this similar question Can I get an image digest without downloading the image?. That question gets the digest using a network query. This question is about analyzing the locally stored file.

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

79808335

Date: 2025-11-03 21:39:56
Score: 3.5
Natty:
Report link

Anyone got registry settings to stick for server 2025? For a workgroup server, I have tried lgpo.exe, reg.exe and secedit.exe and in about 1-2h, it reverts back to MS defaults, which I cannot use.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Joe Bruns

79808333

Date: 2025-11-03 21:38:56
Score: 3.5
Natty:
Report link

"🎰 Sekali main, langsung ketagihan. Karena di JO777, tiap putaran penuh kejutan elegan."

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