663 questions
-3
votes
1
answer
86
views
Make rust place "auto-generated" files in configurable path (one for Linux, one for W10)
I want to keep voluminous "auto-generated" files separate from the files I write and edit. I also want the same Rust project to run in Linux and in W10. And I assume it's better that each ...
0
votes
0
answers
81
views
autoconf/CMake-like file generation for TypeScript
In C/C++, it is possible to write something like:
// version.h
extern const char *branch;
extern const char *hash;
extern const char *status;
extern const char *timestamp;
// version.c (...
0
votes
1
answer
63
views
How would you generate a copy of a Yocto project's man pages for offline references?
Often in embedded systems, storage is a bit limited. Hence, you rather not bundle in all the man pages onboard. Later on, I still want to access the manual pages for the specific package versions ...
0
votes
1
answer
160
views
Inconsistent Sourcery Output for Protocols with Associated Types
I use Sourcery in my iOS project to generate mocks for a protocol that conforms to another protocol with associated types. Despite consistent input, the generated output from Sourcery is not ...
0
votes
2
answers
86
views
An advanced formula for getting serial nos automatically in excel
Can you help me write a formula starting from A4 cell to A20 cell for the serial no of the students to get a result like the serials in this photo.
conditions:
First non empty row will get the serial ...
0
votes
0
answers
69
views
C# text template: loop through enum values
I'm trying to loop through an Enum in my tt template (C# .Net project). My goal is to generate a typescript file based on this C# enum, however I'm not able to loop through my enum.
This is my C# tt ...
0
votes
2
answers
191
views
How to stop VS Code from creating default build task on F5 press?
By accident I selected "don't ask me again" on some feature in VS Code after pressing F5. Now, every time I press F5, it adds the default task in the tasks.json even when I have two other ...
1
vote
0
answers
64
views
CMake dependencies for auto-generated code
I have an existing project that is using CMake and has a complex binary target (compiles many .c file that include many .h files).
I want to add a process to auto generate some code before the ...
0
votes
0
answers
198
views
ABAP: Generate class with SEO_CLASS_CREATE_COMPLETE with pretty printer
I'm using the Function Module SEO_CLASS_CREATE_COMPLETE to generate classes, but the problem is, that it doesn't do Pretty-print on the source code.
Q:
Is there a way to make the FM do Pretty-print?
...
0
votes
0
answers
27
views
Visual Studio Code - Typing /// does not autogenerate "summary" [duplicate]
On a new computer so I had to fresh install everything. In the past, when I typed "///" before a method, VS code would autogenerate a "summary" block that I could fill in with ...
0
votes
1
answer
53
views
Autogenerate Player Number
I want to create a SSMS stored procedure to auto Generate player number like 000001,000002,000009,000010 and so on . I want it such that when I click on refresh on front end it should auto generate
...
1
vote
2
answers
423
views
Importing wrong package when autogenerating code using proto buff (.proto files)
So I am working on a project using proto buff where I need to generate golang code using .proto files.
My issue is that it is importing wrong package when I generate golang code.
So this is how my ...
-2
votes
1
answer
90
views
Flutter generate number
Is it possible for flutter to generate a random number, store them somewhere so that it doesn't generate the same number even if the app is restarted?
If yes, how is that done?
1
vote
2
answers
164
views
How to use a preprocessor to separate parameters from function signatures in C++?
I am using a C++preprocessor to batch generate function definitions, but there is an issue when passing parameters
#include <iostream>
#define FOR_EACH_FUNC(_) \
_(int, add, int a, int b) \
...
1
vote
2
answers
206
views
Autogenerate Case ID With Conditional Letter Prefix, Next Avail Number, and Current Year
I have researched this and have in mind how to do parts of it, but don't quite understand how to put it all together. When someone is creating a new record in my app, if the results of the ...
2
votes
1
answer
469
views
Why is my InDesign Javascript not fully working?
I am creating a small script to be used within InDesign to be able to read a .txt file and create multiple .indd files of differing WxH and bleed .etc. it's a Javascript .js file.
So far I managed to ...
-1
votes
1
answer
128
views
auto generate number is not working at the start of new year
I am trying to generate my bill no in following sequence in php
L5- 0124-0001 (where L5 is company name, 01 representing month and 24 representing year, where as last four digit is for serial number) ...
0
votes
2
answers
312
views
Error while using non-default type with TypeConverter in Floor entity
I am stuck with a simple error when using a type other than the default type in my entity class. The error occurs when I run the dart run build_runner build --delete-conflicting-outputs command to ...
0
votes
1
answer
136
views
Using git to manage the edit, patch, and merge of autogenerated microcontroller code
We're using a tool (STM32CubeMx) which provides a GUI to configure embedded microcontrollers, and generates a full C project based on that configuration. This includes C files, Header files, and ...
1
vote
1
answer
101
views
Define specific area to Generate PDF - Google Apps Script [closed]
In this case I have an annoying problem. I can't control a specific area to be a PDF format. Every time I execute the code, the result is like this:current preview
But I'm expecting the result is like ...
3
votes
2
answers
825
views
{controller} placeholder doesn't work when generating TypeScript client with NSwag
I want to generate a TypeScript client from an OpenApi specification. I'm using NSwagStudio to create the config file. I leave the default {controller}Client value, but the placeholder has no effect, ...
0
votes
1
answer
453
views
Excel Dropdown list generates unique ID number for each value
I have an Excel spreadsheet with two columns.
Column A is filled with the same DropDown list that contains "Archive, Directory, Cloud".
Column B must be filled with ID depending on the value ...
0
votes
1
answer
122
views
How to change code generation settings in IntelliJ?
I have the following variables in an object:
private String mName;
private String mArtist;
private String mWhosampledPage;
private String mImage;
private List<Pair<String, String>> ...
-1
votes
1
answer
40
views
Postgres sequence from table
I have a table.
ID name col lev
1 "Rack 1" 9 7
2 "Rack 2" 6 7
3 "Rack 3" 6 7
4 "Rack 4" 7 7
I want to crate a second table ...
0
votes
2
answers
259
views
I want to auto generate bill no in this format (INV1/23) and it have to increment with 1
I want do auto generate bill no in this format (INV1/23) without using sequence in oracle apex. Kindly write query in plsql.
I used sequence for this process, but it is not working for this.
and it ...
0
votes
1
answer
1k
views
How to generate automatically SRI Hash in .net framework 4.7.2
In Security Scan, The third-party links/scripts don't have integrity attribute for the browser, so i want to generate SRI Hash in automatically for security purpose.
I need to Generate SRI Hash ...
0
votes
0
answers
166
views
Sphinx: How to autofunction autogenerated Functions
I followed the Sphinx Tutorial including the following step: https://www.sphinx-doc.org/en/master/tutorial/automatic-doc-generation.html#.
In this step, my Python file lumache was autogenerated in api....
-1
votes
2
answers
2k
views
Automatic generation of dots in Notepad++ when pressing space
I am encountering an issue in Notepad++ where dots are automatically generated when I press the spacebar. This behavior is unexpected and causes inconvenience while working with text.
To provide some ...
0
votes
1
answer
376
views
How to reorder the peripheral initialisation code that CubeID automatically generates
I'm using STM32CubeIDE v1.12.1(lasted version), the IDE provided by STM.
Recently I started a new project, and it's a product that uses LCDs.
I'm adding external SDRAM and connecting it to the FMC and ...
1
vote
1
answer
220
views
why is source generated code invisible to debugger?
I'm testing a Maui app that uses CommuniytToolkit.Mvvm to generate [ObservableProperty] attributes. The ViewModel partial class is generated for Android and Windows; I can see it in Dependencies, but ...
1
vote
1
answer
93
views
How do I generate an entity and code in an 'in-game' time that changes attributes such as the age of an entity?
I want to make a game that logs multiple things.
Character (Displayed on html the list of its attributes, generated upon the push of a button, such as a "Generate Person" button. (vvv))
...
0
votes
0
answers
1k
views
Intellij path rule to automatically recognize generated sources folder
I would like to know if it is possible to set up a rule that marks a generated sources folder as generated sources root in Intellij Idea automatically.
Usually, Intellij detects the target/generated-...
0
votes
1
answer
65
views
MS ACCESS table default value code line for autogenerated sequential and unique alphanumeric number
I am new to MS Access and I would like to generate an autogenerated sequential and unique alphanumeric number of the format SYYMM001, SYYMM002, SYYMM003... (ex for 2023 january: S2301001, S2301002, ...
0
votes
1
answer
106
views
Is there a way to output valid Swift code to debugger?
I'm attempting to write a function that would allow me to take any object (or, if required due to limitations, an object that conforms to a custom protocol) during runtime and output the object to the ...
4
votes
1
answer
4k
views
Unresolved reference: R in Android with Navigation-args
After updating Android Studio I have this error with Navigation-args
Build failed
API 'BaseVariant.getApplicationIdTextResource' is obsolete and has been replaced with 'ApplicationVariant....
0
votes
1
answer
271
views
Auto Generate Incrementing Number
The question I have is that I'm trying to auto-generate a number incrementally every time a user creates a new record. I'm trying to have the field auto-generate a number as soon as a person wants to ...
1
vote
1
answer
519
views
When I type "npm run generate" in my code block vscode out and deleting the letter i
When I type "npm run generate" in my code block, codegen generates my graphql file automatically. But while generating vscode is freaking out and deleting the letter i. When I make a new ...
0
votes
1
answer
116
views
auto built cli tool in to an object in python
first sorry for my bad terminology, I am an electrical engineer, so maybe my coding terms are not so accurate or even far from that.
we have a CLI in the company, accessed from the Linux terminal, you ...
0
votes
1
answer
91
views
Generate next free number in specific sequence
I am tranfering a lot of data to Access instead of excel.
I need to get this tool to generate the next free number for my tools.
The number depents on two things, the
Type of tool (Flare, Expander...)...
1
vote
1
answer
393
views
Auto-Generate Companion Object for Case Class in Scala
I've defined a case class to be used as a schema for a Dataset in Spark.
I want to be able to refer to individual columns from that schema by referencing them programmatically (vs. hardcoding their ...
0
votes
1
answer
249
views
Create a .NET Core Nuget package to autogenerate c# classes
I have a .NET Framework project (A) which generates an exe which takes html file as input and outputs an autogenerated C# class file (like a template of sorts). The .csproj of A looks like this:
<?...
-1
votes
1
answer
277
views
Passing primary key value from one form to another
I have a problem with a project which I'm doing in Visual Studio, using ASP.NET and C#.
I have one form where I list all the customers from database.
The Id is autogenerated from the database. At this ...
0
votes
1
answer
83
views
eclipselink JPA error - can't find class java.util.Setjava.time.DayOfWeek
I have an entity, with the following field:
@Column(name="DAYS_BITMAP", length=7)
@Convert(converter=DaysOfWeekSetToStringConverter.class)
private Set<DayOfWeek> ...
0
votes
1
answer
94
views
How to generate model from MS SQL with fields and NOT properties. Using EF
I'm using (EF Core power tools -> Reverse enginiring) to generate classes from MS SQL database.
It generates properties like:
public string Password { get; set; }
public string PositionId { get; ...
1
vote
0
answers
723
views
How to add a Gutenberg block and generate a custom CSS file with ACF Pro
Up front I apologies for my bad grammer (I am trying to the best I can).
We are building a custom template for WordPress with Gutenberg blocks in combination with ACF Pro. Every ACF Pro Gutenberg ...
0
votes
2
answers
535
views
SQL Exception while saving to database - Spring MySQL Auto Generated Id
I have created a table. I want its id to increment automatically with every record. So, i selected id as Auto Incremental while creating table in MySQL.
Here my table is:
But it gives error while ...
-1
votes
1
answer
363
views
Is there a way to generate woocommerce products from .jpeg images?
A customer of mine sent me some images (2300) for 600 products that he wants to create. The images are all .jpeg format and the image name is like this:
SKU - name - material - dimensions. There is ...
0
votes
1
answer
269
views
How to generate Settings.bundle during the build process?
I have an iOS app and want to generate Settings.bundle/Root.plist dynamically, as a part of build process. Right now I’ve created the “Settings Builder” command-line-tool target in the project and ...
0
votes
1
answer
666
views
Change schema name for different environment in JPA annotation in Telosys generated code
I am generating my classes using spring jpa template in Telosys generator tool. It works as expected, however, my project has different database schemas for different environment which I can't handle. ...
2
votes
1
answer
538
views
Calling macro from within generated function in Julia
I have been messing around with generated functions in Julia, and have come to a weird problem I do not understand fully: My final goal would involve calling a macro (more specifically @tullio) from ...