79329821

Date: 2025-01-05 00:31:04
Score: 2
Natty:
Report link

Another twist is that the new find/replace mechanism works differently in terms of 'stickiness' of the find. In the old f/r searching for something that does not exist in the current file allows 'find next' in other files. That is, the find string is 'remembered'. In the new you cannot do that (it is red showing that it is not found here). This is a showstopper for the way I search for things in my files, and I had to disable to overlay.

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

79329818

Date: 2025-01-05 00:25:03
Score: 0.5
Natty:
Report link

If you want to recieve the httpOnly cookie on your server, when you make a request to the server from the client page, you enable the withCredentials (for XMLHttpRequest) or { credentials:"include" } (for fetch). The cookie will be sent to the server without the javascript code being able to see it.

MDN Documentation source

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

79329814

Date: 2025-01-05 00:21:01
Score: 14.5
Natty: 7.5
Report link

I have same problem like that, @Tanvir Ahmed, have you done it? If yes, may you help me how to solve this case? Many thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I have same problem
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (1.5): how to solve this case?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have same problem
  • Ends in question mark (2):
  • User mentioned (1): @Tanvir
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: tracerx 11

79329813

Date: 2025-01-05 00:21:01
Score: 4
Natty: 4
Report link

BlaBlaForm needs to extend ValidationForm

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

79329808

Date: 2025-01-05 00:17:00
Score: 0.5
Natty:
Report link

-- Membuat database CREATE DATABASE IF NOT EXISTS Penjualan; USE Penjualan;

-- Tabel Pelanggan CREATE TABLE Pelanggan ( ID_Pelanggan INT AUTO_INCREMENT PRIMARY KEY, Nama_Pelanggan VARCHAR(100) NOT NULL, Alamat VARCHAR(255) NOT NULL );

-- Tabel Barang CREATE TABLE Barang ( ID_Barang INT AUTO_INCREMENT PRIMARY KEY, Nama_Barang VARCHAR(100) NOT NULL, Harga_Barang DECIMAL(10, 2) NOT NULL );

-- Tabel Faktur CREATE TABLE Faktur ( ID_Faktur INT AUTO_INCREMENT PRIMARY KEY, Tanggal DATE NOT NULL, Syarat_Pengiriman VARCHAR(255), Syarat_Pembayaran VARCHAR(255) );

-- Tabel Transaksi CREATE TABLE Transaksi ( ID_Transaksi INT AUTO_INCREMENT PRIMARY KEY, ID_Faktur INT NOT NULL, ID_Barang INT NOT NULL, Jumlah_Barang INT NOT NULL, Total_Barang DECIMAL(10, 2) NOT NULL, FOREIGN KEY (ID_Faktur) REFERENCES Faktur(ID_Faktur), FOREIGN KEY (ID_Barang) REFERENCES Barang(ID_Barang) );

-- Relasi Pelanggan ke Faktur ALTER TABLE Faktur ADD COLUMN ID_Pelanggan INT NOT NULL, ADD FOREIGN KEY (ID_Pelanggan) REFERENCES Pelanggan(ID_Pelanggan);

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

79329807

Date: 2025-01-05 00:14:59
Score: 3
Natty:
Report link

the hens watching the hen house aka echo chamber / circle jerk

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

79329800

Date: 2025-01-04 23:58:56
Score: 0.5
Natty:
Report link

Database Inspector

It seems some improvements have been made in Android Studio since this question was asked and the previous answers were provided. There is now a built in way to look at the database while debugging your app without needing to download files or search through the device manager.

How to Access Database Inspector

View > Tool Windows > App Inspection. If you haven't already, start debug mode on your app. Choose the device and app being debugged from the drop down list. Wait a few moments for the view to refresh. Select the tab for Database Inspector. Under your database you will see the different tables in your database. Double click on a table to open it for viewing and editing individual existing values.

Example Database Inspector Screen Shot

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

79329798

Date: 2025-01-04 23:56:55
Score: 3
Natty:
Report link

The scope is referring to the file, which is defined in the {xyz}.xml file as a JavaScript component.

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

79329796

Date: 2025-01-04 23:55:55
Score: 1.5
Natty:
Report link

You can access the authorization at your middleware like this :

const authHeader = request.headers.get("authorization");
console.log("Authorization Header:", authHeader);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mahmoud Zenhom

79329795

Date: 2025-01-04 23:55:55
Score: 2
Natty:
Report link

I have ran into this as well. Be sure to be on an internal testing or production build for iOS to get it working. I had to restart the app to get it to work only for iOS, when using expo go or local dev mode.

See https://github.com/expo/expo/issues/26373

This will effect geofencing along with getting locations on first boot as the tools for the dev builds are effecting the task effectively not to run on first boot. Android works fine on first boot as it is not affecting the task manager.

If you still having issues, refer to this article on having it set up correctly. It is pretty spot on to get a minimal working example: https://articles.readytowork.jp/geofencing-in-react-native-4d8cf42fe90c

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mulch

79329790

Date: 2025-01-04 23:47:54
Score: 3
Natty:
Report link

