213 questions
0
votes
1
answer
74
views
How to retrieve pandas dataframe agent-generated file?
I have a pandas dataframe agent deployed in an Azure FastAPI app service.
agent = create_pandas_dataframe_agent(
llm,
df,
verbose=True,
...
0
votes
0
answers
118
views
in MySQL generated columns referring to current_timestamp fail
Given this table structure:
CREATE TABLE t3 (
`id` bigint NOT NULL AUTO_INCREMENT,
`abc` bigint NOT NULL,
`ts` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
`createdday` int GENERATED ALWAYS ...
0
votes
2
answers
504
views
Why does VsCode generate classes with both jakarta.data.metamodel and jakarta.persistence.metamodel?
For some time now, I've had a problem in VsCode where I end up with duplicate generated sources.
For example, let's take the SiteEntity entity.
In /target/generated-sources/annotations/com/.../sites, ...
0
votes
1
answer
490
views
How can I make my procedurally generated texture follow a curve in Blender?
I want to texture a blade in Blender. For this, I use a generated texture that creates this brushed look. Now I want to change the direction of the brushed metal to follow the direction of the curve (...
2
votes
0
answers
4k
views
How to configure correct the swagger OpenAPI (wrong url generated)?
I made a small spring boot application (2.2.5.RELEASE)
and I want to have swagger and I use springdoc-openapi-ui version 1.6.8.
I have in my application.properties my setting "swagger-ui.hostname&...
1
vote
1
answer
362
views
Can anyone explain the Android ViewBinding's bind() function optimized Java code?
I was looking at the auto-generated ViewBinding code in app/build/generated/data_binding_base_class_source_code and saw the bind() functions code and i cannot understand it.
@NonNull
public static ...
0
votes
1
answer
1k
views
how to write exif tags with Python in a self generated image
I have generated an image with pillow and now I want to add metadata to the image.
In my image it didn't have a data structure yet, I suppose I have to create one first but how do I do that?
Reading ...
1
vote
0
answers
527
views
i have been getting this error Module 'agora_rtc_engine' not found in flutter
I have tried every solution but does not work .after i have add firebase_messaging dependency then this error has been come before that agora functionality have working fine .Please help how can i ...
0
votes
1
answer
695
views
Loopback 4 MySQL not allowing to manually create data for id column if generated is true
I am using Loopback 4 first time and using MySQL as DB connector. I am able to use models with all my code but faced issue for id columns with generated: true.
First using required: true in my models ...
3
votes
2
answers
702
views
How to convert PostgreSQL 12 generated column to a normal column?
I have a generated column in PostgreSQL 12 defined as
create table people (
id bigserial primary key,
a varchar,
b boolean generated always as (a is not null) stored
);
but now i want column ...
1
vote
1
answer
283
views
Xamarin Linq insert/update Sqlite table record with generated column
For a table defined
public class Tbl
{
[PrimaryKey]
public int Id { get; set; }
public string Col2 { get; set; }
public string Gen { get; set; }
}
Where Gen is a Sqlite stored ...
0
votes
0
answers
111
views
C++ variable is not a type name
Hey I just took out this: point from the class and it is giving me this lamp symbol can someone explain to me what I can do
4
votes
2
answers
2k
views
NativeScript + Angular - New project Error on Preview: Type AppRoutingModule does not have 'ngModuleDef' property
I installed everything need. The project is the generated one. I don't even have made changes but when I try to preview it and scan the qrcode, I got an Error "Type AppRoutingModule does not have ...
1
vote
0
answers
66
views
Flutter generates multiple .xcconfig files in background how to fix it?
I'm building a flutter app and recently when i did git status I got this https://prnt.sc/t5moij
I'm not sure why is this happening and how to solve it since I think it behaves like a trojan virus more ...
4
votes
3
answers
4k
views
Combine named Routes and PageView
I'm fairly new to flutter and building my first real app. I implemented a router class and generating named routes from icon buttons for navigation. Next step I want to also switch between the 3 ...
0
votes
1
answer
153
views
Use Generator CodeGen in Tatsu
I have generated Model code and parser from my Grammar but I can't modify model to generated code in python.
My EBNF grammar is a script code like "C" syntax for translate file in XML or ANSI X12.
It'...
18
votes
1
answer
3k
views
How to add Java compile-time Custom annotation to Protobuf generated code
I use gRPC framework with Proto 3. We have a java code coverage tool Jacoco which scans java byte code for java "annotation" @Generated in compiled classes and if it has one, it skips that java class ...
-2
votes
1
answer
572
views
Fill an array with random names
How to create a list named "names" and fill it with randomly generated names (the names don't have to exist, and could be like "asdddds", "asdasd")
I want to make a massive array with this, like ...
0
votes
1
answer
69
views
how to create snapshot routine in AWS
I need help with a project to generate snapshot in AWS.
When generating a crontab it tells me that the crontab I typed is not valid. I need it to generate from Monday to Friday from 10 to 22 UTC, ...
0
votes
1
answer
146
views
How to make generated text in a todo list come out colored
I am making a simple to do list tabbed app, where you type in a text box and it will generate the text on the second view controller. There are five buttons that are nearly identical but generate ...
3
votes
3
answers
2k
views
SQL : Error when adding column generated from other columns (postgresql 11)
I try to add a column to my table which references the BMI and I already have 2 columns with height and weight. I want to generate automatically this column when I fill the 2 others. But I get an ...
1
vote
1
answer
24
views
Insert generated key from one table into second table with batch in one request
There are two tables with the dependence one to many on field occupation_id (project about booking hotel rooms). Each occupation entity can have several booked rooms. Is there way to do in a single ...
-2
votes
1
answer
54
views
QGroupBox from Generated ui_*.h FIle is Represented as a Pointer to an Int -- Why?
I'm working on an application which uses QtDesigner for part of its UI. QtDesigner .ui files are generally compiled to a .h representation that you can access from the rest of your QT code. For the ...
0
votes
0
answers
121
views
Where to put generated string-resoures that will be included in R.class generation and can be used in layouts?
I'm having a custom JavaExec gradle task
which I currently use for generating several string resource files for android and other platforms.
I found out that when I'm using gradle directly, like ...
0
votes
1
answer
89
views
mysql Create a Generated Column and Remove Specific Characters
I am creating a generated column using "concat", but i also need to have an "*" and "-" removed. Can you do multiple functions when creating a generated column?