Newest Questions
24,163,874 questions
-4
votes
0
answers
53
views
Coding a website - cant get it too run on shared hosting [closed]
https://llamacoder.together.ai/share/v2/6X7H_oBvFLd6p-GK
Using AI to help me code - I have this - cant get it to work. It runs perfectly fine n their website- but blanks on my host. Can anyone assist
0
votes
1
answer
44
views
OpenAI Moderation API returns 429 Too Many Requests even with no prior usage
I’m trying to use the OpenAI Moderation API for text moderation, but every request returns a 429 Too Many Requests error — even though I haven’t made any prior requests with this API key.
Error ...
0
votes
0
answers
26
views
Add Two Different Page Numbering Styles to Parent Page
My document is made up of several smaller "sections" compiled into one large document. Each section has its own page-number prefix and is numbered 1 through whatever. They look like MD-23 or ...
0
votes
1
answer
30
views
How Do You Retrieve a Video Output's Preferred Resolution? (BIOS Bootloader)
I am building an operating system for the x86_64 ISA. I am to the point in my development where I want to begin to display things graphically for the user, and therefore wish to retrieve the monitor/...
0
votes
0
answers
24
views
Django on Azure App Service: got an unexpected keyword argument allow_abbrev
I am deploying a Saas with Django 5.2.10 application on Azure App Service (Linux). During container startup, my startup script runs database migrations before launching gunicorn. The container crashes ...
Advice
0
votes
2
replies
60
views
Why people use "src" variables in make instead of just an "obj"?
I always created makefiles like this:
src = file1.c file2.c
obj = $(SRCS:.c=.o)
and never really thought much about it, but now that I want to understand more about make, I do not really see why I ...
0
votes
0
answers
23
views
Qt Creator fails to run application in debug mode
I am developing a desktop application in C++ using Qt Creator. My app runs fine in release mode, but it started to quit after making (perfectly) one display cycle, in Debug mode, without issuing any ...
Best practices
0
votes
2
replies
37
views
Simple PHP API example
<?php
include "./db_functions.php";
$method = $_SERVER["REQUEST_METHOD"];
$uri = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
$uri = explode("/", $...
0
votes
0
answers
16
views
Connecting from DBX to SAP HANA to Insert in HANA
I want to upload dataFrame records from DBX to SAP HANA and it fails with DBX 16.4 giving error Could not initialize class com.sap.db.jdbc.Driver . Any solution appreciated
Connect to HANA (hdbcli ...
0
votes
0
answers
23
views
Lag by treatment number, multiple rows
How do I add a variable to my dataframe in R, that has lagged values based on previous treatment rows?
I wish to set a variable "previous_treatment_stop_date_missing" as TRUE when there is ...
Advice
0
votes
2
replies
27
views
How do I use INDEX and MATCH instead of VLOOKUP in Excel?
I’m trying to learn how to use INDEX and MATCH instead of VLOOKUP in Excel.
I have a table where:
Column A = Employee IDs
Column B = Names
Column C = Salaries
I want to look up a salary based on an ...
Best practices
0
votes
1
replies
35
views
Simple SQL (Get and Edit Data)
<?php
// get data or modify data
function getData($sql){
$db = new mysqli("localhost", "root", "", "database");
if($db->...
Best practices
0
votes
2
replies
40
views
Metadata-based deepfake detection
I want to develop an mvp metadata-based deepfake detection tool under one month for my final year project and I am still a beginner in Python. Any advice on how I can accomplish this without failing ...
0
votes
0
answers
24
views
Does slick-pg support this PostgreSQL feature?
Using the PostgreSQL-specific slick-pg extension of slick, which supports multi-upsert. Let's consider a small example.
CREATE TABLE foo (id INT PRIMARY KEY, name TEXT DEFAULT 'foo');
The ...
Advice
0
votes
1
replies
34
views
why do need multiple from clauses in a docker file?
to reduce the image size it's claimed:
creating efficient and secure final images by separating the build environment from the runtime environment
The first stage uses a bulky golang image to compile ...