I am not sure if there is a way to obtain this in Telethon. GetPasswordRequest.hint returns None.

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

79329785

Date: 2025-01-04 23:44:53
Score: 1
Natty:
Report link
  1. initdb /usr/local/var/postgres
  2. pg_ctl -D /usr/local/var/postgres start
  3. brew services start postgresql
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alessandro Chuy

79329783

Date: 2025-01-04 23:43:53
Score: 3.5
Natty:
Report link

Problem was fixed by moving the files in the com.example.reply.test directory to the parent com.example.reply directory. This matches the structure of the main directory.

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

79329780

Date: 2025-01-04 23:37:51
Score: 4.5
Natty:
Report link

I'm having the same problem but still no solution found on the internet.

Maybe an (awful?) workaround would be to copy the content of the .css file and paste it as internal CSS (with <style>...</style>) through the context into the .html template ?


I'm in the same situation of dynamically generating an invoice pdf file with xhtmltopdf python library (from this tutorial).

Generate pdf from html template :

from xhtml2pdf import pisa
# Additional imports

def html2pdf(template_src, context=None, request=None):
    context = context or {}
    html = render_to_string(template_src, context, request=request)
    result = BytesIO()
    pdf = pisa.pisaDocument(BytesIO(html.encode("UTF-8")), result)
    if not pdf.err:
        return HttpResponse(result.getvalue(), content_type='application/pdf')
    return None

Display the generated file to user though view :

def view_invoice_pdf(request, invoice):
    pdf = html2pdf('path/to/invoice_template.html',
                   context={'invoice': invoice},
                   request=request)
    return HttpResponse(pdf, content_type='application/pdf')

Simple template example :

{% load static %}
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Invoice {{ invoice.full_name }}</title>
    <meta name="created" content="{% now 'DATETIME_FORMAT' %}"/>
    <meta name="changed" content="{% now 'DATETIME_FORMAT' %}"/>
    <link href="{% static 'my_app/css/sample.css' %}" rel="stylesheet" type="text/css"/>
</head>
<body>
    <p class="foo-class">Fancy styled text</p>
    {{ invoice }}
</body>
</html>

I also tried playing with RequestContext but not sure what to do and could not find the way to go.

Hope someone will come with a solution!

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • Blacklisted phrase (1): this tutorial
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm having the same problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Gaetan Trysi

79329779

Date: 2025-01-04 23:36:50
Score: 4.5
Natty:
Report link

As metioned in https://bugreports.qt.io/browse/QTBUG-131799, you should use -DQT_GENERATE_SBOM=OFF in the cmake command line

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: João Carreira

79329776

Date: 2025-01-04 23:31:49
Score: 3
Natty:
Report link

I am just so shocked how anybody can get away with doing this on my account and stealing my crypto not even telling me that they’re cashing out and using my cridentials to make it look like it’s me doing it! YOU SURE ARE A SMITTH ONE YOU HAVE ME CONVINCED THATS FOR DAMN SURE ! Now I need everything out RIGHT BACK WHERE YOU FOUND IT I BET YOU DIDNT THINK ANY OF THIS WOULD REACH ME OR EVEN COME TO. Y OHONE THIS IS WHAT HALLENS WHEN YOU GO AND DUPLICATE MY CELM PHONE JUST TO GET WHAT YOU WANT! Thanks man ! YOU HAVE OROVEN YOURSELF ! Over and over ! I have been watching you steal from me now for a very long time ! Did you know that? Yeah your honesty caught up with you ! JSON!!!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Teresa MacClelland

79329775

Date: 2025-01-04 23:31:49
Score: 0.5
Natty:
Report link

I'd solve this by placing a yield from expression outside the loop:

def iterate_my_objects_if_something(self):
    for x in self.my_objects:
        if x.something:
            yield x
    yield from []

This results in an iterable, without adding unwanted additional elements to be yielded.

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

79329754

Date: 2025-01-04 23:09:45
Score: 0.5
Natty:
Report link

Neither of these really answers the question. The correct format that dynamically adds the product name is $(PRODUCT-NAME-rfcsomethingidentifier) and xcode is changing it to --PRODUCT-NAME-rfcsomethingidentifier-

so these aren't good answers. sorry.

Personally, I have very little patience with taking any c***p from xcode, so I just went into project.pbxproj and changed it to what it clearly should be.

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

79329750

Date: 2025-01-04 23:03:44
Score: 4.5
Natty:
Report link

The first question to ask is - do you actually need to optimize the code ?

What problem are you trying to solve ?

  1. Is the code too slow ?
  1. Is the code readable ?

You can spend a lot of time tweaking and changing - but unless you actually have a goal, then you're more likely just going to spend lots of time doing more and more tweaking.

IF I was going to tweak this code - I'd iterate across the true/false list.

for index in len(b):   
  if b[index]:
    a[index] += 1

That way you're only touching list "a" when you need to, rather than every time.

Reasons:
  • RegEx Blacklisted phrase (1.5): solve ?
  • RegEx Blacklisted phrase (2.5): Do you have a
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Chris Higgins

79329740

