Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
1 replies
50 views

We all know that there's no wrong way to write code, and infinite possible ways to complete a task. Everyone codes differently. There are of course many ways to shorthand code, so the same code can be ...
Gill P's user avatar
  • 365
0 votes
0 answers
106 views

Created a JavaFX app using Java 21 and copied this tutorial to build my project https://www.youtube.com/watch?v=udigo_qSp_k I then created my project, and everything ran fine in an IDE. When trying to ...
Aadi's user avatar
  • 7
0 votes
1 answer
29 views

Background I am writing a custom, globalISel only, backend for a currently unsupported processor. I have progressed to the point where I can run > clang -target xxx -emit-llvm file.c > llc -...
Aidan Goldfarb's user avatar
2 votes
1 answer
90 views

Consider the example code: from functools import partial from jax import jit import jax.numpy as jnp @partial(jit, static_argnums=(0,)) def my_function(n): idx = jnp.tile(jnp.arange(n, dtype=int)...
Ben's user avatar
  • 539
0 votes
0 answers
78 views

I was building kernel6.6(source from openkylin2.0 a down stream distibution of debian) on riscv platform, I met an issue while build with command dpkg-buildpackage -us -uc, part of the build log is as ...
Mr.D's user avatar
  • 3
1 vote
0 answers
42 views

on .elf formats, there is a .comment section that includes compiler & linker names and versions, this is fine since its discardable via editing the linker scripts However on Windows .exe's, while ...
PxHGhost's user avatar
2 votes
0 answers
137 views

My React with TypeScript project was building successfully but now I'm getting TypeScript compilation errors when running npm run build: JSX errors: JSX element implicitly has type 'any' because no ...
d3n1ls's user avatar
  • 21
0 votes
0 answers
62 views

Problem description: When using the Kotlin compiler (kotlinc) of any version from the command line (not IntelliJ IDEA, but a separate folder with a .bat file), and when specifying multiple libraries (....
Game Out's user avatar
1 vote
1 answer
85 views

I was going through classes doc. And I found the following paragraph. Notice that code passed to exec() or eval() does not consider the classname of the invoking class to be the current class; this ...
Dhruv's user avatar
  • 597
1 vote
0 answers
134 views

I have a MAUI project that's giving multiple errors related to my custom classes \Models\Term.cs and \Models\Course.cs. Visual Studio 2022 gives the same recommendation for both: Type 'System....
Christian Blackburn's user avatar
0 votes
1 answer
128 views

I made a Java application that loads image files from a directory called "images". If I compile and build in this way it works: javac Swing.java java Swing Conversely, if I compile and ...
Fabio Ferro's user avatar
0 votes
0 answers
83 views

I'm working on a Pycord bot project, and I'm using Nuitka to compile it. My goal is to compile the main script as a single file (--onefile) for distribution, but still be able to dynamically load ...
Kh4lid MD's user avatar
  • 135
0 votes
1 answer
56 views

Im trying to make PCTCompile fail compilation with the following settings: requireFullNames="true" requireFieldQualifiers="true" requireReturnValues="true" However, ...
W0lfw00ds's user avatar
  • 2,138
3 votes
1 answer
362 views

I'm working on a big Angular project. The compilation time is quite long. I've heard that Microsoft released a new typescript compiler, which is written in GO and is 10x faster than the previous ...
MB_18's user avatar
  • 2,501
1 vote
1 answer
82 views

I have been studying how debuggers work and studying assembly output of compilers in debug mode. One thing I noticed is that they seem to reload registers at every single line, even if no code could ...
Dominik Kaszewski's user avatar
0 votes
1 answer
22 views

I accidentally deleted the node_modules folder. I can't reinstall it since the files containing the npm libraries called package.json has been deleted as well. Is there some other way of manually ...
TJ Hosting's user avatar
0 votes
0 answers
50 views

I am writing a c-like language, but for grammar shown below: module: module declORFunc | declORFunc ; declORFunc: decl | func decl: CONST_opt btype varDef_list SEMICOLON ; CONST_opt: /* ...
Peter's user avatar
  • 1
0 votes
0 answers
45 views

Under macOS, s it possible to compile/package pdf2svg so that it doesn't require separate libaries (Cairo, Poppler, etc.)? I distribute a freeware ApppleScript applet that uses Ghostscript to convert ...
emendelson's user avatar
1 vote
1 answer
52 views

Suppose i have function foo void foo() { //do something } Now this fn foo is now called by other function defined in other files. if gprof is enabled it would do profiling activity and subroutines ...
surajrgupta's user avatar
1 vote
1 answer
72 views

I've been working on my game engine, which is for mac on Xcode. However, I'm a little bit tired of the complex configuration in Xcode. Terminal based projects do not have this problem. I can simply ...
deepinFolk's user avatar
0 votes
0 answers
155 views

I'm developing in C++ on Windows 11 using WSL with an Ubuntu 24.04.2 LTS distribution. For my course projects, I use the SDL2 library. Due to insufficient performance with graphical interfaces under ...
Clément Oliveira's user avatar
0 votes
0 answers
24 views

If I have a ELF binary that has dynamic dependencies, are there any tools to perform ahead-of-time linking to create a static binary with no dependencies? e.g. $ ldd $(which tcpdump) /lib/ld-...
Jon Bates's user avatar
  • 3,193
1 vote
0 answers
222 views

i was trying to complie whisper.cpp on a aarch64 machine, after runinng "cmake -B build",i got the following info, how to fix these errors? Looking for pthread.h Looking for pthread.h - ...
zhiming wen's user avatar
6 votes
1 answer
244 views

I've been coding in Java since 2005 and never thought that the code like that would actually be compilable: public class FooClass { public static final String FOO = FooClass.FOO; } Intellij ...
Andremoniy's user avatar
  • 35.1k
1 vote
1 answer
49 views

I have the following Makefile sample: BUILD = build PATH_POT3 = src/pot/pot3/ MPIFC = mpiifort FFLAGS = -O3 MOL_LIST = $(shell find $(PATH_POT3) -mindepth 1 -maxdepth 1 -type d) $(foreach MOL,$(...
TobiR's user avatar
  • 203

1
2 3 4 5
350