213 questions
0
votes
1
answer
84
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
30
views
Retrieve the CSS generated by Gutenberg and the WordPress theme to expose it
I would like to expose the CSS use by Gutenberg and the theme to use it in another application. I have already done this, but I don’t get exactly the same result. Additionally, I don’t want the ...
0
votes
0
answers
119
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 ...
1
vote
0
answers
491
views
CATIA V5 - Automated Detailed View Generation - VBA
I am working on a project at work aimed at automating the CAD process for shaft design. We have already seen significant success with the 3D design aspect. However, we are encountering some challenges ...
0
votes
2
answers
513
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
59
views
what is the way to identify generated classes in bytebuddy transformer
We have a bytebuddy transformer we install in a javaagent something like that:
new AgentBuilder.Default()
.type(TypeMatchers.create(Configuration.getInstance()))
....
0
votes
1
answer
496
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 (...
1
vote
0
answers
1k
views
CATIA VBA: Extract name of generated point in CATDrawing
I'm tearing my hair out trying to work with generatedpoints in draft view. I have a 3D model with points that are named in a particular way, per the picture below:
point names
Then on the CATDrawing, ...
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&...
0
votes
1
answer
1k
views
Is there a way to create a generated column in postgresql that will store a boolean value from comparing 2 dates?
I am trying to create a new generated column call memberstat which is a boolean that will hold just a 'True' or 'false' if the current date is greater than expiration date.
So far, whenever i create '...
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
0
answers
492
views
How to execute aarch64 generated machine code in c
I saw and tried some samples of executing machine code in C for Linux. It works well.
When I tried for aarch64, it always fails. Here is what I tried.
C file:
#include <unistd.h>
#include <...
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 ...
0
votes
1
answer
434
views
Open generated file (Uint8list) in default application in Flutter
My application is generating excel and pdf reports. They are generated in Uint8list.
Is there a way to open such files in default application?
I tried open_file package, however, it requires a file ...
1
vote
0
answers
535
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
502
views
MySQL InnoDB FULLTEXT search over JSON generated STORED column is slower than LIKE
Table:
CREATE TABLE `stores` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`value` json DEFAULT NULL,
`html` mediumtext COLLATE ...
0
votes
1
answer
701
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 ...
1
vote
0
answers
186
views
Objects.requireNonNull inserted before method references by modern javac implementations
At what point (and what for) did Java creators decide to make javac insert Objects.requireNonNull() before non-static non-this method references?
Source file:
import java.util.function.Supplier;
...
3
votes
2
answers
705
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 ...
0
votes
0
answers
342
views
Hibernate (Generate non prime value only when it is null)
I am trying to find a way how to generate value using "org.hibernate.annotations.Generated"
at the moment on every insert it will increase .But i would like to know if its passable to do it ...
1
vote
1
answer
285
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
2
answers
361
views
How to target a random generated number?
I have a script that randomly generates a room id when joined. I want to copy that ID with a click of a button. It would be easy job with a input element, however, I don't know how to even target that ...
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
3
votes
1
answer
2k
views
Unable to make generated column in postgresql for Json data
I'm trying out generated column with postgres-12. I need to create a table with generated column with JSON data. I'm going to receive "name" field as key there . However, while doing so - I ...
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 ...
0
votes
1
answer
2k
views
Java(generated) folder in Android Studio
What is the java(generated) folder in the project structure of the Android Studio? How does it differ from the java folder?
1
vote
0
answers
69
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 ...
0
votes
1
answer
958
views
Android Kotlin generated databinding classes contain errors
I am a beginner in android program development and I have been trying to get familiar with using databindings. I followed the correct steps to generate my databinding classes but whenever I try to use ...
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
183
views
AttributeError: 'tuple' object has no attribute 'asjson'
When I would like to test my EBNF grammar, I have the error :
AttributeError: 'tuple' object has no attribute 'asjson'
Code :
if not filename or filename == '-':
text = sys.stdin.read()
else:
...
0
votes
1
answer
159
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'...
0
votes
1
answer
371
views
How to add a break after Symfony's formType labels
I have some issues to put a break after my input's labels generated by my Symfony's Form.
Here is the form :
my form
Here is my twig :
my twig
And this is what I have now, I just want to return on the ...
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 ...
1
vote
3
answers
809
views
How can I reference a text view that is created through code?
public TextView descriptionTextView(Context context, String text) {
final ViewGroup.LayoutParams lparams = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup....
-2
votes
1
answer
578
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
1k
views
JS (template Literal-) generated html, updates the DOM? [duplicate]
When generating HTML with JavaScript, is it better to use the annoyingly verbose
document.createElement("p")...
(as seen here: https://www.w3schools.com/jsref/met_document_createelement.asp )
or is ...
0
votes
1
answer
74
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
9k
views
Why doesn't CMake-generated make clean delete files created with configure_file
I'm using CMake for a project, and generating some configuration .h files with a configure_file() command. This works well enough, but - if I make clean, the generated file is not deleted - nor is it ...
0
votes
1
answer
156
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
2
answers
1k
views
How to generate a domino-tiling of a square?
Short description:
I'm trying to generate tilings of a square with dominoes or in other words with 2x1 and 1x2 tiles.
Sometimes my algorithm puts a vertical tile in a way, that makes it impossible ...
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 ...
0
votes
1
answer
66
views
Programmatically generated UIButtons not responsive
I'm generating UIButtons dynamically and placing them in a dynamically sized UIImageView. I created the buttons in a loop, then in another loop I set their constraints based upon the available space . ...
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 ...
1
vote
0
answers
130
views
generated-source folder not created in Java project
I created a java project using sbt. While I was trying to use an Immutable class using @Value.Immutable annotation I noticed that generated-source folder is not created. Instead, I see the structure :
...
-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
32
views
work around for triggers that update the same table
I am building a nba_players table in MySQL. It has a column for players height in inches (pl_ht_inches). It also has a column (pl_ht_feet) where it lists a players height in feet. For example ...
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 ...
3
votes
1
answer
6k
views
warning: No processor claimed any of these annotations: javax.annotation.Generated
I'm working on a module project in NetBeans 8.2, with a GUI and everything. I'm using lots of the IDE functionality to auto-generate code for the GUI.
Every time I do a clean build of my project, I ...
0
votes
1
answer
90
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?
1
vote
2
answers
8k
views
make clean: Only remove files that have been generated
With the Makefile I'm working on, I convert pdf files into txt files.
I've implemented a clean target that would remove all .txt files. However, I do not wish to delete the source files, only those ...