Date: 2025-01-04 22:54:42
Score: 2
Natty:
Report link

The current docs (Jan 2025) indicate there are 2 possible values :

SESSION_COOKIE_SAMESITE='Lax'

or

SESSION_COOKIE_SAMESITE='Strict'

It does not appear that None or 'None' is acceptable.

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

79329729

Date: 2025-01-04 22:44:40
Score: 4
Natty: 4.5
Report link

I published the article about this sometime back. Please take a look that explains how traffic flows https://medium.com/google-cloud/kubernetes-how-traffic-flows-from-internet-to-container-via-istio-9b2958961086

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: jayeshmahajan

79329722

Date: 2025-01-04 22:40:39
Score: 3
Natty:
Report link

This was caused by an internal issue on AWS. The giveaway was when searching this error nothing was coming up at all. I went onto the AWS Service Health Page and found an issue registered with AWS IAM:

AWS Service Health Status shows issue with IAM

Once this issue was resolved, my stack was deployed as expected.

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

79329718

Date: 2025-01-04 22:39:39
Score: 3
Natty:
Report link

You can also modify the function evaluate(). This can help you decide how you can evaluate your validation set during training.

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

79329716

Date: 2025-01-04 22:38:38
Score: 3
Natty:
Report link

update firebase-tools:

npm install -g firebase-tools

if error persist, close terminal and open again, retry

thats work for me (sorry my bad english)

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

79329674

Date: 2025-01-04 21:59:32
Score: 1.5
Natty:
Report link

Just follow these simple step and it will work fine

  1. Run this command or go to the directory nano ~/.zshrc

  2. Then Add these two lines

autoload -Uz compinit compinit

  1. Then save it and you are good to go :)
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Akshay Sharma

79329671

Date: 2025-01-04 21:58:31
Score: 3.5
Natty:
Report link

OK, it looks like I just need an additional set of braces around each set of array elements.

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

79329645

Date: 2025-01-04 21:35:26
Score: 0.5
Natty:
Report link

I answered my own question using built-in JSON functions.

SELECT n, ARRAY(SELECT JSONB_ARRAY_ELEMENTS(JSONB_ARRAY_ELEMENTS(JSONB_AGG(a)))) AS a, SUM(q) AS q
FROM (
    SELECT 'foo' AS n, '{1,2}'::integer[] AS a, 1 AS q
    UNION ALL
    SELECT 'foo' AS n, '{3,4,5}'::integer[] AS a, 1 AS q
) results
GROUP BY n
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Oliver Morgan

79329635

Date: 2025-01-04 21:29:25
Score: 1
Natty:
Report link

Add a page to your wiki called _Sidebar, and write your sidebar content in markdown in that page.

For example:

- [Home](wiki home url)
- [A Section](section page url)
  - [A Sub-Page](sub-page url)
- [Another Section](another url)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hate9

79329634

Date: 2025-01-04 21:29:25
Score: 3.5
Natty:
Report link

In the 32-bit mode DWORD_PTR and DWORD types coincided , but they do not coincide anymore in the 64-bit mode. This link contains conversion issue for old program when converting 32 bit to 64 bit. https://pvs-studio.com/en/blog/posts/cpp/a0065/#ID0EPLAC

Reasons:
  • Blacklisted phrase (1): This link
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Benedict Kwok

79329625

Date: 2025-01-04 21:24:24
Score: 3.5
Natty:
Report link

Can i import my settings who are saved to my Chrome profiles and lunch selenium with the same settings ? Because every time the settings will be reseted to (default settigs)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can i
  • Low reputation (1):
Posted by: koumougou

79329617

Date: 2025-01-04 21:19:22
Score: 13
Natty: 7
Report link

Did you solve it? I have the same issue.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): Did you solve it
  • RegEx Blacklisted phrase (1.5): solve 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):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you solve it
  • Low reputation (1):
Posted by: Max_H

79329601

Date: 2025-01-04 21:12:20
Score: 3.5
Natty:
Report link

I did a small demo for changing password with validating old password.

You can check it here

https://github.com/m-serag-lab/keycloak-change-password/tree/main

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

79329598

Date: 2025-01-04 21:11:20
Score: 2.5
Natty:
Report link

SSLmode needed to be set to "require" in the connection string to be able to open a connection - &tls.Config needed to be added to the client redis options like this: redisClient = redis.NewClient(&redis.Options{ Addr: redisAddress, Password: conf.Redis.Password, DB: conf.Redis.DB, TLSConfig: &tls.Config{}, }

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

79329591

Date: 2025-01-04 21:07:19
Score: 0.5
Natty:
Report link

Fixed after I added this script in the head tag of my cshtml file:

<script type="module">
    import RefreshRuntime from "http://localhost:5173/@@react-refresh"
    RefreshRuntime.injectIntoGlobalHook(window)
    window.$RefreshReg$ = () => {}
    window.$RefreshSig$ = () => (type) => type
    window.__vite_plugin_react_preamble_installed__ = true
</script>

I was getting the "Uncaught Error: @vitejs/plugin-react can't detect preamble. Something is wrong." Vite server error since I wasn't importing the refresh runtime that the Vite server provides to allow HMR.

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

79329588

Date: 2025-01-04 21:02:18
Score: 1.5
Natty:
Report link

This doesn't seem to fit OP's case, but for anyone else encountering this error, make sure your function's CodeUri matches the directory of your app.py. I had a slight spelling mistake which made it check in an empty directory instead of the intended one, even though the builds had succeeded.

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

79329579

Date: 2025-01-04 20:51:16
Score: 4.5
Natty:
Report link

What do you mean with deadlinedate === function? I tried toDate but it does not seem to be an option of that object

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What do you mean with
  • Low reputation (1):
Posted by: stevenWalters

79329576

Date: 2025-01-04 20:49:16
Score: 2.5
Natty:
Report link

I had this same question and was able to get it to work for me using this:

{ "$schema": "vscode://schemas/launch" }

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

79329561

Date: 2025-01-04 20:42:14
Score: 2
Natty:
Report link

Imagine you're in a geometry class, and you have shapes: Circles, Rectangles, and Triangles. They all have a common interface, say, 'draw()'. Now, each shape has its own way of drawing, right? Circles draw in one way, Rectangles in another, and Triangles yet another. This is what Polymorphism is all about - one interface, many implementations.

Refer: https://reloadbasics.com/java/Concept_of_Polymorphism_in_Java

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

79329548

Date: 2025-01-04 20:31:11
Score: 2
Natty:
Report link

def smaller_num(x,y): if x<y: return x else: return y

x = int(input('Enter the value of x: ') y = int(input('Enter the value of y: ')

print(f"Between {x} and {y} the smallest number is {smaller_num(x,y)}")

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

79329540

Date: 2025-01-04 20:23:10
Score: 0.5
Natty:
Report link

Up to date answer: QObject (Widgets) has a method isSignalConnected which can be used as such:

if tabelWidget.isSignalConnected(QtCore.QMetaMethod.fromSignal(tabelWidget.itemChanged)):

Where itemChanged is signal and returns True if signal is connected

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: M.Mavini

79329531

Date: 2025-01-04 20:13:08
Score: 3.5
Natty:
Report link

Very good solutions! Now it works very well with the map command. I agree that 'map' is a very useful primitive, I should use it more often. Using a reporter is also a very interesting solution, thank you Charles and Luke!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Aitor

79329530

Date: 2025-01-04 20:12:08
Score: 1
Natty:
Report link

If wished smoothing shape result was no sharp edge instead of no sharp corner, then simple alternative would be using hull.

smidge=0.001;
cube(10);
hull() {    sphere(10);
            translate([10,0,10]) sphere(smidge);    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: church

79329521

Date: 2025-01-04 20:04:06
Score: 0.5
Natty:
Report link

This is a limitation of the default RMarkdown rendering engine. ggplot2 can access Windows system fonts just fine when you create a plot from the R terminal or R script, but it doesn't have access to them when you render a Quarto or RMarkdown chunk. You can fix it by changing the backend rendering engine to ragg. Install the ragg package with install.packages("ragg") and then add knitr::opts_chunk$set(dev = "ragg_png") at the top of your RMarkdown file to select ragg as your engine.

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

79329518

Date: 2025-01-04 20:00:04
Score: 4
Natty:
Report link

Thanks for the responses. I got to where I needed to be with the command line "jupyter nbconvert...". Never got the dropdowns to work. There is a possibility I was being "helped" (sarcasm) by a product that rhymes with "Horton".

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dave

79329514

Date: 2025-01-04 19:58:03
Score: 1.5
Natty:
Report link

Create a new group with specific permissions and assign it to the staff users.

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

79329508

Date: 2025-01-04 19:57:03
Score: 2.5
Natty:
Report link

If you have access to the prod server use py-spy (https://github.com/benfred/py-spy), super handy.

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

79329504

Date: 2025-01-04 19:56:02
Score: 4
Natty: 5
Report link

What should be the connection string. Mysql database is in hostgator and need to use it from the webapplication. Testing in visual studio asp. Net c# webapplication

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

79329486

Date: 2025-01-04 19:42:59
Score: 3
Natty:
Report link

Tipkit says,

Anything related to the Tipkit should be done only after Tips.configure() method.

I faced a major crash because I was setting a TipKit @Parameter variable before the Tips.configure() method was called.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Parameter
  • Low reputation (1):
Posted by: Chirayu Asati

79329480

Date: 2025-01-04 19:39:58
Score: 3.5
Natty:
Report link

chair‎ chair‎ chair‎ chair‎ chair‎ chair‎ chair‎

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

79329479

Date: 2025-01-04 19:38:58
Score: 1.5
Natty:
Report link

as ipaddress,macaddress,memoryaddress are in hexadecimal(8fińger maтhs + 2тhumbs as forwαrd/backwαrd iterators) so if all hex digits 0-9A-F rearranged continuously then regex for matching ipaddress/macaddress/memaddress will become easy. But yes than character 'A' will have ascii value 0x3A(binαry 111010). so now alphabet will not be 1-indexed. so αre there any benefits of :

  1. A-Z and a-z to be 1-indexed as given in comments by nαтhan_lońg/nAThan_loNg
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: vimal kumαr

79329476

Date: 2025-01-04 19:37:57
Score: 3
Natty:
Report link

time.sleep(15) is what worked for me

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jj j

79329471

Date: 2025-01-04 19:35:57
Score: 3.5
Natty:
Report link

Open serial file in Notepad++ (or something that supports changing encodings) and then change from UTF-16 to ANSI or UTF-8; openssl works with both. Hit save and done.

enter image description here

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

79329466

Date: 2025-01-04 19:29:55
Score: 2.5
Natty:
Report link

Take a look at TupleUtils: https://www.javacodegeeks.com/2020/01/project-reactor-de-structuring-a-tuple.html

Mono.zip(Mono.just("a"), Mono.just(2))
    .flatMapMany(TupleUtils.function((s, count) ->
            Flux.range(1, count).map(i -> s + i)))
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user191094

79329455

Date: 2025-01-04 19:21:53
Score: 0.5
Natty:
Report link

Based on comments from @sweeper, I turned the duration into a TimeInterval and then simply formatted the TimeInterval as a number:

extension Duration {
    func timeInterval() -> TimeInterval{
        return TimeInterval(components.seconds) + Double(components.attoseconds)/1e18
    }
}

extension Duration {
    func formatAsSeconds(precision: Int = 0) -> String{
        return timeInterval().formatted(.number.precision(.fractionLength(precision)))
    }
}

And with those extensions, I can format the Duration like so:

myDuration.formatAsSeconds(precision: 2)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @sweeper
  • Self-answer (0.5):
Posted by: Brian

79329454

Date: 2025-01-04 19:21:53
Score: 2.5
Natty:
Report link
(?:[^,]*,){3}[^,]*$

this will do the job

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

79329448

Date: 2025-01-04 19:18:53
Score: 2
Natty:
Report link

In Namecheap, replace the host value provided by Firebase in the instructions/examples with @ when entering it into Namecheap

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

79329440

Date: 2025-01-04 19:10:51
Score: 1.5
Natty:
Report link

Integer types

Turbo Pascal provides five predefined Integer types. Each type denotes a specific subset of the whole numbers, as shown here:

Type Range Format

Shortint -128..127 Signed 8-bit

Integer -32768..32767 Signed 16-bit

Longint -2147483648..2147483647 Signed 32-bit

Byte 0..255 Unsigned 8-bit

Word 0..65535 Unsigned 16-bit

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

79329436

Date: 2025-01-04 19:08:51
Score: 1
Natty:
Report link

Instead of directly setting indexes try using Insert and Remove methods like this:

int idx = Items.IndexOf(i);
Items.RemoveAt(idx) // or just Items.Remove(i);
Items.Insert(idx,i);

I believe windows may have some problems with reordering, but inserting and removing should call native methods. Didn't try myself, so please reply if it worked.

Reasons:
  • Blacklisted phrase (1.5): please reply
  • Whitelisted phrase (-1): it worked
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: aw3

79329432

Date: 2025-01-04 19:04:50
Score: 8.5
Natty: 8.5
Report link

@vaiden how do i record an event like shaking and how to run iy in bluestacks?

Reasons:
  • Blacklisted phrase (1): how do i
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @vaiden
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: יוסף מורלי

79329431

Date: 2025-01-04 19:04:50
Score: 2
Natty:
Report link

Here is how you can solve error SourceTree - "This is not a valid source path/URL" error attempting to clone a GitHub repository.

either the issue is with the Github URL, Authentication or SourceTree settings.

  1. Verify the Repository URL
  2. Check Authentication
  3. also use the proper setting in source tree
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ARBAJ JAMADAR

79329430

Date: 2025-01-04 19:03:49
Score: 3
Natty:
Report link

Surprisingly, Collider2DRaycastFilter still works perfectly in 2025 for Unity 6 and there's still need for that.

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

79329427

Date: 2025-01-04 19:02:49
Score: 5.5
Natty: 5.5
Report link

if I also needed to search for files with “!” in all folders and subfolders?

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

79329418

Date: 2025-01-04 18:55:47
Score: 1
Natty:
Report link

You would need a cloud based service to serve your media files in production use. I do not know if vercel provides such services but I can suggest using Cloudinary which I've used on Heroku a couple of times.

You would have to integrate Cloudinary into your Django project.

You can see an example of it in this tutorial.

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: dev_light

79329416

Date: 2025-01-04 18:54:46
Score: 1
Natty:
Report link

Using the advice given by @IgorTandetnik along with a bit of tinkering, I was able to solve my own question.

The main issue stems from defining the QWebEngineProfile constructor without the storageName parameter, which results in a off-the-record profile, rather than one that would hold persistent cache and cookies. So, rather than incorrectly using QWebEnginePage *profilepage = new QWebEnginePage(PersistentProfile, this);, as it does not contain the optional storageName parameter, it is correct to define the constructor as QWebEngineProfile *PersistentProfile = new QWebEngineProfile(QStringLiteral("PersistentProfile"), this);, which does.

Further, the second issue I found in my code originates in how I defined the storage path. In my testing, QStandardPaths::AppDataLocation was not accessible to the application while in a build environment under my IDE. Rather, I had to specify a direct, full path to a folder in the build directory for the application to find the correct storage location. From my research, when publishing and bundling the application, however, using QStandardPaths::AppDataLocation is correct, but does not seem to work in a build environment.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @IgorTandetnik
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jesus Coder

79329405

Date: 2025-01-04 18:44:44
Score: 3.5
Natty:
Report link

I am new to Mac, so forgive me if I give a stupid answer, or state the obvious for any Mac user. I am looking through file opening in another context and came across the documentation that Finder needs to be killed via a Terminal session after editing a plist file.

KillAll Finder

Hope it helps someone, Coen.

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • RegEx Blacklisted phrase (1.5): I am new
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Coen

79329402

Date: 2025-01-04 18:40:44
Score: 1.5
Natty:
Report link

gl.getExtension('EXT_color_buffer_float'); Allows framebuffer creation with textures that have 32 bit float internal types.

EXT_color_buffer_float is not mentioned in the mdn web docs or the specification, despite 32 bit float types being listed in both.

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

79329399

Date: 2025-01-04 18:36:43
Score: 2
Natty:
Report link

The issue was that my FlatList component was inside a TouchableWithoutFeedback component, causing weird issues when scrolling,

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

79329390

Date: 2025-01-04 18:31:42
Score: 1
Natty:
Report link

I think that you might need to load credentials.json as a dictionary in python because it ix expecting a dictionary but you instead are passing a set.

This addition to code might work:

import json
with open("credentials.json", "r") as f:
    credz = json.load(f)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mehul Patwari

79329383

Date: 2025-01-04 18:29:41
Score: 7.5
Natty: 8
Report link

Can anybody please tell me does Pinterest have any url like this: https://widgets.pinterest.com/v3/pidgets/users/n1cotin3/pins To get auto suggested keywords, to get ranked pins urls for a specific keyword?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can anybody please tell me
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Can anybody please
  • Low reputation (1):
Posted by: Mi Monir

79329375

Date: 2025-01-04 18:27:40
Score: 1
Natty:
Report link

After some trials, my workaround was to use the following:

const obj = {
  a: 1,
  b: 2,
  c: 3
}

type Primitive<T = string | number> =
    T extends string ? string & {}
    : T extends number ? number & {}
    : never;

type KeysA<O> = keyof O | Primitive;
const a: KeysA<typeof obj> = 'a';
const b: KeysA<typeof obj> = 'custom';
const c: KeysA<typeof obj> = 123;

type KeysB<O, T = string> = keyof O | Primitive<T>;
const d: KeysB<typeof obj> = 'a';
const e: KeysB<typeof obj> = 'custom';
const f: KeysB<typeof obj> = 123;

Other workarounds are still welcome, Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: karemont

79329371

Date: 2025-01-04 18:25:40
Score: 1.5
Natty:
Report link

I got it. It was simply the matter of me passing the shadow map to the shader as depthMap, and me trying to access it as shadowMap on the shader side, which was nonsense of course. God-dammit.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: TCA 166

79329361

Date: 2025-01-04 18:18:38
Score: 3.5
Natty:
Report link

mysqli_connect(): (HY000/2002): Resource temporarily unavailable in /www/wwwroot/iosmirror/db.php json web-service

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

79329350

Date: 2025-01-04 18:13:37
Score: 0.5
Natty:
Report link

Here is a citation of what I found about [CWE-401] warning:

"First of all, CWE-401 is not an error, but rather a warning. The code will work even if it leaks memory, and under certain circumstances you may even want to leave some malloc without a free. CPPCheck is just warning you that you are doing something suspicious, and the rule of thumb is to free any memory that you allocate. If you don't have a precise reason to leave the memory allocated, try to free it.

There is no source for a memory leak per-se, in the sense that no specific line of code is triggering the error. The issue is that there is a missing free, but CPPCheck doesn't have a clear line to point to. My guess that would be that the two lines highlighted are the line where the lifetime of the reference starts (i.e. the initial malloc) and where it seems to end (i.e. the last use of the reference). CPPCheck noticed that there is no free where the lifetime ends, which is probably why it suspects a memory leak.

A simplified view of the memory is that it is split in 2 parts when used in C: heap and stack. The stack contains all the small values and is freed automatically upon leaving the current function. The heap is a user-managed section of the memory where values can be allocated (with malloc), and released (with free). So no, memory allocated with malloc is not freed when leaving the function."

- roadelou

Link to the reddit post

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Miguel Andrés Rendón Reyes

79329349

Date: 2025-01-04 18:12:37
Score: 2
Natty:
Report link

Resume YASH ANANT JAGTAP

Present Address:- Dist. sangli , tal. kabegoan , mp. sangli Pin. 415304

PERSONAL DETAILS

FATHER NAME: Anant Jagtap

DATE OF BIRTH 25/04/2004

MARITAL STATUS Unmarried

GENDER male

NATIONALITY:Indian

RELIGION: Hindu

LANGUAGES KNOWN Hindi, Marathi & English

CONTACT NUMBER 91+7620326417

EDUCATIONAL QUALIFICATION:- H.S.C PASSED FROM MAHARASHTRA STATE BOARD S.C.C PASSED FROM MAHARASHTRA STATE BOARD

WORK EXPERIENCE: FRESHER

COMPUTER KNOWLEDGE: BASIC COMPUTER COURSE

DECLARATION I hereby declare that the above information given about me is true and correct to the bestof my knowledge and belief.

Place: Mumbai Date: (YASH ANANT JAGTAP)

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

79329347

Date: 2025-01-04 18:12:37
Score: 2.5
Natty:
Report link

In some cases, you can have more than one build.gradle file.

One way uou can quickly find them is by doing a universal search for "compileOptions" and seeing the results and in which places.

If the problem still persists, you will need to make this change matching CompileOptions and KotlinOptions (as described above) in the other ones. Typically the error will mention the module. enter image description here This was my scenario.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gdoodle Dev

79329340

Date: 2025-01-04 18:05:34
Score: 6 🚩
Natty:
Report link

Thanks @spectralInstance I am still not getting any result when I updated that formula: enter image description here

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): enter image description here
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @spectralInstance
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Umby

79329337

Date: 2025-01-04 18:04:34
Score: 4.5
Natty: 5
Report link

Does anyone know steps to recover mysql 8.0.27 instance on windows server? We have the Data directory. We have the db folder and files with ibd extension. I know that from extension is no longer needed with MYSQL 8. Still, I could not find out a proper way to restore the instance on a new server os.

Reasons:
  • RegEx Blacklisted phrase (2): Does anyone know
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: ideal identity

79329336

Date: 2025-01-04 18:04:33
Score: 0.5
Natty:
Report link

To complement @brunnerh's answer, you can compose this into a complete utility like so:

export function debounce<T>(f: (...args: T[]) => unknown, ms: number) {
  let id: null | number = null;
  return (...args: T[]) => {
    if (id) {
      clearTimeout(id);
    }
    id = setTimeout(() => {
      f(...args);
    }, ms);
  };
}

export function debounced<T>(stateGetter: () => T, ms: number) {
  let state = $state(stateGetter());
  const update = debounce<T>((v) => (state = v), ms);
  $effect(() => update(stateGetter()));

  return () => state;
}

Which you can then use like so:

  let getDebouncedSearch = debounced(() => search, 500)

However, debounced values are usually more useful for API calls and asynchronous requests. You generally don't need the debounced value itself in the UI, so you very probably do not need a signal for it.

What you probably need is simply:

const search = $state("");

$effect(() => {
  debounced(() => getSearchResults(search), 500);
});
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @brunnerh's
  • Low reputation (0.5):
Posted by: ecstrema

79329328

Date: 2025-01-04 18:03:33
Score: 3
Natty:
Report link

Try using virus total for virus scanning, if its marked as virus and its possible that it isnt, try installing the exe on an old pc you donesnt need anymore

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

79329323

Date: 2025-01-04 18:00:31
Score: 11.5 🚩
Natty: 4
Report link

I have the same issue. Did you ever find a workaround ?

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): Did you ever find a
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Hail Kill n Die

79329305

Date: 2025-01-04 17:49:28
Score: 3
Natty:
Report link

Such a stupid way to loose your time! Incredible stupid configuration for 2025

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

79329304

Date: 2025-01-04 17:49:28
Score: 1.5
Natty:
Report link

just experienced the same issue. There was a patch for Android Studio-2024.2.1.12 that i downloaded just now and it solved it for me. But for some reason the Gradle was really slow with updating after installation. But at least it worked

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Roman

79329302

Date: 2025-01-04 17:48:28
Score: 1.5
Natty:
Report link

Regarding Thomas Lee's comment, when you make a request of type 'refresh_token', unlike what is described in Spotify's API documentation, the response does not return a refresh_token; it only provides the new token to be used. What I noticed is that the refresh_token is unique. In other words, the first time you make a request for an authorized user, it will give you a refresh_token, and it will not change. However, in subsequent responses, it will not return this refresh_token again. What I did on the frontend was to store this refresh_token, and every time a request of type 'refresh_token' is made, I manually add the previously saved refresh_token.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Henrique Gonçalves

79329299

Date: 2025-01-04 17:45:27
Score: 2.5
Natty:
Report link

Thanks Alan for having me review how I start things off. In the StartGDBServer preLaunchTask I define the command as below:

gdbserver_command="gdbserver $target_gdbserver_port $target_command"

It does not include any of the command line arguments defined in the launcher configuration. That is why I never get any arguments defined in vscode.

Thanks Chris

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

79329295

Date: 2025-01-04 17:43:27
Score: 3
Natty:
Report link

If you are using DataJpaTest you need to set @DataJpaTest(showSql = false) since it overrides application.properties

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

79329286

Date: 2025-01-04 17:39:26
Score: 1.5
Natty:
Report link

You can disable sign up option by going into your Clerk dashboard for given application and choose Restrictions from your left sidebar then change the Sign-up mode from Public to Restricted. There are many other options that can be tailored to your need like having a invitaiton list (allowing people that has been invited to be able to sign up and etc).

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

79329279

Date: 2025-01-04 17:37:26
Score: 1.5
Natty:
Report link

The order when app go background is: inactive -> hidden -> pause

When go foreground: hidden -> inactive -> resumed

And note that when the device at multitasking state: inactive, so you should catch state == AppLifecycleState.inactive, not .paused

See the gif below

enter image description here

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

79329276

Date: 2025-01-04 17:35:25
Score: 3.5
Natty:
Report link

enter image description here

Try to remove the checkmark "Auto Graphics API" or add if it is disabled or enabled, experiment with Vulkan

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

79329268

Date: 2025-01-04 17:31:24
Score: 1.5
Natty:
Report link

Test classpath

I don't se anything here as you have mentioned below lines

addScript("classpath:rewards/testdb/schema.sql") //
  addScript("classpath:rewards/testdb/data.sql") //

Can you try adding the same files under test/resources folder and then give a try?

Reasons:
  • Whitelisted phrase (-2): Can you try
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Sam....

79329257

Date: 2025-01-04 17:25:23
Score: 0.5
Natty:
Report link

Since Next.js still lacks native support for downloading remote images and including them in static builds, workarounds remain necessary. Existing solutions, such as next-image-export-optimizer, often require defining image URLs in advance. This approach doesn't make sense when building a site dynamically based on content from an external CMS, such as Cosmic.js.

To address this, I’ve gathered and refined a solution in the following GitHub repository:

🔗 https://github.com/PioterAndrzejewski/next-export-with-static-images

In short, the approach works as follows:

Custom Image Loader: Generates optimized image URLs using imgix.

HTML Parsing Script: Analyzes generated HTML files and downloads all referenced remote images.

Path Replacement: Updates src and srcset attributes in HTML files to point to the downloaded local image assets.

This method ensures that all external images are properly downloaded, linked, and included in the final static build output.

If you're also struggling with this limitation in Next.js, feel free to check out the repository and share your thoughts!

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

79329253

Date: 2025-01-04 17:23:22
Score: 0.5
Natty:
Report link

You should add "void" before "public", since the onClick UI Button only works with methods.

public void PlayGame()
{
    SceneManager.LoadScene(1);
}

public void QuitGame()
{
    Application.Quit();
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: AC Studio

79329247

Date: 2025-01-04 17:17:20
Score: 4
Natty:
Report link

installed latest jdk and solved

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

79329237

Date: 2025-01-04 17:08:18
Score: 3
Natty:
Report link

I know it may be late, But, we had the same problem, run the app on a real device was the solution for us.

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

79329225

Date: 2025-01-04 16:57:15
Score: 1
Natty:
Report link

Spring AOP fits for this use case. You can log before, after or at the method calling. There are plenty of tutorials out there, you can get started with Logging With AOP in Spring

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

79329220

Date: 2025-01-04 16:55:15
Score: 1
Natty:
Report link

To remove pylint (Version 2024.0.0) docstring warnings in VSCode add the the code below into the user's settings.json file.

"pylint.args": [
    "\"pylint.args\": [\"--disable=C0111\", ]"
],
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user29052731

79329216

Date: 2025-01-04 16:53:14
Score: 1
Natty:
Report link

You can solve this problem by using a getter for the faqs property. A getter lets you dynamically access the email value without encountering the issue of trying to use a variable before it’s been fully defined.

interface Config {
  email: string;
  faqs: Array<FAQ>;
}

export interface FAQ {
  question: string;
  answer: string;
}

export const config: Config = {
  email: "[email protected]",
  get faqs(): Array<FAQ> {
    return [
      {
        question: "simple question",
        answer: `I want to refer to ${this.email} here`,
      },
    ];
  },
};
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andres Aranda

79329212

Date: 2025-01-04 16:51:14
Score: 1
Natty:
Report link

Yes, AWS offers a similar mechanism to what GCP provides with Workload Identity for external service access. In AWS, you can achieve this by using IAM Roles with Web Identity Federation or IAM Roles Anywhere.

This approach allows you to grant external services or identities access to AWS resources by associating them with IAM roles.

Steps:

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

79329206

Date: 2025-01-04 16:49:13
Score: 3.5
Natty:
Report link

Nowadays we just use "dotnet --version" and it will shows you the version.

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

79329198

Date: 2025-01-04 16:43:11
Score: 2
Natty:
Report link

I has the same issue....

You need to need to enable to enable 'usb cdc on boot'

I use the Arduino IDE and you do via 'Tools' menu item.

It's a feature of the chip that usb cdc is disabled by default

Good luck

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

79329196

Date: 2025-01-04 16:42:11
Score: 3.5
Natty:
Report link

Atlas Battery have different categories in the battery that includes car, bike, solar & UPS. https://abl.atlas.pk/

Reasons:
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Atlas Battery